diff --git a/.licensure.yml b/.licensure.yml index d6f385352..5216e839e 100644 --- a/.licensure.yml +++ b/.licensure.yml @@ -1,14 +1,57 @@ -author: ZomboDB, LLC -ident: MIT -email: zombodb@gmail.com +change_in_place: true excludes: - Cargo.toml - - ".*\\.h" - - "\\.cargo/config" + - Cargo.lock + - LICENSE + - pgx-utils/assets/ansi.tmTheme + - ".envrc" + - ".gitignore" + - "flake\\..*" + - "logo.*" + - ".github/**/*" + - ".cargo/config" - "cargo-pgx/src/templates/*" - - ".github/workflows/*" - ".*\\.control" - ".*\\.md" + - ".*\\.nix" - ".*\\.yml" - - ".*\\.sh" - - load-order.txt +licenses: + - files: any + ident: MIT + authors: + - name: Technology Concepts & Design, Inc. + email: support@tcdi.com + template: | + Portions Copyright 2019-2021 ZomboDB, LLC. + + Portions Copyright 2021-[year] [name of author] + + + All rights reserved. + + + Use of this source code is governed by the [ident] license that can be found in the LICENSE file. +comments: + - columns: 120 + extensions: + - rs + - c + - h + - sql + commenter: + type: block + start_block_char: "/*\n" + end_block_char: "\n*/\n" + - columns: 120 + extension: html + commenter: + type: block + start_block_char: "" + - columns: 80 + extension: any + commenter: + type: line + comment_char: "#" + trailing_lines: 0 + \ No newline at end of file diff --git a/Cargo.lock b/Cargo.lock index 639a3375f..e7e09f25a 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -61,9 +61,9 @@ dependencies = [ [[package]] name = "async-trait" -version = "0.1.52" +version = "0.1.53" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "061a7acccaa286c011ddc30970520b98fa40e00c9d644633fb26b5fc63a265e3" +checksum = "ed6aa3524a2dfcf9fe180c51eae2b58738348d819517ceadf95789c51fff7600" dependencies = [ "proc-macro2", "quote", @@ -72,12 +72,11 @@ dependencies = [ [[package]] name = "atomic-polyfill" -version = "0.1.6" +version = "0.1.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ee6adc1648f03fbc1bc1b5cf0f2fdfb5edbc96215b711edcfe6ce2641ef9b347" +checksum = "4d862f14e042f75b95236d4ef1bb3d5c170964082d1e1e9c3ce689a2cbee217c" dependencies = [ "critical-section", - "riscv-target", ] [[package]] @@ -280,7 +279,7 @@ dependencies = [ [[package]] name = "cargo-pgx" -version = "0.4.1" +version = "0.4.2" dependencies = [ "atty", "cargo_metadata", @@ -301,7 +300,7 @@ dependencies = [ "rayon", "regex", "rttp_client", - "semver 1.0.6", + "semver 1.0.7", "syn", "tracing", "tracing-error", @@ -326,16 +325,16 @@ checksum = "4acbb09d9ee8e23699b9634375c72795d095bf268439da88562cf9b501f181fa" dependencies = [ "camino", "cargo-platform", - "semver 1.0.6", + "semver 1.0.7", "serde", "serde_json", ] [[package]] name = "cargo_toml" -version = "0.11.4" +version = "0.11.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4e270ef0cd868745878982f7ce470aa898d0d4bb248af67f0cf66f54617913ef" +checksum = "5809dd3e6444651fd1cdd3dbec71eca438c439a0fcc8081674a14da0afe50185" dependencies = [ "serde", "serde_derive", @@ -478,9 +477,9 @@ dependencies = [ [[package]] name = "cpufeatures" -version = "0.2.1" +version = "0.2.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "95059428f66df56b63431fdb4e1947ed2190586af5c5a8a8b71122bdf5a7f469" +checksum = "59a6001667ab124aebae2a495118e11d30984c3a653e99d86d58971708cf5e4b" dependencies = [ "libc", ] @@ -508,9 +507,9 @@ dependencies = [ [[package]] name = "crossbeam-channel" -version = "0.5.3" +version = "0.5.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fdbfe11fe19ff083c48923cf179540e8cd0535903dc35e178a1fdeeb59aef51f" +checksum = "5aaa7bd5fb665c6864b5f963dd9097905c54125909c7aa94c9e18507cdbe6c53" dependencies = [ "cfg-if", "crossbeam-utils", @@ -618,9 +617,9 @@ dependencies = [ [[package]] name = "dirs-sys" -version = "0.3.6" +version = "0.3.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "03d86534ed367a67548dc68113a0f5db55432fdfbb6e6f9d77704397d95d5780" +checksum = "1b1d1d91c932ef41c0f2663aa8b0ca0342d444d842c06914aa0a7e352d0bada6" dependencies = [ "libc", "redox_users", @@ -883,9 +882,9 @@ dependencies = [ [[package]] name = "getrandom" -version = "0.2.5" +version = "0.2.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d39cd93900197114fa1fcb7ae84ca742095eed9442088988ae74fa744e930e77" +checksum = "9be70c98951c83b8d2f8f60d7065fa6d5146873094452a1008da8c2f1e4205ad" dependencies = [ "cfg-if", "libc", @@ -986,9 +985,9 @@ checksum = "ce23b50ad8242c51a442f3ff322d56b02f08852c77e4c0b4d3fd684abc89c683" [[package]] name = "indexmap" -version = "1.8.0" +version = "1.8.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "282a6247722caba404c065016bbfa522806e51714c34f5dfc3e4a3a46fcb4223" +checksum = "0f647032dfaa1f8b6dc29bd3edb7bbef4861b8b8007ebb118d6db284fd59f6ee" dependencies = [ "autocfg", "hashbrown", @@ -1029,15 +1028,15 @@ checksum = "830d08ce1d1d941e6b30645f1a0eb5643013d835ce3779a5fc208261dbe10f55" [[package]] name = "libc" -version = "0.2.120" +version = "0.2.121" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ad5c14e80759d0939d013e6ca49930e59fc53dd8e5009132f76240c179380c09" +checksum = "efaa7b300f3b5fe8eb6bf21ce3895e1751d9665086af2d64b42f19701015ff4f" [[package]] name = "libflate" -version = "1.1.2" +version = "1.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d2d57e534717ac3e0b8dc459fe338bdfb4e29d7eea8fd0926ba649ddd3f4765f" +checksum = "05605ab2bce11bcfc0e9c635ff29ef8b2ea83f29be257ee7d730cac3ee373093" dependencies = [ "adler32", "crc32fast", @@ -1080,18 +1079,19 @@ checksum = "7fb9b38af92608140b86b693604b9ffcc5824240a484d1ecd4795bacb2fe88f3" [[package]] name = "lock_api" -version = "0.4.6" +version = "0.4.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "88943dd7ef4a2e5a4bfa2753aaab3013e34ce2533d1996fb18ef591e315e2b3b" +checksum = "327fa5b6a6940e4699ec49a9beae1ea4845c6bab9314e4f84ac68742139d8c53" dependencies = [ + "autocfg", "scopeguard", ] [[package]] name = "log" -version = "0.4.14" +version = "0.4.16" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "51b9bbe6c47d51fc3e1a9b945965946b4c44142ab8792c50835a980d362c2710" +checksum = "6389c490849ff5bc16be905ae24bc913a9c8892e19b2341dbc175e14c341c2b8" dependencies = [ "cfg-if", ] @@ -1175,9 +1175,9 @@ dependencies = [ [[package]] name = "mio" -version = "0.8.1" +version = "0.8.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7ba42135c6a5917b9db9cd7b293e5409e1c6b041e6f9825e92e55a894c63b6f8" +checksum = "52da4364ffb0e4fe33a9841a98a3f3014fb964045ce4f7a45a398243c8d6b0c9" dependencies = [ "libc", "log", @@ -1198,9 +1198,9 @@ dependencies = [ [[package]] name = "native-tls" -version = "0.2.8" +version = "0.2.10" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "48ba9f7719b5a0f42f338907614285fb5fd70e53858141f69898a1fb7203b24d" +checksum = "fd7e2f3618557f980e0b17e8856252eee3c97fa12c54dff0ca290fb6266ca4a9" dependencies = [ "lazy_static", "libc", @@ -1278,9 +1278,9 @@ dependencies = [ [[package]] name = "num_threads" -version = "0.1.4" +version = "0.1.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c539a50b93a303167eded6e8dff5220cd39447409fb659f4cd24b1f72fe4f133" +checksum = "aba1801fb138d8e85e11d0fc70baf4fe1cdfffda7c6cd34a854905df588e5ed0" dependencies = [ "libc", ] @@ -1364,9 +1364,9 @@ dependencies = [ [[package]] name = "owo-colors" -version = "3.2.0" +version = "3.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "20448fd678ec04e6ea15bbe0476874af65e98a01515d667aa49f1434dc44ebf4" +checksum = "5e72e30578e0d0993c8ae20823dd9cff2bc5517d2f586a8aef462a581e8a03eb" dependencies = [ "supports-color", ] @@ -1429,7 +1429,7 @@ dependencies = [ [[package]] name = "pgx" -version = "0.4.1" +version = "0.4.2" dependencies = [ "atomic-traits", "bitflags", @@ -1456,7 +1456,7 @@ dependencies = [ [[package]] name = "pgx-macros" -version = "0.4.1" +version = "0.4.2" dependencies = [ "pgx-utils", "proc-macro-crate", @@ -1469,7 +1469,7 @@ dependencies = [ [[package]] name = "pgx-pg-sys" -version = "0.4.1" +version = "0.4.2" dependencies = [ "bindgen", "build-deps", @@ -1489,7 +1489,7 @@ dependencies = [ [[package]] name = "pgx-tests" -version = "0.4.1" +version = "0.4.2" dependencies = [ "eyre", "libc", @@ -1508,7 +1508,7 @@ dependencies = [ [[package]] name = "pgx-utils" -version = "0.4.1" +version = "0.4.2" dependencies = [ "atty", "convert_case", @@ -1637,9 +1637,9 @@ checksum = "eb9f9e6e233e5c4a35559a617bf40a4ec447db2e84c20b55a6f83167b7e57872" [[package]] name = "prettyplease" -version = "0.1.7" +version = "0.1.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "53748b0c63a6a276a2c8b591de5b117d7590f1b41e34062efeadd222f841d1a3" +checksum = "3b83ec2d0af5c5c556257ff52c9f98934e243b9fd39604bfb2a9b75ec2e97f18" dependencies = [ "proc-macro2", "syn", @@ -1690,9 +1690,9 @@ dependencies = [ [[package]] name = "quote" -version = "1.0.15" +version = "1.0.17" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "864d3e96a899863136fc6e99f3d7cae289dafe43bf2c5ac19b70df7210c0a145" +checksum = "632d02bff7f874a36f33ea8bb416cd484b90cc66c1194b1a1110d067a7013f58" dependencies = [ "proc-macro2", ] @@ -1756,7 +1756,7 @@ version = "0.6.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d34f1408f55294453790c48b2f1ebbb1c5b4b7563eb1f418bcfcfdbb06ebb4e7" dependencies = [ - "getrandom 0.2.5", + "getrandom 0.2.6", ] [[package]] @@ -1795,21 +1795,22 @@ dependencies = [ [[package]] name = "redox_syscall" -version = "0.2.11" +version = "0.2.13" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8380fe0152551244f0747b1bf41737e0f8a74f97a14ccefd1148187271634f3c" +checksum = "62f25bc4c7e55e0b0b7a1d43fb893f4fa1361d0abe38b9ce4f323c2adfe6ef42" dependencies = [ "bitflags", ] [[package]] name = "redox_users" -version = "0.4.0" +version = "0.4.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "528532f3d801c87aec9def2add9ca802fe569e44a544afe633765267840abe64" +checksum = "b033d837a7cf162d7993aded9304e30a83213c648b6e389db233191f891e5c2b" dependencies = [ - "getrandom 0.2.5", + "getrandom 0.2.6", "redox_syscall", + "thiserror", ] [[package]] @@ -2017,9 +2018,9 @@ dependencies = [ [[package]] name = "semver" -version = "1.0.6" +version = "1.0.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a4a3381e03edd24287172047536f20cabde766e2cd3e65e6b00fb3af51c4f38d" +checksum = "d65bd28f48be7196d222d95b9243287f48d27aca604e08497513019ff0502cc4" dependencies = [ "serde", ] @@ -2247,9 +2248,9 @@ dependencies = [ [[package]] name = "syn" -version = "1.0.88" +version = "1.0.90" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ebd69e719f31e88618baa1eaa6ee2de5c9a1c004f1e9ecdb58e8352a13f20a01" +checksum = "704df27628939572cd88d33f171cd6f896f4eaca85252c6e0a72d8d8287ee86f" dependencies = [ "proc-macro2", "quote", @@ -2338,9 +2339,9 @@ dependencies = [ [[package]] name = "time" -version = "0.3.7" +version = "0.3.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "004cbc98f30fa233c61a38bc77e96a9106e65c88f2d3bef182ae952027e5753d" +checksum = "c2702e08a7a860f005826c6815dcac101b19b5eb330c27fe4a5928fec1d20ddd" dependencies = [ "itoa", "libc", @@ -2350,9 +2351,9 @@ dependencies = [ [[package]] name = "time-macros" -version = "0.2.3" +version = "0.2.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "25eb0ca3468fc0acc11828786797f6ef9aa1555e4a211a60d64cc8e4d1be47d6" +checksum = "42657b1a6f4d817cda8e7a0ace261fe0cc946cf3a80314390b22cc61ae080792" [[package]] name = "tinyvec" @@ -2576,7 +2577,7 @@ version = "0.8.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "bc5cf98d8186244414c848017f0e2676b3fcb46807f6668a97dfe67359a3c4b7" dependencies = [ - "getrandom 0.2.5", + "getrandom 0.2.6", ] [[package]] diff --git a/LICENSE b/LICENSE index d12621791..b194cb3c4 100644 --- a/LICENSE +++ b/LICENSE @@ -1,6 +1,8 @@ MIT License -Copyright (c) 2020 ZomboDB, LLC +Portions Copyright 2019-2021 ZomboDB, LLC. +Portions Copyright 2021-2022 Technology Concepts & Design, Inc. . +All rights reserved. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/README.md b/README.md index 96602088a..a737ee52c 100644 --- a/README.md +++ b/README.md @@ -273,6 +273,8 @@ time goes on. Your feedback about what you'd like to be able to do with `pgx` i ## License ``` -Copyright 2020 ZomboDB, LLC . All rights reserved. +Portions Copyright 2019-2021 ZomboDB, LLC. +Portions Copyright 2021-2022 Technology Concepts & Design, Inc. . +All rights reserved. Use of this source code is governed by the MIT license that can be found in the LICENSE file. ``` diff --git a/cargo-pgx/Cargo.toml b/cargo-pgx/Cargo.toml index a8c97af80..34cf1421b 100644 --- a/cargo-pgx/Cargo.toml +++ b/cargo-pgx/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "cargo-pgx" -version = "0.4.1" +version = "0.4.2" authors = ["ZomboDB, LLC "] license = "MIT" description = "Cargo subcommand for 'pgx' to make Postgres extension development easy" @@ -14,28 +14,28 @@ exclude = [ "*.png" ] edition = "2021" [dependencies] -atty = "0.2" +atty = "0.2.14" cargo_metadata = "0.14.2" -cargo_toml = "0.11.4" -clap = { version = "3.1.2", features = [ "env", "suggestions", "cargo", "derive" ] } +cargo_toml = "0.11.5" +clap = { version = "3.1.6", features = [ "env", "suggestions", "cargo", "derive" ] } clap-cargo = { version = "0.8.0", features = [ "cargo_metadata" ] } -semver = "1.0.6" -owo-colors = { version = "3.2.0", features = [ "supports-colors" ] } +semver = "1.0.7" +owo-colors = { version = "3.3.0", features = [ "supports-colors" ] } env_proxy = "0.4.1" num_cpus = "1.13.1" -pgx-utils = { path = "../pgx-utils", version = "0.4.1" } +pgx-utils = { path = "../pgx-utils", version = "0.4.2" } proc-macro2 = { version = "1.0.36", features = [ "span-locations" ] } -quote = "1.0.15" +quote = "1.0.17" rayon = "1.5.1" -regex = "1.5.4" +regex = "1.5.5" rttp_client = { version = "0.1.0", features = ["tls-native"] } -syn = { version = "1.0.86", features = [ "extra-traits", "full", "fold", "parsing" ] } +syn = { version = "1.0.90", features = [ "extra-traits", "full", "fold", "parsing" ] } unescape = "0.1.0" -fork = "0.1.18" +fork = "0.1.19" libloading = "0.7.3" -object = "0.28" +object = "0.28.3" eyre = "0.6.7" color-eyre = "0.6.1" -tracing = "0.1.31" +tracing = "0.1.32" tracing-error = "0.2.0" tracing-subscriber = { version = "0.3.9", features = [ "env-filter" ] } diff --git a/cargo-pgx/src/command/connect.rs b/cargo-pgx/src/command/connect.rs index bca6ed1a7..e989823fd 100644 --- a/cargo-pgx/src/command/connect.rs +++ b/cargo-pgx/src/command/connect.rs @@ -1,5 +1,11 @@ -// Copyright 2020 ZomboDB, LLC . All rights reserved. Use of this source code is -// governed by the MIT license that can be found in the LICENSE file. +/* +Portions Copyright 2019-2021 ZomboDB, LLC. +Portions Copyright 2021-2022 Technology Concepts & Design, Inc. + +All rights reserved. + +Use of this source code is governed by the MIT license that can be found in the LICENSE file. +*/ use crate::{ command::{get::get_property, run::exec_psql, start::start_postgres}, @@ -47,11 +53,13 @@ impl CommandExecute for Connect { // It's actually the dbname! We should infer from the manifest. self.dbname = Some(pg_version); - let metadata = crate::metadata::metadata(&Default::default(), self.manifest_path.as_ref()) - .wrap_err("couldn't get cargo metadata")?; + let metadata = + crate::metadata::metadata(&Default::default(), self.manifest_path.as_ref()) + .wrap_err("couldn't get cargo metadata")?; crate::metadata::validate(&metadata)?; - let package_manifest_path = crate::manifest::manifest_path(&metadata, self.package.as_ref()) - .wrap_err("Couldn't get manifest path")?; + let package_manifest_path = + crate::manifest::manifest_path(&metadata, self.package.as_ref()) + .wrap_err("Couldn't get manifest path")?; let package_manifest = Manifest::from_path(&package_manifest_path) .wrap_err("Couldn't parse manifest")?; @@ -62,11 +70,13 @@ impl CommandExecute for Connect { }, None => { // We should infer from the manifest. - let metadata = crate::metadata::metadata(&Default::default(), self.manifest_path.as_ref()) - .wrap_err("couldn't get cargo metadata")?; + let metadata = + crate::metadata::metadata(&Default::default(), self.manifest_path.as_ref()) + .wrap_err("couldn't get cargo metadata")?; crate::metadata::validate(&metadata)?; - let package_manifest_path = crate::manifest::manifest_path(&metadata, self.package.as_ref()) - .wrap_err("Couldn't get manifest path")?; + let package_manifest_path = + crate::manifest::manifest_path(&metadata, self.package.as_ref()) + .wrap_err("Couldn't get manifest path")?; let package_manifest = Manifest::from_path(&package_manifest_path) .wrap_err("Couldn't parse manifest")?; @@ -80,16 +90,18 @@ impl CommandExecute for Connect { Some(dbname) => dbname, None => { // We should infer from package - let metadata = crate::metadata::metadata(&Default::default(), self.manifest_path.as_ref()) - .wrap_err("couldn't get cargo metadata")?; + let metadata = + crate::metadata::metadata(&Default::default(), self.manifest_path.as_ref()) + .wrap_err("couldn't get cargo metadata")?; crate::metadata::validate(&metadata)?; - let package_manifest_path = crate::manifest::manifest_path(&metadata, self.package.as_ref()) - .wrap_err("Couldn't get manifest path")?; + let package_manifest_path = + crate::manifest::manifest_path(&metadata, self.package.as_ref()) + .wrap_err("Couldn't get manifest path")?; get_property(&package_manifest_path, "extname") .wrap_err("could not determine extension name")? .ok_or(eyre!("extname not found in control file"))? - }, + } }; connect_psql(Pgx::from_config()?.get(&pg_version)?, &dbname) diff --git a/cargo-pgx/src/command/get.rs b/cargo-pgx/src/command/get.rs index a20731f6d..24dd2cf55 100644 --- a/cargo-pgx/src/command/get.rs +++ b/cargo-pgx/src/command/get.rs @@ -1,6 +1,13 @@ -// Copyright 2020 ZomboDB, LLC . All rights reserved. Use of this source code is -// governed by the MIT license that can be found in the LICENSE file. +/* +Portions Copyright 2019-2021 ZomboDB, LLC. +Portions Copyright 2021-2022 Technology Concepts & Design, Inc. +All rights reserved. + +Use of this source code is governed by the MIT license that can be found in the LICENSE file. +*/ + +use crate::CommandExecute; use eyre::{eyre, WrapErr}; use std::{ fs::File, @@ -8,7 +15,6 @@ use std::{ path::{Path, PathBuf}, process::Command, }; -use crate::CommandExecute; /// Get a property from the extension control file #[derive(clap::Args, Debug)] @@ -32,8 +38,9 @@ impl CommandExecute for Get { let metadata = crate::metadata::metadata(&Default::default(), self.manifest_path.as_ref()) .wrap_err("couldn't get cargo metadata")?; crate::metadata::validate(&metadata)?; - let package_manifest_path = crate::manifest::manifest_path(&metadata, self.package.as_ref()) - .wrap_err("Couldn't get manifest path")?; + let package_manifest_path = + crate::manifest::manifest_path(&metadata, self.package.as_ref()) + .wrap_err("Couldn't get manifest path")?; if let Some(value) = get_property(&package_manifest_path, &self.name)? { println!("{}", value); @@ -79,22 +86,37 @@ pub fn get_property(manifest_path: impl AsRef, name: &str) -> eyre::Result Ok(None) } -pub(crate) fn find_control_file(manifest_path: impl AsRef) -> eyre::Result<(PathBuf, String)> { - let parent = manifest_path - .as_ref() - .parent() - .ok_or_else(|| eyre!("could not get parent of `{}`", manifest_path.as_ref().display()))?; - - for f in std::fs::read_dir(parent) - .wrap_err_with(|| eyre!("cannot open current directory `{}` for reading", parent.display()))? { +pub(crate) fn find_control_file( + manifest_path: impl AsRef, +) -> eyre::Result<(PathBuf, String)> { + let parent = manifest_path.as_ref().parent().ok_or_else(|| { + eyre!( + "could not get parent of `{}`", + manifest_path.as_ref().display() + ) + })?; + + for f in std::fs::read_dir(parent).wrap_err_with(|| { + eyre!( + "cannot open current directory `{}` for reading", + parent.display() + ) + })? { if f.is_ok() { if let Ok(f) = f { let f_path = f.path(); if f_path.extension() == Some("control".as_ref()) { - let file_stem = f_path.file_stem() - .ok_or_else(|| eyre!("could not get file stem of `{}`", f_path.display()))?; - let file_stem = file_stem.to_str() - .ok_or_else(|| eyre!("could not get file stem as String from `{}`", f_path.display()))? + let file_stem = f_path.file_stem().ok_or_else(|| { + eyre!("could not get file stem of `{}`", f_path.display()) + })?; + let file_stem = file_stem + .to_str() + .ok_or_else(|| { + eyre!( + "could not get file stem as String from `{}`", + f_path.display() + ) + })? .to_string(); return Ok((f_path, file_stem)); } @@ -102,7 +124,10 @@ pub(crate) fn find_control_file(manifest_path: impl AsRef) -> eyre::Result } } - Err(eyre!("control file not found in `{}`", manifest_path.as_ref().display())) + Err(eyre!( + "control file not found in `{}`", + manifest_path.as_ref().display() + )) } fn determine_git_hash() -> eyre::Result> { diff --git a/cargo-pgx/src/command/init.rs b/cargo-pgx/src/command/init.rs index 8855a84b0..8c6e28435 100644 --- a/cargo-pgx/src/command/init.rs +++ b/cargo-pgx/src/command/init.rs @@ -1,5 +1,11 @@ -// Copyright 2020 ZomboDB, LLC . All rights reserved. Use of this source code is -// governed by the MIT license that can be found in the LICENSE file. +/* +Portions Copyright 2019-2021 ZomboDB, LLC. +Portions Copyright 2021-2022 Technology Concepts & Design, Inc. + +All rights reserved. + +Use of this source code is governed by the MIT license that can be found in the LICENSE file. +*/ use crate::command::stop::stop_postgres; use crate::CommandExecute; @@ -435,7 +441,8 @@ pub(crate) fn initdb(bindir: &PathBuf, datadir: &PathBuf) -> eyre::Result<()> { let command_str = format!("{:?}", command); tracing::debug!(command = %command_str, "Running"); - let output = command.output() + let output = command + .output() .wrap_err_with(|| eyre!("unable to execute: {}", command_str))?; tracing::trace!(command = %command_str, status_code = %output.status, "Finished"); diff --git a/cargo-pgx/src/command/install.rs b/cargo-pgx/src/command/install.rs index d161a8093..dd1a5a382 100644 --- a/cargo-pgx/src/command/install.rs +++ b/cargo-pgx/src/command/install.rs @@ -1,5 +1,11 @@ -// Copyright 2020 ZomboDB, LLC . All rights reserved. Use of this source code is -// governed by the MIT license that can be found in the LICENSE file. +/* +Portions Copyright 2019-2021 ZomboDB, LLC. +Portions Copyright 2021-2022 Technology Concepts & Design, Inc. + +All rights reserved. + +Use of this source code is governed by the MIT license that can be found in the LICENSE file. +*/ use crate::{ command::get::{find_control_file, get_property}, @@ -47,10 +53,11 @@ impl CommandExecute for Install { let metadata = crate::metadata::metadata(&self.features, self.manifest_path.as_ref()) .wrap_err("couldn't get cargo metadata")?; crate::metadata::validate(&metadata)?; - let package_manifest_path = crate::manifest::manifest_path(&metadata, self.package.as_ref()) - .wrap_err("Couldn't get manifest path")?; - let package_manifest = Manifest::from_path(&package_manifest_path) - .wrap_err("Couldn't parse manifest")?; + let package_manifest_path = + crate::manifest::manifest_path(&metadata, self.package.as_ref()) + .wrap_err("Couldn't get manifest path")?; + let package_manifest = + Manifest::from_path(&package_manifest_path).wrap_err("Couldn't parse manifest")?; let pg_config = match self.pg_config { None => PgConfig::from_path(), @@ -58,7 +65,8 @@ impl CommandExecute for Install { }; let pg_version = format!("pg{}", pg_config.major_version()?); - let features = crate::manifest::features_for_version(self.features, &package_manifest, &pg_version); + let features = + crate::manifest::features_for_version(self.features, &package_manifest, &pg_version); install_extension( self.manifest_path.as_ref(), @@ -106,7 +114,12 @@ pub(crate) fn install_extension( )); } - let build_command_output = build_extension(user_manifest_path.as_ref(), user_package, is_release, &features)?; + let build_command_output = build_extension( + user_manifest_path.as_ref(), + user_package, + is_release, + &features, + )?; let build_command_bytes = build_command_output.stdout; let build_command_reader = BufReader::new(build_command_bytes.as_slice()); let build_command_stream = cargo_metadata::Message::parse_stream(build_command_reader); @@ -122,8 +135,18 @@ pub(crate) fn install_extension( { let mut dest = base_directory.clone(); dest.push(&extdir); - dest.push(&control_file.file_name().ok_or_else(|| eyre!("Could not get filename for `{}`", control_file.display()))?); - copy_file(&control_file, &dest, "control file", true, &package_manifest_path)?; + dest.push( + &control_file + .file_name() + .ok_or_else(|| eyre!("Could not get filename for `{}`", control_file.display()))?, + ); + copy_file( + &control_file, + &dest, + "control file", + true, + &package_manifest_path, + )?; } { @@ -141,7 +164,13 @@ pub(crate) fn install_extension( })?; } } - copy_file(&shlibpath, &dest, "shared library", false, &package_manifest_path)?; + copy_file( + &shlibpath, + &dest, + "shared library", + false, + &package_manifest_path, + )?; } copy_sql_files( @@ -161,7 +190,13 @@ pub(crate) fn install_extension( Ok(()) } -fn copy_file(src: &PathBuf, dest: &PathBuf, msg: &str, do_filter: bool, package_manifest_path: impl AsRef) -> eyre::Result<()> { +fn copy_file( + src: &PathBuf, + dest: &PathBuf, + msg: &str, + do_filter: bool, + package_manifest_path: impl AsRef, +) -> eyre::Result<()> { if !dest.parent().unwrap().exists() { std::fs::create_dir_all(dest.parent().unwrap()).wrap_err_with(|| { format!( @@ -216,7 +251,7 @@ pub(crate) fn build_extension( command.arg("--package"); command.arg(user_package); } - + if is_release { command.arg("--release"); } @@ -258,7 +293,11 @@ pub(crate) fn build_extension( } } -fn get_target_sql_file(manifest_path: impl AsRef, extdir: &PathBuf, base_directory: &PathBuf) -> eyre::Result { +fn get_target_sql_file( + manifest_path: impl AsRef, + extdir: &PathBuf, + base_directory: &PathBuf, +) -> eyre::Result { let mut dest = base_directory.clone(); dest.push(extdir); @@ -309,7 +348,13 @@ fn copy_sql_files( dest.push(extdir); dest.push(filename); - copy_file(&sql.path(), &dest, "extension schema upgrade file", true, &package_manifest_path)?; + copy_file( + &sql.path(), + &dest, + "extension schema upgrade file", + true, + &package_manifest_path, + )?; } } } diff --git a/cargo-pgx/src/command/mod.rs b/cargo-pgx/src/command/mod.rs index 6f9e4eac1..ed439a236 100644 --- a/cargo-pgx/src/command/mod.rs +++ b/cargo-pgx/src/command/mod.rs @@ -1,5 +1,11 @@ -// Copyright 2020 ZomboDB, LLC . All rights reserved. Use of this source code is -// governed by the MIT license that can be found in the LICENSE file. +/* +Portions Copyright 2019-2021 ZomboDB, LLC. +Portions Copyright 2021-2022 Technology Concepts & Design, Inc. + +All rights reserved. + +Use of this source code is governed by the MIT license that can be found in the LICENSE file. +*/ pub(crate) mod connect; pub(crate) mod get; diff --git a/cargo-pgx/src/command/new.rs b/cargo-pgx/src/command/new.rs index 7dad3dd7e..01367d869 100644 --- a/cargo-pgx/src/command/new.rs +++ b/cargo-pgx/src/command/new.rs @@ -1,5 +1,11 @@ -// Copyright 2020 ZomboDB, LLC . All rights reserved. Use of this source code is -// governed by the MIT license that can be found in the LICENSE file. +/* +Portions Copyright 2019-2021 ZomboDB, LLC. +Portions Copyright 2021-2022 Technology Concepts & Design, Inc. + +All rights reserved. + +Use of this source code is governed by the MIT license that can be found in the LICENSE file. +*/ use eyre::eyre; use std::{io::Write, path::PathBuf, str::FromStr}; diff --git a/cargo-pgx/src/command/package.rs b/cargo-pgx/src/command/package.rs index 284de9513..63cb317c6 100644 --- a/cargo-pgx/src/command/package.rs +++ b/cargo-pgx/src/command/package.rs @@ -1,14 +1,20 @@ -// Copyright 2020 ZomboDB, LLC . All rights reserved. Use of this source code is -// governed by the MIT license that can be found in the LICENSE file. +/* +Portions Copyright 2019-2021 ZomboDB, LLC. +Portions Copyright 2021-2022 Technology Concepts & Design, Inc. + +All rights reserved. + +Use of this source code is governed by the MIT license that can be found in the LICENSE file. +*/ use crate::{ command::{get::get_property, install::install_extension}, CommandExecute, }; -use eyre::{eyre, WrapErr}; use cargo_toml::Manifest; +use eyre::{eyre, WrapErr}; use pgx_utils::{get_target_dir, pg_config::PgConfig}; -use std::path::{PathBuf, Path}; +use std::path::{Path, PathBuf}; /// Create an installation package directory. #[derive(clap::Args, Debug)] @@ -44,10 +50,11 @@ impl CommandExecute for Package { let metadata = crate::metadata::metadata(&self.features, self.manifest_path.as_ref()) .wrap_err("couldn't get cargo metadata")?; crate::metadata::validate(&metadata)?; - let package_manifest_path = crate::manifest::manifest_path(&metadata, self.package.as_ref()) - .wrap_err("Couldn't get manifest path")?; - let package_manifest = Manifest::from_path(&package_manifest_path) - .wrap_err("Couldn't parse manifest")?; + let package_manifest_path = + crate::manifest::manifest_path(&metadata, self.package.as_ref()) + .wrap_err("Couldn't get manifest path")?; + let package_manifest = + Manifest::from_path(&package_manifest_path).wrap_err("Couldn't parse manifest")?; let pg_config = match self.pg_config { None => PgConfig::from_path(), @@ -55,14 +62,24 @@ impl CommandExecute for Package { }; let pg_version = format!("pg{}", pg_config.major_version()?); - let features = crate::manifest::features_for_version(self.features, &package_manifest, &pg_version); - + let features = + crate::manifest::features_for_version(self.features, &package_manifest, &pg_version); + let out_dir = if let Some(out_dir) = self.out_dir { out_dir } else { build_base_path(&pg_config, &package_manifest_path, self.debug)? }; - package_extension(self.manifest_path.as_ref(), self.package.as_ref(), &package_manifest_path, &pg_config, out_dir, self.debug, self.test, &features) + package_extension( + self.manifest_path.as_ref(), + self.package.as_ref(), + &package_manifest_path, + &pg_config, + out_dir, + self.debug, + self.test, + &features, + ) } } @@ -97,10 +114,15 @@ pub(crate) fn package_extension( ) } -fn build_base_path(pg_config: &PgConfig, manifest_path: impl AsRef, is_debug: bool) -> eyre::Result { +fn build_base_path( + pg_config: &PgConfig, + manifest_path: impl AsRef, + is_debug: bool, +) -> eyre::Result { let mut target_dir = get_target_dir()?; let pgver = pg_config.major_version()?; - let extname = get_property(manifest_path, "extname")?.ok_or(eyre!("could not determine extension name"))?; + let extname = get_property(manifest_path, "extname")? + .ok_or(eyre!("could not determine extension name"))?; target_dir.push(if is_debug { "debug" } else { "release" }); target_dir.push(format!("{}-pg{}", extname, pgver)); Ok(target_dir) diff --git a/cargo-pgx/src/command/pgx.rs b/cargo-pgx/src/command/pgx.rs index cfb9bda3a..9098b2937 100644 --- a/cargo-pgx/src/command/pgx.rs +++ b/cargo-pgx/src/command/pgx.rs @@ -1,3 +1,11 @@ +/* +Portions Copyright 2019-2021 ZomboDB, LLC. +Portions Copyright 2021-2022 Technology Concepts & Design, Inc. + +All rights reserved. + +Use of this source code is governed by the MIT license that can be found in the LICENSE file. +*/ use crate::CommandExecute; use owo_colors::OwoColorize; use std::path::Path; diff --git a/cargo-pgx/src/command/run.rs b/cargo-pgx/src/command/run.rs index df6916c22..539887a0f 100644 --- a/cargo-pgx/src/command/run.rs +++ b/cargo-pgx/src/command/run.rs @@ -1,5 +1,11 @@ -// Copyright 2020 ZomboDB, LLC . All rights reserved. Use of this source code is -// governed by the MIT license that can be found in the LICENSE file. +/* +Portions Copyright 2019-2021 ZomboDB, LLC. +Portions Copyright 2021-2022 Technology Concepts & Design, Inc. + +All rights reserved. + +Use of this source code is governed by the MIT license that can be found in the LICENSE file. +*/ use crate::{ command::{ @@ -7,14 +13,14 @@ use crate::{ }, CommandExecute, }; +use cargo_toml::Manifest; use eyre::{eyre, WrapErr}; use owo_colors::OwoColorize; use pgx_utils::{ createdb, pg_config::{PgConfig, Pgx}, }; -use cargo_toml::Manifest; -use std::{path::Path, os::unix::process::CommandExt, process::Command}; +use std::{os::unix::process::CommandExt, path::Path, process::Command}; /// Compile/install extension to a pgx-managed Postgres instance and start psql #[derive(clap::Args, Debug)] #[clap(author)] @@ -45,10 +51,11 @@ impl CommandExecute for Run { let metadata = crate::metadata::metadata(&self.features, self.manifest_path.as_ref()) .wrap_err("couldn't get cargo metadata")?; crate::metadata::validate(&metadata)?; - let package_manifest_path = crate::manifest::manifest_path(&metadata, self.package.as_ref()) - .wrap_err("Couldn't get manifest path")?; - let package_manifest = Manifest::from_path(&package_manifest_path) - .wrap_err("Couldn't parse manifest")?; + let package_manifest_path = + crate::manifest::manifest_path(&metadata, self.package.as_ref()) + .wrap_err("Couldn't get manifest path")?; + let package_manifest = + Manifest::from_path(&package_manifest_path).wrap_err("Couldn't parse manifest")?; let pgx = Pgx::from_config()?; @@ -62,8 +69,9 @@ impl CommandExecute for Run { } // It's actually the dbname! We should infer from the manifest. self.dbname = Some(pg_version); - let default_pg_version = crate::manifest::default_pg_version(&package_manifest) - .ok_or(eyre!("No provided `pg$VERSION` flag."))?; + let default_pg_version = + crate::manifest::default_pg_version(&package_manifest) + .ok_or(eyre!("No provided `pg$VERSION` flag."))?; (pgx.get(&default_pg_version)?, default_pg_version) } } @@ -76,11 +84,13 @@ impl CommandExecute for Run { } }; - let features = crate::manifest::features_for_version(self.features, &package_manifest, &pg_version); + let features = + crate::manifest::features_for_version(self.features, &package_manifest, &pg_version); let dbname = match self.dbname { Some(dbname) => dbname, - None => get_property(&package_manifest_path, "extname")?.ok_or(eyre!("could not determine extension name"))?, + None => get_property(&package_manifest_path, "extname")? + .ok_or(eyre!("could not determine extension name"))?, }; run_psql( @@ -103,7 +113,7 @@ impl CommandExecute for Run { pub(crate) fn run_psql( pg_config: &PgConfig, user_manifest_path: Option>, - user_package: Option< &String>, + user_package: Option<&String>, package_manifest_path: impl AsRef, dbname: &str, is_release: bool, @@ -114,7 +124,14 @@ pub(crate) fn run_psql( // install the extension install_extension( - user_manifest_path, user_package, package_manifest_path, pg_config, is_release, false, None, features, + user_manifest_path, + user_package, + package_manifest_path, + pg_config, + is_release, + false, + None, + features, )?; // restart postgres diff --git a/cargo-pgx/src/command/schema.rs b/cargo-pgx/src/command/schema.rs index 2fd9524e3..433593454 100644 --- a/cargo-pgx/src/command/schema.rs +++ b/cargo-pgx/src/command/schema.rs @@ -1,3 +1,11 @@ +/* +Portions Copyright 2019-2021 ZomboDB, LLC. +Portions Copyright 2021-2022 Technology Concepts & Design, Inc. + +All rights reserved. + +Use of this source code is governed by the MIT license that can be found in the LICENSE file. +*/ use crate::{ command::{ get::{find_control_file, get_property}, @@ -5,6 +13,7 @@ use crate::{ }, CommandExecute, }; +use cargo_toml::Manifest; use eyre::{eyre, WrapErr}; use object::Object; use owo_colors::OwoColorize; @@ -19,7 +28,6 @@ use std::{ path::{Path, PathBuf}, process::{Command, Stdio}, }; -use cargo_toml::Manifest; // Since we support extensions with `#[no_std]` extern crate alloc; use alloc::vec::Vec; @@ -66,10 +74,11 @@ impl CommandExecute for Schema { let metadata = crate::metadata::metadata(&self.features, self.manifest_path.as_ref()) .wrap_err("couldn't get cargo metadata")?; crate::metadata::validate(&metadata)?; - let package_manifest_path = crate::manifest::manifest_path(&metadata, self.package.as_ref()) - .wrap_err("Couldn't get manifest path")?; - let package_manifest = Manifest::from_path(&package_manifest_path) - .wrap_err("Couldn't parse manifest")?; + let package_manifest_path = + crate::manifest::manifest_path(&metadata, self.package.as_ref()) + .wrap_err("Couldn't get manifest path")?; + let package_manifest = + Manifest::from_path(&package_manifest_path).wrap_err("Couldn't parse manifest")?; let log_level = if let Ok(log_level) = std::env::var("RUST_LOG") { Some(log_level) @@ -101,7 +110,8 @@ impl CommandExecute for Schema { } }; - let features = crate::manifest::features_for_version(self.features, &package_manifest, &pg_version); + let features = + crate::manifest::features_for_version(self.features, &package_manifest, &pg_version); generate_schema( &pg_config, @@ -181,7 +191,7 @@ pub(crate) fn generate_schema( command.arg("--manifest-path"); command.arg(user_manifest_path.as_ref()); } - + if is_release { command.arg("--release"); } @@ -492,6 +502,14 @@ fn create_stub( let mut so_rustc_invocation = Command::new("rustc"); so_rustc_invocation.stderr(Stdio::inherit()); + + if let Some(rustc_flags_str) = std::env::var("RUSTFLAGS").ok() { + let rustc_flags = rustc_flags_str + .split(" ") + .collect::>(); + so_rustc_invocation.args(rustc_flags); + } + so_rustc_invocation.args([ "--crate-type", "cdylib", @@ -503,6 +521,7 @@ fn create_stub( .to_str() .ok_or(eyre!("could not call postmaster_stub_file.to_str()"))?, ]); + let so_rustc_invocation_str = format!("{:?}", so_rustc_invocation); tracing::debug!(command = %so_rustc_invocation_str, "Running"); let output = so_rustc_invocation.output().wrap_err_with(|| { diff --git a/cargo-pgx/src/command/start.rs b/cargo-pgx/src/command/start.rs index 184953e87..ab7469aee 100644 --- a/cargo-pgx/src/command/start.rs +++ b/cargo-pgx/src/command/start.rs @@ -1,18 +1,20 @@ -// Copyright 2020 ZomboDB, LLC . All rights reserved. Use of this source code is -// governed by the MIT license that can be found in the LICENSE file. +/* +Portions Copyright 2019-2021 ZomboDB, LLC. +Portions Copyright 2021-2022 Technology Concepts & Design, Inc. + +All rights reserved. + +Use of this source code is governed by the MIT license that can be found in the LICENSE file. +*/ use crate::command::init::initdb; use crate::command::status::status_postgres; use crate::CommandExecute; +use cargo_toml::Manifest; use eyre::{eyre, WrapErr}; use owo_colors::OwoColorize; use pgx_utils::pg_config::{PgConfig, PgConfigSelector, Pgx}; -use std::{ - os::unix::process::CommandExt, - process::Stdio, - path::PathBuf, -}; -use cargo_toml::Manifest; +use std::{os::unix::process::CommandExt, path::PathBuf, process::Stdio}; /// Start a pgx-managed Postgres instance #[derive(clap::Args, Debug)] @@ -39,14 +41,16 @@ impl CommandExecute for Start { let pg_version = match self.pg_version { Some(s) => s, None => { - let metadata = crate::metadata::metadata(&Default::default(), self.manifest_path.as_ref()) - .wrap_err("couldn't get cargo metadata")?; + let metadata = + crate::metadata::metadata(&Default::default(), self.manifest_path.as_ref()) + .wrap_err("couldn't get cargo metadata")?; crate::metadata::validate(&metadata)?; - let package_manifest_path = crate::manifest::manifest_path(&metadata, self.package.as_ref()) - .wrap_err("Couldn't get manifest path")?; + let package_manifest_path = + crate::manifest::manifest_path(&metadata, self.package.as_ref()) + .wrap_err("Couldn't get manifest path")?; let package_manifest = Manifest::from_path(&package_manifest_path) .wrap_err("Couldn't parse manifest")?; - + crate::manifest::default_pg_version(&package_manifest) .ok_or(eyre!("no provided `pg$VERSION` flag."))? } diff --git a/cargo-pgx/src/command/status.rs b/cargo-pgx/src/command/status.rs index 7234c6cf3..0eddcdb42 100644 --- a/cargo-pgx/src/command/status.rs +++ b/cargo-pgx/src/command/status.rs @@ -1,13 +1,16 @@ -// Copyright 2020 ZomboDB, LLC . All rights reserved. Use of this source code is -// governed by the MIT license that can be found in the LICENSE file. +/* +Portions Copyright 2019-2021 ZomboDB, LLC. +Portions Copyright 2021-2022 Technology Concepts & Design, Inc. + +All rights reserved. + +Use of this source code is governed by the MIT license that can be found in the LICENSE file. +*/ use eyre::eyre; use owo_colors::OwoColorize; use pgx_utils::pg_config::{PgConfig, PgConfigSelector, Pgx}; -use std::{ - process::Stdio, - path::PathBuf, -}; +use std::{path::PathBuf, process::Stdio}; use crate::CommandExecute; diff --git a/cargo-pgx/src/command/stop.rs b/cargo-pgx/src/command/stop.rs index 90330a201..7b8984b6b 100644 --- a/cargo-pgx/src/command/stop.rs +++ b/cargo-pgx/src/command/stop.rs @@ -1,15 +1,18 @@ -// Copyright 2020 ZomboDB, LLC . All rights reserved. Use of this source code is -// governed by the MIT license that can be found in the LICENSE file. +/* +Portions Copyright 2019-2021 ZomboDB, LLC. +Portions Copyright 2021-2022 Technology Concepts & Design, Inc. + +All rights reserved. + +Use of this source code is governed by the MIT license that can be found in the LICENSE file. +*/ use crate::{command::status::status_postgres, CommandExecute}; -use owo_colors::OwoColorize; -use pgx_utils::pg_config::{PgConfig, PgConfigSelector, Pgx}; use cargo_toml::Manifest; use eyre::{eyre, WrapErr}; -use std::{ - path::PathBuf, - process::Stdio -}; +use owo_colors::OwoColorize; +use pgx_utils::pg_config::{PgConfig, PgConfigSelector, Pgx}; +use std::{path::PathBuf, process::Stdio}; /// Stop a pgx-managed Postgres instance #[derive(clap::Args, Debug)] @@ -36,11 +39,13 @@ impl CommandExecute for Stop { let pg_version = match self.pg_version { Some(s) => s, None => { - let metadata = crate::metadata::metadata(&Default::default(), self.manifest_path.as_ref()) - .wrap_err("couldn't get cargo metadata")?; + let metadata = + crate::metadata::metadata(&Default::default(), self.manifest_path.as_ref()) + .wrap_err("couldn't get cargo metadata")?; crate::metadata::validate(&metadata)?; - let package_manifest_path = crate::manifest::manifest_path(&metadata, self.package.as_ref()) - .wrap_err("Couldn't get manifest path")?; + let package_manifest_path = + crate::manifest::manifest_path(&metadata, self.package.as_ref()) + .wrap_err("Couldn't get manifest path")?; let package_manifest = Manifest::from_path(&package_manifest_path) .wrap_err("Couldn't parse manifest")?; diff --git a/cargo-pgx/src/command/test.rs b/cargo-pgx/src/command/test.rs index e6720f195..f35402bae 100644 --- a/cargo-pgx/src/command/test.rs +++ b/cargo-pgx/src/command/test.rs @@ -1,15 +1,21 @@ -// Copyright 2020 ZomboDB, LLC . All rights reserved. Use of this source code is -// governed by the MIT license that can be found in the LICENSE file. +/* +Portions Copyright 2019-2021 ZomboDB, LLC. +Portions Copyright 2021-2022 Technology Concepts & Design, Inc. +All rights reserved. + +Use of this source code is governed by the MIT license that can be found in the LICENSE file. +*/ + +use cargo_toml::Manifest; use eyre::{eyre, WrapErr}; use pgx_utils::{ get_target_dir, pg_config::{PgConfig, PgConfigSelector, Pgx}, }; -use cargo_toml::Manifest; use std::{ + path::{Path, PathBuf}, process::{Command, Stdio}, - path::{PathBuf, Path}, }; use crate::CommandExecute; @@ -29,9 +35,6 @@ pub(crate) struct Test { /// Path to Cargo.toml #[clap(long, parse(from_os_str))] manifest_path: Option, - /// Test all packages in the workspace - #[clap(long)] - workspace: bool, /// compile for release mode (default is debug) #[clap(env = "PROFILE", long, short)] release: bool, @@ -48,14 +51,15 @@ impl CommandExecute for Test { #[tracing::instrument(level = "error", skip(self))] fn execute(self) -> eyre::Result<()> { let pgx = Pgx::from_config()?; - + let metadata = crate::metadata::metadata(&self.features, self.manifest_path.as_ref()) .wrap_err("couldn't get cargo metadata")?; crate::metadata::validate(&metadata)?; - let package_manifest_path = crate::manifest::manifest_path(&metadata, self.package.as_ref()) - .wrap_err("Couldn't get manifest path")?; - let package_manifest = Manifest::from_path(&package_manifest_path) - .wrap_err("Couldn't parse manifest")?; + let package_manifest_path = + crate::manifest::manifest_path(&metadata, self.package.as_ref()) + .wrap_err("Couldn't get manifest path")?; + let package_manifest = + Manifest::from_path(&package_manifest_path).wrap_err("Couldn't parse manifest")?; let pg_version = match self.pg_version { Some(ref s) => s.clone(), @@ -63,7 +67,6 @@ impl CommandExecute for Test { .ok_or(eyre!("No provided `pg$VERSION` flag."))?, }; - for pg_config in pgx.iter(PgConfigSelector::new(&pg_version)) { let mut testname = self.testname.clone(); let pg_config = match pg_config { @@ -83,7 +86,11 @@ impl CommandExecute for Test { }; let pg_version = format!("pg{}", pg_config.major_version()?); - let features = crate::manifest::features_for_version(self.features.clone(), &package_manifest, &pg_version); + let features = crate::manifest::features_for_version( + self.features.clone(), + &package_manifest, + &pg_version, + ); test_extension( pg_config, diff --git a/cargo-pgx/src/main.rs b/cargo-pgx/src/main.rs index c74ef5cb2..0ae74adf5 100644 --- a/cargo-pgx/src/main.rs +++ b/cargo-pgx/src/main.rs @@ -1,5 +1,11 @@ -// Copyright 2020 ZomboDB, LLC . All rights reserved. Use of this source code is -// governed by the MIT license that can be found in the LICENSE file. +/* +Portions Copyright 2019-2021 ZomboDB, LLC. +Portions Copyright 2021-2022 Technology Concepts & Design, Inc. + +All rights reserved. + +Use of this source code is governed by the MIT license that can be found in the LICENSE file. +*/ mod command; mod manifest; diff --git a/cargo-pgx/src/manifest.rs b/cargo-pgx/src/manifest.rs index cb9542eb2..201ec9309 100644 --- a/cargo-pgx/src/manifest.rs +++ b/cargo-pgx/src/manifest.rs @@ -1,21 +1,34 @@ +/* +Portions Copyright 2019-2021 ZomboDB, LLC. +Portions Copyright 2021-2022 Technology Concepts & Design, Inc. + +All rights reserved. + +Use of this source code is governed by the MIT license that can be found in the LICENSE file. +*/ use cargo_metadata::Metadata; use cargo_toml::Manifest; use eyre::eyre; -use std::path::PathBuf; use pgx_utils::SUPPORTED_MAJOR_VERSIONS; +use std::path::PathBuf; #[tracing::instrument(skip_all)] -pub(crate) fn manifest_path(metadata: &Metadata, package_name: Option<&String>) -> eyre::Result { +pub(crate) fn manifest_path( + metadata: &Metadata, + package_name: Option<&String>, +) -> eyre::Result { let manifest_path = if let Some(package_name) = package_name { - let found = metadata.packages.iter() + let found = metadata + .packages + .iter() .find(|v| v.name == *package_name) .ok_or_else(|| eyre!("Could not find package `{}`", package_name))?; tracing::debug!(manifest_path = %found.manifest_path, "Found workspace package"); found.manifest_path.clone().into_std_path_buf() } else { - let root = metadata - .root_package() - .ok_or(eyre!("`pgx` requires a root package in a workspace when `--package` is not specified."))?; + let root = metadata.root_package().ok_or(eyre!( + "`pgx` requires a root package in a workspace when `--package` is not specified." + ))?; tracing::debug!(manifest_path = %root.manifest_path, "Found root package"); root.manifest_path.clone().into_std_path_buf() }; diff --git a/cargo-pgx/src/metadata.rs b/cargo-pgx/src/metadata.rs index a37807c8a..87246db25 100644 --- a/cargo-pgx/src/metadata.rs +++ b/cargo-pgx/src/metadata.rs @@ -1,9 +1,20 @@ +/* +Portions Copyright 2019-2021 ZomboDB, LLC. +Portions Copyright 2021-2022 Technology Concepts & Design, Inc. + +All rights reserved. + +Use of this source code is governed by the MIT license that can be found in the LICENSE file. +*/ use cargo_metadata::{Metadata, MetadataCommand}; use eyre::eyre; use semver::{Version, VersionReq}; use std::path::Path; -pub fn metadata(features: &clap_cargo::Features, manifest_path: Option>) -> eyre::Result { +pub fn metadata( + features: &clap_cargo::Features, + manifest_path: Option>, +) -> eyre::Result { let mut metadata_command = MetadataCommand::new(); if let Some(manifest_path) = manifest_path { metadata_command.manifest_path(manifest_path.as_ref().to_owned()); diff --git a/cargo-pgx/src/templates/cargo_toml b/cargo-pgx/src/templates/cargo_toml index 83c5c3bf0..946cc7d7e 100644 --- a/cargo-pgx/src/templates/cargo_toml +++ b/cargo-pgx/src/templates/cargo_toml @@ -16,10 +16,10 @@ pg14 = ["pgx/pg14", "pgx-tests/pg14" ] pg_test = [] [dependencies] -pgx = "0.4.1" +pgx = "0.4.2" [dev-dependencies] -pgx-tests = "0.4.1" +pgx-tests = "0.4.2" [profile.dev] panic = "unwind" diff --git a/nix/templates/default/Cargo.toml b/nix/templates/default/Cargo.toml index b458b2760..faf5e415f 100644 --- a/nix/templates/default/Cargo.toml +++ b/nix/templates/default/Cargo.toml @@ -16,13 +16,13 @@ pg14 = ["pgx/pg14", "pgx-tests/pg14" ] pg_test = [] [dependencies] -pgx = "0.4.1" -pgx-macros = "0.4.1" -pgx-utils = "0.4.1" +pgx = "0.4.2" +pgx-macros = "0.4.2" +pgx-utils = "0.4.2" [dev-dependencies] -pgx-tests = "0.4.1" +pgx-tests = "0.4.2" tempfile = "3.2.0" once_cell = "1.7.2" diff --git a/nix/templates/default/src/lib.rs b/nix/templates/default/src/lib.rs index 44c150b02..c3c42f523 100644 --- a/nix/templates/default/src/lib.rs +++ b/nix/templates/default/src/lib.rs @@ -1,3 +1,11 @@ +/* +Portions Copyright 2019-2021 ZomboDB, LLC. +Portions Copyright 2021-2022 Technology Concepts & Design, Inc. + +All rights reserved. + +Use of this source code is governed by the MIT license that can be found in the LICENSE file. +*/ use pgx::*; pg_module_magic!(); diff --git a/pgx-examples/aggregate/src/lib.rs b/pgx-examples/aggregate/src/lib.rs index c37e819b3..f38b7e7b2 100644 --- a/pgx-examples/aggregate/src/lib.rs +++ b/pgx-examples/aggregate/src/lib.rs @@ -1,3 +1,11 @@ +/* +Portions Copyright 2019-2021 ZomboDB, LLC. +Portions Copyright 2021-2022 Technology Concepts & Design, Inc. + +All rights reserved. + +Use of this source code is governed by the MIT license that can be found in the LICENSE file. +*/ use pgx::cstr_core::CStr; use pgx::*; use serde::{Deserialize, Serialize}; diff --git a/pgx-examples/arrays/src/lib.rs b/pgx-examples/arrays/src/lib.rs index c65306720..4dedae136 100644 --- a/pgx-examples/arrays/src/lib.rs +++ b/pgx-examples/arrays/src/lib.rs @@ -1,5 +1,11 @@ -// Copyright 2020 ZomboDB, LLC . All rights reserved. Use of this source code is -// governed by the MIT license that can be found in the LICENSE file. +/* +Portions Copyright 2019-2021 ZomboDB, LLC. +Portions Copyright 2021-2022 Technology Concepts & Design, Inc. + +All rights reserved. + +Use of this source code is governed by the MIT license that can be found in the LICENSE file. +*/ use pgx::*; use serde::*; diff --git a/pgx-examples/bad_ideas/src/lib.rs b/pgx-examples/bad_ideas/src/lib.rs index b3ab4e5fb..72ec429fc 100644 --- a/pgx-examples/bad_ideas/src/lib.rs +++ b/pgx-examples/bad_ideas/src/lib.rs @@ -1,3 +1,11 @@ +/* +Portions Copyright 2019-2021 ZomboDB, LLC. +Portions Copyright 2021-2022 Technology Concepts & Design, Inc. + +All rights reserved. + +Use of this source code is governed by the MIT license that can be found in the LICENSE file. +*/ use pgx::*; use std::fs::File; use std::io::Write; diff --git a/pgx-examples/bgworker/src/lib.rs b/pgx-examples/bgworker/src/lib.rs index ca77df06b..c3b23604e 100644 --- a/pgx-examples/bgworker/src/lib.rs +++ b/pgx-examples/bgworker/src/lib.rs @@ -1,3 +1,11 @@ +/* +Portions Copyright 2019-2021 ZomboDB, LLC. +Portions Copyright 2021-2022 Technology Concepts & Design, Inc. + +All rights reserved. + +Use of this source code is governed by the MIT license that can be found in the LICENSE file. +*/ use pgx::bgworkers::*; use pgx::*; use std::time::Duration; diff --git a/pgx-examples/bytea/Cargo.toml b/pgx-examples/bytea/Cargo.toml index 66607c9a3..0ea4f6ea8 100644 --- a/pgx-examples/bytea/Cargo.toml +++ b/pgx-examples/bytea/Cargo.toml @@ -17,7 +17,7 @@ pg_test = [] [dependencies] pgx = { path = "../../pgx", default-features = false } -libflate = "1.1.2" +libflate = "1.2.0" [dev-dependencies] pgx-tests = { path = "../../pgx-tests" } diff --git a/pgx-examples/bytea/src/lib.rs b/pgx-examples/bytea/src/lib.rs index 65982c2a6..1c8d58b5f 100644 --- a/pgx-examples/bytea/src/lib.rs +++ b/pgx-examples/bytea/src/lib.rs @@ -1,5 +1,11 @@ -// Copyright 2020 ZomboDB, LLC . All rights reserved. Use of this source code is -// governed by the MIT license that can be found in the LICENSE file. +/* +Portions Copyright 2019-2021 ZomboDB, LLC. +Portions Copyright 2021-2022 Technology Concepts & Design, Inc. + +All rights reserved. + +Use of this source code is governed by the MIT license that can be found in the LICENSE file. +*/ use libflate::gzip::{Decoder, Encoder}; use pgx::*; diff --git a/pgx-examples/custom_sql/sql/finalizer.sql b/pgx-examples/custom_sql/sql/finalizer.sql index e51feb645..6f1ac30f5 100644 --- a/pgx-examples/custom_sql/sql/finalizer.sql +++ b/pgx-examples/custom_sql/sql/finalizer.sql @@ -1 +1,9 @@ +/* +Portions Copyright 2019-2021 ZomboDB, LLC. +Portions Copyright 2021-2022 Technology Concepts & Design, Inc. + +All rights reserved. + +Use of this source code is governed by the MIT license that can be found in the LICENSE file. +*/ INSERT INTO extension_sql VALUES ('finalizer'); diff --git a/pgx-examples/custom_sql/sql/multiple.sql b/pgx-examples/custom_sql/sql/multiple.sql index 2478f3268..eca36444f 100644 --- a/pgx-examples/custom_sql/sql/multiple.sql +++ b/pgx-examples/custom_sql/sql/multiple.sql @@ -1 +1,9 @@ +/* +Portions Copyright 2019-2021 ZomboDB, LLC. +Portions Copyright 2021-2022 Technology Concepts & Design, Inc. + +All rights reserved. + +Use of this source code is governed by the MIT license that can be found in the LICENSE file. +*/ INSERT INTO extension_sql VALUES ('multiple'); diff --git a/pgx-examples/custom_sql/sql/single.sql b/pgx-examples/custom_sql/sql/single.sql index 3a93bc8e2..688e94799 100644 --- a/pgx-examples/custom_sql/sql/single.sql +++ b/pgx-examples/custom_sql/sql/single.sql @@ -1 +1,9 @@ +/* +Portions Copyright 2019-2021 ZomboDB, LLC. +Portions Copyright 2021-2022 Technology Concepts & Design, Inc. + +All rights reserved. + +Use of this source code is governed by the MIT license that can be found in the LICENSE file. +*/ INSERT INTO extension_sql VALUES ('single'); diff --git a/pgx-examples/custom_sql/src/lib.rs b/pgx-examples/custom_sql/src/lib.rs index 5fe84f260..796f6d158 100644 --- a/pgx-examples/custom_sql/src/lib.rs +++ b/pgx-examples/custom_sql/src/lib.rs @@ -1,5 +1,11 @@ -// Copyright 2020 ZomboDB, LLC . All rights reserved. Use of this source code is -// governed by the MIT license that can be found in the LICENSE file. +/* +Portions Copyright 2019-2021 ZomboDB, LLC. +Portions Copyright 2021-2022 Technology Concepts & Design, Inc. + +All rights reserved. + +Use of this source code is governed by the MIT license that can be found in the LICENSE file. +*/ use pgx::*; use serde::{Deserialize, Serialize}; diff --git a/pgx-examples/custom_types/src/complex.rs b/pgx-examples/custom_types/src/complex.rs index 4fcf1e0b6..6b7b2143a 100644 --- a/pgx-examples/custom_types/src/complex.rs +++ b/pgx-examples/custom_types/src/complex.rs @@ -1,5 +1,11 @@ -// Copyright 2020 ZomboDB, LLC . All rights reserved. Use of this source code is -// governed by the MIT license that can be found in the LICENSE file. +/* +Portions Copyright 2019-2021 ZomboDB, LLC. +Portions Copyright 2021-2022 Technology Concepts & Design, Inc. + +All rights reserved. + +Use of this source code is governed by the MIT license that can be found in the LICENSE file. +*/ use maplit::*; use pgx::*; diff --git a/pgx-examples/custom_types/src/fixed_size.rs b/pgx-examples/custom_types/src/fixed_size.rs index bcc9ed030..e2349dd22 100644 --- a/pgx-examples/custom_types/src/fixed_size.rs +++ b/pgx-examples/custom_types/src/fixed_size.rs @@ -1,3 +1,11 @@ +/* +Portions Copyright 2019-2021 ZomboDB, LLC. +Portions Copyright 2021-2022 Technology Concepts & Design, Inc. + +All rights reserved. + +Use of this source code is governed by the MIT license that can be found in the LICENSE file. +*/ use pgx::cstr_core::CStr; use pgx::*; use std::str::FromStr; diff --git a/pgx-examples/custom_types/src/generic_enum.rs b/pgx-examples/custom_types/src/generic_enum.rs index 547160e5a..14a1fafeb 100644 --- a/pgx-examples/custom_types/src/generic_enum.rs +++ b/pgx-examples/custom_types/src/generic_enum.rs @@ -1,5 +1,11 @@ -// Copyright 2020 ZomboDB, LLC . All rights reserved. Use of this source code is -// governed by the MIT license that can be found in the LICENSE file. +/* +Portions Copyright 2019-2021 ZomboDB, LLC. +Portions Copyright 2021-2022 Technology Concepts & Design, Inc. + +All rights reserved. + +Use of this source code is governed by the MIT license that can be found in the LICENSE file. +*/ use pgx::*; use serde::*; diff --git a/pgx-examples/custom_types/src/hstore_clone.rs b/pgx-examples/custom_types/src/hstore_clone.rs index 1a6d3babb..27c99aaf2 100644 --- a/pgx-examples/custom_types/src/hstore_clone.rs +++ b/pgx-examples/custom_types/src/hstore_clone.rs @@ -1,5 +1,11 @@ -// Copyright 2020 ZomboDB, LLC . All rights reserved. Use of this source code is -// governed by the MIT license that can be found in the LICENSE file. +/* +Portions Copyright 2019-2021 ZomboDB, LLC. +Portions Copyright 2021-2022 Technology Concepts & Design, Inc. + +All rights reserved. + +Use of this source code is governed by the MIT license that can be found in the LICENSE file. +*/ use maplit::*; use pgx::*; diff --git a/pgx-examples/custom_types/src/lib.rs b/pgx-examples/custom_types/src/lib.rs index 5f55609ea..5e20ae6b4 100644 --- a/pgx-examples/custom_types/src/lib.rs +++ b/pgx-examples/custom_types/src/lib.rs @@ -1,5 +1,11 @@ -// Copyright 2020 ZomboDB, LLC . All rights reserved. Use of this source code is -// governed by the MIT license that can be found in the LICENSE file. +/* +Portions Copyright 2019-2021 ZomboDB, LLC. +Portions Copyright 2021-2022 Technology Concepts & Design, Inc. + +All rights reserved. + +Use of this source code is governed by the MIT license that can be found in the LICENSE file. +*/ use pgx::*; diff --git a/pgx-examples/errors/src/lib.rs b/pgx-examples/errors/src/lib.rs index 8000b560b..c962f125d 100644 --- a/pgx-examples/errors/src/lib.rs +++ b/pgx-examples/errors/src/lib.rs @@ -1,5 +1,11 @@ -// Copyright 2020 ZomboDB, LLC . All rights reserved. Use of this source code is -// governed by the MIT license that can be found in the LICENSE file. +/* +Portions Copyright 2019-2021 ZomboDB, LLC. +Portions Copyright 2021-2022 Technology Concepts & Design, Inc. + +All rights reserved. + +Use of this source code is governed by the MIT license that can be found in the LICENSE file. +*/ use pgx::*; diff --git a/pgx-examples/nostd/src/lib.rs b/pgx-examples/nostd/src/lib.rs index f4edd9662..5f35fac5a 100644 --- a/pgx-examples/nostd/src/lib.rs +++ b/pgx-examples/nostd/src/lib.rs @@ -1,3 +1,11 @@ +/* +Portions Copyright 2019-2021 ZomboDB, LLC. +Portions Copyright 2021-2022 Technology Concepts & Design, Inc. + +All rights reserved. + +Use of this source code is governed by the MIT license that can be found in the LICENSE file. +*/ //! This exists just to make sure we can compile various things under `#![no_std]` #![no_std] diff --git a/pgx-examples/operators/src/derived.rs b/pgx-examples/operators/src/derived.rs index d1d8f8dd3..6809b79b5 100644 --- a/pgx-examples/operators/src/derived.rs +++ b/pgx-examples/operators/src/derived.rs @@ -1,3 +1,11 @@ +/* +Portions Copyright 2019-2021 ZomboDB, LLC. +Portions Copyright 2021-2022 Technology Concepts & Design, Inc. + +All rights reserved. + +Use of this source code is governed by the MIT license that can be found in the LICENSE file. +*/ use pgx::*; use serde::{Deserialize, Serialize}; diff --git a/pgx-examples/operators/src/lib.rs b/pgx-examples/operators/src/lib.rs index 218fa8e3b..7560b0a11 100644 --- a/pgx-examples/operators/src/lib.rs +++ b/pgx-examples/operators/src/lib.rs @@ -1,5 +1,11 @@ -// Copyright 2020 ZomboDB, LLC . All rights reserved. Use of this source code is -// governed by the MIT license that can be found in the LICENSE file. +/* +Portions Copyright 2019-2021 ZomboDB, LLC. +Portions Copyright 2021-2022 Technology Concepts & Design, Inc. + +All rights reserved. + +Use of this source code is governed by the MIT license that can be found in the LICENSE file. +*/ use pgx::*; use serde::{Deserialize, Serialize}; diff --git a/pgx-examples/schemas/src/lib.rs b/pgx-examples/schemas/src/lib.rs index 6090691f6..38803dc44 100644 --- a/pgx-examples/schemas/src/lib.rs +++ b/pgx-examples/schemas/src/lib.rs @@ -1,3 +1,11 @@ +/* +Portions Copyright 2019-2021 ZomboDB, LLC. +Portions Copyright 2021-2022 Technology Concepts & Design, Inc. + +All rights reserved. + +Use of this source code is governed by the MIT license that can be found in the LICENSE file. +*/ /// All top-level pgx objects, **regardless** of the ".rs" file they're defined in, are created /// in the schema determined by `CREATE EXTENSION`. It could be `public` (the default), or a /// user-specified schema. We have no idea what that is. diff --git a/pgx-examples/shmem/src/lib.rs b/pgx-examples/shmem/src/lib.rs index 20781d2d7..0399882a0 100644 --- a/pgx-examples/shmem/src/lib.rs +++ b/pgx-examples/shmem/src/lib.rs @@ -1,3 +1,11 @@ +/* +Portions Copyright 2019-2021 ZomboDB, LLC. +Portions Copyright 2021-2022 Technology Concepts & Design, Inc. + +All rights reserved. + +Use of this source code is governed by the MIT license that can be found in the LICENSE file. +*/ use pgx::*; use serde::*; use std::iter::Iterator; diff --git a/pgx-examples/spi/src/lib.rs b/pgx-examples/spi/src/lib.rs index fb8df56b5..401902c5a 100644 --- a/pgx-examples/spi/src/lib.rs +++ b/pgx-examples/spi/src/lib.rs @@ -1,3 +1,11 @@ +/* +Portions Copyright 2019-2021 ZomboDB, LLC. +Portions Copyright 2021-2022 Technology Concepts & Design, Inc. + +All rights reserved. + +Use of this source code is governed by the MIT license that can be found in the LICENSE file. +*/ use pgx::*; pg_module_magic!(); diff --git a/pgx-examples/srf/src/lib.rs b/pgx-examples/srf/src/lib.rs index 86672bec5..7f8ac0a77 100644 --- a/pgx-examples/srf/src/lib.rs +++ b/pgx-examples/srf/src/lib.rs @@ -1,5 +1,11 @@ -// Copyright 2020 ZomboDB, LLC . All rights reserved. Use of this source code is -// governed by the MIT license that can be found in the LICENSE file. +/* +Portions Copyright 2019-2021 ZomboDB, LLC. +Portions Copyright 2021-2022 Technology Concepts & Design, Inc. + +All rights reserved. + +Use of this source code is governed by the MIT license that can be found in the LICENSE file. +*/ use pgx::*; diff --git a/pgx-examples/strings/src/lib.rs b/pgx-examples/strings/src/lib.rs index 09cac8573..ecd139245 100644 --- a/pgx-examples/strings/src/lib.rs +++ b/pgx-examples/strings/src/lib.rs @@ -1,5 +1,11 @@ -// Copyright 2020 ZomboDB, LLC . All rights reserved. Use of this source code is -// governed by the MIT license that can be found in the LICENSE file. +/* +Portions Copyright 2019-2021 ZomboDB, LLC. +Portions Copyright 2021-2022 Technology Concepts & Design, Inc. + +All rights reserved. + +Use of this source code is governed by the MIT license that can be found in the LICENSE file. +*/ use pgx::*; diff --git a/pgx-examples/triggers/src/lib.rs b/pgx-examples/triggers/src/lib.rs index b2b83aa02..17c5b951e 100644 --- a/pgx-examples/triggers/src/lib.rs +++ b/pgx-examples/triggers/src/lib.rs @@ -1,3 +1,11 @@ +/* +Portions Copyright 2019-2021 ZomboDB, LLC. +Portions Copyright 2021-2022 Technology Concepts & Design, Inc. + +All rights reserved. + +Use of this source code is governed by the MIT license that can be found in the LICENSE file. +*/ use pgx::*; pg_module_magic!(); diff --git a/pgx-macros/Cargo.toml b/pgx-macros/Cargo.toml index db5f26b09..568e84232 100644 --- a/pgx-macros/Cargo.toml +++ b/pgx-macros/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "pgx-macros" -version = "0.4.1" +version = "0.4.2" authors = ["ZomboDB, LLC "] license = "MIT" description = "Proc Macros for 'pgx'" @@ -18,10 +18,10 @@ proc-macro = true rustc-args = ["--cfg", "docsrs"] [dependencies] -pgx-utils = { path = "../pgx-utils", version = "0.4.1" } +pgx-utils = { path = "../pgx-utils", version = "0.4.2" } proc-macro2 = "1.0.36" -quote = "1.0.15" -syn = { version = "1.0.86", features = [ "extra-traits", "full", "fold", "parsing" ] } +quote = "1.0.17" +syn = { version = "1.0.90", features = [ "extra-traits", "full", "fold", "parsing" ] } unescape = "0.1.0" proc-macro-crate = "1.1.3" diff --git a/pgx-macros/src/lib.rs b/pgx-macros/src/lib.rs index eecacb8f1..4ca631db5 100644 --- a/pgx-macros/src/lib.rs +++ b/pgx-macros/src/lib.rs @@ -1,5 +1,11 @@ -// Copyright 2020 ZomboDB, LLC . All rights reserved. Use of this source code is -// governed by the MIT license that can be found in the LICENSE file. +/* +Portions Copyright 2019-2021 ZomboDB, LLC. +Portions Copyright 2021-2022 Technology Concepts & Design, Inc. + +All rights reserved. + +Use of this source code is governed by the MIT license that can be found in the LICENSE file. +*/ extern crate proc_macro; diff --git a/pgx-macros/src/operators.rs b/pgx-macros/src/operators.rs index 50ffeb6a7..8c2594ea3 100644 --- a/pgx-macros/src/operators.rs +++ b/pgx-macros/src/operators.rs @@ -1,3 +1,11 @@ +/* +Portions Copyright 2019-2021 ZomboDB, LLC. +Portions Copyright 2021-2022 Technology Concepts & Design, Inc. + +All rights reserved. + +Use of this source code is governed by the MIT license that can be found in the LICENSE file. +*/ use pgx_utils::{ operator_common::*, sql_entity_graph::{PostgresHash, PostgresOrd}, diff --git a/pgx-macros/src/rewriter.rs b/pgx-macros/src/rewriter.rs index 8fd372510..f317ff464 100644 --- a/pgx-macros/src/rewriter.rs +++ b/pgx-macros/src/rewriter.rs @@ -1,5 +1,11 @@ -// Copyright 2020 ZomboDB, LLC . All rights reserved. Use of this source code is -// governed by the MIT license that can be found in the LICENSE file. +/* +Portions Copyright 2019-2021 ZomboDB, LLC. +Portions Copyright 2021-2022 Technology Concepts & Design, Inc. + +All rights reserved. + +Use of this source code is governed by the MIT license that can be found in the LICENSE file. +*/ extern crate proc_macro; diff --git a/pgx-macros/static/demo.sql b/pgx-macros/static/demo.sql index cc6393518..c2e0f37ed 100644 --- a/pgx-macros/static/demo.sql +++ b/pgx-macros/static/demo.sql @@ -1,2 +1,13 @@ --- Example for extension_sql_file doctest. +/* +Portions Copyright 2019-2021 ZomboDB, LLC. +Portions Copyright 2021-2022 Technology Concepts & Design, Inc. + +All rights reserved. + +Use of this source code is governed by the MIT license that can be found in the LICENSE file. +*/ +/* +Copyright 2019-2022 ZomboDB, LLC and Technology Concepts & Design, Inc. . All rights reserved. Use of +this source code is governed by the MIT license that can be found in the LICENSE file.*//*Copyright 2019-2022 ZomboDB, LLC and Technology Concepts & Design, Inc. . All rights reserved. Use of +this source code is governed by the MIT license that can be found in the LICENSE file.*/-- Example for extension_sql_file doctest. SELECT true; diff --git a/pgx-pg-sys/Cargo.toml b/pgx-pg-sys/Cargo.toml index 28c2be221..f9297c520 100644 --- a/pgx-pg-sys/Cargo.toml +++ b/pgx-pg-sys/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "pgx-pg-sys" -version = "0.4.1" +version = "0.4.2" authors = ["ZomboDB, LLC "] license = "MIT" description = "Generated Rust bindings for Postgres internals, for use with 'pgx'" @@ -28,18 +28,18 @@ rustdoc-args = ["--cfg", "docsrs"] [dependencies] memoffset = "0.6.5" -once_cell = "1.9.0" -pgx-macros = { path = "../pgx-macros/", version = "0.4.1" } +once_cell = "1.10.0" +pgx-macros = { path = "../pgx-macros/", version = "0.4.2" } [build-dependencies] bindgen = { version = "0.59.2", default-features = false, features = ["runtime"] } build-deps = "0.1.4" -owo-colors = "3.2.0" +owo-colors = "3.3.0" num_cpus = "1.13.1" -pgx-utils = { path = "../pgx-utils/", version = "0.4.1" } +pgx-utils = { path = "../pgx-utils/", version = "0.4.2" } proc-macro2 = "1.0.36" -quote = "1.0.15" +quote = "1.0.17" rayon = "1.5.1" -syn = { version = "1.0.86", features = [ "extra-traits", "full", "fold", "parsing" ] } +syn = { version = "1.0.90", features = [ "extra-traits", "full", "fold", "parsing" ] } eyre = "0.6.7" color-eyre = "0.6.1" diff --git a/pgx-pg-sys/build.rs b/pgx-pg-sys/build.rs index e8126b961..c75ec2676 100644 --- a/pgx-pg-sys/build.rs +++ b/pgx-pg-sys/build.rs @@ -1,5 +1,11 @@ -// Copyright 2020 ZomboDB, LLC . All rights reserved. Use of this source code is -// governed by the MIT license that can be found in the LICENSE file. +/* +Portions Copyright 2019-2021 ZomboDB, LLC. +Portions Copyright 2021-2022 Technology Concepts & Design, Inc. + +All rights reserved. + +Use of this source code is governed by the MIT license that can be found in the LICENSE file. +*/ extern crate build_deps; diff --git a/pgx-pg-sys/cshim/Makefile b/pgx-pg-sys/cshim/Makefile index 0b569cef5..0a046c103 100644 --- a/pgx-pg-sys/cshim/Makefile +++ b/pgx-pg-sys/cshim/Makefile @@ -1,5 +1,11 @@ -# Copyright 2020 ZomboDB, LLC . All rights reserved. Use of this source code is -# governed by the MIT license that can be found in the LICENSE file. +# Portions Copyright 2019-2021 ZomboDB, LLC. +# Portions Copyright 2021-2022 Technology Concepts & Design, Inc. +# +# +# All rights reserved. +# +# Use of this source code is governed by the MIT license that can be found in +# the LICENSE file. MODULE_big = pgx-cshim-${PG_TARGET_VERSION} diff --git a/pgx-pg-sys/cshim/pgx-cshim.c b/pgx-pg-sys/cshim/pgx-cshim.c index 6845e4770..6952812f7 100644 --- a/pgx-pg-sys/cshim/pgx-cshim.c +++ b/pgx-pg-sys/cshim/pgx-cshim.c @@ -1,8 +1,11 @@ /* - * Copyright 2020 ZomboDB, LLC . All rights reserved. Use of this source code is - * governed by the MIT license that can be found in the LICENSE file. - */ +Portions Copyright 2019-2021 ZomboDB, LLC. +Portions Copyright 2021-2022 Technology Concepts & Design, Inc. +All rights reserved. + +Use of this source code is governed by the MIT license that can be found in the LICENSE file. +*/ #include "postgres.h" #define IS_PG_10 (PG_VERSION_NUM >= 100000 && PG_VERSION_NUM < 110000) diff --git a/pgx-pg-sys/include/pg10.h b/pgx-pg-sys/include/pg10.h index 9c843351c..b476dad75 100644 --- a/pgx-pg-sys/include/pg10.h +++ b/pgx-pg-sys/include/pg10.h @@ -1,3 +1,11 @@ +/* +Portions Copyright 2019-2021 ZomboDB, LLC. +Portions Copyright 2021-2022 Technology Concepts & Design, Inc. + +All rights reserved. + +Use of this source code is governed by the MIT license that can be found in the LICENSE file. +*/ #include #define USE_STDBOOL 1 @@ -25,6 +33,7 @@ #include "catalog/objectaddress.h" #include "catalog/pg_class.h" #include "catalog/pg_enum.h" +#include "catalog/pg_operator.h" #include "catalog/pg_proc.h" #include "catalog/pg_trigger.h" #include "catalog/pg_type.h" diff --git a/pgx-pg-sys/include/pg11.h b/pgx-pg-sys/include/pg11.h index ce8666613..2b9e83465 100644 --- a/pgx-pg-sys/include/pg11.h +++ b/pgx-pg-sys/include/pg11.h @@ -1,3 +1,11 @@ +/* +Portions Copyright 2019-2021 ZomboDB, LLC. +Portions Copyright 2021-2022 Technology Concepts & Design, Inc. + +All rights reserved. + +Use of this source code is governed by the MIT license that can be found in the LICENSE file. +*/ #include "postgres.h" #include "pg_config.h" #include "funcapi.h" @@ -22,6 +30,7 @@ #include "catalog/objectaddress.h" #include "catalog/pg_class.h" #include "catalog/pg_enum.h" +#include "catalog/pg_operator.h" #include "catalog/pg_proc.h" #include "catalog/pg_trigger.h" #include "catalog/pg_type.h" diff --git a/pgx-pg-sys/include/pg12.h b/pgx-pg-sys/include/pg12.h index 86ab457ad..84f6a9182 100644 --- a/pgx-pg-sys/include/pg12.h +++ b/pgx-pg-sys/include/pg12.h @@ -1,3 +1,11 @@ +/* +Portions Copyright 2019-2021 ZomboDB, LLC. +Portions Copyright 2021-2022 Technology Concepts & Design, Inc. + +All rights reserved. + +Use of this source code is governed by the MIT license that can be found in the LICENSE file. +*/ #include "postgres.h" #include "pg_config.h" #include "funcapi.h" @@ -24,6 +32,7 @@ #include "catalog/objectaddress.h" #include "catalog/pg_class.h" #include "catalog/pg_enum.h" +#include "catalog/pg_operator.h" #include "catalog/pg_proc.h" #include "catalog/pg_trigger.h" #include "catalog/pg_type.h" diff --git a/pgx-pg-sys/include/pg13.h b/pgx-pg-sys/include/pg13.h index 10db5f2de..f94324aca 100644 --- a/pgx-pg-sys/include/pg13.h +++ b/pgx-pg-sys/include/pg13.h @@ -1,3 +1,11 @@ +/* +Portions Copyright 2019-2021 ZomboDB, LLC. +Portions Copyright 2021-2022 Technology Concepts & Design, Inc. + +All rights reserved. + +Use of this source code is governed by the MIT license that can be found in the LICENSE file. +*/ #include "postgres.h" #include "pg_config.h" #include "funcapi.h" @@ -24,6 +32,7 @@ #include "catalog/objectaddress.h" #include "catalog/pg_class.h" #include "catalog/pg_enum.h" +#include "catalog/pg_operator.h" #include "catalog/pg_proc.h" #include "catalog/pg_trigger.h" #include "catalog/pg_type.h" diff --git a/pgx-pg-sys/include/pg14.h b/pgx-pg-sys/include/pg14.h index 10db5f2de..f94324aca 100644 --- a/pgx-pg-sys/include/pg14.h +++ b/pgx-pg-sys/include/pg14.h @@ -1,3 +1,11 @@ +/* +Portions Copyright 2019-2021 ZomboDB, LLC. +Portions Copyright 2021-2022 Technology Concepts & Design, Inc. + +All rights reserved. + +Use of this source code is governed by the MIT license that can be found in the LICENSE file. +*/ #include "postgres.h" #include "pg_config.h" #include "funcapi.h" @@ -24,6 +32,7 @@ #include "catalog/objectaddress.h" #include "catalog/pg_class.h" #include "catalog/pg_enum.h" +#include "catalog/pg_operator.h" #include "catalog/pg_proc.h" #include "catalog/pg_trigger.h" #include "catalog/pg_type.h" diff --git a/pgx-pg-sys/src/lib.rs b/pgx-pg-sys/src/lib.rs index b75089d6d..63128f0e2 100644 --- a/pgx-pg-sys/src/lib.rs +++ b/pgx-pg-sys/src/lib.rs @@ -1,5 +1,11 @@ -// Copyright 2020 ZomboDB, LLC . All rights reserved. Use of this source code is -// governed by the MIT license that can be found in the LICENSE file. +/* +Portions Copyright 2019-2021 ZomboDB, LLC. +Portions Copyright 2021-2022 Technology Concepts & Design, Inc. + +All rights reserved. + +Use of this source code is governed by the MIT license that can be found in the LICENSE file. +*/ // // we allow improper_ctypes just to eliminate these warnings: diff --git a/pgx-pg-sys/src/pg10.rs b/pgx-pg-sys/src/pg10.rs index cc0b83798..d04c1aefd 100644 --- a/pgx-pg-sys/src/pg10.rs +++ b/pgx-pg-sys/src/pg10.rs @@ -187,25 +187,24 @@ pub const DEF_PGPORT_STR: &[u8; 6usize] = b"28810\0"; pub const ENABLE_THREAD_SAFETY: u32 = 1; pub const FLOAT4PASSBYVAL: u32 = 1; pub const FLOAT8PASSBYVAL: u32 = 1; -pub const HAVE_APPEND_HISTORY: u32 = 1; pub const HAVE_ATOMICS: u32 = 1; pub const HAVE_CBRT: u32 = 1; pub const HAVE_CLOCK_GETTIME: u32 = 1; pub const HAVE_COMPUTED_GOTO: u32 = 1; pub const HAVE_CRYPT: u32 = 1; -pub const HAVE_CRYPT_H: u32 = 1; -pub const HAVE_DECL_FDATASYNC: u32 = 1; -pub const HAVE_DECL_F_FULLFSYNC: u32 = 0; -pub const HAVE_DECL_POSIX_FADVISE: u32 = 1; +pub const HAVE_DECL_FDATASYNC: u32 = 0; +pub const HAVE_DECL_F_FULLFSYNC: u32 = 1; +pub const HAVE_DECL_POSIX_FADVISE: u32 = 0; pub const HAVE_DECL_SNPRINTF: u32 = 1; -pub const HAVE_DECL_STRLCAT: u32 = 0; -pub const HAVE_DECL_STRLCPY: u32 = 0; +pub const HAVE_DECL_STRLCAT: u32 = 1; +pub const HAVE_DECL_STRLCPY: u32 = 1; pub const HAVE_DECL_STRNLEN: u32 = 1; pub const HAVE_DECL_STRTOLL: u32 = 1; pub const HAVE_DECL_STRTOULL: u32 = 1; pub const HAVE_DECL_VSNPRINTF: u32 = 1; pub const HAVE_DLOPEN: u32 = 1; pub const HAVE_FDATASYNC: u32 = 1; +pub const HAVE_FLS: u32 = 1; pub const HAVE_FSEEKO: u32 = 1; pub const HAVE_FUNCNAME__FUNC: u32 = 1; pub const HAVE_GCC__ATOMIC_INT32_CAS: u32 = 1; @@ -215,11 +214,11 @@ pub const HAVE_GCC__SYNC_INT32_CAS: u32 = 1; pub const HAVE_GCC__SYNC_INT32_TAS: u32 = 1; pub const HAVE_GCC__SYNC_INT64_CAS: u32 = 1; pub const HAVE_GETADDRINFO: u32 = 1; -pub const HAVE_GETHOSTBYNAME_R: u32 = 1; pub const HAVE_GETIFADDRS: u32 = 1; pub const HAVE_GETOPT: u32 = 1; pub const HAVE_GETOPT_H: u32 = 1; pub const HAVE_GETOPT_LONG: u32 = 1; +pub const HAVE_GETPEEREID: u32 = 1; pub const HAVE_GETPWUID_R: u32 = 1; pub const HAVE_GETRLIMIT: u32 = 1; pub const HAVE_GETRUSAGE: u32 = 1; @@ -229,6 +228,7 @@ pub const HAVE_INET_ATON: u32 = 1; pub const HAVE_INTPTR_T: u32 = 1; pub const HAVE_INTTYPES_H: u32 = 1; pub const HAVE_INT_OPTERR: u32 = 1; +pub const HAVE_INT_OPTRESET: u32 = 1; pub const HAVE_INT_TIMEZONE: u32 = 1; pub const HAVE_IPV6: u32 = 1; pub const HAVE_ISINF: u32 = 1; @@ -239,6 +239,7 @@ pub const HAVE_LIBZ: u32 = 1; pub const HAVE_LOCALE_T: u32 = 1; pub const HAVE_LONG_INT_64: u32 = 1; pub const HAVE_LONG_LONG_INT: u32 = 1; +pub const HAVE_MBSTOWCS_L: u32 = 1; pub const HAVE_MEMMOVE: u32 = 1; pub const HAVE_MEMORY_H: u32 = 1; pub const HAVE_MKDTEMP: u32 = 1; @@ -246,9 +247,8 @@ pub const HAVE_NETINET_TCP_H: u32 = 1; pub const HAVE_NET_IF_H: u32 = 1; pub const HAVE_POLL: u32 = 1; pub const HAVE_POLL_H: u32 = 1; -pub const HAVE_POSIX_FADVISE: u32 = 1; -pub const HAVE_POSIX_FALLOCATE: u32 = 1; pub const HAVE_PTHREAD: u32 = 1; +pub const HAVE_PTHREAD_IS_THREADED_NP: u32 = 1; pub const HAVE_PTHREAD_PRIO_INHERIT: u32 = 1; pub const HAVE_RANDOM: u32 = 1; pub const HAVE_READLINE_HISTORY_H: u32 = 1; @@ -258,7 +258,6 @@ pub const HAVE_RINT: u32 = 1; pub const HAVE_RL_COMPLETION_APPEND_CHARACTER: u32 = 1; pub const HAVE_RL_COMPLETION_MATCHES: u32 = 1; pub const HAVE_RL_FILENAME_COMPLETION_FUNCTION: u32 = 1; -pub const HAVE_RL_RESET_SCREEN_SIZE: u32 = 1; pub const HAVE_SETSID: u32 = 1; pub const HAVE_SHM_OPEN: u32 = 1; pub const HAVE_SNPRINTF: u32 = 1; @@ -270,6 +269,8 @@ pub const HAVE_STRERROR: u32 = 1; pub const HAVE_STRERROR_R: u32 = 1; pub const HAVE_STRINGS_H: u32 = 1; pub const HAVE_STRING_H: u32 = 1; +pub const HAVE_STRLCAT: u32 = 1; +pub const HAVE_STRLCPY: u32 = 1; pub const HAVE_STRNLEN: u32 = 1; pub const HAVE_STRONG_RANDOM: u32 = 1; pub const HAVE_STRSIGNAL: u32 = 1; @@ -277,20 +278,22 @@ pub const HAVE_STRTOLL: u32 = 1; pub const HAVE_STRTOULL: u32 = 1; pub const HAVE_STRUCT_ADDRINFO: u32 = 1; pub const HAVE_STRUCT_OPTION: u32 = 1; +pub const HAVE_STRUCT_SOCKADDR_SA_LEN: u32 = 1; pub const HAVE_STRUCT_SOCKADDR_STORAGE: u32 = 1; pub const HAVE_STRUCT_SOCKADDR_STORAGE_SS_FAMILY: u32 = 1; +pub const HAVE_STRUCT_SOCKADDR_STORAGE_SS_LEN: u32 = 1; pub const HAVE_STRUCT_TM_TM_ZONE: u32 = 1; pub const HAVE_SYMLINK: u32 = 1; -pub const HAVE_SYNC_FILE_RANGE: u32 = 1; pub const HAVE_SYSLOG: u32 = 1; -pub const HAVE_SYS_EPOLL_H: u32 = 1; pub const HAVE_SYS_IPC_H: u32 = 1; pub const HAVE_SYS_RESOURCE_H: u32 = 1; pub const HAVE_SYS_SELECT_H: u32 = 1; pub const HAVE_SYS_SEM_H: u32 = 1; pub const HAVE_SYS_SHM_H: u32 = 1; +pub const HAVE_SYS_SOCKIO_H: u32 = 1; pub const HAVE_SYS_STAT_H: u32 = 1; pub const HAVE_SYS_TYPES_H: u32 = 1; +pub const HAVE_SYS_UCRED_H: u32 = 1; pub const HAVE_SYS_UN_H: u32 = 1; pub const HAVE_TERMIOS_H: u32 = 1; pub const HAVE_TM_ZONE: u32 = 1; @@ -298,6 +301,7 @@ pub const HAVE_TOWLOWER: u32 = 1; pub const HAVE_TYPEOF: u32 = 1; pub const HAVE_TZNAME: u32 = 1; pub const HAVE_UINTPTR_T: u32 = 1; +pub const HAVE_UNION_SEMUN: u32 = 1; pub const HAVE_UNISTD_H: u32 = 1; pub const HAVE_UNIX_SOCKETS: u32 = 1; pub const HAVE_UNSETENV: u32 = 1; @@ -309,42 +313,45 @@ pub const HAVE_UTIME_H: u32 = 1; pub const HAVE_VSNPRINTF: u32 = 1; pub const HAVE_WCHAR_H: u32 = 1; pub const HAVE_WCSTOMBS: u32 = 1; +pub const HAVE_WCSTOMBS_L: u32 = 1; pub const HAVE_WCTYPE_H: u32 = 1; pub const HAVE__BUILTIN_BSWAP32: u32 = 1; pub const HAVE__BUILTIN_BSWAP64: u32 = 1; pub const HAVE__BUILTIN_CONSTANT_P: u32 = 1; pub const HAVE__BUILTIN_TYPES_COMPATIBLE_P: u32 = 1; pub const HAVE__BUILTIN_UNREACHABLE: u32 = 1; -pub const HAVE__GET_CPUID: u32 = 1; pub const HAVE__STATIC_ASSERT: u32 = 1; pub const HAVE__VA_ARGS: u32 = 1; pub const INT64_MODIFIER: &[u8; 2usize] = b"l\0"; +pub const LOCALE_T_IN_XLOCALE: u32 = 1; pub const MAXIMUM_ALIGNOF: u32 = 8; pub const MEMSET_LOOP_LIMIT: u32 = 1024; pub const PACKAGE_BUGREPORT: &[u8; 26usize] = b"pgsql-bugs@postgresql.org\0"; pub const PACKAGE_NAME: &[u8; 11usize] = b"PostgreSQL\0"; -pub const PACKAGE_STRING: &[u8; 17usize] = b"PostgreSQL 10.20\0"; +pub const PACKAGE_STRING: &[u8; 17usize] = b"PostgreSQL 10.19\0"; pub const PACKAGE_TARNAME: &[u8; 11usize] = b"postgresql\0"; pub const PACKAGE_URL: &[u8; 1usize] = b"\0"; -pub const PACKAGE_VERSION: &[u8; 6usize] = b"10.20\0"; +pub const PACKAGE_VERSION: &[u8; 6usize] = b"10.19\0"; pub const PG_KRB_SRVNAM: &[u8; 9usize] = b"postgres\0"; pub const PG_MAJORVERSION: &[u8; 3usize] = b"10\0"; -pub const PG_VERSION: &[u8; 6usize] = b"10.20\0"; -pub const PG_VERSION_NUM: u32 = 100020; -pub const PG_VERSION_STR : & [u8 ; 97usize] = b"PostgreSQL 10.20 on x86_64-pc-linux-gnu, compiled by gcc (Ubuntu 11.2.0-7ubuntu2) 11.2.0, 64-bit\0" ; +pub const PG_VERSION: &[u8; 6usize] = b"10.19\0"; +pub const PG_VERSION_NUM: u32 = 100019; +pub const PG_VERSION_STR : & [u8 ; 112usize] = b"PostgreSQL 10.19 on arm-apple-darwin21.3.0, compiled by Apple clang version 13.0.0 (clang-1300.0.29.30), 64-bit\0" ; pub const RELSEG_SIZE: u32 = 131072; pub const SIZEOF_LONG: u32 = 8; pub const SIZEOF_OFF_T: u32 = 8; pub const SIZEOF_SIZE_T: u32 = 8; pub const SIZEOF_VOID_P: u32 = 8; pub const STDC_HEADERS: u32 = 1; +pub const STRERROR_R_INT: u32 = 1; pub const USE_ASSERT_CHECKING: u32 = 1; pub const USE_DEV_URANDOM: u32 = 1; pub const USE_FLOAT4_BYVAL: u32 = 1; pub const USE_FLOAT8_BYVAL: u32 = 1; -pub const USE_SSE42_CRC32C_WITH_RUNTIME_CHECK: u32 = 1; +pub const USE_SLICING_BY_8_CRC32C: u32 = 1; +pub const USE_SYSV_SEMAPHORES: u32 = 1; pub const USE_SYSV_SHARED_MEMORY: u32 = 1; -pub const USE_UNNAMED_POSIX_SEMAPHORES: u32 = 1; +pub const WCSTOMBS_L_IN_XLOCALE: u32 = 1; pub const XLOG_BLCKSZ: u32 = 8192; pub const XLOG_SEG_SIZE: u32 = 16777216; pub const NAMEDATALEN: u32 = 64; @@ -359,212 +366,548 @@ pub const BITS_PER_BYTE: u32 = 8; pub const ALIGNOF_BUFFER: u32 = 32; pub const HAVE_WORKING_LINK: u32 = 1; pub const DEFAULT_BACKEND_FLUSH_AFTER: u32 = 0; -pub const DEFAULT_BGWRITER_FLUSH_AFTER: u32 = 64; -pub const DEFAULT_CHECKPOINT_FLUSH_AFTER: u32 = 32; +pub const DEFAULT_BGWRITER_FLUSH_AFTER: u32 = 0; +pub const DEFAULT_CHECKPOINT_FLUSH_AFTER: u32 = 0; pub const WRITEBACK_MAX_PENDING_FLUSHES: u32 = 256; pub const DEFAULT_PGSOCKET_DIR: &[u8; 5usize] = b"/tmp\0"; pub const DEFAULT_EVENT_SOURCE: &[u8; 11usize] = b"PostgreSQL\0"; pub const PG_CACHE_LINE_SIZE: u32 = 128; pub const TRACE_SORT: u32 = 1; -pub const _STDIO_H: u32 = 1; -pub const _FEATURES_H: u32 = 1; -pub const _DEFAULT_SOURCE: u32 = 1; -pub const __GLIBC_USE_ISOC2X: u32 = 0; -pub const __USE_ISOC11: u32 = 1; -pub const __USE_ISOC99: u32 = 1; -pub const __USE_ISOC95: u32 = 1; -pub const __USE_POSIX_IMPLICITLY: u32 = 1; -pub const _POSIX_SOURCE: u32 = 1; -pub const _POSIX_C_SOURCE: u32 = 200809; -pub const __USE_POSIX: u32 = 1; -pub const __USE_POSIX2: u32 = 1; -pub const __USE_POSIX199309: u32 = 1; -pub const __USE_POSIX199506: u32 = 1; -pub const __USE_XOPEN2K: u32 = 1; -pub const __USE_XOPEN2K8: u32 = 1; -pub const _ATFILE_SOURCE: u32 = 1; -pub const __WORDSIZE: u32 = 64; -pub const __WORDSIZE_TIME64_COMPAT32: u32 = 1; -pub const __SYSCALL_WORDSIZE: u32 = 64; -pub const __TIMESIZE: u32 = 64; -pub const __USE_MISC: u32 = 1; -pub const __USE_ATFILE: u32 = 1; -pub const __USE_FORTIFY_LEVEL: u32 = 0; -pub const __GLIBC_USE_DEPRECATED_GETS: u32 = 0; -pub const __GLIBC_USE_DEPRECATED_SCANF: u32 = 0; -pub const _STDC_PREDEF_H: u32 = 1; -pub const __STDC_IEC_559__: u32 = 1; -pub const __STDC_IEC_559_COMPLEX__: u32 = 1; -pub const __STDC_ISO_10646__: u32 = 201706; -pub const __GNU_LIBRARY__: u32 = 6; -pub const __GLIBC__: u32 = 2; -pub const __GLIBC_MINOR__: u32 = 34; -pub const _SYS_CDEFS_H: u32 = 1; -pub const __glibc_c99_flexarr_available: u32 = 1; -pub const __LDOUBLE_REDIRECTS_TO_FLOAT128_ABI: u32 = 0; -pub const __HAVE_GENERIC_SELECTION: u32 = 1; -pub const __GLIBC_USE_LIB_EXT2: u32 = 0; -pub const __GLIBC_USE_IEC_60559_BFP_EXT: u32 = 0; -pub const __GLIBC_USE_IEC_60559_BFP_EXT_C2X: u32 = 0; -pub const __GLIBC_USE_IEC_60559_EXT: u32 = 0; -pub const __GLIBC_USE_IEC_60559_FUNCS_EXT: u32 = 0; -pub const __GLIBC_USE_IEC_60559_FUNCS_EXT_C2X: u32 = 0; -pub const __GLIBC_USE_IEC_60559_TYPES_EXT: u32 = 0; -pub const __GNUC_VA_LIST: u32 = 1; -pub const _BITS_TYPES_H: u32 = 1; -pub const _BITS_TYPESIZES_H: u32 = 1; -pub const __OFF_T_MATCHES_OFF64_T: u32 = 1; -pub const __INO_T_MATCHES_INO64_T: u32 = 1; -pub const __RLIM_T_MATCHES_RLIM64_T: u32 = 1; -pub const __STATFS_MATCHES_STATFS64: u32 = 1; -pub const __KERNEL_OLD_TIMEVAL_MATCHES_TIMEVAL64: u32 = 1; -pub const __FD_SETSIZE: u32 = 1024; -pub const _BITS_TIME64_H: u32 = 1; -pub const _____fpos_t_defined: u32 = 1; -pub const ____mbstate_t_defined: u32 = 1; -pub const _____fpos64_t_defined: u32 = 1; -pub const ____FILE_defined: u32 = 1; -pub const __FILE_defined: u32 = 1; -pub const __struct_FILE_defined: u32 = 1; -pub const _IO_EOF_SEEN: u32 = 16; -pub const _IO_ERR_SEEN: u32 = 32; -pub const _IO_USER_LOCK: u32 = 32768; +pub const __darwin__: u32 = 1; +pub const __DARWIN_ONLY_64_BIT_INO_T: u32 = 1; +pub const __DARWIN_ONLY_UNIX_CONFORMANCE: u32 = 1; +pub const __DARWIN_ONLY_VERS_1050: u32 = 1; +pub const __DARWIN_UNIX03: u32 = 1; +pub const __DARWIN_64_BIT_INO_T: u32 = 1; +pub const __DARWIN_VERS_1050: u32 = 1; +pub const __DARWIN_NON_CANCELABLE: u32 = 0; +pub const __DARWIN_SUF_EXTSN: &[u8; 14usize] = b"$DARWIN_EXTSN\0"; +pub const __DARWIN_C_ANSI: u32 = 4096; +pub const __DARWIN_C_FULL: u32 = 900000; +pub const __DARWIN_C_LEVEL: u32 = 900000; +pub const __STDC_WANT_LIB_EXT1__: u32 = 1; +pub const __DARWIN_NO_LONG_LONG: u32 = 0; +pub const _DARWIN_FEATURE_64_BIT_INODE: u32 = 1; +pub const _DARWIN_FEATURE_ONLY_64_BIT_INODE: u32 = 1; +pub const _DARWIN_FEATURE_ONLY_VERS_1050: u32 = 1; +pub const _DARWIN_FEATURE_ONLY_UNIX_CONFORMANCE: u32 = 1; +pub const _DARWIN_FEATURE_UNIX_CONFORMANCE: u32 = 3; +pub const __has_ptrcheck: u32 = 0; +pub const __API_TO_BE_DEPRECATED: u32 = 100000; +pub const __MAC_10_0: u32 = 1000; +pub const __MAC_10_1: u32 = 1010; +pub const __MAC_10_2: u32 = 1020; +pub const __MAC_10_3: u32 = 1030; +pub const __MAC_10_4: u32 = 1040; +pub const __MAC_10_5: u32 = 1050; +pub const __MAC_10_6: u32 = 1060; +pub const __MAC_10_7: u32 = 1070; +pub const __MAC_10_8: u32 = 1080; +pub const __MAC_10_9: u32 = 1090; +pub const __MAC_10_10: u32 = 101000; +pub const __MAC_10_10_2: u32 = 101002; +pub const __MAC_10_10_3: u32 = 101003; +pub const __MAC_10_11: u32 = 101100; +pub const __MAC_10_11_2: u32 = 101102; +pub const __MAC_10_11_3: u32 = 101103; +pub const __MAC_10_11_4: u32 = 101104; +pub const __MAC_10_12: u32 = 101200; +pub const __MAC_10_12_1: u32 = 101201; +pub const __MAC_10_12_2: u32 = 101202; +pub const __MAC_10_12_4: u32 = 101204; +pub const __MAC_10_13: u32 = 101300; +pub const __MAC_10_13_1: u32 = 101301; +pub const __MAC_10_13_2: u32 = 101302; +pub const __MAC_10_13_4: u32 = 101304; +pub const __MAC_10_14: u32 = 101400; +pub const __MAC_10_14_1: u32 = 101401; +pub const __MAC_10_14_4: u32 = 101404; +pub const __MAC_10_14_6: u32 = 101406; +pub const __MAC_10_15: u32 = 101500; +pub const __MAC_10_15_1: u32 = 101501; +pub const __MAC_10_15_4: u32 = 101504; +pub const __MAC_10_16: u32 = 101600; +pub const __MAC_11_0: u32 = 110000; +pub const __MAC_11_1: u32 = 110100; +pub const __MAC_11_3: u32 = 110300; +pub const __MAC_11_4: u32 = 110400; +pub const __MAC_11_5: u32 = 110500; +pub const __MAC_11_6: u32 = 110600; +pub const __MAC_12_0: u32 = 120000; +pub const __MAC_12_1: u32 = 120100; +pub const __MAC_12_2: u32 = 120200; +pub const __MAC_12_3: u32 = 120300; +pub const __IPHONE_2_0: u32 = 20000; +pub const __IPHONE_2_1: u32 = 20100; +pub const __IPHONE_2_2: u32 = 20200; +pub const __IPHONE_3_0: u32 = 30000; +pub const __IPHONE_3_1: u32 = 30100; +pub const __IPHONE_3_2: u32 = 30200; +pub const __IPHONE_4_0: u32 = 40000; +pub const __IPHONE_4_1: u32 = 40100; +pub const __IPHONE_4_2: u32 = 40200; +pub const __IPHONE_4_3: u32 = 40300; +pub const __IPHONE_5_0: u32 = 50000; +pub const __IPHONE_5_1: u32 = 50100; +pub const __IPHONE_6_0: u32 = 60000; +pub const __IPHONE_6_1: u32 = 60100; +pub const __IPHONE_7_0: u32 = 70000; +pub const __IPHONE_7_1: u32 = 70100; +pub const __IPHONE_8_0: u32 = 80000; +pub const __IPHONE_8_1: u32 = 80100; +pub const __IPHONE_8_2: u32 = 80200; +pub const __IPHONE_8_3: u32 = 80300; +pub const __IPHONE_8_4: u32 = 80400; +pub const __IPHONE_9_0: u32 = 90000; +pub const __IPHONE_9_1: u32 = 90100; +pub const __IPHONE_9_2: u32 = 90200; +pub const __IPHONE_9_3: u32 = 90300; +pub const __IPHONE_10_0: u32 = 100000; +pub const __IPHONE_10_1: u32 = 100100; +pub const __IPHONE_10_2: u32 = 100200; +pub const __IPHONE_10_3: u32 = 100300; +pub const __IPHONE_11_0: u32 = 110000; +pub const __IPHONE_11_1: u32 = 110100; +pub const __IPHONE_11_2: u32 = 110200; +pub const __IPHONE_11_3: u32 = 110300; +pub const __IPHONE_11_4: u32 = 110400; +pub const __IPHONE_12_0: u32 = 120000; +pub const __IPHONE_12_1: u32 = 120100; +pub const __IPHONE_12_2: u32 = 120200; +pub const __IPHONE_12_3: u32 = 120300; +pub const __IPHONE_12_4: u32 = 120400; +pub const __IPHONE_13_0: u32 = 130000; +pub const __IPHONE_13_1: u32 = 130100; +pub const __IPHONE_13_2: u32 = 130200; +pub const __IPHONE_13_3: u32 = 130300; +pub const __IPHONE_13_4: u32 = 130400; +pub const __IPHONE_13_5: u32 = 130500; +pub const __IPHONE_13_6: u32 = 130600; +pub const __IPHONE_13_7: u32 = 130700; +pub const __IPHONE_14_0: u32 = 140000; +pub const __IPHONE_14_1: u32 = 140100; +pub const __IPHONE_14_2: u32 = 140200; +pub const __IPHONE_14_3: u32 = 140300; +pub const __IPHONE_14_5: u32 = 140500; +pub const __IPHONE_14_6: u32 = 140600; +pub const __IPHONE_14_7: u32 = 140700; +pub const __IPHONE_14_8: u32 = 140800; +pub const __IPHONE_15_0: u32 = 150000; +pub const __IPHONE_15_1: u32 = 150100; +pub const __IPHONE_15_2: u32 = 150200; +pub const __IPHONE_15_3: u32 = 150300; +pub const __IPHONE_15_4: u32 = 150400; +pub const __TVOS_9_0: u32 = 90000; +pub const __TVOS_9_1: u32 = 90100; +pub const __TVOS_9_2: u32 = 90200; +pub const __TVOS_10_0: u32 = 100000; +pub const __TVOS_10_0_1: u32 = 100001; +pub const __TVOS_10_1: u32 = 100100; +pub const __TVOS_10_2: u32 = 100200; +pub const __TVOS_11_0: u32 = 110000; +pub const __TVOS_11_1: u32 = 110100; +pub const __TVOS_11_2: u32 = 110200; +pub const __TVOS_11_3: u32 = 110300; +pub const __TVOS_11_4: u32 = 110400; +pub const __TVOS_12_0: u32 = 120000; +pub const __TVOS_12_1: u32 = 120100; +pub const __TVOS_12_2: u32 = 120200; +pub const __TVOS_12_3: u32 = 120300; +pub const __TVOS_12_4: u32 = 120400; +pub const __TVOS_13_0: u32 = 130000; +pub const __TVOS_13_2: u32 = 130200; +pub const __TVOS_13_3: u32 = 130300; +pub const __TVOS_13_4: u32 = 130400; +pub const __TVOS_14_0: u32 = 140000; +pub const __TVOS_14_1: u32 = 140100; +pub const __TVOS_14_2: u32 = 140200; +pub const __TVOS_14_3: u32 = 140300; +pub const __TVOS_14_5: u32 = 140500; +pub const __TVOS_14_6: u32 = 140600; +pub const __TVOS_14_7: u32 = 140700; +pub const __TVOS_15_0: u32 = 150000; +pub const __TVOS_15_1: u32 = 150100; +pub const __TVOS_15_2: u32 = 150200; +pub const __TVOS_15_3: u32 = 150300; +pub const __TVOS_15_4: u32 = 150400; +pub const __WATCHOS_1_0: u32 = 10000; +pub const __WATCHOS_2_0: u32 = 20000; +pub const __WATCHOS_2_1: u32 = 20100; +pub const __WATCHOS_2_2: u32 = 20200; +pub const __WATCHOS_3_0: u32 = 30000; +pub const __WATCHOS_3_1: u32 = 30100; +pub const __WATCHOS_3_1_1: u32 = 30101; +pub const __WATCHOS_3_2: u32 = 30200; +pub const __WATCHOS_4_0: u32 = 40000; +pub const __WATCHOS_4_1: u32 = 40100; +pub const __WATCHOS_4_2: u32 = 40200; +pub const __WATCHOS_4_3: u32 = 40300; +pub const __WATCHOS_5_0: u32 = 50000; +pub const __WATCHOS_5_1: u32 = 50100; +pub const __WATCHOS_5_2: u32 = 50200; +pub const __WATCHOS_5_3: u32 = 50300; +pub const __WATCHOS_6_0: u32 = 60000; +pub const __WATCHOS_6_1: u32 = 60100; +pub const __WATCHOS_6_2: u32 = 60200; +pub const __WATCHOS_7_0: u32 = 70000; +pub const __WATCHOS_7_1: u32 = 70100; +pub const __WATCHOS_7_2: u32 = 70200; +pub const __WATCHOS_7_3: u32 = 70300; +pub const __WATCHOS_7_4: u32 = 70400; +pub const __WATCHOS_7_5: u32 = 70500; +pub const __WATCHOS_7_6: u32 = 70600; +pub const __WATCHOS_8_0: u32 = 80000; +pub const __WATCHOS_8_1: u32 = 80100; +pub const __WATCHOS_8_3: u32 = 80300; +pub const __WATCHOS_8_4: u32 = 80400; +pub const __WATCHOS_8_5: u32 = 80500; +pub const MAC_OS_X_VERSION_10_0: u32 = 1000; +pub const MAC_OS_X_VERSION_10_1: u32 = 1010; +pub const MAC_OS_X_VERSION_10_2: u32 = 1020; +pub const MAC_OS_X_VERSION_10_3: u32 = 1030; +pub const MAC_OS_X_VERSION_10_4: u32 = 1040; +pub const MAC_OS_X_VERSION_10_5: u32 = 1050; +pub const MAC_OS_X_VERSION_10_6: u32 = 1060; +pub const MAC_OS_X_VERSION_10_7: u32 = 1070; +pub const MAC_OS_X_VERSION_10_8: u32 = 1080; +pub const MAC_OS_X_VERSION_10_9: u32 = 1090; +pub const MAC_OS_X_VERSION_10_10: u32 = 101000; +pub const MAC_OS_X_VERSION_10_10_2: u32 = 101002; +pub const MAC_OS_X_VERSION_10_10_3: u32 = 101003; +pub const MAC_OS_X_VERSION_10_11: u32 = 101100; +pub const MAC_OS_X_VERSION_10_11_2: u32 = 101102; +pub const MAC_OS_X_VERSION_10_11_3: u32 = 101103; +pub const MAC_OS_X_VERSION_10_11_4: u32 = 101104; +pub const MAC_OS_X_VERSION_10_12: u32 = 101200; +pub const MAC_OS_X_VERSION_10_12_1: u32 = 101201; +pub const MAC_OS_X_VERSION_10_12_2: u32 = 101202; +pub const MAC_OS_X_VERSION_10_12_4: u32 = 101204; +pub const MAC_OS_X_VERSION_10_13: u32 = 101300; +pub const MAC_OS_X_VERSION_10_13_1: u32 = 101301; +pub const MAC_OS_X_VERSION_10_13_2: u32 = 101302; +pub const MAC_OS_X_VERSION_10_13_4: u32 = 101304; +pub const MAC_OS_X_VERSION_10_14: u32 = 101400; +pub const MAC_OS_X_VERSION_10_14_1: u32 = 101401; +pub const MAC_OS_X_VERSION_10_14_4: u32 = 101404; +pub const MAC_OS_X_VERSION_10_14_6: u32 = 101406; +pub const MAC_OS_X_VERSION_10_15: u32 = 101500; +pub const MAC_OS_X_VERSION_10_15_1: u32 = 101501; +pub const MAC_OS_X_VERSION_10_16: u32 = 101600; +pub const MAC_OS_VERSION_11_0: u32 = 110000; +pub const MAC_OS_VERSION_12_0: u32 = 120000; +pub const __DRIVERKIT_19_0: u32 = 190000; +pub const __DRIVERKIT_20_0: u32 = 200000; +pub const __DRIVERKIT_21_0: u32 = 210000; +pub const __MAC_OS_X_VERSION_MAX_ALLOWED: u32 = 120300; +pub const __ENABLE_LEGACY_MAC_AVAILABILITY: u32 = 1; +pub const __PTHREAD_SIZE__: u32 = 8176; +pub const __PTHREAD_ATTR_SIZE__: u32 = 56; +pub const __PTHREAD_MUTEXATTR_SIZE__: u32 = 8; +pub const __PTHREAD_MUTEX_SIZE__: u32 = 56; +pub const __PTHREAD_CONDATTR_SIZE__: u32 = 8; +pub const __PTHREAD_COND_SIZE__: u32 = 40; +pub const __PTHREAD_ONCE_SIZE__: u32 = 8; +pub const __PTHREAD_RWLOCK_SIZE__: u32 = 192; +pub const __PTHREAD_RWLOCKATTR_SIZE__: u32 = 16; +pub const __DARWIN_WCHAR_MIN: i32 = -2147483648; +pub const _FORTIFY_SOURCE: u32 = 2; +pub const RENAME_SECLUDE: u32 = 1; +pub const RENAME_SWAP: u32 = 2; +pub const RENAME_EXCL: u32 = 4; +pub const RENAME_RESERVED1: u32 = 8; +pub const RENAME_NOFOLLOW_ANY: u32 = 16; +pub const __SLBF: u32 = 1; +pub const __SNBF: u32 = 2; +pub const __SRD: u32 = 4; +pub const __SWR: u32 = 8; +pub const __SRW: u32 = 16; +pub const __SEOF: u32 = 32; +pub const __SERR: u32 = 64; +pub const __SMBF: u32 = 128; +pub const __SAPP: u32 = 256; +pub const __SSTR: u32 = 512; +pub const __SOPT: u32 = 1024; +pub const __SNPT: u32 = 2048; +pub const __SOFF: u32 = 4096; +pub const __SMOD: u32 = 8192; +pub const __SALC: u32 = 16384; +pub const __SIGN: u32 = 32768; pub const _IOFBF: u32 = 0; pub const _IOLBF: u32 = 1; pub const _IONBF: u32 = 2; -pub const BUFSIZ: u32 = 8192; +pub const BUFSIZ: u32 = 1024; pub const EOF: i32 = -1; +pub const FOPEN_MAX: u32 = 20; +pub const FILENAME_MAX: u32 = 1024; +pub const P_tmpdir: &[u8; 10usize] = b"/var/tmp/\0"; +pub const L_tmpnam: u32 = 1024; +pub const TMP_MAX: u32 = 308915776; pub const SEEK_SET: u32 = 0; pub const SEEK_CUR: u32 = 1; pub const SEEK_END: u32 = 2; -pub const P_tmpdir: &[u8; 5usize] = b"/tmp\0"; -pub const _BITS_STDIO_LIM_H: u32 = 1; -pub const L_tmpnam: u32 = 20; -pub const TMP_MAX: u32 = 238328; -pub const FILENAME_MAX: u32 = 4096; -pub const L_ctermid: u32 = 9; -pub const FOPEN_MAX: u32 = 16; -pub const __HAVE_FLOAT128: u32 = 0; -pub const __HAVE_DISTINCT_FLOAT128: u32 = 0; -pub const __HAVE_FLOAT64X: u32 = 1; -pub const __HAVE_FLOAT64X_LONG_DOUBLE: u32 = 1; -pub const __HAVE_FLOAT16: u32 = 0; -pub const __HAVE_FLOAT32: u32 = 1; -pub const __HAVE_FLOAT64: u32 = 1; -pub const __HAVE_FLOAT32X: u32 = 1; -pub const __HAVE_FLOAT128X: u32 = 0; -pub const __HAVE_DISTINCT_FLOAT16: u32 = 0; -pub const __HAVE_DISTINCT_FLOAT32: u32 = 0; -pub const __HAVE_DISTINCT_FLOAT64: u32 = 0; -pub const __HAVE_DISTINCT_FLOAT32X: u32 = 0; -pub const __HAVE_DISTINCT_FLOAT64X: u32 = 0; -pub const __HAVE_DISTINCT_FLOAT128X: u32 = 0; -pub const __HAVE_FLOATN_NOT_TYPEDEF: u32 = 0; -pub const _STDLIB_H: u32 = 1; -pub const WNOHANG: u32 = 1; -pub const WUNTRACED: u32 = 2; -pub const WSTOPPED: u32 = 2; -pub const WEXITED: u32 = 4; -pub const WCONTINUED: u32 = 8; -pub const WNOWAIT: u32 = 16777216; -pub const __WNOTHREAD: u32 = 536870912; -pub const __WALL: u32 = 1073741824; -pub const __WCLONE: u32 = 2147483648; -pub const __W_CONTINUED: u32 = 65535; -pub const __WCOREFLAG: u32 = 128; -pub const __ldiv_t_defined: u32 = 1; -pub const __lldiv_t_defined: u32 = 1; -pub const RAND_MAX: u32 = 2147483647; -pub const EXIT_FAILURE: u32 = 1; -pub const EXIT_SUCCESS: u32 = 0; -pub const _SYS_TYPES_H: u32 = 1; -pub const __clock_t_defined: u32 = 1; -pub const __clockid_t_defined: u32 = 1; -pub const __time_t_defined: u32 = 1; -pub const __timer_t_defined: u32 = 1; -pub const _BITS_STDINT_INTN_H: u32 = 1; -pub const __BIT_TYPES_DEFINED__: u32 = 1; -pub const _ENDIAN_H: u32 = 1; -pub const _BITS_ENDIAN_H: u32 = 1; -pub const __LITTLE_ENDIAN: u32 = 1234; -pub const __BIG_ENDIAN: u32 = 4321; -pub const __PDP_ENDIAN: u32 = 3412; -pub const _BITS_ENDIANNESS_H: u32 = 1; -pub const __BYTE_ORDER: u32 = 1234; -pub const __FLOAT_WORD_ORDER: u32 = 1234; -pub const LITTLE_ENDIAN: u32 = 1234; -pub const BIG_ENDIAN: u32 = 4321; -pub const PDP_ENDIAN: u32 = 3412; -pub const BYTE_ORDER: u32 = 1234; -pub const _BITS_BYTESWAP_H: u32 = 1; -pub const _BITS_UINTN_IDENTITY_H: u32 = 1; -pub const _SYS_SELECT_H: u32 = 1; -pub const __sigset_t_defined: u32 = 1; -pub const __timeval_defined: u32 = 1; -pub const _STRUCT_TIMESPEC: u32 = 1; -pub const FD_SETSIZE: u32 = 1024; -pub const _BITS_PTHREADTYPES_COMMON_H: u32 = 1; -pub const _THREAD_SHARED_TYPES_H: u32 = 1; -pub const _BITS_PTHREADTYPES_ARCH_H: u32 = 1; -pub const __SIZEOF_PTHREAD_MUTEX_T: u32 = 40; -pub const __SIZEOF_PTHREAD_ATTR_T: u32 = 56; -pub const __SIZEOF_PTHREAD_RWLOCK_T: u32 = 56; -pub const __SIZEOF_PTHREAD_BARRIER_T: u32 = 32; -pub const __SIZEOF_PTHREAD_MUTEXATTR_T: u32 = 4; -pub const __SIZEOF_PTHREAD_COND_T: u32 = 48; -pub const __SIZEOF_PTHREAD_CONDATTR_T: u32 = 4; -pub const __SIZEOF_PTHREAD_RWLOCKATTR_T: u32 = 8; -pub const __SIZEOF_PTHREAD_BARRIERATTR_T: u32 = 4; -pub const _THREAD_MUTEX_INTERNAL_H: u32 = 1; -pub const __PTHREAD_MUTEX_HAVE_PREV: u32 = 1; -pub const __have_pthread_attr_t: u32 = 1; -pub const _ALLOCA_H: u32 = 1; -pub const _STRING_H: u32 = 1; -pub const _BITS_TYPES_LOCALE_T_H: u32 = 1; -pub const _BITS_TYPES___LOCALE_T_H: u32 = 1; -pub const _STRINGS_H: u32 = 1; -pub const _STDINT_H: u32 = 1; -pub const _BITS_WCHAR_H: u32 = 1; -pub const _BITS_STDINT_UINTN_H: u32 = 1; -pub const INT8_MIN: i32 = -128; -pub const INT16_MIN: i32 = -32768; -pub const INT32_MIN: i32 = -2147483648; +pub const L_ctermid: u32 = 1024; +pub const _USE_FORTIFY_LEVEL: u32 = 2; +pub const __DARWIN_NSIG: u32 = 32; +pub const NSIG: u32 = 32; +pub const _ARM_SIGNAL_: u32 = 1; +pub const SIGHUP: u32 = 1; +pub const SIGINT: u32 = 2; +pub const SIGQUIT: u32 = 3; +pub const SIGILL: u32 = 4; +pub const SIGTRAP: u32 = 5; +pub const SIGABRT: u32 = 6; +pub const SIGIOT: u32 = 6; +pub const SIGEMT: u32 = 7; +pub const SIGFPE: u32 = 8; +pub const SIGKILL: u32 = 9; +pub const SIGBUS: u32 = 10; +pub const SIGSEGV: u32 = 11; +pub const SIGSYS: u32 = 12; +pub const SIGPIPE: u32 = 13; +pub const SIGALRM: u32 = 14; +pub const SIGTERM: u32 = 15; +pub const SIGURG: u32 = 16; +pub const SIGSTOP: u32 = 17; +pub const SIGTSTP: u32 = 18; +pub const SIGCONT: u32 = 19; +pub const SIGCHLD: u32 = 20; +pub const SIGTTIN: u32 = 21; +pub const SIGTTOU: u32 = 22; +pub const SIGIO: u32 = 23; +pub const SIGXCPU: u32 = 24; +pub const SIGXFSZ: u32 = 25; +pub const SIGVTALRM: u32 = 26; +pub const SIGPROF: u32 = 27; +pub const SIGWINCH: u32 = 28; +pub const SIGINFO: u32 = 29; +pub const SIGUSR1: u32 = 30; +pub const SIGUSR2: u32 = 31; +pub const __DARWIN_OPAQUE_ARM_THREAD_STATE64: u32 = 0; +pub const SIGEV_NONE: u32 = 0; +pub const SIGEV_SIGNAL: u32 = 1; +pub const SIGEV_THREAD: u32 = 3; +pub const ILL_NOOP: u32 = 0; +pub const ILL_ILLOPC: u32 = 1; +pub const ILL_ILLTRP: u32 = 2; +pub const ILL_PRVOPC: u32 = 3; +pub const ILL_ILLOPN: u32 = 4; +pub const ILL_ILLADR: u32 = 5; +pub const ILL_PRVREG: u32 = 6; +pub const ILL_COPROC: u32 = 7; +pub const ILL_BADSTK: u32 = 8; +pub const FPE_NOOP: u32 = 0; +pub const FPE_FLTDIV: u32 = 1; +pub const FPE_FLTOVF: u32 = 2; +pub const FPE_FLTUND: u32 = 3; +pub const FPE_FLTRES: u32 = 4; +pub const FPE_FLTINV: u32 = 5; +pub const FPE_FLTSUB: u32 = 6; +pub const FPE_INTDIV: u32 = 7; +pub const FPE_INTOVF: u32 = 8; +pub const SEGV_NOOP: u32 = 0; +pub const SEGV_MAPERR: u32 = 1; +pub const SEGV_ACCERR: u32 = 2; +pub const BUS_NOOP: u32 = 0; +pub const BUS_ADRALN: u32 = 1; +pub const BUS_ADRERR: u32 = 2; +pub const BUS_OBJERR: u32 = 3; +pub const TRAP_BRKPT: u32 = 1; +pub const TRAP_TRACE: u32 = 2; +pub const CLD_NOOP: u32 = 0; +pub const CLD_EXITED: u32 = 1; +pub const CLD_KILLED: u32 = 2; +pub const CLD_DUMPED: u32 = 3; +pub const CLD_TRAPPED: u32 = 4; +pub const CLD_STOPPED: u32 = 5; +pub const CLD_CONTINUED: u32 = 6; +pub const POLL_IN: u32 = 1; +pub const POLL_OUT: u32 = 2; +pub const POLL_MSG: u32 = 3; +pub const POLL_ERR: u32 = 4; +pub const POLL_PRI: u32 = 5; +pub const POLL_HUP: u32 = 6; +pub const SA_ONSTACK: u32 = 1; +pub const SA_RESTART: u32 = 2; +pub const SA_RESETHAND: u32 = 4; +pub const SA_NOCLDSTOP: u32 = 8; +pub const SA_NODEFER: u32 = 16; +pub const SA_NOCLDWAIT: u32 = 32; +pub const SA_SIGINFO: u32 = 64; +pub const SA_USERTRAMP: u32 = 256; +pub const SA_64REGSET: u32 = 512; +pub const SA_USERSPACE_MASK: u32 = 127; +pub const SIG_BLOCK: u32 = 1; +pub const SIG_UNBLOCK: u32 = 2; +pub const SIG_SETMASK: u32 = 3; +pub const SI_USER: u32 = 65537; +pub const SI_QUEUE: u32 = 65538; +pub const SI_TIMER: u32 = 65539; +pub const SI_ASYNCIO: u32 = 65540; +pub const SI_MESGQ: u32 = 65541; +pub const SS_ONSTACK: u32 = 1; +pub const SS_DISABLE: u32 = 4; +pub const MINSIGSTKSZ: u32 = 32768; +pub const SIGSTKSZ: u32 = 131072; +pub const SV_ONSTACK: u32 = 1; +pub const SV_INTERRUPT: u32 = 2; +pub const SV_RESETHAND: u32 = 4; +pub const SV_NODEFER: u32 = 16; +pub const SV_NOCLDSTOP: u32 = 8; +pub const SV_SIGINFO: u32 = 64; +pub const __WORDSIZE: u32 = 64; pub const INT8_MAX: u32 = 127; pub const INT16_MAX: u32 = 32767; pub const INT32_MAX: u32 = 2147483647; +pub const INT64_MAX: u64 = 9223372036854775807; +pub const INT8_MIN: i32 = -128; +pub const INT16_MIN: i32 = -32768; +pub const INT32_MIN: i32 = -2147483648; +pub const INT64_MIN: i64 = -9223372036854775808; pub const UINT8_MAX: u32 = 255; pub const UINT16_MAX: u32 = 65535; pub const UINT32_MAX: u32 = 4294967295; +pub const UINT64_MAX: i32 = -1; pub const INT_LEAST8_MIN: i32 = -128; pub const INT_LEAST16_MIN: i32 = -32768; pub const INT_LEAST32_MIN: i32 = -2147483648; +pub const INT_LEAST64_MIN: i64 = -9223372036854775808; pub const INT_LEAST8_MAX: u32 = 127; pub const INT_LEAST16_MAX: u32 = 32767; pub const INT_LEAST32_MAX: u32 = 2147483647; +pub const INT_LEAST64_MAX: u64 = 9223372036854775807; pub const UINT_LEAST8_MAX: u32 = 255; pub const UINT_LEAST16_MAX: u32 = 65535; pub const UINT_LEAST32_MAX: u32 = 4294967295; +pub const UINT_LEAST64_MAX: i32 = -1; pub const INT_FAST8_MIN: i32 = -128; -pub const INT_FAST16_MIN: i64 = -9223372036854775808; -pub const INT_FAST32_MIN: i64 = -9223372036854775808; +pub const INT_FAST16_MIN: i32 = -32768; +pub const INT_FAST32_MIN: i32 = -2147483648; +pub const INT_FAST64_MIN: i64 = -9223372036854775808; pub const INT_FAST8_MAX: u32 = 127; -pub const INT_FAST16_MAX: u64 = 9223372036854775807; -pub const INT_FAST32_MAX: u64 = 9223372036854775807; +pub const INT_FAST16_MAX: u32 = 32767; +pub const INT_FAST32_MAX: u32 = 2147483647; +pub const INT_FAST64_MAX: u64 = 9223372036854775807; pub const UINT_FAST8_MAX: u32 = 255; -pub const UINT_FAST16_MAX: i32 = -1; -pub const UINT_FAST32_MAX: i32 = -1; -pub const INTPTR_MIN: i64 = -9223372036854775808; +pub const UINT_FAST16_MAX: u32 = 65535; +pub const UINT_FAST32_MAX: u32 = 4294967295; +pub const UINT_FAST64_MAX: i32 = -1; pub const INTPTR_MAX: u64 = 9223372036854775807; +pub const INTPTR_MIN: i64 = -9223372036854775808; pub const UINTPTR_MAX: i32 = -1; -pub const PTRDIFF_MIN: i64 = -9223372036854775808; -pub const PTRDIFF_MAX: u64 = 9223372036854775807; +pub const SIZE_MAX: i32 = -1; +pub const RSIZE_MAX: i32 = -1; +pub const WINT_MIN: i32 = -2147483648; +pub const WINT_MAX: u32 = 2147483647; pub const SIG_ATOMIC_MIN: i32 = -2147483648; pub const SIG_ATOMIC_MAX: u32 = 2147483647; -pub const SIZE_MAX: i32 = -1; -pub const WINT_MIN: u32 = 0; -pub const WINT_MAX: u32 = 4294967295; -pub const _ERRNO_H: u32 = 1; -pub const _BITS_ERRNO_H: u32 = 1; +pub const PRIO_PROCESS: u32 = 0; +pub const PRIO_PGRP: u32 = 1; +pub const PRIO_USER: u32 = 2; +pub const PRIO_DARWIN_THREAD: u32 = 3; +pub const PRIO_DARWIN_PROCESS: u32 = 4; +pub const PRIO_MIN: i32 = -20; +pub const PRIO_MAX: u32 = 20; +pub const PRIO_DARWIN_BG: u32 = 4096; +pub const PRIO_DARWIN_NONUI: u32 = 4097; +pub const RUSAGE_SELF: u32 = 0; +pub const RUSAGE_CHILDREN: i32 = -1; +pub const RUSAGE_INFO_V0: u32 = 0; +pub const RUSAGE_INFO_V1: u32 = 1; +pub const RUSAGE_INFO_V2: u32 = 2; +pub const RUSAGE_INFO_V3: u32 = 3; +pub const RUSAGE_INFO_V4: u32 = 4; +pub const RUSAGE_INFO_V5: u32 = 5; +pub const RUSAGE_INFO_CURRENT: u32 = 5; +pub const RU_PROC_RUNS_RESLIDE: u32 = 1; +pub const RLIMIT_CPU: u32 = 0; +pub const RLIMIT_FSIZE: u32 = 1; +pub const RLIMIT_DATA: u32 = 2; +pub const RLIMIT_STACK: u32 = 3; +pub const RLIMIT_CORE: u32 = 4; +pub const RLIMIT_AS: u32 = 5; +pub const RLIMIT_RSS: u32 = 5; +pub const RLIMIT_MEMLOCK: u32 = 6; +pub const RLIMIT_NPROC: u32 = 7; +pub const RLIMIT_NOFILE: u32 = 8; +pub const RLIM_NLIMITS: u32 = 9; +pub const _RLIMIT_POSIX_FLAG: u32 = 4096; +pub const RLIMIT_WAKEUPS_MONITOR: u32 = 1; +pub const RLIMIT_CPU_USAGE_MONITOR: u32 = 2; +pub const RLIMIT_THREAD_CPULIMITS: u32 = 3; +pub const RLIMIT_FOOTPRINT_INTERVAL: u32 = 4; +pub const WAKEMON_ENABLE: u32 = 1; +pub const WAKEMON_DISABLE: u32 = 2; +pub const WAKEMON_GET_PARAMS: u32 = 4; +pub const WAKEMON_SET_DEFAULTS: u32 = 8; +pub const WAKEMON_MAKE_FATAL: u32 = 16; +pub const CPUMON_MAKE_FATAL: u32 = 4096; +pub const FOOTPRINT_INTERVAL_RESET: u32 = 1; +pub const IOPOL_TYPE_DISK: u32 = 0; +pub const IOPOL_TYPE_VFS_ATIME_UPDATES: u32 = 2; +pub const IOPOL_TYPE_VFS_MATERIALIZE_DATALESS_FILES: u32 = 3; +pub const IOPOL_TYPE_VFS_STATFS_NO_DATA_VOLUME: u32 = 4; +pub const IOPOL_TYPE_VFS_TRIGGER_RESOLVE: u32 = 5; +pub const IOPOL_TYPE_VFS_IGNORE_CONTENT_PROTECTION: u32 = 6; +pub const IOPOL_TYPE_VFS_IGNORE_PERMISSIONS: u32 = 7; +pub const IOPOL_TYPE_VFS_SKIP_MTIME_UPDATE: u32 = 8; +pub const IOPOL_TYPE_VFS_ALLOW_LOW_SPACE_WRITES: u32 = 9; +pub const IOPOL_SCOPE_PROCESS: u32 = 0; +pub const IOPOL_SCOPE_THREAD: u32 = 1; +pub const IOPOL_SCOPE_DARWIN_BG: u32 = 2; +pub const IOPOL_DEFAULT: u32 = 0; +pub const IOPOL_IMPORTANT: u32 = 1; +pub const IOPOL_PASSIVE: u32 = 2; +pub const IOPOL_THROTTLE: u32 = 3; +pub const IOPOL_UTILITY: u32 = 4; +pub const IOPOL_STANDARD: u32 = 5; +pub const IOPOL_APPLICATION: u32 = 5; +pub const IOPOL_NORMAL: u32 = 1; +pub const IOPOL_ATIME_UPDATES_DEFAULT: u32 = 0; +pub const IOPOL_ATIME_UPDATES_OFF: u32 = 1; +pub const IOPOL_MATERIALIZE_DATALESS_FILES_DEFAULT: u32 = 0; +pub const IOPOL_MATERIALIZE_DATALESS_FILES_OFF: u32 = 1; +pub const IOPOL_MATERIALIZE_DATALESS_FILES_ON: u32 = 2; +pub const IOPOL_VFS_STATFS_NO_DATA_VOLUME_DEFAULT: u32 = 0; +pub const IOPOL_VFS_STATFS_FORCE_NO_DATA_VOLUME: u32 = 1; +pub const IOPOL_VFS_TRIGGER_RESOLVE_DEFAULT: u32 = 0; +pub const IOPOL_VFS_TRIGGER_RESOLVE_OFF: u32 = 1; +pub const IOPOL_VFS_CONTENT_PROTECTION_DEFAULT: u32 = 0; +pub const IOPOL_VFS_CONTENT_PROTECTION_IGNORE: u32 = 1; +pub const IOPOL_VFS_IGNORE_PERMISSIONS_OFF: u32 = 0; +pub const IOPOL_VFS_IGNORE_PERMISSIONS_ON: u32 = 1; +pub const IOPOL_VFS_SKIP_MTIME_UPDATE_OFF: u32 = 0; +pub const IOPOL_VFS_SKIP_MTIME_UPDATE_ON: u32 = 1; +pub const IOPOL_VFS_ALLOW_LOW_SPACE_WRITES_OFF: u32 = 0; +pub const IOPOL_VFS_ALLOW_LOW_SPACE_WRITES_ON: u32 = 1; +pub const WNOHANG: u32 = 1; +pub const WUNTRACED: u32 = 2; +pub const WCOREFLAG: u32 = 128; +pub const _WSTOPPED: u32 = 127; +pub const WEXITED: u32 = 4; +pub const WSTOPPED: u32 = 8; +pub const WCONTINUED: u32 = 16; +pub const WNOWAIT: u32 = 32; +pub const WAIT_ANY: i32 = -1; +pub const WAIT_MYPGRP: u32 = 0; +pub const _QUAD_HIGHWORD: u32 = 1; +pub const _QUAD_LOWWORD: u32 = 0; +pub const __DARWIN_LITTLE_ENDIAN: u32 = 1234; +pub const __DARWIN_BIG_ENDIAN: u32 = 4321; +pub const __DARWIN_PDP_ENDIAN: u32 = 3412; +pub const __DARWIN_BYTE_ORDER: u32 = 1234; +pub const LITTLE_ENDIAN: u32 = 1234; +pub const BIG_ENDIAN: u32 = 4321; +pub const PDP_ENDIAN: u32 = 3412; +pub const BYTE_ORDER: u32 = 1234; +pub const EXIT_FAILURE: u32 = 1; +pub const EXIT_SUCCESS: u32 = 0; +pub const RAND_MAX: u32 = 2147483647; +pub const __HAS_FIXED_CHK_PROTOTYPES: u32 = 1; +pub const __GNUC_VA_LIST: u32 = 1; +pub const __DARWIN_FD_SETSIZE: u32 = 1024; +pub const __DARWIN_NBBY: u32 = 8; +pub const NBBY: u32 = 8; +pub const FD_SETSIZE: u32 = 1024; pub const EPERM: u32 = 1; pub const ENOENT: u32 = 2; pub const ESRCH: u32 = 3; @@ -575,7 +918,7 @@ pub const E2BIG: u32 = 7; pub const ENOEXEC: u32 = 8; pub const EBADF: u32 = 9; pub const ECHILD: u32 = 10; -pub const EAGAIN: u32 = 11; +pub const EDEADLK: u32 = 11; pub const ENOMEM: u32 = 12; pub const EACCES: u32 = 13; pub const EFAULT: u32 = 14; @@ -599,147 +942,88 @@ pub const EMLINK: u32 = 31; pub const EPIPE: u32 = 32; pub const EDOM: u32 = 33; pub const ERANGE: u32 = 34; -pub const EDEADLK: u32 = 35; -pub const ENAMETOOLONG: u32 = 36; -pub const ENOLCK: u32 = 37; -pub const ENOSYS: u32 = 38; -pub const ENOTEMPTY: u32 = 39; -pub const ELOOP: u32 = 40; -pub const EWOULDBLOCK: u32 = 11; -pub const ENOMSG: u32 = 42; -pub const EIDRM: u32 = 43; -pub const ECHRNG: u32 = 44; -pub const EL2NSYNC: u32 = 45; -pub const EL3HLT: u32 = 46; -pub const EL3RST: u32 = 47; -pub const ELNRNG: u32 = 48; -pub const EUNATCH: u32 = 49; -pub const ENOCSI: u32 = 50; -pub const EL2HLT: u32 = 51; -pub const EBADE: u32 = 52; -pub const EBADR: u32 = 53; -pub const EXFULL: u32 = 54; -pub const ENOANO: u32 = 55; -pub const EBADRQC: u32 = 56; -pub const EBADSLT: u32 = 57; -pub const EDEADLOCK: u32 = 35; -pub const EBFONT: u32 = 59; -pub const ENOSTR: u32 = 60; -pub const ENODATA: u32 = 61; -pub const ETIME: u32 = 62; -pub const ENOSR: u32 = 63; -pub const ENONET: u32 = 64; -pub const ENOPKG: u32 = 65; -pub const EREMOTE: u32 = 66; -pub const ENOLINK: u32 = 67; -pub const EADV: u32 = 68; -pub const ESRMNT: u32 = 69; -pub const ECOMM: u32 = 70; -pub const EPROTO: u32 = 71; -pub const EMULTIHOP: u32 = 72; -pub const EDOTDOT: u32 = 73; -pub const EBADMSG: u32 = 74; -pub const EOVERFLOW: u32 = 75; -pub const ENOTUNIQ: u32 = 76; -pub const EBADFD: u32 = 77; -pub const EREMCHG: u32 = 78; -pub const ELIBACC: u32 = 79; -pub const ELIBBAD: u32 = 80; -pub const ELIBSCN: u32 = 81; -pub const ELIBMAX: u32 = 82; -pub const ELIBEXEC: u32 = 83; -pub const EILSEQ: u32 = 84; -pub const ERESTART: u32 = 85; -pub const ESTRPIPE: u32 = 86; -pub const EUSERS: u32 = 87; -pub const ENOTSOCK: u32 = 88; -pub const EDESTADDRREQ: u32 = 89; -pub const EMSGSIZE: u32 = 90; -pub const EPROTOTYPE: u32 = 91; -pub const ENOPROTOOPT: u32 = 92; -pub const EPROTONOSUPPORT: u32 = 93; -pub const ESOCKTNOSUPPORT: u32 = 94; -pub const EOPNOTSUPP: u32 = 95; -pub const EPFNOSUPPORT: u32 = 96; -pub const EAFNOSUPPORT: u32 = 97; -pub const EADDRINUSE: u32 = 98; -pub const EADDRNOTAVAIL: u32 = 99; -pub const ENETDOWN: u32 = 100; -pub const ENETUNREACH: u32 = 101; -pub const ENETRESET: u32 = 102; -pub const ECONNABORTED: u32 = 103; -pub const ECONNRESET: u32 = 104; -pub const ENOBUFS: u32 = 105; -pub const EISCONN: u32 = 106; -pub const ENOTCONN: u32 = 107; -pub const ESHUTDOWN: u32 = 108; -pub const ETOOMANYREFS: u32 = 109; -pub const ETIMEDOUT: u32 = 110; -pub const ECONNREFUSED: u32 = 111; -pub const EHOSTDOWN: u32 = 112; -pub const EHOSTUNREACH: u32 = 113; -pub const EALREADY: u32 = 114; -pub const EINPROGRESS: u32 = 115; -pub const ESTALE: u32 = 116; -pub const EUCLEAN: u32 = 117; -pub const ENOTNAM: u32 = 118; -pub const ENAVAIL: u32 = 119; -pub const EISNAM: u32 = 120; -pub const EREMOTEIO: u32 = 121; -pub const EDQUOT: u32 = 122; -pub const ENOMEDIUM: u32 = 123; -pub const EMEDIUMTYPE: u32 = 124; -pub const ECANCELED: u32 = 125; -pub const ENOKEY: u32 = 126; -pub const EKEYEXPIRED: u32 = 127; -pub const EKEYREVOKED: u32 = 128; -pub const EKEYREJECTED: u32 = 129; -pub const EOWNERDEAD: u32 = 130; -pub const ENOTRECOVERABLE: u32 = 131; -pub const ERFKILL: u32 = 132; -pub const EHWPOISON: u32 = 133; -pub const ENOTSUP: u32 = 95; -pub const _LOCALE_H: u32 = 1; -pub const _BITS_LOCALE_H: u32 = 1; -pub const __LC_CTYPE: u32 = 0; -pub const __LC_NUMERIC: u32 = 1; -pub const __LC_TIME: u32 = 2; -pub const __LC_COLLATE: u32 = 3; -pub const __LC_MONETARY: u32 = 4; -pub const __LC_MESSAGES: u32 = 5; -pub const __LC_ALL: u32 = 6; -pub const __LC_PAPER: u32 = 7; -pub const __LC_NAME: u32 = 8; -pub const __LC_ADDRESS: u32 = 9; -pub const __LC_TELEPHONE: u32 = 10; -pub const __LC_MEASUREMENT: u32 = 11; -pub const __LC_IDENTIFICATION: u32 = 12; -pub const LC_CTYPE: u32 = 0; -pub const LC_NUMERIC: u32 = 1; -pub const LC_TIME: u32 = 2; -pub const LC_COLLATE: u32 = 3; -pub const LC_MONETARY: u32 = 4; -pub const LC_MESSAGES: u32 = 5; -pub const LC_ALL: u32 = 6; -pub const LC_PAPER: u32 = 7; -pub const LC_NAME: u32 = 8; -pub const LC_ADDRESS: u32 = 9; -pub const LC_TELEPHONE: u32 = 10; -pub const LC_MEASUREMENT: u32 = 11; -pub const LC_IDENTIFICATION: u32 = 12; -pub const LC_CTYPE_MASK: u32 = 1; -pub const LC_NUMERIC_MASK: u32 = 2; -pub const LC_TIME_MASK: u32 = 4; -pub const LC_COLLATE_MASK: u32 = 8; -pub const LC_MONETARY_MASK: u32 = 16; -pub const LC_MESSAGES_MASK: u32 = 32; -pub const LC_PAPER_MASK: u32 = 128; -pub const LC_NAME_MASK: u32 = 256; -pub const LC_ADDRESS_MASK: u32 = 512; -pub const LC_TELEPHONE_MASK: u32 = 1024; -pub const LC_MEASUREMENT_MASK: u32 = 2048; -pub const LC_IDENTIFICATION_MASK: u32 = 4096; -pub const LC_ALL_MASK: u32 = 8127; +pub const EAGAIN: u32 = 35; +pub const EWOULDBLOCK: u32 = 35; +pub const EINPROGRESS: u32 = 36; +pub const EALREADY: u32 = 37; +pub const ENOTSOCK: u32 = 38; +pub const EDESTADDRREQ: u32 = 39; +pub const EMSGSIZE: u32 = 40; +pub const EPROTOTYPE: u32 = 41; +pub const ENOPROTOOPT: u32 = 42; +pub const EPROTONOSUPPORT: u32 = 43; +pub const ESOCKTNOSUPPORT: u32 = 44; +pub const ENOTSUP: u32 = 45; +pub const EPFNOSUPPORT: u32 = 46; +pub const EAFNOSUPPORT: u32 = 47; +pub const EADDRINUSE: u32 = 48; +pub const EADDRNOTAVAIL: u32 = 49; +pub const ENETDOWN: u32 = 50; +pub const ENETUNREACH: u32 = 51; +pub const ENETRESET: u32 = 52; +pub const ECONNABORTED: u32 = 53; +pub const ECONNRESET: u32 = 54; +pub const ENOBUFS: u32 = 55; +pub const EISCONN: u32 = 56; +pub const ENOTCONN: u32 = 57; +pub const ESHUTDOWN: u32 = 58; +pub const ETOOMANYREFS: u32 = 59; +pub const ETIMEDOUT: u32 = 60; +pub const ECONNREFUSED: u32 = 61; +pub const ELOOP: u32 = 62; +pub const ENAMETOOLONG: u32 = 63; +pub const EHOSTDOWN: u32 = 64; +pub const EHOSTUNREACH: u32 = 65; +pub const ENOTEMPTY: u32 = 66; +pub const EPROCLIM: u32 = 67; +pub const EUSERS: u32 = 68; +pub const EDQUOT: u32 = 69; +pub const ESTALE: u32 = 70; +pub const EREMOTE: u32 = 71; +pub const EBADRPC: u32 = 72; +pub const ERPCMISMATCH: u32 = 73; +pub const EPROGUNAVAIL: u32 = 74; +pub const EPROGMISMATCH: u32 = 75; +pub const EPROCUNAVAIL: u32 = 76; +pub const ENOLCK: u32 = 77; +pub const ENOSYS: u32 = 78; +pub const EFTYPE: u32 = 79; +pub const EAUTH: u32 = 80; +pub const ENEEDAUTH: u32 = 81; +pub const EPWROFF: u32 = 82; +pub const EDEVERR: u32 = 83; +pub const EOVERFLOW: u32 = 84; +pub const EBADEXEC: u32 = 85; +pub const EBADARCH: u32 = 86; +pub const ESHLIBVERS: u32 = 87; +pub const EBADMACHO: u32 = 88; +pub const ECANCELED: u32 = 89; +pub const EIDRM: u32 = 90; +pub const ENOMSG: u32 = 91; +pub const EILSEQ: u32 = 92; +pub const ENOATTR: u32 = 93; +pub const EBADMSG: u32 = 94; +pub const EMULTIHOP: u32 = 95; +pub const ENODATA: u32 = 96; +pub const ENOLINK: u32 = 97; +pub const ENOSR: u32 = 98; +pub const ENOSTR: u32 = 99; +pub const EPROTO: u32 = 100; +pub const ETIME: u32 = 101; +pub const EOPNOTSUPP: u32 = 102; +pub const ENOPOLICY: u32 = 103; +pub const ENOTRECOVERABLE: u32 = 104; +pub const EOWNERDEAD: u32 = 105; +pub const EQFULL: u32 = 106; +pub const ELAST: u32 = 106; +pub const LC_ALL: u32 = 0; +pub const LC_COLLATE: u32 = 1; +pub const LC_CTYPE: u32 = 2; +pub const LC_MONETARY: u32 = 3; +pub const LC_NUMERIC: u32 = 4; +pub const LC_TIME: u32 = 5; +pub const LC_MESSAGES: u32 = 6; +pub const _LC_LAST: u32 = 7; pub const HAVE_PG_ATTRIBUTE_NORETURN: u32 = 1; pub const TRUE: u32 = 1; pub const FALSE: u32 = 0; @@ -767,358 +1051,375 @@ pub const PG_BINARY: u32 = 0; pub const PG_BINARY_A: &[u8; 2usize] = b"a\0"; pub const PG_BINARY_R: &[u8; 2usize] = b"r\0"; pub const PG_BINARY_W: &[u8; 2usize] = b"w\0"; -pub const _CTYPE_H: u32 = 1; -pub const _NETDB_H: u32 = 1; -pub const _NETINET_IN_H: u32 = 1; -pub const _SYS_SOCKET_H: u32 = 1; -pub const __iovec_defined: u32 = 1; +pub const _CACHED_RUNES: u32 = 256; +pub const _CRMASK: i32 = -256; +pub const _RUNE_MAGIC_A: &[u8; 9usize] = b"RuneMagA\0"; +pub const _CTYPE_A: u32 = 256; +pub const _CTYPE_C: u32 = 512; +pub const _CTYPE_D: u32 = 1024; +pub const _CTYPE_G: u32 = 2048; +pub const _CTYPE_L: u32 = 4096; +pub const _CTYPE_P: u32 = 8192; +pub const _CTYPE_S: u32 = 16384; +pub const _CTYPE_U: u32 = 32768; +pub const _CTYPE_X: u32 = 65536; +pub const _CTYPE_B: u32 = 131072; +pub const _CTYPE_R: u32 = 262144; +pub const _CTYPE_I: u32 = 524288; +pub const _CTYPE_T: u32 = 1048576; +pub const _CTYPE_Q: u32 = 2097152; +pub const _CTYPE_SW0: u32 = 536870912; +pub const _CTYPE_SW1: u32 = 1073741824; +pub const _CTYPE_SW2: u32 = 2147483648; +pub const _CTYPE_SW3: u32 = 3221225472; +pub const _CTYPE_SWM: u32 = 3758096384; +pub const _CTYPE_SWS: u32 = 30; +pub const KEV_INET_SUBCLASS: u32 = 1; +pub const KEV_INET_NEW_ADDR: u32 = 1; +pub const KEV_INET_CHANGED_ADDR: u32 = 2; +pub const KEV_INET_ADDR_DELETED: u32 = 3; +pub const KEV_INET_SIFDSTADDR: u32 = 4; +pub const KEV_INET_SIFBRDADDR: u32 = 5; +pub const KEV_INET_SIFNETMASK: u32 = 6; +pub const KEV_INET_ARPCOLLISION: u32 = 7; +pub const KEV_INET_PORTINUSE: u32 = 8; +pub const KEV_INET_ARPRTRFAILURE: u32 = 9; +pub const KEV_INET_ARPRTRALIVE: u32 = 10; +pub const KEV_DL_SUBCLASS: u32 = 2; +pub const KEV_DL_SIFFLAGS: u32 = 1; +pub const KEV_DL_SIFMETRICS: u32 = 2; +pub const KEV_DL_SIFMTU: u32 = 3; +pub const KEV_DL_SIFPHYS: u32 = 4; +pub const KEV_DL_SIFMEDIA: u32 = 5; +pub const KEV_DL_SIFGENERIC: u32 = 6; +pub const KEV_DL_ADDMULTI: u32 = 7; +pub const KEV_DL_DELMULTI: u32 = 8; +pub const KEV_DL_IF_ATTACHED: u32 = 9; +pub const KEV_DL_IF_DETACHING: u32 = 10; +pub const KEV_DL_IF_DETACHED: u32 = 11; +pub const KEV_DL_LINK_OFF: u32 = 12; +pub const KEV_DL_LINK_ON: u32 = 13; +pub const KEV_DL_PROTO_ATTACHED: u32 = 14; +pub const KEV_DL_PROTO_DETACHED: u32 = 15; +pub const KEV_DL_LINK_ADDRESS_CHANGED: u32 = 16; +pub const KEV_DL_WAKEFLAGS_CHANGED: u32 = 17; +pub const KEV_DL_IF_IDLE_ROUTE_REFCNT: u32 = 18; +pub const KEV_DL_IFCAP_CHANGED: u32 = 19; +pub const KEV_DL_LINK_QUALITY_METRIC_CHANGED: u32 = 20; +pub const KEV_DL_NODE_PRESENCE: u32 = 21; +pub const KEV_DL_NODE_ABSENCE: u32 = 22; +pub const KEV_DL_PRIMARY_ELECTED: u32 = 23; +pub const KEV_DL_ISSUES: u32 = 24; +pub const KEV_DL_IFDELEGATE_CHANGED: u32 = 25; +pub const KEV_DL_AWDL_RESTRICTED: u32 = 26; +pub const KEV_DL_AWDL_UNRESTRICTED: u32 = 27; +pub const KEV_DL_RRC_STATE_CHANGED: u32 = 28; +pub const KEV_DL_QOS_MODE_CHANGED: u32 = 29; +pub const KEV_DL_LOW_POWER_MODE_CHANGED: u32 = 30; +pub const KEV_INET6_SUBCLASS: u32 = 6; +pub const KEV_INET6_NEW_USER_ADDR: u32 = 1; +pub const KEV_INET6_CHANGED_ADDR: u32 = 2; +pub const KEV_INET6_ADDR_DELETED: u32 = 3; +pub const KEV_INET6_NEW_LL_ADDR: u32 = 4; +pub const KEV_INET6_NEW_RTADV_ADDR: u32 = 5; +pub const KEV_INET6_DEFROUTER: u32 = 6; +pub const KEV_INET6_REQUEST_NAT64_PREFIX: u32 = 7; +pub const SOCK_STREAM: u32 = 1; +pub const SOCK_DGRAM: u32 = 2; +pub const SOCK_RAW: u32 = 3; +pub const SOCK_RDM: u32 = 4; +pub const SOCK_SEQPACKET: u32 = 5; +pub const SO_DEBUG: u32 = 1; +pub const SO_ACCEPTCONN: u32 = 2; +pub const SO_REUSEADDR: u32 = 4; +pub const SO_KEEPALIVE: u32 = 8; +pub const SO_DONTROUTE: u32 = 16; +pub const SO_BROADCAST: u32 = 32; +pub const SO_USELOOPBACK: u32 = 64; +pub const SO_LINGER: u32 = 128; +pub const SO_OOBINLINE: u32 = 256; +pub const SO_REUSEPORT: u32 = 512; +pub const SO_TIMESTAMP: u32 = 1024; +pub const SO_TIMESTAMP_MONOTONIC: u32 = 2048; +pub const SO_DONTTRUNC: u32 = 8192; +pub const SO_WANTMORE: u32 = 16384; +pub const SO_WANTOOBFLAG: u32 = 32768; +pub const SO_SNDBUF: u32 = 4097; +pub const SO_RCVBUF: u32 = 4098; +pub const SO_SNDLOWAT: u32 = 4099; +pub const SO_RCVLOWAT: u32 = 4100; +pub const SO_SNDTIMEO: u32 = 4101; +pub const SO_RCVTIMEO: u32 = 4102; +pub const SO_ERROR: u32 = 4103; +pub const SO_TYPE: u32 = 4104; +pub const SO_LABEL: u32 = 4112; +pub const SO_PEERLABEL: u32 = 4113; +pub const SO_NREAD: u32 = 4128; +pub const SO_NKE: u32 = 4129; +pub const SO_NOSIGPIPE: u32 = 4130; +pub const SO_NOADDRERR: u32 = 4131; +pub const SO_NWRITE: u32 = 4132; +pub const SO_REUSESHAREUID: u32 = 4133; +pub const SO_NOTIFYCONFLICT: u32 = 4134; +pub const SO_UPCALLCLOSEWAIT: u32 = 4135; +pub const SO_LINGER_SEC: u32 = 4224; +pub const SO_RANDOMPORT: u32 = 4226; +pub const SO_NP_EXTENSIONS: u32 = 4227; +pub const SO_NUMRCVPKT: u32 = 4370; +pub const SO_NET_SERVICE_TYPE: u32 = 4374; +pub const SO_NETSVC_MARKING_LEVEL: u32 = 4377; +pub const NET_SERVICE_TYPE_BE: u32 = 0; +pub const NET_SERVICE_TYPE_BK: u32 = 1; +pub const NET_SERVICE_TYPE_SIG: u32 = 2; +pub const NET_SERVICE_TYPE_VI: u32 = 3; +pub const NET_SERVICE_TYPE_VO: u32 = 4; +pub const NET_SERVICE_TYPE_RV: u32 = 5; +pub const NET_SERVICE_TYPE_AV: u32 = 6; +pub const NET_SERVICE_TYPE_OAM: u32 = 7; +pub const NET_SERVICE_TYPE_RD: u32 = 8; +pub const NETSVC_MRKNG_UNKNOWN: u32 = 0; +pub const NETSVC_MRKNG_LVL_L2: u32 = 1; +pub const NETSVC_MRKNG_LVL_L3L2_ALL: u32 = 2; +pub const NETSVC_MRKNG_LVL_L3L2_BK: u32 = 3; +pub const SAE_ASSOCID_ANY: u32 = 0; +pub const SAE_CONNID_ANY: u32 = 0; +pub const CONNECT_RESUME_ON_READ_WRITE: u32 = 1; +pub const CONNECT_DATA_IDEMPOTENT: u32 = 2; +pub const CONNECT_DATA_AUTHENTICATED: u32 = 4; +pub const SONPX_SETOPTSHUT: u32 = 1; +pub const SOL_SOCKET: u32 = 65535; +pub const AF_UNSPEC: u32 = 0; +pub const AF_UNIX: u32 = 1; +pub const AF_LOCAL: u32 = 1; +pub const AF_INET: u32 = 2; +pub const AF_IMPLINK: u32 = 3; +pub const AF_PUP: u32 = 4; +pub const AF_CHAOS: u32 = 5; +pub const AF_NS: u32 = 6; +pub const AF_ISO: u32 = 7; +pub const AF_OSI: u32 = 7; +pub const AF_ECMA: u32 = 8; +pub const AF_DATAKIT: u32 = 9; +pub const AF_CCITT: u32 = 10; +pub const AF_SNA: u32 = 11; +pub const AF_DECnet: u32 = 12; +pub const AF_DLI: u32 = 13; +pub const AF_LAT: u32 = 14; +pub const AF_HYLINK: u32 = 15; +pub const AF_APPLETALK: u32 = 16; +pub const AF_ROUTE: u32 = 17; +pub const AF_LINK: u32 = 18; +pub const pseudo_AF_XTP: u32 = 19; +pub const AF_COIP: u32 = 20; +pub const AF_CNT: u32 = 21; +pub const pseudo_AF_RTIP: u32 = 22; +pub const AF_IPX: u32 = 23; +pub const AF_SIP: u32 = 24; +pub const pseudo_AF_PIP: u32 = 25; +pub const AF_NDRV: u32 = 27; +pub const AF_ISDN: u32 = 28; +pub const AF_E164: u32 = 28; +pub const pseudo_AF_KEY: u32 = 29; +pub const AF_INET6: u32 = 30; +pub const AF_NATM: u32 = 31; +pub const AF_SYSTEM: u32 = 32; +pub const AF_NETBIOS: u32 = 33; +pub const AF_PPP: u32 = 34; +pub const pseudo_AF_HDRCMPLT: u32 = 35; +pub const AF_RESERVED_36: u32 = 36; +pub const AF_IEEE80211: u32 = 37; +pub const AF_UTUN: u32 = 38; +pub const AF_VSOCK: u32 = 40; +pub const AF_MAX: u32 = 41; +pub const SOCK_MAXADDRLEN: u32 = 255; +pub const _SS_MAXSIZE: u32 = 128; pub const PF_UNSPEC: u32 = 0; pub const PF_LOCAL: u32 = 1; pub const PF_UNIX: u32 = 1; -pub const PF_FILE: u32 = 1; pub const PF_INET: u32 = 2; -pub const PF_AX25: u32 = 3; -pub const PF_IPX: u32 = 4; -pub const PF_APPLETALK: u32 = 5; -pub const PF_NETROM: u32 = 6; -pub const PF_BRIDGE: u32 = 7; -pub const PF_ATMPVC: u32 = 8; -pub const PF_X25: u32 = 9; -pub const PF_INET6: u32 = 10; -pub const PF_ROSE: u32 = 11; +pub const PF_IMPLINK: u32 = 3; +pub const PF_PUP: u32 = 4; +pub const PF_CHAOS: u32 = 5; +pub const PF_NS: u32 = 6; +pub const PF_ISO: u32 = 7; +pub const PF_OSI: u32 = 7; +pub const PF_ECMA: u32 = 8; +pub const PF_DATAKIT: u32 = 9; +pub const PF_CCITT: u32 = 10; +pub const PF_SNA: u32 = 11; pub const PF_DECnet: u32 = 12; -pub const PF_NETBEUI: u32 = 13; -pub const PF_SECURITY: u32 = 14; -pub const PF_KEY: u32 = 15; -pub const PF_NETLINK: u32 = 16; -pub const PF_ROUTE: u32 = 16; -pub const PF_PACKET: u32 = 17; -pub const PF_ASH: u32 = 18; -pub const PF_ECONET: u32 = 19; -pub const PF_ATMSVC: u32 = 20; -pub const PF_RDS: u32 = 21; -pub const PF_SNA: u32 = 22; -pub const PF_IRDA: u32 = 23; -pub const PF_PPPOX: u32 = 24; -pub const PF_WANPIPE: u32 = 25; -pub const PF_LLC: u32 = 26; -pub const PF_IB: u32 = 27; -pub const PF_MPLS: u32 = 28; -pub const PF_CAN: u32 = 29; -pub const PF_TIPC: u32 = 30; -pub const PF_BLUETOOTH: u32 = 31; -pub const PF_IUCV: u32 = 32; -pub const PF_RXRPC: u32 = 33; -pub const PF_ISDN: u32 = 34; -pub const PF_PHONET: u32 = 35; -pub const PF_IEEE802154: u32 = 36; -pub const PF_CAIF: u32 = 37; -pub const PF_ALG: u32 = 38; -pub const PF_NFC: u32 = 39; +pub const PF_DLI: u32 = 13; +pub const PF_LAT: u32 = 14; +pub const PF_HYLINK: u32 = 15; +pub const PF_APPLETALK: u32 = 16; +pub const PF_ROUTE: u32 = 17; +pub const PF_LINK: u32 = 18; +pub const PF_XTP: u32 = 19; +pub const PF_COIP: u32 = 20; +pub const PF_CNT: u32 = 21; +pub const PF_SIP: u32 = 24; +pub const PF_IPX: u32 = 23; +pub const PF_RTIP: u32 = 22; +pub const PF_PIP: u32 = 25; +pub const PF_NDRV: u32 = 27; +pub const PF_ISDN: u32 = 28; +pub const PF_KEY: u32 = 29; +pub const PF_INET6: u32 = 30; +pub const PF_NATM: u32 = 31; +pub const PF_SYSTEM: u32 = 32; +pub const PF_NETBIOS: u32 = 33; +pub const PF_PPP: u32 = 34; +pub const PF_RESERVED_36: u32 = 36; +pub const PF_UTUN: u32 = 38; pub const PF_VSOCK: u32 = 40; -pub const PF_KCM: u32 = 41; -pub const PF_QIPCRTR: u32 = 42; -pub const PF_SMC: u32 = 43; -pub const PF_XDP: u32 = 44; -pub const PF_MAX: u32 = 45; -pub const AF_UNSPEC: u32 = 0; -pub const AF_LOCAL: u32 = 1; -pub const AF_UNIX: u32 = 1; -pub const AF_FILE: u32 = 1; -pub const AF_INET: u32 = 2; -pub const AF_AX25: u32 = 3; -pub const AF_IPX: u32 = 4; -pub const AF_APPLETALK: u32 = 5; -pub const AF_NETROM: u32 = 6; -pub const AF_BRIDGE: u32 = 7; -pub const AF_ATMPVC: u32 = 8; -pub const AF_X25: u32 = 9; -pub const AF_INET6: u32 = 10; -pub const AF_ROSE: u32 = 11; -pub const AF_DECnet: u32 = 12; -pub const AF_NETBEUI: u32 = 13; -pub const AF_SECURITY: u32 = 14; -pub const AF_KEY: u32 = 15; -pub const AF_NETLINK: u32 = 16; -pub const AF_ROUTE: u32 = 16; -pub const AF_PACKET: u32 = 17; -pub const AF_ASH: u32 = 18; -pub const AF_ECONET: u32 = 19; -pub const AF_ATMSVC: u32 = 20; -pub const AF_RDS: u32 = 21; -pub const AF_SNA: u32 = 22; -pub const AF_IRDA: u32 = 23; -pub const AF_PPPOX: u32 = 24; -pub const AF_WANPIPE: u32 = 25; -pub const AF_LLC: u32 = 26; -pub const AF_IB: u32 = 27; -pub const AF_MPLS: u32 = 28; -pub const AF_CAN: u32 = 29; -pub const AF_TIPC: u32 = 30; -pub const AF_BLUETOOTH: u32 = 31; -pub const AF_IUCV: u32 = 32; -pub const AF_RXRPC: u32 = 33; -pub const AF_ISDN: u32 = 34; -pub const AF_PHONET: u32 = 35; -pub const AF_IEEE802154: u32 = 36; -pub const AF_CAIF: u32 = 37; -pub const AF_ALG: u32 = 38; -pub const AF_NFC: u32 = 39; -pub const AF_VSOCK: u32 = 40; -pub const AF_KCM: u32 = 41; -pub const AF_QIPCRTR: u32 = 42; -pub const AF_SMC: u32 = 43; -pub const AF_XDP: u32 = 44; -pub const AF_MAX: u32 = 45; -pub const SOL_RAW: u32 = 255; -pub const SOL_DECNET: u32 = 261; -pub const SOL_X25: u32 = 262; -pub const SOL_PACKET: u32 = 263; -pub const SOL_ATM: u32 = 264; -pub const SOL_AAL: u32 = 265; -pub const SOL_IRDA: u32 = 266; -pub const SOL_NETBEUI: u32 = 267; -pub const SOL_LLC: u32 = 268; -pub const SOL_DCCP: u32 = 269; -pub const SOL_NETLINK: u32 = 270; -pub const SOL_TIPC: u32 = 271; -pub const SOL_RXRPC: u32 = 272; -pub const SOL_PPPOL2TP: u32 = 273; -pub const SOL_BLUETOOTH: u32 = 274; -pub const SOL_PNPIPE: u32 = 275; -pub const SOL_RDS: u32 = 276; -pub const SOL_IUCV: u32 = 277; -pub const SOL_CAIF: u32 = 278; -pub const SOL_ALG: u32 = 279; -pub const SOL_NFC: u32 = 280; -pub const SOL_KCM: u32 = 281; -pub const SOL_TLS: u32 = 282; -pub const SOL_XDP: u32 = 283; -pub const SOMAXCONN: u32 = 4096; -pub const _BITS_SOCKADDR_H: u32 = 1; -pub const _SS_SIZE: u32 = 128; -pub const __BITS_PER_LONG: u32 = 64; -pub const FIOSETOWN: u32 = 35073; -pub const SIOCSPGRP: u32 = 35074; -pub const FIOGETOWN: u32 = 35075; -pub const SIOCGPGRP: u32 = 35076; -pub const SIOCATMARK: u32 = 35077; -pub const SIOCGSTAMP_OLD: u32 = 35078; -pub const SIOCGSTAMPNS_OLD: u32 = 35079; -pub const SOL_SOCKET: u32 = 1; -pub const SO_DEBUG: u32 = 1; -pub const SO_REUSEADDR: u32 = 2; -pub const SO_TYPE: u32 = 3; -pub const SO_ERROR: u32 = 4; -pub const SO_DONTROUTE: u32 = 5; -pub const SO_BROADCAST: u32 = 6; -pub const SO_SNDBUF: u32 = 7; -pub const SO_RCVBUF: u32 = 8; -pub const SO_SNDBUFFORCE: u32 = 32; -pub const SO_RCVBUFFORCE: u32 = 33; -pub const SO_KEEPALIVE: u32 = 9; -pub const SO_OOBINLINE: u32 = 10; -pub const SO_NO_CHECK: u32 = 11; -pub const SO_PRIORITY: u32 = 12; -pub const SO_LINGER: u32 = 13; -pub const SO_BSDCOMPAT: u32 = 14; -pub const SO_REUSEPORT: u32 = 15; -pub const SO_PASSCRED: u32 = 16; -pub const SO_PEERCRED: u32 = 17; -pub const SO_RCVLOWAT: u32 = 18; -pub const SO_SNDLOWAT: u32 = 19; -pub const SO_RCVTIMEO_OLD: u32 = 20; -pub const SO_SNDTIMEO_OLD: u32 = 21; -pub const SO_SECURITY_AUTHENTICATION: u32 = 22; -pub const SO_SECURITY_ENCRYPTION_TRANSPORT: u32 = 23; -pub const SO_SECURITY_ENCRYPTION_NETWORK: u32 = 24; -pub const SO_BINDTODEVICE: u32 = 25; -pub const SO_ATTACH_FILTER: u32 = 26; -pub const SO_DETACH_FILTER: u32 = 27; -pub const SO_GET_FILTER: u32 = 26; -pub const SO_PEERNAME: u32 = 28; -pub const SO_ACCEPTCONN: u32 = 30; -pub const SO_PEERSEC: u32 = 31; -pub const SO_PASSSEC: u32 = 34; -pub const SO_MARK: u32 = 36; -pub const SO_PROTOCOL: u32 = 38; -pub const SO_DOMAIN: u32 = 39; -pub const SO_RXQ_OVFL: u32 = 40; -pub const SO_WIFI_STATUS: u32 = 41; -pub const SCM_WIFI_STATUS: u32 = 41; -pub const SO_PEEK_OFF: u32 = 42; -pub const SO_NOFCS: u32 = 43; -pub const SO_LOCK_FILTER: u32 = 44; -pub const SO_SELECT_ERR_QUEUE: u32 = 45; -pub const SO_BUSY_POLL: u32 = 46; -pub const SO_MAX_PACING_RATE: u32 = 47; -pub const SO_BPF_EXTENSIONS: u32 = 48; -pub const SO_INCOMING_CPU: u32 = 49; -pub const SO_ATTACH_BPF: u32 = 50; -pub const SO_DETACH_BPF: u32 = 27; -pub const SO_ATTACH_REUSEPORT_CBPF: u32 = 51; -pub const SO_ATTACH_REUSEPORT_EBPF: u32 = 52; -pub const SO_CNX_ADVICE: u32 = 53; -pub const SCM_TIMESTAMPING_OPT_STATS: u32 = 54; -pub const SO_MEMINFO: u32 = 55; -pub const SO_INCOMING_NAPI_ID: u32 = 56; -pub const SO_COOKIE: u32 = 57; -pub const SCM_TIMESTAMPING_PKTINFO: u32 = 58; -pub const SO_PEERGROUPS: u32 = 59; -pub const SO_ZEROCOPY: u32 = 60; -pub const SO_TXTIME: u32 = 61; -pub const SCM_TXTIME: u32 = 61; -pub const SO_BINDTOIFINDEX: u32 = 62; -pub const SO_TIMESTAMP_OLD: u32 = 29; -pub const SO_TIMESTAMPNS_OLD: u32 = 35; -pub const SO_TIMESTAMPING_OLD: u32 = 37; -pub const SO_TIMESTAMP_NEW: u32 = 63; -pub const SO_TIMESTAMPNS_NEW: u32 = 64; -pub const SO_TIMESTAMPING_NEW: u32 = 65; -pub const SO_RCVTIMEO_NEW: u32 = 66; -pub const SO_SNDTIMEO_NEW: u32 = 67; -pub const SO_DETACH_REUSEPORT_BPF: u32 = 68; -pub const SO_PREFER_BUSY_POLL: u32 = 69; -pub const SO_BUSY_POLL_BUDGET: u32 = 70; -pub const SO_NETNS_COOKIE: u32 = 71; -pub const SO_TIMESTAMP: u32 = 29; -pub const SO_TIMESTAMPNS: u32 = 35; -pub const SO_TIMESTAMPING: u32 = 37; -pub const SO_RCVTIMEO: u32 = 20; -pub const SO_SNDTIMEO: u32 = 21; -pub const SCM_TIMESTAMP: u32 = 29; -pub const SCM_TIMESTAMPNS: u32 = 35; -pub const SCM_TIMESTAMPING: u32 = 37; -pub const __osockaddr_defined: u32 = 1; -pub const __USE_KERNEL_IPV6_DEFS: u32 = 0; -pub const IP_OPTIONS: u32 = 4; -pub const IP_HDRINCL: u32 = 3; -pub const IP_TOS: u32 = 1; -pub const IP_TTL: u32 = 2; -pub const IP_RECVOPTS: u32 = 6; -pub const IP_RETOPTS: u32 = 7; -pub const IP_MULTICAST_IF: u32 = 32; -pub const IP_MULTICAST_TTL: u32 = 33; -pub const IP_MULTICAST_LOOP: u32 = 34; -pub const IP_ADD_MEMBERSHIP: u32 = 35; -pub const IP_DROP_MEMBERSHIP: u32 = 36; -pub const IP_UNBLOCK_SOURCE: u32 = 37; -pub const IP_BLOCK_SOURCE: u32 = 38; -pub const IP_ADD_SOURCE_MEMBERSHIP: u32 = 39; -pub const IP_DROP_SOURCE_MEMBERSHIP: u32 = 40; -pub const IP_MSFILTER: u32 = 41; -pub const MCAST_JOIN_GROUP: u32 = 42; -pub const MCAST_BLOCK_SOURCE: u32 = 43; -pub const MCAST_UNBLOCK_SOURCE: u32 = 44; -pub const MCAST_LEAVE_GROUP: u32 = 45; -pub const MCAST_JOIN_SOURCE_GROUP: u32 = 46; -pub const MCAST_LEAVE_SOURCE_GROUP: u32 = 47; -pub const MCAST_MSFILTER: u32 = 48; -pub const IP_MULTICAST_ALL: u32 = 49; -pub const IP_UNICAST_IF: u32 = 50; -pub const MCAST_EXCLUDE: u32 = 0; -pub const MCAST_INCLUDE: u32 = 1; -pub const IP_ROUTER_ALERT: u32 = 5; -pub const IP_PKTINFO: u32 = 8; -pub const IP_PKTOPTIONS: u32 = 9; -pub const IP_PMTUDISC: u32 = 10; -pub const IP_MTU_DISCOVER: u32 = 10; -pub const IP_RECVERR: u32 = 11; -pub const IP_RECVTTL: u32 = 12; -pub const IP_RECVTOS: u32 = 13; -pub const IP_MTU: u32 = 14; -pub const IP_FREEBIND: u32 = 15; -pub const IP_IPSEC_POLICY: u32 = 16; -pub const IP_XFRM_POLICY: u32 = 17; -pub const IP_PASSSEC: u32 = 18; -pub const IP_TRANSPARENT: u32 = 19; -pub const IP_ORIGDSTADDR: u32 = 20; -pub const IP_RECVORIGDSTADDR: u32 = 20; -pub const IP_MINTTL: u32 = 21; -pub const IP_NODEFRAG: u32 = 22; -pub const IP_CHECKSUM: u32 = 23; -pub const IP_BIND_ADDRESS_NO_PORT: u32 = 24; -pub const IP_RECVFRAGSIZE: u32 = 25; -pub const IP_RECVERR_RFC4884: u32 = 26; -pub const IP_PMTUDISC_DONT: u32 = 0; -pub const IP_PMTUDISC_WANT: u32 = 1; -pub const IP_PMTUDISC_DO: u32 = 2; -pub const IP_PMTUDISC_PROBE: u32 = 3; -pub const IP_PMTUDISC_INTERFACE: u32 = 4; -pub const IP_PMTUDISC_OMIT: u32 = 5; -pub const SOL_IP: u32 = 0; -pub const IP_DEFAULT_MULTICAST_TTL: u32 = 1; -pub const IP_DEFAULT_MULTICAST_LOOP: u32 = 1; -pub const IP_MAX_MEMBERSHIPS: u32 = 20; -pub const IPV6_ADDRFORM: u32 = 1; -pub const IPV6_2292PKTINFO: u32 = 2; -pub const IPV6_2292HOPOPTS: u32 = 3; -pub const IPV6_2292DSTOPTS: u32 = 4; -pub const IPV6_2292RTHDR: u32 = 5; -pub const IPV6_2292PKTOPTIONS: u32 = 6; -pub const IPV6_CHECKSUM: u32 = 7; -pub const IPV6_2292HOPLIMIT: u32 = 8; -pub const IPV6_NEXTHOP: u32 = 9; -pub const IPV6_AUTHHDR: u32 = 10; -pub const IPV6_UNICAST_HOPS: u32 = 16; -pub const IPV6_MULTICAST_IF: u32 = 17; -pub const IPV6_MULTICAST_HOPS: u32 = 18; -pub const IPV6_MULTICAST_LOOP: u32 = 19; -pub const IPV6_JOIN_GROUP: u32 = 20; -pub const IPV6_LEAVE_GROUP: u32 = 21; -pub const IPV6_ROUTER_ALERT: u32 = 22; -pub const IPV6_MTU_DISCOVER: u32 = 23; -pub const IPV6_MTU: u32 = 24; -pub const IPV6_RECVERR: u32 = 25; -pub const IPV6_V6ONLY: u32 = 26; -pub const IPV6_JOIN_ANYCAST: u32 = 27; -pub const IPV6_LEAVE_ANYCAST: u32 = 28; -pub const IPV6_MULTICAST_ALL: u32 = 29; -pub const IPV6_ROUTER_ALERT_ISOLATE: u32 = 30; -pub const IPV6_RECVERR_RFC4884: u32 = 31; -pub const IPV6_IPSEC_POLICY: u32 = 34; -pub const IPV6_XFRM_POLICY: u32 = 35; -pub const IPV6_HDRINCL: u32 = 36; -pub const IPV6_RECVPKTINFO: u32 = 49; -pub const IPV6_PKTINFO: u32 = 50; -pub const IPV6_RECVHOPLIMIT: u32 = 51; -pub const IPV6_HOPLIMIT: u32 = 52; -pub const IPV6_RECVHOPOPTS: u32 = 53; -pub const IPV6_HOPOPTS: u32 = 54; -pub const IPV6_RTHDRDSTOPTS: u32 = 55; -pub const IPV6_RECVRTHDR: u32 = 56; -pub const IPV6_RTHDR: u32 = 57; -pub const IPV6_RECVDSTOPTS: u32 = 58; -pub const IPV6_DSTOPTS: u32 = 59; -pub const IPV6_RECVPATHMTU: u32 = 60; -pub const IPV6_PATHMTU: u32 = 61; -pub const IPV6_DONTFRAG: u32 = 62; -pub const IPV6_RECVTCLASS: u32 = 66; -pub const IPV6_TCLASS: u32 = 67; -pub const IPV6_AUTOFLOWLABEL: u32 = 70; -pub const IPV6_ADDR_PREFERENCES: u32 = 72; -pub const IPV6_MINHOPCOUNT: u32 = 73; -pub const IPV6_ORIGDSTADDR: u32 = 74; -pub const IPV6_RECVORIGDSTADDR: u32 = 74; -pub const IPV6_TRANSPARENT: u32 = 75; -pub const IPV6_UNICAST_IF: u32 = 76; -pub const IPV6_RECVFRAGSIZE: u32 = 77; -pub const IPV6_FREEBIND: u32 = 78; -pub const IPV6_ADD_MEMBERSHIP: u32 = 20; -pub const IPV6_DROP_MEMBERSHIP: u32 = 21; -pub const IPV6_RXHOPOPTS: u32 = 54; -pub const IPV6_RXDSTOPTS: u32 = 59; -pub const IPV6_PMTUDISC_DONT: u32 = 0; -pub const IPV6_PMTUDISC_WANT: u32 = 1; -pub const IPV6_PMTUDISC_DO: u32 = 2; -pub const IPV6_PMTUDISC_PROBE: u32 = 3; -pub const IPV6_PMTUDISC_INTERFACE: u32 = 4; -pub const IPV6_PMTUDISC_OMIT: u32 = 5; -pub const SOL_IPV6: u32 = 41; -pub const SOL_ICMPV6: u32 = 58; -pub const IPV6_RTHDR_LOOSE: u32 = 0; -pub const IPV6_RTHDR_STRICT: u32 = 1; -pub const IPV6_RTHDR_TYPE_0: u32 = 0; +pub const PF_MAX: u32 = 41; +pub const NET_MAXID: u32 = 41; +pub const NET_RT_DUMP: u32 = 1; +pub const NET_RT_FLAGS: u32 = 2; +pub const NET_RT_IFLIST: u32 = 3; +pub const NET_RT_STAT: u32 = 4; +pub const NET_RT_TRASH: u32 = 5; +pub const NET_RT_IFLIST2: u32 = 6; +pub const NET_RT_DUMP2: u32 = 7; +pub const NET_RT_FLAGS_PRIV: u32 = 10; +pub const NET_RT_MAXID: u32 = 11; +pub const SOMAXCONN: u32 = 128; +pub const MSG_OOB: u32 = 1; +pub const MSG_PEEK: u32 = 2; +pub const MSG_DONTROUTE: u32 = 4; +pub const MSG_EOR: u32 = 8; +pub const MSG_TRUNC: u32 = 16; +pub const MSG_CTRUNC: u32 = 32; +pub const MSG_WAITALL: u32 = 64; +pub const MSG_DONTWAIT: u32 = 128; +pub const MSG_EOF: u32 = 256; +pub const MSG_WAITSTREAM: u32 = 512; +pub const MSG_FLUSH: u32 = 1024; +pub const MSG_HOLD: u32 = 2048; +pub const MSG_SEND: u32 = 4096; +pub const MSG_HAVEMORE: u32 = 8192; +pub const MSG_RCVMORE: u32 = 16384; +pub const MSG_NEEDSA: u32 = 65536; +pub const MSG_NOSIGNAL: u32 = 524288; +pub const SCM_RIGHTS: u32 = 1; +pub const SCM_TIMESTAMP: u32 = 2; +pub const SCM_CREDS: u32 = 3; +pub const SCM_TIMESTAMP_MONOTONIC: u32 = 4; +pub const SHUT_RD: u32 = 0; +pub const SHUT_WR: u32 = 1; +pub const SHUT_RDWR: u32 = 2; +pub const IPPROTO_IP: u32 = 0; +pub const IPPROTO_HOPOPTS: u32 = 0; +pub const IPPROTO_ICMP: u32 = 1; +pub const IPPROTO_IGMP: u32 = 2; +pub const IPPROTO_GGP: u32 = 3; +pub const IPPROTO_IPV4: u32 = 4; +pub const IPPROTO_IPIP: u32 = 4; +pub const IPPROTO_TCP: u32 = 6; +pub const IPPROTO_ST: u32 = 7; +pub const IPPROTO_EGP: u32 = 8; +pub const IPPROTO_PIGP: u32 = 9; +pub const IPPROTO_RCCMON: u32 = 10; +pub const IPPROTO_NVPII: u32 = 11; +pub const IPPROTO_PUP: u32 = 12; +pub const IPPROTO_ARGUS: u32 = 13; +pub const IPPROTO_EMCON: u32 = 14; +pub const IPPROTO_XNET: u32 = 15; +pub const IPPROTO_CHAOS: u32 = 16; +pub const IPPROTO_UDP: u32 = 17; +pub const IPPROTO_MUX: u32 = 18; +pub const IPPROTO_MEAS: u32 = 19; +pub const IPPROTO_HMP: u32 = 20; +pub const IPPROTO_PRM: u32 = 21; +pub const IPPROTO_IDP: u32 = 22; +pub const IPPROTO_TRUNK1: u32 = 23; +pub const IPPROTO_TRUNK2: u32 = 24; +pub const IPPROTO_LEAF1: u32 = 25; +pub const IPPROTO_LEAF2: u32 = 26; +pub const IPPROTO_RDP: u32 = 27; +pub const IPPROTO_IRTP: u32 = 28; +pub const IPPROTO_TP: u32 = 29; +pub const IPPROTO_BLT: u32 = 30; +pub const IPPROTO_NSP: u32 = 31; +pub const IPPROTO_INP: u32 = 32; +pub const IPPROTO_SEP: u32 = 33; +pub const IPPROTO_3PC: u32 = 34; +pub const IPPROTO_IDPR: u32 = 35; +pub const IPPROTO_XTP: u32 = 36; +pub const IPPROTO_DDP: u32 = 37; +pub const IPPROTO_CMTP: u32 = 38; +pub const IPPROTO_TPXX: u32 = 39; +pub const IPPROTO_IL: u32 = 40; +pub const IPPROTO_IPV6: u32 = 41; +pub const IPPROTO_SDRP: u32 = 42; +pub const IPPROTO_ROUTING: u32 = 43; +pub const IPPROTO_FRAGMENT: u32 = 44; +pub const IPPROTO_IDRP: u32 = 45; +pub const IPPROTO_RSVP: u32 = 46; +pub const IPPROTO_GRE: u32 = 47; +pub const IPPROTO_MHRP: u32 = 48; +pub const IPPROTO_BHA: u32 = 49; +pub const IPPROTO_ESP: u32 = 50; +pub const IPPROTO_AH: u32 = 51; +pub const IPPROTO_INLSP: u32 = 52; +pub const IPPROTO_SWIPE: u32 = 53; +pub const IPPROTO_NHRP: u32 = 54; +pub const IPPROTO_ICMPV6: u32 = 58; +pub const IPPROTO_NONE: u32 = 59; +pub const IPPROTO_DSTOPTS: u32 = 60; +pub const IPPROTO_AHIP: u32 = 61; +pub const IPPROTO_CFTP: u32 = 62; +pub const IPPROTO_HELLO: u32 = 63; +pub const IPPROTO_SATEXPAK: u32 = 64; +pub const IPPROTO_KRYPTOLAN: u32 = 65; +pub const IPPROTO_RVD: u32 = 66; +pub const IPPROTO_IPPC: u32 = 67; +pub const IPPROTO_ADFS: u32 = 68; +pub const IPPROTO_SATMON: u32 = 69; +pub const IPPROTO_VISA: u32 = 70; +pub const IPPROTO_IPCV: u32 = 71; +pub const IPPROTO_CPNX: u32 = 72; +pub const IPPROTO_CPHB: u32 = 73; +pub const IPPROTO_WSN: u32 = 74; +pub const IPPROTO_PVP: u32 = 75; +pub const IPPROTO_BRSATMON: u32 = 76; +pub const IPPROTO_ND: u32 = 77; +pub const IPPROTO_WBMON: u32 = 78; +pub const IPPROTO_WBEXPAK: u32 = 79; +pub const IPPROTO_EON: u32 = 80; +pub const IPPROTO_VMTP: u32 = 81; +pub const IPPROTO_SVMTP: u32 = 82; +pub const IPPROTO_VINES: u32 = 83; +pub const IPPROTO_TTP: u32 = 84; +pub const IPPROTO_IGP: u32 = 85; +pub const IPPROTO_DGP: u32 = 86; +pub const IPPROTO_TCF: u32 = 87; +pub const IPPROTO_IGRP: u32 = 88; +pub const IPPROTO_OSPFIGP: u32 = 89; +pub const IPPROTO_SRPC: u32 = 90; +pub const IPPROTO_LARP: u32 = 91; +pub const IPPROTO_MTP: u32 = 92; +pub const IPPROTO_AX25: u32 = 93; +pub const IPPROTO_IPEIP: u32 = 94; +pub const IPPROTO_MICP: u32 = 95; +pub const IPPROTO_SCCSP: u32 = 96; +pub const IPPROTO_ETHERIP: u32 = 97; +pub const IPPROTO_ENCAP: u32 = 98; +pub const IPPROTO_APES: u32 = 99; +pub const IPPROTO_GMTP: u32 = 100; +pub const IPPROTO_PIM: u32 = 103; +pub const IPPROTO_IPCOMP: u32 = 108; +pub const IPPROTO_PGM: u32 = 113; +pub const IPPROTO_SCTP: u32 = 132; +pub const IPPROTO_DIVERT: u32 = 254; +pub const IPPROTO_RAW: u32 = 255; +pub const IPPROTO_MAX: u32 = 256; +pub const IPPROTO_DONE: u32 = 257; +pub const __DARWIN_IPPORT_RESERVED: u32 = 1024; +pub const IPPORT_USERRESERVED: u32 = 5000; +pub const IPPORT_HIFIRSTAUTO: u32 = 49152; +pub const IPPORT_HILASTAUTO: u32 = 65535; +pub const IPPORT_RESERVEDSTART: u32 = 600; pub const IN_CLASSA_NET: u32 = 4278190080; pub const IN_CLASSA_NSHIFT: u32 = 24; pub const IN_CLASSA_HOST: u32 = 16777215; @@ -1130,57 +1431,276 @@ pub const IN_CLASSB_MAX: u32 = 65536; pub const IN_CLASSC_NET: u32 = 4294967040; pub const IN_CLASSC_NSHIFT: u32 = 8; pub const IN_CLASSC_HOST: u32 = 255; +pub const IN_CLASSD_NET: u32 = 4026531840; +pub const IN_CLASSD_NSHIFT: u32 = 28; +pub const IN_CLASSD_HOST: u32 = 268435455; +pub const INADDR_NONE: u32 = 4294967295; pub const IN_LOOPBACKNET: u32 = 127; pub const INET_ADDRSTRLEN: u32 = 16; +pub const IP_OPTIONS: u32 = 1; +pub const IP_HDRINCL: u32 = 2; +pub const IP_TOS: u32 = 3; +pub const IP_TTL: u32 = 4; +pub const IP_RECVOPTS: u32 = 5; +pub const IP_RECVRETOPTS: u32 = 6; +pub const IP_RECVDSTADDR: u32 = 7; +pub const IP_RETOPTS: u32 = 8; +pub const IP_MULTICAST_IF: u32 = 9; +pub const IP_MULTICAST_TTL: u32 = 10; +pub const IP_MULTICAST_LOOP: u32 = 11; +pub const IP_ADD_MEMBERSHIP: u32 = 12; +pub const IP_DROP_MEMBERSHIP: u32 = 13; +pub const IP_MULTICAST_VIF: u32 = 14; +pub const IP_RSVP_ON: u32 = 15; +pub const IP_RSVP_OFF: u32 = 16; +pub const IP_RSVP_VIF_ON: u32 = 17; +pub const IP_RSVP_VIF_OFF: u32 = 18; +pub const IP_PORTRANGE: u32 = 19; +pub const IP_RECVIF: u32 = 20; +pub const IP_IPSEC_POLICY: u32 = 21; +pub const IP_FAITH: u32 = 22; +pub const IP_STRIPHDR: u32 = 23; +pub const IP_RECVTTL: u32 = 24; +pub const IP_BOUND_IF: u32 = 25; +pub const IP_PKTINFO: u32 = 26; +pub const IP_RECVPKTINFO: u32 = 26; +pub const IP_RECVTOS: u32 = 27; +pub const IP_DONTFRAG: u32 = 28; +pub const IP_FW_ADD: u32 = 40; +pub const IP_FW_DEL: u32 = 41; +pub const IP_FW_FLUSH: u32 = 42; +pub const IP_FW_ZERO: u32 = 43; +pub const IP_FW_GET: u32 = 44; +pub const IP_FW_RESETLOG: u32 = 45; +pub const IP_OLD_FW_ADD: u32 = 50; +pub const IP_OLD_FW_DEL: u32 = 51; +pub const IP_OLD_FW_FLUSH: u32 = 52; +pub const IP_OLD_FW_ZERO: u32 = 53; +pub const IP_OLD_FW_GET: u32 = 54; +pub const IP_NAT__XXX: u32 = 55; +pub const IP_OLD_FW_RESETLOG: u32 = 56; +pub const IP_DUMMYNET_CONFIGURE: u32 = 60; +pub const IP_DUMMYNET_DEL: u32 = 61; +pub const IP_DUMMYNET_FLUSH: u32 = 62; +pub const IP_DUMMYNET_GET: u32 = 64; +pub const IP_TRAFFIC_MGT_BACKGROUND: u32 = 65; +pub const IP_MULTICAST_IFINDEX: u32 = 66; +pub const IP_ADD_SOURCE_MEMBERSHIP: u32 = 70; +pub const IP_DROP_SOURCE_MEMBERSHIP: u32 = 71; +pub const IP_BLOCK_SOURCE: u32 = 72; +pub const IP_UNBLOCK_SOURCE: u32 = 73; +pub const IP_MSFILTER: u32 = 74; +pub const MCAST_JOIN_GROUP: u32 = 80; +pub const MCAST_LEAVE_GROUP: u32 = 81; +pub const MCAST_JOIN_SOURCE_GROUP: u32 = 82; +pub const MCAST_LEAVE_SOURCE_GROUP: u32 = 83; +pub const MCAST_BLOCK_SOURCE: u32 = 84; +pub const MCAST_UNBLOCK_SOURCE: u32 = 85; +pub const IP_DEFAULT_MULTICAST_TTL: u32 = 1; +pub const IP_DEFAULT_MULTICAST_LOOP: u32 = 1; +pub const IP_MIN_MEMBERSHIPS: u32 = 31; +pub const IP_MAX_MEMBERSHIPS: u32 = 4095; +pub const IP_MAX_GROUP_SRC_FILTER: u32 = 512; +pub const IP_MAX_SOCK_SRC_FILTER: u32 = 128; +pub const IP_MAX_SOCK_MUTE_FILTER: u32 = 128; +pub const MCAST_UNDEFINED: u32 = 0; +pub const MCAST_INCLUDE: u32 = 1; +pub const MCAST_EXCLUDE: u32 = 2; +pub const IP_PORTRANGE_DEFAULT: u32 = 0; +pub const IP_PORTRANGE_HIGH: u32 = 1; +pub const IP_PORTRANGE_LOW: u32 = 2; +pub const IPPROTO_MAXID: u32 = 52; +pub const IPCTL_FORWARDING: u32 = 1; +pub const IPCTL_SENDREDIRECTS: u32 = 2; +pub const IPCTL_DEFTTL: u32 = 3; +pub const IPCTL_RTEXPIRE: u32 = 5; +pub const IPCTL_RTMINEXPIRE: u32 = 6; +pub const IPCTL_RTMAXCACHE: u32 = 7; +pub const IPCTL_SOURCEROUTE: u32 = 8; +pub const IPCTL_DIRECTEDBROADCAST: u32 = 9; +pub const IPCTL_INTRQMAXLEN: u32 = 10; +pub const IPCTL_INTRQDROPS: u32 = 11; +pub const IPCTL_STATS: u32 = 12; +pub const IPCTL_ACCEPTSOURCEROUTE: u32 = 13; +pub const IPCTL_FASTFORWARDING: u32 = 14; +pub const IPCTL_KEEPFAITH: u32 = 15; +pub const IPCTL_GIF_TTL: u32 = 16; +pub const IPCTL_MAXID: u32 = 17; +pub const __KAME_VERSION: &[u8; 18usize] = b"2009/apple-darwin\0"; +pub const IPV6PORT_RESERVED: u32 = 1024; +pub const IPV6PORT_ANONMIN: u32 = 49152; +pub const IPV6PORT_ANONMAX: u32 = 65535; +pub const IPV6PORT_RESERVEDMIN: u32 = 600; +pub const IPV6PORT_RESERVEDMAX: u32 = 1023; pub const INET6_ADDRSTRLEN: u32 = 46; -pub const _RPC_NETDB_H: u32 = 1; +pub const __IPV6_ADDR_SCOPE_NODELOCAL: u32 = 1; +pub const __IPV6_ADDR_SCOPE_INTFACELOCAL: u32 = 1; +pub const __IPV6_ADDR_SCOPE_LINKLOCAL: u32 = 2; +pub const __IPV6_ADDR_SCOPE_SITELOCAL: u32 = 5; +pub const __IPV6_ADDR_SCOPE_ORGLOCAL: u32 = 8; +pub const __IPV6_ADDR_SCOPE_GLOBAL: u32 = 14; +pub const IPV6_ADDR_MC_FLAGS_TRANSIENT: u32 = 16; +pub const IPV6_ADDR_MC_FLAGS_PREFIX: u32 = 32; +pub const IPV6_ADDR_MC_FLAGS_UNICAST_BASED: u32 = 48; +pub const IPV6_SOCKOPT_RESERVED1: u32 = 3; +pub const IPV6_UNICAST_HOPS: u32 = 4; +pub const IPV6_MULTICAST_IF: u32 = 9; +pub const IPV6_MULTICAST_HOPS: u32 = 10; +pub const IPV6_MULTICAST_LOOP: u32 = 11; +pub const IPV6_JOIN_GROUP: u32 = 12; +pub const IPV6_LEAVE_GROUP: u32 = 13; +pub const IPV6_PORTRANGE: u32 = 14; +pub const ICMP6_FILTER: u32 = 18; +pub const IPV6_2292PKTINFO: u32 = 19; +pub const IPV6_2292HOPLIMIT: u32 = 20; +pub const IPV6_2292NEXTHOP: u32 = 21; +pub const IPV6_2292HOPOPTS: u32 = 22; +pub const IPV6_2292DSTOPTS: u32 = 23; +pub const IPV6_2292RTHDR: u32 = 24; +pub const IPV6_2292PKTOPTIONS: u32 = 25; +pub const IPV6_CHECKSUM: u32 = 26; +pub const IPV6_V6ONLY: u32 = 27; +pub const IPV6_BINDV6ONLY: u32 = 27; +pub const IPV6_IPSEC_POLICY: u32 = 28; +pub const IPV6_FAITH: u32 = 29; +pub const IPV6_FW_ADD: u32 = 30; +pub const IPV6_FW_DEL: u32 = 31; +pub const IPV6_FW_FLUSH: u32 = 32; +pub const IPV6_FW_ZERO: u32 = 33; +pub const IPV6_FW_GET: u32 = 34; +pub const IPV6_RECVTCLASS: u32 = 35; +pub const IPV6_TCLASS: u32 = 36; +pub const IPV6_BOUND_IF: u32 = 125; +pub const IPV6_RTHDR_LOOSE: u32 = 0; +pub const IPV6_RTHDR_STRICT: u32 = 1; +pub const IPV6_RTHDR_TYPE_0: u32 = 0; +pub const IPV6_DEFAULT_MULTICAST_HOPS: u32 = 1; +pub const IPV6_DEFAULT_MULTICAST_LOOP: u32 = 1; +pub const IPV6_MIN_MEMBERSHIPS: u32 = 31; +pub const IPV6_MAX_MEMBERSHIPS: u32 = 4095; +pub const IPV6_MAX_GROUP_SRC_FILTER: u32 = 512; +pub const IPV6_MAX_SOCK_SRC_FILTER: u32 = 128; +pub const IPV6_PORTRANGE_DEFAULT: u32 = 0; +pub const IPV6_PORTRANGE_HIGH: u32 = 1; +pub const IPV6_PORTRANGE_LOW: u32 = 2; +pub const IPV6PROTO_MAXID: u32 = 104; +pub const IPV6CTL_FORWARDING: u32 = 1; +pub const IPV6CTL_SENDREDIRECTS: u32 = 2; +pub const IPV6CTL_DEFHLIM: u32 = 3; +pub const IPV6CTL_FORWSRCRT: u32 = 5; +pub const IPV6CTL_STATS: u32 = 6; +pub const IPV6CTL_MRTSTATS: u32 = 7; +pub const IPV6CTL_MRTPROTO: u32 = 8; +pub const IPV6CTL_MAXFRAGPACKETS: u32 = 9; +pub const IPV6CTL_SOURCECHECK: u32 = 10; +pub const IPV6CTL_SOURCECHECK_LOGINT: u32 = 11; +pub const IPV6CTL_ACCEPT_RTADV: u32 = 12; +pub const IPV6CTL_KEEPFAITH: u32 = 13; +pub const IPV6CTL_LOG_INTERVAL: u32 = 14; +pub const IPV6CTL_HDRNESTLIMIT: u32 = 15; +pub const IPV6CTL_DAD_COUNT: u32 = 16; +pub const IPV6CTL_AUTO_FLOWLABEL: u32 = 17; +pub const IPV6CTL_DEFMCASTHLIM: u32 = 18; +pub const IPV6CTL_GIF_HLIM: u32 = 19; +pub const IPV6CTL_KAME_VERSION: u32 = 20; +pub const IPV6CTL_USE_DEPRECATED: u32 = 21; +pub const IPV6CTL_RR_PRUNE: u32 = 22; +pub const IPV6CTL_V6ONLY: u32 = 24; +pub const IPV6CTL_RTEXPIRE: u32 = 25; +pub const IPV6CTL_RTMINEXPIRE: u32 = 26; +pub const IPV6CTL_RTMAXCACHE: u32 = 27; +pub const IPV6CTL_USETEMPADDR: u32 = 32; +pub const IPV6CTL_TEMPPLTIME: u32 = 33; +pub const IPV6CTL_TEMPVLTIME: u32 = 34; +pub const IPV6CTL_AUTO_LINKLOCAL: u32 = 35; +pub const IPV6CTL_RIP6STATS: u32 = 36; +pub const IPV6CTL_PREFER_TEMPADDR: u32 = 37; +pub const IPV6CTL_ADDRCTLPOLICY: u32 = 38; +pub const IPV6CTL_USE_DEFAULTZONE: u32 = 39; +pub const IPV6CTL_MAXFRAGS: u32 = 41; +pub const IPV6CTL_MCAST_PMTU: u32 = 44; +pub const IPV6CTL_NEIGHBORGCTHRESH: u32 = 46; +pub const IPV6CTL_MAXIFPREFIXES: u32 = 47; +pub const IPV6CTL_MAXIFDEFROUTERS: u32 = 48; +pub const IPV6CTL_MAXDYNROUTES: u32 = 49; +pub const ICMPV6CTL_ND6_ONLINKNSRFC4861: u32 = 50; +pub const IPV6CTL_ULA_USETEMPADDR: u32 = 51; +pub const IPV6CTL_MAXID: u32 = 51; pub const _PATH_HEQUIV: &[u8; 17usize] = b"/etc/hosts.equiv\0"; pub const _PATH_HOSTS: &[u8; 11usize] = b"/etc/hosts\0"; pub const _PATH_NETWORKS: &[u8; 14usize] = b"/etc/networks\0"; -pub const _PATH_NSSWITCH_CONF: &[u8; 19usize] = b"/etc/nsswitch.conf\0"; pub const _PATH_PROTOCOLS: &[u8; 15usize] = b"/etc/protocols\0"; pub const _PATH_SERVICES: &[u8; 14usize] = b"/etc/services\0"; +pub const NETDB_INTERNAL: i32 = -1; +pub const NETDB_SUCCESS: u32 = 0; pub const HOST_NOT_FOUND: u32 = 1; pub const TRY_AGAIN: u32 = 2; pub const NO_RECOVERY: u32 = 3; pub const NO_DATA: u32 = 4; -pub const NETDB_INTERNAL: i32 = -1; -pub const NETDB_SUCCESS: u32 = 0; pub const NO_ADDRESS: u32 = 4; +pub const EAI_ADDRFAMILY: u32 = 1; +pub const EAI_AGAIN: u32 = 2; +pub const EAI_BADFLAGS: u32 = 3; +pub const EAI_FAIL: u32 = 4; +pub const EAI_FAMILY: u32 = 5; +pub const EAI_MEMORY: u32 = 6; +pub const EAI_NODATA: u32 = 7; +pub const EAI_NONAME: u32 = 8; +pub const EAI_SERVICE: u32 = 9; +pub const EAI_SOCKTYPE: u32 = 10; +pub const EAI_SYSTEM: u32 = 11; +pub const EAI_BADHINTS: u32 = 12; +pub const EAI_PROTOCOL: u32 = 13; +pub const EAI_OVERFLOW: u32 = 14; +pub const EAI_MAX: u32 = 15; pub const AI_PASSIVE: u32 = 1; pub const AI_CANONNAME: u32 = 2; pub const AI_NUMERICHOST: u32 = 4; -pub const AI_V4MAPPED: u32 = 8; -pub const AI_ALL: u32 = 16; -pub const AI_ADDRCONFIG: u32 = 32; -pub const AI_NUMERICSERV: u32 = 1024; -pub const EAI_BADFLAGS: i32 = -1; -pub const EAI_NONAME: i32 = -2; -pub const EAI_AGAIN: i32 = -3; -pub const EAI_FAIL: i32 = -4; -pub const EAI_FAMILY: i32 = -6; -pub const EAI_SOCKTYPE: i32 = -7; -pub const EAI_SERVICE: i32 = -8; -pub const EAI_MEMORY: i32 = -10; -pub const EAI_SYSTEM: i32 = -11; -pub const EAI_OVERFLOW: i32 = -12; +pub const AI_NUMERICSERV: u32 = 4096; +pub const AI_ALL: u32 = 256; +pub const AI_V4MAPPED_CFG: u32 = 512; +pub const AI_ADDRCONFIG: u32 = 1024; +pub const AI_V4MAPPED: u32 = 2048; +pub const AI_DEFAULT: u32 = 1536; +pub const AI_UNUSABLE: u32 = 268435456; pub const NI_MAXHOST: u32 = 1025; pub const NI_MAXSERV: u32 = 32; -pub const NI_NUMERICHOST: u32 = 1; -pub const NI_NUMERICSERV: u32 = 2; -pub const NI_NOFQDN: u32 = 4; -pub const NI_NAMEREQD: u32 = 8; +pub const NI_NOFQDN: u32 = 1; +pub const NI_NUMERICHOST: u32 = 2; +pub const NI_NAMEREQD: u32 = 4; +pub const NI_NUMERICSERV: u32 = 8; +pub const NI_NUMERICSCOPE: u32 = 256; pub const NI_DGRAM: u32 = 16; -pub const _PWD_H: u32 = 1; -pub const NSS_BUFLEN_PASSWD: u32 = 1024; +pub const NI_WITHSCOPEID: u32 = 32; +pub const SCOPE_DELIMITER: u8 = 37u8; +pub const _PATH_PWD: &[u8; 5usize] = b"/etc\0"; +pub const _PATH_PASSWD: &[u8; 12usize] = b"/etc/passwd\0"; +pub const _PASSWD: &[u8; 7usize] = b"passwd\0"; +pub const _PATH_MASTERPASSWD: &[u8; 19usize] = b"/etc/master.passwd\0"; +pub const _PATH_MASTERPASSWD_LOCK: &[u8; 10usize] = b"/etc/ptmp\0"; +pub const _MASTERPASSWD: &[u8; 14usize] = b"master.passwd\0"; +pub const _PATH_MP_DB: &[u8; 12usize] = b"/etc/pwd.db\0"; +pub const _MP_DB: &[u8; 7usize] = b"pwd.db\0"; +pub const _PATH_SMP_DB: &[u8; 13usize] = b"/etc/spwd.db\0"; +pub const _SMP_DB: &[u8; 8usize] = b"spwd.db\0"; +pub const _PATH_PWD_MKDB: &[u8; 19usize] = b"/usr/sbin/pwd_mkdb\0"; +pub const _PW_KEYBYNAME: u8 = 49u8; +pub const _PW_KEYBYNUM: u8 = 50u8; +pub const _PW_KEYBYUID: u8 = 51u8; +pub const _PASSWORD_EFMT1: u8 = 95u8; +pub const _PASSWORD_LEN: u32 = 128; +pub const _PASSWORD_NOUID: u32 = 1; +pub const _PASSWORD_NOGID: u32 = 2; +pub const _PASSWORD_NOCHG: u32 = 4; +pub const _PASSWORD_NOEXP: u32 = 8; +pub const _PASSWORD_WARNDAYS: u32 = 14; +pub const _PASSWORD_CHGNOW: i32 = -1; pub const PGINVALID_SOCKET: i32 = -1; -pub const PG_BACKEND_VERSIONSTR: &[u8; 29usize] = b"postgres (PostgreSQL) 10.20\n\0"; +pub const PG_BACKEND_VERSIONSTR: &[u8; 29usize] = b"postgres (PostgreSQL) 10.19\n\0"; pub const EXE: &[u8; 1usize] = b"\0"; pub const DEVNULL: &[u8; 10usize] = b"/dev/null\0"; pub const PG_IOLBF: u32 = 1; -pub const _SETJMP_H: u32 = 1; -pub const _BITS_SETJMP_H: u32 = 1; -pub const __jmp_buf_tag_defined: u32 = 1; +pub const _JBLEN: u32 = 48; pub const DEBUG5: u32 = 10; pub const DEBUG4: u32 = 11; pub const DEBUG3: u32 = 12; @@ -1289,84 +1809,121 @@ pub const SK_SEARCHARRAY: u32 = 32; pub const SK_SEARCHNULL: u32 = 64; pub const SK_SEARCHNOTNULL: u32 = 128; pub const SK_ORDER_BY: u32 = 256; -pub const _LIBC_LIMITS_H_: u32 = 1; -pub const MB_LEN_MAX: u32 = 16; -pub const _BITS_POSIX1_LIM_H: u32 = 1; -pub const _POSIX_AIO_LISTIO_MAX: u32 = 2; -pub const _POSIX_AIO_MAX: u32 = 1; +pub const __DARWIN_CLK_TCK: u32 = 100; +pub const CHAR_BIT: u32 = 8; +pub const MB_LEN_MAX: u32 = 6; +pub const CLK_TCK: u32 = 100; +pub const SCHAR_MAX: u32 = 127; +pub const SCHAR_MIN: i32 = -128; +pub const UCHAR_MAX: u32 = 255; +pub const CHAR_MAX: u32 = 127; +pub const CHAR_MIN: i32 = -128; +pub const USHRT_MAX: u32 = 65535; +pub const SHRT_MAX: u32 = 32767; +pub const SHRT_MIN: i32 = -32768; +pub const UINT_MAX: u32 = 4294967295; +pub const INT_MAX: u32 = 2147483647; +pub const INT_MIN: i32 = -2147483648; +pub const ULONG_MAX: i32 = -1; +pub const LONG_MAX: u64 = 9223372036854775807; +pub const LONG_MIN: i64 = -9223372036854775808; +pub const ULLONG_MAX: i32 = -1; +pub const LLONG_MAX: u64 = 9223372036854775807; +pub const LLONG_MIN: i64 = -9223372036854775808; +pub const LONG_BIT: u32 = 64; +pub const SSIZE_MAX: u64 = 9223372036854775807; +pub const WORD_BIT: u32 = 32; +pub const SIZE_T_MAX: i32 = -1; +pub const UQUAD_MAX: i32 = -1; +pub const QUAD_MAX: u64 = 9223372036854775807; +pub const QUAD_MIN: i64 = -9223372036854775808; +pub const ARG_MAX: u32 = 1048576; +pub const CHILD_MAX: u32 = 266; +pub const GID_MAX: u32 = 2147483647; +pub const LINK_MAX: u32 = 32767; +pub const MAX_CANON: u32 = 1024; +pub const MAX_INPUT: u32 = 1024; +pub const NAME_MAX: u32 = 255; +pub const NGROUPS_MAX: u32 = 16; +pub const UID_MAX: u32 = 2147483647; +pub const OPEN_MAX: u32 = 10240; +pub const PATH_MAX: u32 = 1024; +pub const PIPE_BUF: u32 = 512; +pub const BC_BASE_MAX: u32 = 99; +pub const BC_DIM_MAX: u32 = 2048; +pub const BC_SCALE_MAX: u32 = 99; +pub const BC_STRING_MAX: u32 = 1000; +pub const CHARCLASS_NAME_MAX: u32 = 14; +pub const COLL_WEIGHTS_MAX: u32 = 2; +pub const EQUIV_CLASS_MAX: u32 = 2; +pub const EXPR_NEST_MAX: u32 = 32; +pub const LINE_MAX: u32 = 2048; +pub const RE_DUP_MAX: u32 = 255; +pub const NZERO: u32 = 20; pub const _POSIX_ARG_MAX: u32 = 4096; pub const _POSIX_CHILD_MAX: u32 = 25; -pub const _POSIX_DELAYTIMER_MAX: u32 = 32; -pub const _POSIX_HOST_NAME_MAX: u32 = 255; pub const _POSIX_LINK_MAX: u32 = 8; -pub const _POSIX_LOGIN_NAME_MAX: u32 = 9; pub const _POSIX_MAX_CANON: u32 = 255; pub const _POSIX_MAX_INPUT: u32 = 255; -pub const _POSIX_MQ_OPEN_MAX: u32 = 8; -pub const _POSIX_MQ_PRIO_MAX: u32 = 32; pub const _POSIX_NAME_MAX: u32 = 14; pub const _POSIX_NGROUPS_MAX: u32 = 8; pub const _POSIX_OPEN_MAX: u32 = 20; pub const _POSIX_PATH_MAX: u32 = 256; pub const _POSIX_PIPE_BUF: u32 = 512; -pub const _POSIX_RE_DUP_MAX: u32 = 255; -pub const _POSIX_RTSIG_MAX: u32 = 8; -pub const _POSIX_SEM_NSEMS_MAX: u32 = 256; -pub const _POSIX_SEM_VALUE_MAX: u32 = 32767; -pub const _POSIX_SIGQUEUE_MAX: u32 = 32; pub const _POSIX_SSIZE_MAX: u32 = 32767; pub const _POSIX_STREAM_MAX: u32 = 8; -pub const _POSIX_SYMLINK_MAX: u32 = 255; -pub const _POSIX_SYMLOOP_MAX: u32 = 8; -pub const _POSIX_TIMER_MAX: u32 = 32; -pub const _POSIX_TTY_NAME_MAX: u32 = 9; pub const _POSIX_TZNAME_MAX: u32 = 6; -pub const _POSIX_CLOCKRES_MIN: u32 = 20000000; -pub const NR_OPEN: u32 = 1024; -pub const NGROUPS_MAX: u32 = 65536; -pub const ARG_MAX: u32 = 131072; -pub const LINK_MAX: u32 = 127; -pub const MAX_CANON: u32 = 255; -pub const MAX_INPUT: u32 = 255; -pub const NAME_MAX: u32 = 255; -pub const PATH_MAX: u32 = 4096; -pub const PIPE_BUF: u32 = 4096; -pub const XATTR_NAME_MAX: u32 = 255; -pub const XATTR_SIZE_MAX: u32 = 65536; -pub const XATTR_LIST_MAX: u32 = 65536; -pub const RTSIG_MAX: u32 = 32; -pub const _POSIX_THREAD_KEYS_MAX: u32 = 128; -pub const PTHREAD_KEYS_MAX: u32 = 1024; -pub const _POSIX_THREAD_DESTRUCTOR_ITERATIONS: u32 = 4; -pub const PTHREAD_DESTRUCTOR_ITERATIONS: u32 = 4; -pub const _POSIX_THREAD_THREADS_MAX: u32 = 64; -pub const AIO_PRIO_DELTA_MAX: u32 = 20; -pub const PTHREAD_STACK_MIN: u32 = 16384; -pub const DELAYTIMER_MAX: u32 = 2147483647; -pub const TTY_NAME_MAX: u32 = 32; -pub const LOGIN_NAME_MAX: u32 = 256; -pub const HOST_NAME_MAX: u32 = 64; -pub const MQ_PRIO_MAX: u32 = 32768; -pub const SEM_VALUE_MAX: u32 = 2147483647; -pub const _BITS_POSIX2_LIM_H: u32 = 1; pub const _POSIX2_BC_BASE_MAX: u32 = 99; pub const _POSIX2_BC_DIM_MAX: u32 = 2048; pub const _POSIX2_BC_SCALE_MAX: u32 = 99; pub const _POSIX2_BC_STRING_MAX: u32 = 1000; -pub const _POSIX2_COLL_WEIGHTS_MAX: u32 = 2; +pub const _POSIX2_EQUIV_CLASS_MAX: u32 = 2; pub const _POSIX2_EXPR_NEST_MAX: u32 = 32; pub const _POSIX2_LINE_MAX: u32 = 2048; pub const _POSIX2_RE_DUP_MAX: u32 = 255; +pub const _POSIX_AIO_LISTIO_MAX: u32 = 2; +pub const _POSIX_AIO_MAX: u32 = 1; +pub const _POSIX_DELAYTIMER_MAX: u32 = 32; +pub const _POSIX_MQ_OPEN_MAX: u32 = 8; +pub const _POSIX_MQ_PRIO_MAX: u32 = 32; +pub const _POSIX_RTSIG_MAX: u32 = 8; +pub const _POSIX_SEM_NSEMS_MAX: u32 = 256; +pub const _POSIX_SEM_VALUE_MAX: u32 = 32767; +pub const _POSIX_SIGQUEUE_MAX: u32 = 32; +pub const _POSIX_TIMER_MAX: u32 = 32; +pub const _POSIX_CLOCKRES_MIN: u32 = 20000000; +pub const _POSIX_THREAD_DESTRUCTOR_ITERATIONS: u32 = 4; +pub const _POSIX_THREAD_KEYS_MAX: u32 = 128; +pub const _POSIX_THREAD_THREADS_MAX: u32 = 64; +pub const PTHREAD_DESTRUCTOR_ITERATIONS: u32 = 4; +pub const PTHREAD_KEYS_MAX: u32 = 512; +pub const PTHREAD_STACK_MIN: u32 = 16384; +pub const _POSIX_HOST_NAME_MAX: u32 = 255; +pub const _POSIX_LOGIN_NAME_MAX: u32 = 9; +pub const _POSIX_SS_REPL_MAX: u32 = 4; +pub const _POSIX_SYMLINK_MAX: u32 = 255; +pub const _POSIX_SYMLOOP_MAX: u32 = 8; +pub const _POSIX_TRACE_EVENT_NAME_MAX: u32 = 30; +pub const _POSIX_TRACE_NAME_MAX: u32 = 8; +pub const _POSIX_TRACE_SYS_MAX: u32 = 8; +pub const _POSIX_TRACE_USER_EVENT_MAX: u32 = 32; +pub const _POSIX_TTY_NAME_MAX: u32 = 9; pub const _POSIX2_CHARCLASS_NAME_MAX: u32 = 14; -pub const BC_BASE_MAX: u32 = 99; -pub const BC_DIM_MAX: u32 = 2048; -pub const BC_SCALE_MAX: u32 = 99; -pub const BC_STRING_MAX: u32 = 1000; -pub const COLL_WEIGHTS_MAX: u32 = 255; -pub const EXPR_NEST_MAX: u32 = 32; -pub const LINE_MAX: u32 = 2048; -pub const CHARCLASS_NAME_MAX: u32 = 2048; -pub const RE_DUP_MAX: u32 = 32767; +pub const _POSIX2_COLL_WEIGHTS_MAX: u32 = 2; +pub const _POSIX_RE_DUP_MAX: u32 = 255; +pub const OFF_MIN: i64 = -9223372036854775808; +pub const OFF_MAX: u64 = 9223372036854775807; +pub const PASS_MAX: u32 = 128; +pub const NL_ARGMAX: u32 = 9; +pub const NL_LANGMAX: u32 = 14; +pub const NL_MSGMAX: u32 = 32767; +pub const NL_NMAX: u32 = 1; +pub const NL_SETMAX: u32 = 255; +pub const NL_TEXTMAX: u32 = 2048; +pub const _XOPEN_IOV_MAX: u32 = 16; +pub const IOV_MAX: u32 = 1024; +pub const _XOPEN_NAME_MAX: u32 = 255; +pub const _XOPEN_PATH_MAX: u32 = 1024; pub const DSM_IMPL_NONE: u32 = 0; pub const DSM_IMPL_POSIX: u32 = 1; pub const DSM_IMPL_SYSV: u32 = 2; @@ -1392,136 +1949,155 @@ pub const ShareRowExclusiveLock: u32 = 6; pub const ExclusiveLock: u32 = 7; pub const AccessExclusiveLock: u32 = 8; pub const BITS_PER_BITMAPWORD: u32 = 32; -pub const _FCNTL_H: u32 = 1; -pub const __O_LARGEFILE: u32 = 0; -pub const F_GETLK64: u32 = 5; -pub const F_SETLK64: u32 = 6; -pub const F_SETLKW64: u32 = 7; -pub const O_ACCMODE: u32 = 3; pub const O_RDONLY: u32 = 0; pub const O_WRONLY: u32 = 1; pub const O_RDWR: u32 = 2; -pub const O_CREAT: u32 = 64; -pub const O_EXCL: u32 = 128; -pub const O_NOCTTY: u32 = 256; -pub const O_TRUNC: u32 = 512; -pub const O_APPEND: u32 = 1024; -pub const O_NONBLOCK: u32 = 2048; -pub const O_NDELAY: u32 = 2048; -pub const O_SYNC: u32 = 1052672; -pub const O_FSYNC: u32 = 1052672; -pub const O_ASYNC: u32 = 8192; -pub const __O_DIRECTORY: u32 = 65536; -pub const __O_NOFOLLOW: u32 = 131072; -pub const __O_CLOEXEC: u32 = 524288; -pub const __O_DIRECT: u32 = 16384; -pub const __O_NOATIME: u32 = 262144; -pub const __O_PATH: u32 = 2097152; -pub const __O_DSYNC: u32 = 4096; -pub const __O_TMPFILE: u32 = 4259840; -pub const F_GETLK: u32 = 5; -pub const F_SETLK: u32 = 6; -pub const F_SETLKW: u32 = 7; -pub const O_DIRECTORY: u32 = 65536; -pub const O_NOFOLLOW: u32 = 131072; -pub const O_CLOEXEC: u32 = 524288; -pub const O_DSYNC: u32 = 4096; -pub const O_RSYNC: u32 = 1052672; +pub const O_ACCMODE: u32 = 3; +pub const FREAD: u32 = 1; +pub const FWRITE: u32 = 2; +pub const O_NONBLOCK: u32 = 4; +pub const O_APPEND: u32 = 8; +pub const O_SYNC: u32 = 128; +pub const O_SHLOCK: u32 = 16; +pub const O_EXLOCK: u32 = 32; +pub const O_ASYNC: u32 = 64; +pub const O_FSYNC: u32 = 128; +pub const O_NOFOLLOW: u32 = 256; +pub const O_CREAT: u32 = 512; +pub const O_TRUNC: u32 = 1024; +pub const O_EXCL: u32 = 2048; +pub const O_EVTONLY: u32 = 32768; +pub const O_NOCTTY: u32 = 131072; +pub const O_DIRECTORY: u32 = 1048576; +pub const O_SYMLINK: u32 = 2097152; +pub const O_DSYNC: u32 = 4194304; +pub const O_CLOEXEC: u32 = 16777216; +pub const O_NOFOLLOW_ANY: u32 = 536870912; +pub const AT_FDCWD: i32 = -2; +pub const AT_EACCESS: u32 = 16; +pub const AT_SYMLINK_NOFOLLOW: u32 = 32; +pub const AT_SYMLINK_FOLLOW: u32 = 64; +pub const AT_REMOVEDIR: u32 = 128; +pub const AT_REALDEV: u32 = 512; +pub const AT_FDONLY: u32 = 1024; +pub const AT_SYMLINK_NOFOLLOW_ANY: u32 = 2048; +pub const O_DP_GETRAWENCRYPTED: u32 = 1; +pub const O_DP_GETRAWUNENCRYPTED: u32 = 2; +pub const FAPPEND: u32 = 8; +pub const FASYNC: u32 = 64; +pub const FFSYNC: u32 = 128; +pub const FFDSYNC: u32 = 4194304; +pub const FNONBLOCK: u32 = 4; +pub const FNDELAY: u32 = 4; +pub const O_NDELAY: u32 = 4; +pub const CPF_OVERWRITE: u32 = 1; +pub const CPF_IGNORE_MODE: u32 = 2; +pub const CPF_MASK: u32 = 3; pub const F_DUPFD: u32 = 0; pub const F_GETFD: u32 = 1; pub const F_SETFD: u32 = 2; pub const F_GETFL: u32 = 3; pub const F_SETFL: u32 = 4; -pub const __F_SETOWN: u32 = 8; -pub const __F_GETOWN: u32 = 9; -pub const F_SETOWN: u32 = 8; -pub const F_GETOWN: u32 = 9; -pub const __F_SETSIG: u32 = 10; -pub const __F_GETSIG: u32 = 11; -pub const __F_SETOWN_EX: u32 = 15; -pub const __F_GETOWN_EX: u32 = 16; -pub const F_DUPFD_CLOEXEC: u32 = 1030; +pub const F_GETOWN: u32 = 5; +pub const F_SETOWN: u32 = 6; +pub const F_GETLK: u32 = 7; +pub const F_SETLK: u32 = 8; +pub const F_SETLKW: u32 = 9; +pub const F_SETLKWTIMEOUT: u32 = 10; +pub const F_FLUSH_DATA: u32 = 40; +pub const F_CHKCLEAN: u32 = 41; +pub const F_PREALLOCATE: u32 = 42; +pub const F_SETSIZE: u32 = 43; +pub const F_RDADVISE: u32 = 44; +pub const F_RDAHEAD: u32 = 45; +pub const F_NOCACHE: u32 = 48; +pub const F_LOG2PHYS: u32 = 49; +pub const F_GETPATH: u32 = 50; +pub const F_FULLFSYNC: u32 = 51; +pub const F_PATHPKG_CHECK: u32 = 52; +pub const F_FREEZE_FS: u32 = 53; +pub const F_THAW_FS: u32 = 54; +pub const F_GLOBAL_NOCACHE: u32 = 55; +pub const F_ADDSIGS: u32 = 59; +pub const F_ADDFILESIGS: u32 = 61; +pub const F_NODIRECT: u32 = 62; +pub const F_GETPROTECTIONCLASS: u32 = 63; +pub const F_SETPROTECTIONCLASS: u32 = 64; +pub const F_LOG2PHYS_EXT: u32 = 65; +pub const F_GETLKPID: u32 = 66; +pub const F_SETBACKINGSTORE: u32 = 70; +pub const F_GETPATH_MTMINFO: u32 = 71; +pub const F_GETCODEDIR: u32 = 72; +pub const F_SETNOSIGPIPE: u32 = 73; +pub const F_GETNOSIGPIPE: u32 = 74; +pub const F_TRANSCODEKEY: u32 = 75; +pub const F_SINGLE_WRITER: u32 = 76; +pub const F_GETPROTECTIONLEVEL: u32 = 77; +pub const F_FINDSIGS: u32 = 78; +pub const F_ADDFILESIGS_FOR_DYLD_SIM: u32 = 83; +pub const F_BARRIERFSYNC: u32 = 85; +pub const F_ADDFILESIGS_RETURN: u32 = 97; +pub const F_CHECK_LV: u32 = 98; +pub const F_PUNCHHOLE: u32 = 99; +pub const F_TRIM_ACTIVE_FILE: u32 = 100; +pub const F_SPECULATIVE_READ: u32 = 101; +pub const F_GETPATH_NOFIRMLINK: u32 = 102; +pub const F_ADDFILESIGS_INFO: u32 = 103; +pub const F_ADDFILESUPPL: u32 = 104; +pub const F_GETSIGSINFO: u32 = 105; +pub const F_FSRESERVED: u32 = 106; +pub const FCNTL_FS_SPECIFIC_BASE: u32 = 65536; +pub const F_DUPFD_CLOEXEC: u32 = 67; pub const FD_CLOEXEC: u32 = 1; -pub const F_RDLCK: u32 = 0; -pub const F_WRLCK: u32 = 1; +pub const F_RDLCK: u32 = 1; pub const F_UNLCK: u32 = 2; -pub const F_EXLCK: u32 = 4; -pub const F_SHLCK: u32 = 8; -pub const LOCK_SH: u32 = 1; -pub const LOCK_EX: u32 = 2; -pub const LOCK_NB: u32 = 4; -pub const LOCK_UN: u32 = 8; -pub const FAPPEND: u32 = 1024; -pub const FFSYNC: u32 = 1052672; -pub const FASYNC: u32 = 8192; -pub const FNONBLOCK: u32 = 2048; -pub const FNDELAY: u32 = 2048; -pub const __POSIX_FADV_DONTNEED: u32 = 4; -pub const __POSIX_FADV_NOREUSE: u32 = 5; -pub const POSIX_FADV_NORMAL: u32 = 0; -pub const POSIX_FADV_RANDOM: u32 = 1; -pub const POSIX_FADV_SEQUENTIAL: u32 = 2; -pub const POSIX_FADV_WILLNEED: u32 = 3; -pub const POSIX_FADV_DONTNEED: u32 = 4; -pub const POSIX_FADV_NOREUSE: u32 = 5; -pub const AT_FDCWD: i32 = -100; -pub const AT_SYMLINK_NOFOLLOW: u32 = 256; -pub const AT_REMOVEDIR: u32 = 512; -pub const AT_SYMLINK_FOLLOW: u32 = 1024; -pub const AT_EACCESS: u32 = 512; -pub const _BITS_STAT_H: u32 = 1; -pub const _BITS_STRUCT_STAT_H: u32 = 1; -pub const __S_IFMT: u32 = 61440; -pub const __S_IFDIR: u32 = 16384; -pub const __S_IFCHR: u32 = 8192; -pub const __S_IFBLK: u32 = 24576; -pub const __S_IFREG: u32 = 32768; -pub const __S_IFIFO: u32 = 4096; -pub const __S_IFLNK: u32 = 40960; -pub const __S_IFSOCK: u32 = 49152; -pub const __S_ISUID: u32 = 2048; -pub const __S_ISGID: u32 = 1024; -pub const __S_ISVTX: u32 = 512; -pub const __S_IREAD: u32 = 256; -pub const __S_IWRITE: u32 = 128; -pub const __S_IEXEC: u32 = 64; -pub const UTIME_NOW: u32 = 1073741823; -pub const UTIME_OMIT: u32 = 1073741822; +pub const F_WRLCK: u32 = 3; +pub const SEEK_HOLE: u32 = 3; +pub const SEEK_DATA: u32 = 4; pub const S_IFMT: u32 = 61440; -pub const S_IFDIR: u32 = 16384; +pub const S_IFIFO: u32 = 4096; pub const S_IFCHR: u32 = 8192; +pub const S_IFDIR: u32 = 16384; pub const S_IFBLK: u32 = 24576; pub const S_IFREG: u32 = 32768; -pub const S_IFIFO: u32 = 4096; pub const S_IFLNK: u32 = 40960; pub const S_IFSOCK: u32 = 49152; -pub const S_ISUID: u32 = 2048; -pub const S_ISGID: u32 = 1024; -pub const S_ISVTX: u32 = 512; +pub const S_IFWHT: u32 = 57344; +pub const S_IRWXU: u32 = 448; pub const S_IRUSR: u32 = 256; pub const S_IWUSR: u32 = 128; pub const S_IXUSR: u32 = 64; -pub const S_IRWXU: u32 = 448; +pub const S_IRWXG: u32 = 56; pub const S_IRGRP: u32 = 32; pub const S_IWGRP: u32 = 16; pub const S_IXGRP: u32 = 8; -pub const S_IRWXG: u32 = 56; +pub const S_IRWXO: u32 = 7; pub const S_IROTH: u32 = 4; pub const S_IWOTH: u32 = 2; pub const S_IXOTH: u32 = 1; -pub const S_IRWXO: u32 = 7; -pub const R_OK: u32 = 4; -pub const W_OK: u32 = 2; -pub const X_OK: u32 = 1; -pub const F_OK: u32 = 0; -pub const F_ULOCK: u32 = 0; -pub const F_LOCK: u32 = 1; -pub const F_TLOCK: u32 = 2; -pub const F_TEST: u32 = 3; +pub const S_ISUID: u32 = 2048; +pub const S_ISGID: u32 = 1024; +pub const S_ISVTX: u32 = 512; +pub const S_ISTXT: u32 = 512; +pub const S_IREAD: u32 = 256; +pub const S_IWRITE: u32 = 128; +pub const S_IEXEC: u32 = 64; +pub const F_ALLOCATECONTIG: u32 = 2; +pub const F_ALLOCATEALL: u32 = 4; +pub const F_PEOFPOSMODE: u32 = 3; +pub const F_VOLPOSMODE: u32 = 4; +pub const USER_FSIGNATURES_CDHASH_LEN: u32 = 20; +pub const GETSIGSINFO_PLATFORM_BINARY: u32 = 1; +pub const LOCK_SH: u32 = 1; +pub const LOCK_EX: u32 = 2; +pub const LOCK_NB: u32 = 4; +pub const LOCK_UN: u32 = 8; +pub const O_POPUP: u32 = 2147483648; +pub const O_ALERT: u32 = 536870912; pub const InvalidXLogRecPtr: u32 = 0; pub const PG_O_DIRECT: u32 = 0; -pub const OPEN_SYNC_FLAG: u32 = 1052672; -pub const OPEN_DATASYNC_FLAG: u32 = 4096; +pub const OPEN_SYNC_FLAG: u32 = 128; +pub const OPEN_DATASYNC_FLAG: u32 = 4194304; pub const MAX_TIMESTAMP_PRECISION: u32 = 6; pub const MAX_INTERVAL_PRECISION: u32 = 6; pub const TS_PREC_INV: f64 = 1000000.0; @@ -1565,24 +2141,7 @@ pub const HEAP_INSERT_SKIP_FSM: u32 = 2; pub const HEAP_INSERT_FROZEN: u32 = 4; pub const HEAP_INSERT_SPECULATIVE: u32 = 8; pub const HEAP_INSERT_NO_LOGICAL: u32 = 16; -pub const _TIME_H: u32 = 1; -pub const _BITS_TIME_H: u32 = 1; -pub const CLOCK_REALTIME: u32 = 0; -pub const CLOCK_MONOTONIC: u32 = 1; -pub const CLOCK_PROCESS_CPUTIME_ID: u32 = 2; -pub const CLOCK_THREAD_CPUTIME_ID: u32 = 3; -pub const CLOCK_MONOTONIC_RAW: u32 = 4; -pub const CLOCK_REALTIME_COARSE: u32 = 5; -pub const CLOCK_MONOTONIC_COARSE: u32 = 6; -pub const CLOCK_BOOTTIME: u32 = 7; -pub const CLOCK_REALTIME_ALARM: u32 = 8; -pub const CLOCK_BOOTTIME_ALARM: u32 = 9; -pub const CLOCK_TAI: u32 = 11; -pub const TIMER_ABSTIME: u32 = 1; -pub const __struct_tm_defined: u32 = 1; -pub const __itimerspec_defined: u32 = 1; pub const TIME_UTC: u32 = 1; -pub const PG_INSTR_CLOCK: u32 = 1; pub const PARAM_FLAG_CONST: u32 = 1; pub const HASH_PARTITION: u32 = 1; pub const HASH_SEGMENT: u32 = 2; @@ -1658,6 +2217,7 @@ pub const CURSOR_OPT_FAST_PLAN: u32 = 32; pub const CURSOR_OPT_GENERIC_PLAN: u32 = 64; pub const CURSOR_OPT_CUSTOM_PLAN: u32 = 128; pub const CURSOR_OPT_PARALLEL_OK: u32 = 256; +pub const FETCH_ALL: u64 = 9223372036854775807; pub const REINDEXOPT_VERBOSE: u32 = 1; pub const FORKNAMECHARS: u32 = 4; pub const InvalidBackendId: i32 = -1; @@ -1685,9 +2245,25 @@ pub const XLR_MAX_BLOCK_ID: u32 = 32; pub const XLR_BLOCK_ID_DATA_SHORT: u32 = 255; pub const XLR_BLOCK_ID_DATA_LONG: u32 = 254; pub const XLR_BLOCK_ID_ORIGIN: u32 = 253; -pub const _DIRENT_H: u32 = 1; -pub const _DIRENT_MATCHES_DIRENT64: u32 = 1; +pub const __DARWIN_MAXNAMLEN: u32 = 255; +pub const __DARWIN_MAXPATHLEN: u32 = 1024; pub const MAXNAMLEN: u32 = 255; +pub const DT_UNKNOWN: u32 = 0; +pub const DT_FIFO: u32 = 1; +pub const DT_CHR: u32 = 2; +pub const DT_DIR: u32 = 4; +pub const DT_BLK: u32 = 6; +pub const DT_REG: u32 = 8; +pub const DT_LNK: u32 = 10; +pub const DT_SOCK: u32 = 12; +pub const DT_WHT: u32 = 14; +pub const DIRBLKSIZ: u32 = 1024; +pub const DTF_HIDEW: u32 = 1; +pub const DTF_NODUP: u32 = 2; +pub const DTF_REWIND: u32 = 4; +pub const __DTF_READALL: u32 = 8; +pub const __DTF_SKIPREAD: u32 = 16; +pub const __DTF_ATEND: u32 = 32; pub const PG_TEMP_FILES_DIR: &[u8; 10usize] = b"pgsql_tmp\0"; pub const PG_TEMP_FILE_PREFIX: &[u8; 10usize] = b"pgsql_tmp\0"; pub const SYNC_METHOD_FSYNC: u32 = 0; @@ -1835,85 +2411,6 @@ pub const EXEC_FLAG_SKIP_TRIGGERS: u32 = 16; pub const EXEC_FLAG_WITH_OIDS: u32 = 32; pub const EXEC_FLAG_WITHOUT_OIDS: u32 = 64; pub const EXEC_FLAG_WITH_NO_DATA: u32 = 128; -pub const _BITS_SIGNUM_GENERIC_H: u32 = 1; -pub const SIGINT: u32 = 2; -pub const SIGILL: u32 = 4; -pub const SIGABRT: u32 = 6; -pub const SIGFPE: u32 = 8; -pub const SIGSEGV: u32 = 11; -pub const SIGTERM: u32 = 15; -pub const SIGHUP: u32 = 1; -pub const SIGQUIT: u32 = 3; -pub const SIGTRAP: u32 = 5; -pub const SIGKILL: u32 = 9; -pub const SIGPIPE: u32 = 13; -pub const SIGALRM: u32 = 14; -pub const SIGIOT: u32 = 6; -pub const _BITS_SIGNUM_ARCH_H: u32 = 1; -pub const SIGSTKFLT: u32 = 16; -pub const SIGPWR: u32 = 30; -pub const SIGBUS: u32 = 7; -pub const SIGSYS: u32 = 31; -pub const SIGURG: u32 = 23; -pub const SIGSTOP: u32 = 19; -pub const SIGTSTP: u32 = 20; -pub const SIGCONT: u32 = 18; -pub const SIGCHLD: u32 = 17; -pub const SIGTTIN: u32 = 21; -pub const SIGTTOU: u32 = 22; -pub const SIGPOLL: u32 = 29; -pub const SIGXFSZ: u32 = 25; -pub const SIGXCPU: u32 = 24; -pub const SIGVTALRM: u32 = 26; -pub const SIGPROF: u32 = 27; -pub const SIGUSR1: u32 = 10; -pub const SIGUSR2: u32 = 12; -pub const SIGWINCH: u32 = 28; -pub const SIGIO: u32 = 29; -pub const SIGCLD: u32 = 17; -pub const __SIGRTMIN: u32 = 32; -pub const __SIGRTMAX: u32 = 64; -pub const _NSIG: u32 = 65; -pub const __sig_atomic_t_defined: u32 = 1; -pub const __siginfo_t_defined: u32 = 1; -pub const __SI_MAX_SIZE: u32 = 128; -pub const _BITS_SIGINFO_ARCH_H: u32 = 1; -pub const __SI_ERRNO_THEN_CODE: u32 = 1; -pub const __SI_HAVE_SIGSYS: u32 = 1; -pub const _BITS_SIGINFO_CONSTS_H: u32 = 1; -pub const __SI_ASYNCIO_AFTER_SIGIO: u32 = 1; -pub const __sigevent_t_defined: u32 = 1; -pub const __SIGEV_MAX_SIZE: u32 = 64; -pub const _BITS_SIGEVENT_CONSTS_H: u32 = 1; -pub const NSIG: u32 = 65; -pub const _BITS_SIGACTION_H: u32 = 1; -pub const SA_NOCLDSTOP: u32 = 1; -pub const SA_NOCLDWAIT: u32 = 2; -pub const SA_SIGINFO: u32 = 4; -pub const SA_ONSTACK: u32 = 134217728; -pub const SA_RESTART: u32 = 268435456; -pub const SA_NODEFER: u32 = 1073741824; -pub const SA_RESETHAND: u32 = 2147483648; -pub const SA_INTERRUPT: u32 = 536870912; -pub const SA_NOMASK: u32 = 1073741824; -pub const SA_ONESHOT: u32 = 2147483648; -pub const SA_STACK: u32 = 134217728; -pub const SIG_BLOCK: u32 = 0; -pub const SIG_UNBLOCK: u32 = 1; -pub const SIG_SETMASK: u32 = 2; -pub const _BITS_SIGCONTEXT_H: u32 = 1; -pub const FP_XSTATE_MAGIC1: u32 = 1179670611; -pub const FP_XSTATE_MAGIC2: u32 = 1179670597; -pub const __stack_t_defined: u32 = 1; -pub const _SYS_UCONTEXT_H: u32 = 1; -pub const __NGREG: u32 = 23; -pub const NGREG: u32 = 23; -pub const _BITS_SIGSTACK_H: u32 = 1; -pub const MINSIGSTKSZ: u32 = 2048; -pub const SIGSTKSZ: u32 = 8192; -pub const _BITS_SS_FLAGS_H: u32 = 1; -pub const __sigstack_defined: u32 = 1; -pub const _BITS_SIGTHREAD_H: u32 = 1; pub const TZ_STRLEN_MAX: u32 = 255; pub const InvalidPid: i32 = -1; pub const USE_POSTGRES_DATES: u32 = 0; @@ -1932,7 +2429,13 @@ pub const MAXTZLEN: u32 = 10; pub const SECURITY_LOCAL_USERID_CHANGE: u32 = 1; pub const SECURITY_RESTRICTED_OPERATION: u32 = 2; pub const SECURITY_NOFORCE_RLS: u32 = 4; -pub const _SYS_UN_H: u32 = 1; +pub const SOL_LOCAL: u32 = 0; +pub const LOCAL_PEERCRED: u32 = 1; +pub const LOCAL_PEERPID: u32 = 2; +pub const LOCAL_PEEREPID: u32 = 3; +pub const LOCAL_PEERUUID: u32 = 4; +pub const LOCAL_PEEREUUID: u32 = 5; +pub const LOCAL_PEERTOKEN: u32 = 6; pub const SM_DATABASE: u32 = 64; pub const SM_USER: u32 = 32; pub const SM_DATABASE_USER: u32 = 97; @@ -2237,6 +2740,71 @@ pub const Natts_pg_enum: u32 = 3; pub const Anum_pg_enum_enumtypid: u32 = 1; pub const Anum_pg_enum_enumsortorder: u32 = 2; pub const Anum_pg_enum_enumlabel: u32 = 3; +pub const OperatorRelationId: u32 = 2617; +pub const Natts_pg_operator: u32 = 14; +pub const Anum_pg_operator_oprname: u32 = 1; +pub const Anum_pg_operator_oprnamespace: u32 = 2; +pub const Anum_pg_operator_oprowner: u32 = 3; +pub const Anum_pg_operator_oprkind: u32 = 4; +pub const Anum_pg_operator_oprcanmerge: u32 = 5; +pub const Anum_pg_operator_oprcanhash: u32 = 6; +pub const Anum_pg_operator_oprleft: u32 = 7; +pub const Anum_pg_operator_oprright: u32 = 8; +pub const Anum_pg_operator_oprresult: u32 = 9; +pub const Anum_pg_operator_oprcom: u32 = 10; +pub const Anum_pg_operator_oprnegate: u32 = 11; +pub const Anum_pg_operator_oprcode: u32 = 12; +pub const Anum_pg_operator_oprrest: u32 = 13; +pub const Anum_pg_operator_oprjoin: u32 = 14; +pub const BooleanNotEqualOperator: u32 = 85; +pub const BooleanEqualOperator: u32 = 91; +pub const Int4EqualOperator: u32 = 96; +pub const Int4LessOperator: u32 = 97; +pub const TextEqualOperator: u32 = 98; +pub const TIDEqualOperator: u32 = 387; +pub const TIDLessOperator: u32 = 2799; +pub const Int8LessOperator: u32 = 412; +pub const OID_NAME_REGEXEQ_OP: u32 = 639; +pub const OID_TEXT_REGEXEQ_OP: u32 = 641; +pub const Float8LessOperator: u32 = 672; +pub const OID_BPCHAR_REGEXEQ_OP: u32 = 1055; +pub const ARRAY_EQ_OP: u32 = 1070; +pub const ARRAY_LT_OP: u32 = 1072; +pub const ARRAY_GT_OP: u32 = 1073; +pub const OID_NAME_LIKE_OP: u32 = 1207; +pub const OID_TEXT_LIKE_OP: u32 = 1209; +pub const OID_BPCHAR_LIKE_OP: u32 = 1211; +pub const OID_NAME_ICREGEXEQ_OP: u32 = 1226; +pub const OID_TEXT_ICREGEXEQ_OP: u32 = 1228; +pub const OID_BPCHAR_ICREGEXEQ_OP: u32 = 1234; +pub const OID_INET_SUB_OP: u32 = 931; +pub const OID_INET_SUBEQ_OP: u32 = 932; +pub const OID_INET_SUP_OP: u32 = 933; +pub const OID_INET_SUPEQ_OP: u32 = 934; +pub const OID_INET_OVERLAP_OP: u32 = 3552; +pub const OID_NAME_ICLIKE_OP: u32 = 1625; +pub const OID_TEXT_ICLIKE_OP: u32 = 1627; +pub const OID_BPCHAR_ICLIKE_OP: u32 = 1629; +pub const OID_BYTEA_LIKE_OP: u32 = 2016; +pub const OID_ARRAY_OVERLAP_OP: u32 = 2750; +pub const OID_ARRAY_CONTAINS_OP: u32 = 2751; +pub const OID_ARRAY_CONTAINED_OP: u32 = 2752; +pub const RECORD_EQ_OP: u32 = 2988; +pub const RECORD_LT_OP: u32 = 2990; +pub const RECORD_GT_OP: u32 = 2991; +pub const OID_RANGE_LESS_OP: u32 = 3884; +pub const OID_RANGE_LESS_EQUAL_OP: u32 = 3885; +pub const OID_RANGE_GREATER_EQUAL_OP: u32 = 3886; +pub const OID_RANGE_GREATER_OP: u32 = 3887; +pub const OID_RANGE_OVERLAP_OP: u32 = 3888; +pub const OID_RANGE_CONTAINS_ELEM_OP: u32 = 3889; +pub const OID_RANGE_CONTAINS_OP: u32 = 3890; +pub const OID_RANGE_ELEM_CONTAINED_OP: u32 = 3891; +pub const OID_RANGE_CONTAINED_OP: u32 = 3892; +pub const OID_RANGE_LEFT_OP: u32 = 3893; +pub const OID_RANGE_RIGHT_OP: u32 = 3894; +pub const OID_RANGE_OVERLAPS_LEFT_OP: u32 = 3895; +pub const OID_RANGE_OVERLAPS_RIGHT_OP: u32 = 3896; pub const ProcedureRelationId: u32 = 1255; pub const ProcedureRelation_Rowtype_Id: u32 = 81; pub const Natts_pg_proc: u32 = 29; @@ -2658,6 +3226,7 @@ pub const PROCARRAY_FLAGS_DEFAULT: u32 = 16; pub const PROCARRAY_FLAGS_VACUUM: u32 = 18; pub const PROCARRAY_FLAGS_ANALYZE: u32 = 20; pub const PROCARRAY_FLAGS_VACUUM_ANALYZE: u32 = 22; +pub const MAX_KILOBYTES: u32 = 2147483647; pub const PG_AUTOCONF_FILENAME: &[u8; 21usize] = b"postgresql.auto.conf\0"; pub const GUC_QUALIFIER_SEPARATOR: u8 = 46u8; pub const GUC_LIST_INPUT: u32 = 1; @@ -2716,18 +3285,14 @@ pub const TSearchWithClassStrategyNumber: u32 = 2; pub const QTN_NEEDFREE: u32 = 1; pub const QTN_NOCHANGE: u32 = 2; pub const QTN_WORDFREE: u32 = 4; -pub const _MATH_H: u32 = 1; -pub const _BITS_LIBM_SIMD_DECL_STUBS_H: u32 = 1; -pub const __FP_LOGB0_IS_MIN: u32 = 1; -pub const __FP_LOGBNAN_IS_MIN: u32 = 1; +pub const FP_SUPERNORMAL: u32 = 6; +pub const FP_FAST_FMA: u32 = 1; +pub const FP_FAST_FMAF: u32 = 1; +pub const FP_FAST_FMAL: u32 = 1; pub const FP_ILOGB0: i32 = -2147483648; pub const FP_ILOGBNAN: i32 = -2147483648; -pub const __MATH_DECLARING_DOUBLE: u32 = 1; -pub const __MATH_DECLARING_FLOATN: u32 = 0; -pub const __MATH_DECLARE_LDOUBLE: u32 = 1; pub const MATH_ERRNO: u32 = 1; pub const MATH_ERREXCEPT: u32 = 2; -pub const math_errhandling: u32 = 3; pub const M_E: f64 = 2.718281828459045; pub const M_LOG2E: f64 = 1.4426950408889634; pub const M_LOG10E: f64 = 0.4342944819032518; @@ -2741,6 +3306,12 @@ pub const M_2_PI: f64 = 0.6366197723675814; pub const M_2_SQRTPI: f64 = 1.1283791670955126; pub const M_SQRT2: f64 = 1.4142135623730951; pub const M_SQRT1_2: f64 = 0.7071067811865476; +pub const DOMAIN: u32 = 1; +pub const SING: u32 = 2; +pub const OVERFLOW: u32 = 3; +pub const UNDERFLOW: u32 = 4; +pub const TLOSS: u32 = 5; +pub const PLOSS: u32 = 6; pub const MAX_TIME_PRECISION: u32 = 6; pub const NUMERIC_MAX_PRECISION: u32 = 1000; pub const NUMERIC_MAX_DISPLAY_SCALE: u32 = 1000; @@ -2796,88 +3367,71 @@ pub const TYPECACHE_RANGE_INFO: u32 = 2048; pub const TYPECACHE_DOMAIN_INFO: u32 = 4096; pub type Oid = ::std::os::raw::c_uint; pub type pg_int64 = ::std::os::raw::c_long; -pub type va_list = __builtin_va_list; -pub type __gnuc_va_list = __builtin_va_list; -pub type __u_char = ::std::os::raw::c_uchar; -pub type __u_short = ::std::os::raw::c_ushort; -pub type __u_int = ::std::os::raw::c_uint; -pub type __u_long = ::std::os::raw::c_ulong; pub type __int8_t = ::std::os::raw::c_schar; pub type __uint8_t = ::std::os::raw::c_uchar; pub type __int16_t = ::std::os::raw::c_short; pub type __uint16_t = ::std::os::raw::c_ushort; pub type __int32_t = ::std::os::raw::c_int; pub type __uint32_t = ::std::os::raw::c_uint; -pub type __int64_t = ::std::os::raw::c_long; -pub type __uint64_t = ::std::os::raw::c_ulong; -pub type __int_least8_t = __int8_t; -pub type __uint_least8_t = __uint8_t; -pub type __int_least16_t = __int16_t; -pub type __uint_least16_t = __uint16_t; -pub type __int_least32_t = __int32_t; -pub type __uint_least32_t = __uint32_t; -pub type __int_least64_t = __int64_t; -pub type __uint_least64_t = __uint64_t; -pub type __quad_t = ::std::os::raw::c_long; -pub type __u_quad_t = ::std::os::raw::c_ulong; -pub type __intmax_t = ::std::os::raw::c_long; -pub type __uintmax_t = ::std::os::raw::c_ulong; -pub type __dev_t = ::std::os::raw::c_ulong; -pub type __uid_t = ::std::os::raw::c_uint; -pub type __gid_t = ::std::os::raw::c_uint; -pub type __ino_t = ::std::os::raw::c_ulong; -pub type __ino64_t = ::std::os::raw::c_ulong; -pub type __mode_t = ::std::os::raw::c_uint; -pub type __nlink_t = ::std::os::raw::c_ulong; -pub type __off_t = ::std::os::raw::c_long; -pub type __off64_t = ::std::os::raw::c_long; -pub type __pid_t = ::std::os::raw::c_int; -#[repr(C)] -#[derive(Debug, Default, Copy, Clone)] -pub struct __fsid_t { - pub __val: [::std::os::raw::c_int; 2usize], -} -pub type __clock_t = ::std::os::raw::c_long; -pub type __rlim_t = ::std::os::raw::c_ulong; -pub type __rlim64_t = ::std::os::raw::c_ulong; -pub type __id_t = ::std::os::raw::c_uint; -pub type __time_t = ::std::os::raw::c_long; -pub type __useconds_t = ::std::os::raw::c_uint; -pub type __suseconds_t = ::std::os::raw::c_long; -pub type __suseconds64_t = ::std::os::raw::c_long; -pub type __daddr_t = ::std::os::raw::c_int; -pub type __key_t = ::std::os::raw::c_int; -pub type __clockid_t = ::std::os::raw::c_int; -pub type __timer_t = *mut ::std::os::raw::c_void; -pub type __blksize_t = ::std::os::raw::c_long; -pub type __blkcnt_t = ::std::os::raw::c_long; -pub type __blkcnt64_t = ::std::os::raw::c_long; -pub type __fsblkcnt_t = ::std::os::raw::c_ulong; -pub type __fsblkcnt64_t = ::std::os::raw::c_ulong; -pub type __fsfilcnt_t = ::std::os::raw::c_ulong; -pub type __fsfilcnt64_t = ::std::os::raw::c_ulong; -pub type __fsword_t = ::std::os::raw::c_long; -pub type __ssize_t = ::std::os::raw::c_long; -pub type __syscall_slong_t = ::std::os::raw::c_long; -pub type __syscall_ulong_t = ::std::os::raw::c_ulong; -pub type __loff_t = __off64_t; -pub type __caddr_t = *mut ::std::os::raw::c_char; -pub type __intptr_t = ::std::os::raw::c_long; -pub type __socklen_t = ::std::os::raw::c_uint; -pub type __sig_atomic_t = ::std::os::raw::c_int; +pub type __int64_t = ::std::os::raw::c_longlong; +pub type __uint64_t = ::std::os::raw::c_ulonglong; +pub type __darwin_intptr_t = ::std::os::raw::c_long; +pub type __darwin_natural_t = ::std::os::raw::c_uint; +pub type __darwin_ct_rune_t = ::std::os::raw::c_int; #[repr(C)] #[derive(Copy, Clone)] -pub struct __mbstate_t { - pub __count: ::std::os::raw::c_int, - pub __value: __mbstate_t__bindgen_ty_1, +pub union __mbstate_t { + pub __mbstate8: [::std::os::raw::c_char; 128usize], + pub _mbstateL: ::std::os::raw::c_longlong, } +impl Default for __mbstate_t { + fn default() -> Self { + let mut s = ::std::mem::MaybeUninit::::uninit(); + unsafe { + ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); + s.assume_init() + } + } +} +pub type __darwin_mbstate_t = __mbstate_t; +pub type __darwin_ptrdiff_t = ::std::os::raw::c_long; +pub type __darwin_size_t = ::std::os::raw::c_ulong; +pub type __darwin_va_list = __builtin_va_list; +pub type __darwin_wchar_t = ::std::os::raw::c_int; +pub type __darwin_rune_t = __darwin_wchar_t; +pub type __darwin_wint_t = ::std::os::raw::c_int; +pub type __darwin_clock_t = ::std::os::raw::c_ulong; +pub type __darwin_socklen_t = __uint32_t; +pub type __darwin_ssize_t = ::std::os::raw::c_long; +pub type __darwin_time_t = ::std::os::raw::c_long; +pub type __darwin_blkcnt_t = __int64_t; +pub type __darwin_blksize_t = __int32_t; +pub type __darwin_dev_t = __int32_t; +pub type __darwin_fsblkcnt_t = ::std::os::raw::c_uint; +pub type __darwin_fsfilcnt_t = ::std::os::raw::c_uint; +pub type __darwin_gid_t = __uint32_t; +pub type __darwin_id_t = __uint32_t; +pub type __darwin_ino64_t = __uint64_t; +pub type __darwin_ino_t = __darwin_ino64_t; +pub type __darwin_mach_port_name_t = __darwin_natural_t; +pub type __darwin_mach_port_t = __darwin_mach_port_name_t; +pub type __darwin_mode_t = __uint16_t; +pub type __darwin_off_t = __int64_t; +pub type __darwin_pid_t = __int32_t; +pub type __darwin_sigset_t = __uint32_t; +pub type __darwin_suseconds_t = __int32_t; +pub type __darwin_uid_t = __uint32_t; +pub type __darwin_useconds_t = __uint32_t; +pub type __darwin_uuid_t = [::std::os::raw::c_uchar; 16usize]; +pub type __darwin_uuid_string_t = [::std::os::raw::c_char; 37usize]; #[repr(C)] -#[derive(Copy, Clone)] -pub union __mbstate_t__bindgen_ty_1 { - pub __wch: ::std::os::raw::c_uint, - pub __wchb: [::std::os::raw::c_char; 4usize], +#[derive(Debug, Copy, Clone)] +pub struct __darwin_pthread_handler_rec { + pub __routine: ::std::option::Option, + pub __arg: *mut ::std::os::raw::c_void, + pub __next: *mut __darwin_pthread_handler_rec, } -impl Default for __mbstate_t__bindgen_ty_1 { +impl Default for __darwin_pthread_handler_rec { fn default() -> Self { let mut s = ::std::mem::MaybeUninit::::uninit(); unsafe { @@ -2886,7 +3440,13 @@ impl Default for __mbstate_t__bindgen_ty_1 { } } } -impl Default for __mbstate_t { +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _opaque_pthread_attr_t { + pub __sig: ::std::os::raw::c_long, + pub __opaque: [::std::os::raw::c_char; 56usize], +} +impl Default for _opaque_pthread_attr_t { fn default() -> Self { let mut s = ::std::mem::MaybeUninit::::uninit(); unsafe { @@ -2896,12 +3456,12 @@ impl Default for __mbstate_t { } } #[repr(C)] -#[derive(Copy, Clone)] -pub struct _G_fpos_t { - pub __pos: __off_t, - pub __state: __mbstate_t, +#[derive(Debug, Copy, Clone)] +pub struct _opaque_pthread_cond_t { + pub __sig: ::std::os::raw::c_long, + pub __opaque: [::std::os::raw::c_char; 40usize], } -impl Default for _G_fpos_t { +impl Default for _opaque_pthread_cond_t { fn default() -> Self { let mut s = ::std::mem::MaybeUninit::::uninit(); unsafe { @@ -2910,14 +3470,19 @@ impl Default for _G_fpos_t { } } } -pub type __fpos_t = _G_fpos_t; #[repr(C)] -#[derive(Copy, Clone)] -pub struct _G_fpos64_t { - pub __pos: __off64_t, - pub __state: __mbstate_t, +#[derive(Debug, Default, Copy, Clone)] +pub struct _opaque_pthread_condattr_t { + pub __sig: ::std::os::raw::c_long, + pub __opaque: [::std::os::raw::c_char; 8usize], } -impl Default for _G_fpos64_t { +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _opaque_pthread_mutex_t { + pub __sig: ::std::os::raw::c_long, + pub __opaque: [::std::os::raw::c_char; 56usize], +} +impl Default for _opaque_pthread_mutex_t { fn default() -> Self { let mut s = ::std::mem::MaybeUninit::::uninit(); unsafe { @@ -2926,59 +3491,175 @@ impl Default for _G_fpos64_t { } } } -pub type __fpos64_t = _G_fpos64_t; -pub type __FILE = _IO_FILE; -pub type FILE = _IO_FILE; +#[repr(C)] +#[derive(Debug, Default, Copy, Clone)] +pub struct _opaque_pthread_mutexattr_t { + pub __sig: ::std::os::raw::c_long, + pub __opaque: [::std::os::raw::c_char; 8usize], +} +#[repr(C)] +#[derive(Debug, Default, Copy, Clone)] +pub struct _opaque_pthread_once_t { + pub __sig: ::std::os::raw::c_long, + pub __opaque: [::std::os::raw::c_char; 8usize], +} #[repr(C)] #[derive(Debug, Copy, Clone)] -pub struct _IO_marker { - _unused: [u8; 0], +pub struct _opaque_pthread_rwlock_t { + pub __sig: ::std::os::raw::c_long, + pub __opaque: [::std::os::raw::c_char; 192usize], +} +impl Default for _opaque_pthread_rwlock_t { + fn default() -> Self { + let mut s = ::std::mem::MaybeUninit::::uninit(); + unsafe { + ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); + s.assume_init() + } + } +} +#[repr(C)] +#[derive(Debug, Default, Copy, Clone)] +pub struct _opaque_pthread_rwlockattr_t { + pub __sig: ::std::os::raw::c_long, + pub __opaque: [::std::os::raw::c_char; 16usize], } #[repr(C)] #[derive(Debug, Copy, Clone)] -pub struct _IO_codecvt { - _unused: [u8; 0], +pub struct _opaque_pthread_t { + pub __sig: ::std::os::raw::c_long, + pub __cleanup_stack: *mut __darwin_pthread_handler_rec, + pub __opaque: [::std::os::raw::c_char; 8176usize], +} +impl Default for _opaque_pthread_t { + fn default() -> Self { + let mut s = ::std::mem::MaybeUninit::::uninit(); + unsafe { + ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); + s.assume_init() + } + } +} +pub type __darwin_pthread_attr_t = _opaque_pthread_attr_t; +pub type __darwin_pthread_cond_t = _opaque_pthread_cond_t; +pub type __darwin_pthread_condattr_t = _opaque_pthread_condattr_t; +pub type __darwin_pthread_key_t = ::std::os::raw::c_ulong; +pub type __darwin_pthread_mutex_t = _opaque_pthread_mutex_t; +pub type __darwin_pthread_mutexattr_t = _opaque_pthread_mutexattr_t; +pub type __darwin_pthread_once_t = _opaque_pthread_once_t; +pub type __darwin_pthread_rwlock_t = _opaque_pthread_rwlock_t; +pub type __darwin_pthread_rwlockattr_t = _opaque_pthread_rwlockattr_t; +pub type __darwin_pthread_t = *mut _opaque_pthread_t; +pub type __darwin_nl_item = ::std::os::raw::c_int; +pub type __darwin_wctrans_t = ::std::os::raw::c_int; +pub type __darwin_wctype_t = __uint32_t; +pub type u_int8_t = ::std::os::raw::c_uchar; +pub type u_int16_t = ::std::os::raw::c_ushort; +pub type u_int32_t = ::std::os::raw::c_uint; +pub type u_int64_t = ::std::os::raw::c_ulonglong; +pub type register_t = i64; +pub type user_addr_t = u_int64_t; +pub type user_size_t = u_int64_t; +pub type user_ssize_t = i64; +pub type user_long_t = i64; +pub type user_ulong_t = u_int64_t; +pub type user_time_t = i64; +pub type user_off_t = i64; +pub type syscall_arg_t = u_int64_t; +pub type va_list = __darwin_va_list; +#[pg_guard] +extern "C" { + pub fn renameat( + arg1: ::std::os::raw::c_int, + arg2: *const ::std::os::raw::c_char, + arg3: ::std::os::raw::c_int, + arg4: *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; +} +#[pg_guard] +extern "C" { + pub fn renamex_np( + arg1: *const ::std::os::raw::c_char, + arg2: *const ::std::os::raw::c_char, + arg3: ::std::os::raw::c_uint, + ) -> ::std::os::raw::c_int; +} +#[pg_guard] +extern "C" { + pub fn renameatx_np( + arg1: ::std::os::raw::c_int, + arg2: *const ::std::os::raw::c_char, + arg3: ::std::os::raw::c_int, + arg4: *const ::std::os::raw::c_char, + arg5: ::std::os::raw::c_uint, + ) -> ::std::os::raw::c_int; +} +pub type fpos_t = __darwin_off_t; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct __sbuf { + pub _base: *mut ::std::os::raw::c_uchar, + pub _size: ::std::os::raw::c_int, +} +impl Default for __sbuf { + fn default() -> Self { + let mut s = ::std::mem::MaybeUninit::::uninit(); + unsafe { + ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); + s.assume_init() + } + } } #[repr(C)] #[derive(Debug, Copy, Clone)] -pub struct _IO_wide_data { +pub struct __sFILEX { _unused: [u8; 0], } -pub type _IO_lock_t = ::std::os::raw::c_void; #[repr(C)] #[derive(Debug, Copy, Clone)] -pub struct _IO_FILE { - pub _flags: ::std::os::raw::c_int, - pub _IO_read_ptr: *mut ::std::os::raw::c_char, - pub _IO_read_end: *mut ::std::os::raw::c_char, - pub _IO_read_base: *mut ::std::os::raw::c_char, - pub _IO_write_base: *mut ::std::os::raw::c_char, - pub _IO_write_ptr: *mut ::std::os::raw::c_char, - pub _IO_write_end: *mut ::std::os::raw::c_char, - pub _IO_buf_base: *mut ::std::os::raw::c_char, - pub _IO_buf_end: *mut ::std::os::raw::c_char, - pub _IO_save_base: *mut ::std::os::raw::c_char, - pub _IO_backup_base: *mut ::std::os::raw::c_char, - pub _IO_save_end: *mut ::std::os::raw::c_char, - pub _markers: *mut _IO_marker, - pub _chain: *mut _IO_FILE, - pub _fileno: ::std::os::raw::c_int, - pub _flags2: ::std::os::raw::c_int, - pub _old_offset: __off_t, - pub _cur_column: ::std::os::raw::c_ushort, - pub _vtable_offset: ::std::os::raw::c_schar, - pub _shortbuf: [::std::os::raw::c_char; 1usize], - pub _lock: *mut _IO_lock_t, - pub _offset: __off64_t, - pub _codecvt: *mut _IO_codecvt, - pub _wide_data: *mut _IO_wide_data, - pub _freeres_list: *mut _IO_FILE, - pub _freeres_buf: *mut ::std::os::raw::c_void, - pub __pad5: usize, - pub _mode: ::std::os::raw::c_int, - pub _unused2: [::std::os::raw::c_char; 20usize], +pub struct __sFILE { + pub _p: *mut ::std::os::raw::c_uchar, + pub _r: ::std::os::raw::c_int, + pub _w: ::std::os::raw::c_int, + pub _flags: ::std::os::raw::c_short, + pub _file: ::std::os::raw::c_short, + pub _bf: __sbuf, + pub _lbfsize: ::std::os::raw::c_int, + pub _cookie: *mut ::std::os::raw::c_void, + pub _close: ::std::option::Option< + unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int, + >, + pub _read: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut ::std::os::raw::c_void, + arg2: *mut ::std::os::raw::c_char, + arg3: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int, + >, + pub _seek: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut ::std::os::raw::c_void, + arg2: fpos_t, + arg3: ::std::os::raw::c_int, + ) -> fpos_t, + >, + pub _write: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut ::std::os::raw::c_void, + arg2: *const ::std::os::raw::c_char, + arg3: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int, + >, + pub _ub: __sbuf, + pub _extra: *mut __sFILEX, + pub _ur: ::std::os::raw::c_int, + pub _ubuf: [::std::os::raw::c_uchar; 3usize], + pub _nbuf: [::std::os::raw::c_uchar; 1usize], + pub _lb: __sbuf, + pub _blksize: ::std::os::raw::c_int, + pub _offset: fpos_t, } -impl Default for _IO_FILE { +impl Default for __sFILE { fn default() -> Self { let mut s = ::std::mem::MaybeUninit::::uninit(); unsafe { @@ -2987,766 +3668,602 @@ impl Default for _IO_FILE { } } } -pub type off_t = __off_t; -pub type fpos_t = __fpos_t; +pub type FILE = __sFILE; #[pg_guard] extern "C" { - pub static mut stdin: *mut FILE; + pub static mut __stdinp: *mut FILE; } #[pg_guard] extern "C" { - pub static mut stdout: *mut FILE; + pub static mut __stdoutp: *mut FILE; } #[pg_guard] extern "C" { - pub static mut stderr: *mut FILE; + pub static mut __stderrp: *mut FILE; } #[pg_guard] extern "C" { - pub fn remove(__filename: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; + pub fn clearerr(arg1: *mut FILE); } #[pg_guard] extern "C" { - pub fn rename( - __old: *const ::std::os::raw::c_char, - __new: *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; + pub fn fclose(arg1: *mut FILE) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn renameat( - __oldfd: ::std::os::raw::c_int, - __old: *const ::std::os::raw::c_char, - __newfd: ::std::os::raw::c_int, - __new: *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; + pub fn feof(arg1: *mut FILE) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn fclose(__stream: *mut FILE) -> ::std::os::raw::c_int; + pub fn ferror(arg1: *mut FILE) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn tmpfile() -> *mut FILE; + pub fn fflush(arg1: *mut FILE) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn tmpnam(arg1: *mut ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; + pub fn fgetc(arg1: *mut FILE) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn tmpnam_r(__s: *mut ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; + pub fn fgetpos(arg1: *mut FILE, arg2: *mut fpos_t) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn tempnam( - __dir: *const ::std::os::raw::c_char, - __pfx: *const ::std::os::raw::c_char, + pub fn fgets( + arg1: *mut ::std::os::raw::c_char, + arg2: ::std::os::raw::c_int, + arg3: *mut FILE, ) -> *mut ::std::os::raw::c_char; } #[pg_guard] -extern "C" { - pub fn fflush(__stream: *mut FILE) -> ::std::os::raw::c_int; -} -#[pg_guard] -extern "C" { - pub fn fflush_unlocked(__stream: *mut FILE) -> ::std::os::raw::c_int; -} -#[pg_guard] extern "C" { pub fn fopen( __filename: *const ::std::os::raw::c_char, - __modes: *const ::std::os::raw::c_char, - ) -> *mut FILE; -} -#[pg_guard] -extern "C" { - pub fn freopen( - __filename: *const ::std::os::raw::c_char, - __modes: *const ::std::os::raw::c_char, - __stream: *mut FILE, - ) -> *mut FILE; -} -#[pg_guard] -extern "C" { - pub fn fdopen(__fd: ::std::os::raw::c_int, __modes: *const ::std::os::raw::c_char) - -> *mut FILE; -} -#[pg_guard] -extern "C" { - pub fn fmemopen( - __s: *mut ::std::os::raw::c_void, - __len: usize, - __modes: *const ::std::os::raw::c_char, - ) -> *mut FILE; -} -#[pg_guard] -extern "C" { - pub fn open_memstream( - __bufloc: *mut *mut ::std::os::raw::c_char, - __sizeloc: *mut usize, + __mode: *const ::std::os::raw::c_char, ) -> *mut FILE; } #[pg_guard] extern "C" { - pub fn setbuf(__stream: *mut FILE, __buf: *mut ::std::os::raw::c_char); -} -#[pg_guard] -extern "C" { - pub fn setvbuf( - __stream: *mut FILE, - __buf: *mut ::std::os::raw::c_char, - __modes: ::std::os::raw::c_int, - __n: usize, + pub fn fprintf( + arg1: *mut FILE, + arg2: *const ::std::os::raw::c_char, + ... ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn setbuffer(__stream: *mut FILE, __buf: *mut ::std::os::raw::c_char, __size: usize); + pub fn fputc(arg1: ::std::os::raw::c_int, arg2: *mut FILE) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn setlinebuf(__stream: *mut FILE); + pub fn fputs(arg1: *const ::std::os::raw::c_char, arg2: *mut FILE) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn fprintf( + pub fn fread( + __ptr: *mut ::std::os::raw::c_void, + __size: ::std::os::raw::c_ulong, + __nitems: ::std::os::raw::c_ulong, __stream: *mut FILE, - __format: *const ::std::os::raw::c_char, - ... - ) -> ::std::os::raw::c_int; + ) -> ::std::os::raw::c_ulong; } #[pg_guard] extern "C" { - pub fn printf(__format: *const ::std::os::raw::c_char, ...) -> ::std::os::raw::c_int; + pub fn freopen( + arg1: *const ::std::os::raw::c_char, + arg2: *const ::std::os::raw::c_char, + arg3: *mut FILE, + ) -> *mut FILE; } #[pg_guard] extern "C" { - pub fn sprintf( - __s: *mut ::std::os::raw::c_char, - __format: *const ::std::os::raw::c_char, + pub fn fscanf( + arg1: *mut FILE, + arg2: *const ::std::os::raw::c_char, ... ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn vfprintf( - __s: *mut FILE, - __format: *const ::std::os::raw::c_char, - __arg: *mut __va_list_tag, + pub fn fseek( + arg1: *mut FILE, + arg2: ::std::os::raw::c_long, + arg3: ::std::os::raw::c_int, ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn vprintf( - __format: *const ::std::os::raw::c_char, - __arg: *mut __va_list_tag, - ) -> ::std::os::raw::c_int; + pub fn fsetpos(arg1: *mut FILE, arg2: *const fpos_t) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn vsprintf( - __s: *mut ::std::os::raw::c_char, - __format: *const ::std::os::raw::c_char, - __arg: *mut __va_list_tag, - ) -> ::std::os::raw::c_int; + pub fn ftell(arg1: *mut FILE) -> ::std::os::raw::c_long; } #[pg_guard] extern "C" { - pub fn snprintf( - __s: *mut ::std::os::raw::c_char, - __maxlen: ::std::os::raw::c_ulong, - __format: *const ::std::os::raw::c_char, - ... - ) -> ::std::os::raw::c_int; + pub fn fwrite( + __ptr: *const ::std::os::raw::c_void, + __size: ::std::os::raw::c_ulong, + __nitems: ::std::os::raw::c_ulong, + __stream: *mut FILE, + ) -> ::std::os::raw::c_ulong; } #[pg_guard] extern "C" { - pub fn vsnprintf( - __s: *mut ::std::os::raw::c_char, - __maxlen: ::std::os::raw::c_ulong, - __format: *const ::std::os::raw::c_char, - __arg: *mut __va_list_tag, - ) -> ::std::os::raw::c_int; + pub fn getc(arg1: *mut FILE) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn vdprintf( - __fd: ::std::os::raw::c_int, - __fmt: *const ::std::os::raw::c_char, - __arg: *mut __va_list_tag, - ) -> ::std::os::raw::c_int; + pub fn getchar() -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn dprintf( - __fd: ::std::os::raw::c_int, - __fmt: *const ::std::os::raw::c_char, - ... - ) -> ::std::os::raw::c_int; + pub fn gets(arg1: *mut ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; } #[pg_guard] extern "C" { - pub fn fscanf( - __stream: *mut FILE, - __format: *const ::std::os::raw::c_char, - ... - ) -> ::std::os::raw::c_int; + pub fn perror(arg1: *const ::std::os::raw::c_char); } #[pg_guard] extern "C" { - pub fn scanf(__format: *const ::std::os::raw::c_char, ...) -> ::std::os::raw::c_int; + pub fn printf(arg1: *const ::std::os::raw::c_char, ...) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn sscanf( - __s: *const ::std::os::raw::c_char, - __format: *const ::std::os::raw::c_char, - ... - ) -> ::std::os::raw::c_int; + pub fn putc(arg1: ::std::os::raw::c_int, arg2: *mut FILE) -> ::std::os::raw::c_int; } -pub type _Float32 = f32; -pub type _Float64 = f64; -pub type _Float32x = f64; -pub type _Float64x = u128; #[pg_guard] extern "C" { - #[link_name = "\u{1}__isoc99_fscanf"] - pub fn fscanf1( - __stream: *mut FILE, - __format: *const ::std::os::raw::c_char, - ... - ) -> ::std::os::raw::c_int; + pub fn putchar(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - #[link_name = "\u{1}__isoc99_scanf"] - pub fn scanf1(__format: *const ::std::os::raw::c_char, ...) -> ::std::os::raw::c_int; + pub fn puts(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - #[link_name = "\u{1}__isoc99_sscanf"] - pub fn sscanf1( - __s: *const ::std::os::raw::c_char, - __format: *const ::std::os::raw::c_char, - ... - ) -> ::std::os::raw::c_int; + pub fn remove(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn vfscanf( - __s: *mut FILE, - __format: *const ::std::os::raw::c_char, - __arg: *mut __va_list_tag, + pub fn rename( + __old: *const ::std::os::raw::c_char, + __new: *const ::std::os::raw::c_char, ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn vscanf( - __format: *const ::std::os::raw::c_char, - __arg: *mut __va_list_tag, - ) -> ::std::os::raw::c_int; + pub fn rewind(arg1: *mut FILE); } #[pg_guard] extern "C" { - pub fn vsscanf( - __s: *const ::std::os::raw::c_char, - __format: *const ::std::os::raw::c_char, - __arg: *mut __va_list_tag, - ) -> ::std::os::raw::c_int; + pub fn scanf(arg1: *const ::std::os::raw::c_char, ...) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - #[link_name = "\u{1}__isoc99_vfscanf"] - pub fn vfscanf1( - __s: *mut FILE, - __format: *const ::std::os::raw::c_char, - __arg: *mut __va_list_tag, - ) -> ::std::os::raw::c_int; + pub fn setbuf(arg1: *mut FILE, arg2: *mut ::std::os::raw::c_char); } #[pg_guard] extern "C" { - #[link_name = "\u{1}__isoc99_vscanf"] - pub fn vscanf1( - __format: *const ::std::os::raw::c_char, - __arg: *mut __va_list_tag, + pub fn setvbuf( + arg1: *mut FILE, + arg2: *mut ::std::os::raw::c_char, + arg3: ::std::os::raw::c_int, + arg4: usize, ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - #[link_name = "\u{1}__isoc99_vsscanf"] - pub fn vsscanf1( - __s: *const ::std::os::raw::c_char, - __format: *const ::std::os::raw::c_char, - __arg: *mut __va_list_tag, + pub fn sprintf( + arg1: *mut ::std::os::raw::c_char, + arg2: *const ::std::os::raw::c_char, + ... ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn fgetc(__stream: *mut FILE) -> ::std::os::raw::c_int; + pub fn sscanf( + arg1: *const ::std::os::raw::c_char, + arg2: *const ::std::os::raw::c_char, + ... + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn getc(__stream: *mut FILE) -> ::std::os::raw::c_int; + pub fn tmpfile() -> *mut FILE; } #[pg_guard] extern "C" { - pub fn getchar() -> ::std::os::raw::c_int; + pub fn tmpnam(arg1: *mut ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; } #[pg_guard] extern "C" { - pub fn getc_unlocked(__stream: *mut FILE) -> ::std::os::raw::c_int; + pub fn ungetc(arg1: ::std::os::raw::c_int, arg2: *mut FILE) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn getchar_unlocked() -> ::std::os::raw::c_int; + pub fn vfprintf( + arg1: *mut FILE, + arg2: *const ::std::os::raw::c_char, + arg3: __builtin_va_list, + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn fgetc_unlocked(__stream: *mut FILE) -> ::std::os::raw::c_int; + pub fn vprintf( + arg1: *const ::std::os::raw::c_char, + arg2: __builtin_va_list, + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn fputc(__c: ::std::os::raw::c_int, __stream: *mut FILE) -> ::std::os::raw::c_int; + pub fn vsprintf( + arg1: *mut ::std::os::raw::c_char, + arg2: *const ::std::os::raw::c_char, + arg3: __builtin_va_list, + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn putc(__c: ::std::os::raw::c_int, __stream: *mut FILE) -> ::std::os::raw::c_int; + pub fn ctermid(arg1: *mut ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; } #[pg_guard] extern "C" { - pub fn putchar(__c: ::std::os::raw::c_int) -> ::std::os::raw::c_int; + pub fn fdopen(arg1: ::std::os::raw::c_int, arg2: *const ::std::os::raw::c_char) -> *mut FILE; } #[pg_guard] extern "C" { - pub fn fputc_unlocked(__c: ::std::os::raw::c_int, __stream: *mut FILE) - -> ::std::os::raw::c_int; + pub fn fileno(arg1: *mut FILE) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn putc_unlocked(__c: ::std::os::raw::c_int, __stream: *mut FILE) -> ::std::os::raw::c_int; + pub fn pclose(arg1: *mut FILE) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn putchar_unlocked(__c: ::std::os::raw::c_int) -> ::std::os::raw::c_int; + pub fn popen( + arg1: *const ::std::os::raw::c_char, + arg2: *const ::std::os::raw::c_char, + ) -> *mut FILE; } #[pg_guard] extern "C" { - pub fn getw(__stream: *mut FILE) -> ::std::os::raw::c_int; + pub fn __srget(arg1: *mut FILE) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn putw(__w: ::std::os::raw::c_int, __stream: *mut FILE) -> ::std::os::raw::c_int; + pub fn __svfscanf( + arg1: *mut FILE, + arg2: *const ::std::os::raw::c_char, + arg3: va_list, + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn fgets( - __s: *mut ::std::os::raw::c_char, - __n: ::std::os::raw::c_int, - __stream: *mut FILE, - ) -> *mut ::std::os::raw::c_char; + pub fn __swbuf(arg1: ::std::os::raw::c_int, arg2: *mut FILE) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn __getdelim( - __lineptr: *mut *mut ::std::os::raw::c_char, - __n: *mut usize, - __delimiter: ::std::os::raw::c_int, - __stream: *mut FILE, - ) -> __ssize_t; + pub fn flockfile(arg1: *mut FILE); } #[pg_guard] extern "C" { - pub fn getdelim( - __lineptr: *mut *mut ::std::os::raw::c_char, - __n: *mut usize, - __delimiter: ::std::os::raw::c_int, - __stream: *mut FILE, - ) -> __ssize_t; + pub fn ftrylockfile(arg1: *mut FILE) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn getline( - __lineptr: *mut *mut ::std::os::raw::c_char, - __n: *mut usize, - __stream: *mut FILE, - ) -> __ssize_t; + pub fn funlockfile(arg1: *mut FILE); } #[pg_guard] extern "C" { - pub fn fputs(__s: *const ::std::os::raw::c_char, __stream: *mut FILE) -> ::std::os::raw::c_int; + pub fn getc_unlocked(arg1: *mut FILE) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn puts(__s: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; + pub fn getchar_unlocked() -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn ungetc(__c: ::std::os::raw::c_int, __stream: *mut FILE) -> ::std::os::raw::c_int; + pub fn putc_unlocked(arg1: ::std::os::raw::c_int, arg2: *mut FILE) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn fread( - __ptr: *mut ::std::os::raw::c_void, - __size: ::std::os::raw::c_ulong, - __n: ::std::os::raw::c_ulong, - __stream: *mut FILE, - ) -> ::std::os::raw::c_ulong; + pub fn putchar_unlocked(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn fwrite( - __ptr: *const ::std::os::raw::c_void, - __size: ::std::os::raw::c_ulong, - __n: ::std::os::raw::c_ulong, - __s: *mut FILE, - ) -> ::std::os::raw::c_ulong; + pub fn getw(arg1: *mut FILE) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn fread_unlocked( - __ptr: *mut ::std::os::raw::c_void, - __size: usize, - __n: usize, - __stream: *mut FILE, - ) -> usize; + pub fn putw(arg1: ::std::os::raw::c_int, arg2: *mut FILE) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn fwrite_unlocked( - __ptr: *const ::std::os::raw::c_void, - __size: usize, - __n: usize, - __stream: *mut FILE, - ) -> usize; + pub fn tempnam( + __dir: *const ::std::os::raw::c_char, + __prefix: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; } +pub type off_t = __darwin_off_t; #[pg_guard] extern "C" { - pub fn fseek( + pub fn fseeko( __stream: *mut FILE, - __off: ::std::os::raw::c_long, + __offset: off_t, __whence: ::std::os::raw::c_int, ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn ftell(__stream: *mut FILE) -> ::std::os::raw::c_long; + pub fn ftello(__stream: *mut FILE) -> off_t; } #[pg_guard] extern "C" { - pub fn rewind(__stream: *mut FILE); + pub fn snprintf( + __str: *mut ::std::os::raw::c_char, + __size: ::std::os::raw::c_ulong, + __format: *const ::std::os::raw::c_char, + ... + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn fseeko( + pub fn vfscanf( __stream: *mut FILE, - __off: __off_t, - __whence: ::std::os::raw::c_int, + __format: *const ::std::os::raw::c_char, + arg1: __builtin_va_list, ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn ftello(__stream: *mut FILE) -> __off_t; -} -#[pg_guard] -extern "C" { - pub fn fgetpos(__stream: *mut FILE, __pos: *mut fpos_t) -> ::std::os::raw::c_int; -} -#[pg_guard] -extern "C" { - pub fn fsetpos(__stream: *mut FILE, __pos: *const fpos_t) -> ::std::os::raw::c_int; -} -#[pg_guard] -extern "C" { - pub fn clearerr(__stream: *mut FILE); -} -#[pg_guard] -extern "C" { - pub fn feof(__stream: *mut FILE) -> ::std::os::raw::c_int; -} -#[pg_guard] -extern "C" { - pub fn ferror(__stream: *mut FILE) -> ::std::os::raw::c_int; -} -#[pg_guard] -extern "C" { - pub fn clearerr_unlocked(__stream: *mut FILE); + pub fn vscanf( + __format: *const ::std::os::raw::c_char, + arg1: __builtin_va_list, + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn feof_unlocked(__stream: *mut FILE) -> ::std::os::raw::c_int; + pub fn vsnprintf( + __str: *mut ::std::os::raw::c_char, + __size: ::std::os::raw::c_ulong, + __format: *const ::std::os::raw::c_char, + arg1: __builtin_va_list, + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn ferror_unlocked(__stream: *mut FILE) -> ::std::os::raw::c_int; + pub fn vsscanf( + __str: *const ::std::os::raw::c_char, + __format: *const ::std::os::raw::c_char, + arg1: __builtin_va_list, + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn perror(__s: *const ::std::os::raw::c_char); + pub fn dprintf( + arg1: ::std::os::raw::c_int, + arg2: *const ::std::os::raw::c_char, + ... + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn fileno(__stream: *mut FILE) -> ::std::os::raw::c_int; + pub fn vdprintf( + arg1: ::std::os::raw::c_int, + arg2: *const ::std::os::raw::c_char, + arg3: va_list, + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn fileno_unlocked(__stream: *mut FILE) -> ::std::os::raw::c_int; + pub fn getdelim( + __linep: *mut *mut ::std::os::raw::c_char, + __linecapp: *mut usize, + __delimiter: ::std::os::raw::c_int, + __stream: *mut FILE, + ) -> isize; } #[pg_guard] extern "C" { - pub fn pclose(__stream: *mut FILE) -> ::std::os::raw::c_int; + pub fn getline( + __linep: *mut *mut ::std::os::raw::c_char, + __linecapp: *mut usize, + __stream: *mut FILE, + ) -> isize; } #[pg_guard] extern "C" { - pub fn popen( - __command: *const ::std::os::raw::c_char, - __modes: *const ::std::os::raw::c_char, + pub fn fmemopen( + __buf: *mut ::std::os::raw::c_void, + __size: usize, + __mode: *const ::std::os::raw::c_char, ) -> *mut FILE; } #[pg_guard] extern "C" { - pub fn ctermid(__s: *mut ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; -} -#[pg_guard] -extern "C" { - pub fn flockfile(__stream: *mut FILE); -} -#[pg_guard] -extern "C" { - pub fn ftrylockfile(__stream: *mut FILE) -> ::std::os::raw::c_int; -} -#[pg_guard] -extern "C" { - pub fn funlockfile(__stream: *mut FILE); -} -#[pg_guard] -extern "C" { - pub fn __uflow(arg1: *mut FILE) -> ::std::os::raw::c_int; + pub fn open_memstream( + __bufp: *mut *mut ::std::os::raw::c_char, + __sizep: *mut usize, + ) -> *mut FILE; } #[pg_guard] extern "C" { - pub fn __overflow(arg1: *mut FILE, arg2: ::std::os::raw::c_int) -> ::std::os::raw::c_int; -} -pub type wchar_t = ::std::os::raw::c_int; -#[repr(C)] -#[derive(Debug, Default, Copy, Clone)] -pub struct div_t { - pub quot: ::std::os::raw::c_int, - pub rem: ::std::os::raw::c_int, -} -#[repr(C)] -#[derive(Debug, Default, Copy, Clone)] -pub struct ldiv_t { - pub quot: ::std::os::raw::c_long, - pub rem: ::std::os::raw::c_long, -} -#[repr(C)] -#[derive(Debug, Default, Copy, Clone)] -pub struct lldiv_t { - pub quot: ::std::os::raw::c_longlong, - pub rem: ::std::os::raw::c_longlong, + pub static sys_nerr: ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn __ctype_get_mb_cur_max() -> usize; + pub static mut sys_errlist: [*const ::std::os::raw::c_char; 0usize]; } #[pg_guard] extern "C" { - pub fn atof(__nptr: *const ::std::os::raw::c_char) -> f64; + pub fn asprintf( + arg1: *mut *mut ::std::os::raw::c_char, + arg2: *const ::std::os::raw::c_char, + ... + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn atoi(__nptr: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; + pub fn ctermid_r(arg1: *mut ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; } #[pg_guard] extern "C" { - pub fn atol(__nptr: *const ::std::os::raw::c_char) -> ::std::os::raw::c_long; + pub fn fgetln(arg1: *mut FILE, arg2: *mut usize) -> *mut ::std::os::raw::c_char; } #[pg_guard] extern "C" { - pub fn atoll(__nptr: *const ::std::os::raw::c_char) -> ::std::os::raw::c_longlong; + pub fn fmtcheck( + arg1: *const ::std::os::raw::c_char, + arg2: *const ::std::os::raw::c_char, + ) -> *const ::std::os::raw::c_char; } #[pg_guard] extern "C" { - pub fn strtod( - __nptr: *const ::std::os::raw::c_char, - __endptr: *mut *mut ::std::os::raw::c_char, - ) -> f64; + pub fn fpurge(arg1: *mut FILE) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn strtof( - __nptr: *const ::std::os::raw::c_char, - __endptr: *mut *mut ::std::os::raw::c_char, - ) -> f32; + pub fn setbuffer( + arg1: *mut FILE, + arg2: *mut ::std::os::raw::c_char, + arg3: ::std::os::raw::c_int, + ); } #[pg_guard] extern "C" { - pub fn strtold( - __nptr: *const ::std::os::raw::c_char, - __endptr: *mut *mut ::std::os::raw::c_char, - ) -> u128; + pub fn setlinebuf(arg1: *mut FILE) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn strtol( - __nptr: *const ::std::os::raw::c_char, - __endptr: *mut *mut ::std::os::raw::c_char, - __base: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_long; + pub fn vasprintf( + arg1: *mut *mut ::std::os::raw::c_char, + arg2: *const ::std::os::raw::c_char, + arg3: va_list, + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn strtoul( - __nptr: *const ::std::os::raw::c_char, - __endptr: *mut *mut ::std::os::raw::c_char, - __base: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_ulong; + pub fn funopen( + arg1: *const ::std::os::raw::c_void, + arg2: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut ::std::os::raw::c_void, + arg2: *mut ::std::os::raw::c_char, + arg3: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int, + >, + arg3: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut ::std::os::raw::c_void, + arg2: *const ::std::os::raw::c_char, + arg3: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int, + >, + arg4: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut ::std::os::raw::c_void, + arg2: fpos_t, + arg3: ::std::os::raw::c_int, + ) -> fpos_t, + >, + arg5: ::std::option::Option< + unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int, + >, + ) -> *mut FILE; } #[pg_guard] extern "C" { - pub fn strtoq( - __nptr: *const ::std::os::raw::c_char, - __endptr: *mut *mut ::std::os::raw::c_char, - __base: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_longlong; + pub fn __sprintf_chk( + arg1: *mut ::std::os::raw::c_char, + arg2: ::std::os::raw::c_int, + arg3: usize, + arg4: *const ::std::os::raw::c_char, + ... + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn strtouq( - __nptr: *const ::std::os::raw::c_char, - __endptr: *mut *mut ::std::os::raw::c_char, - __base: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_ulonglong; + pub fn __snprintf_chk( + arg1: *mut ::std::os::raw::c_char, + arg2: usize, + arg3: ::std::os::raw::c_int, + arg4: usize, + arg5: *const ::std::os::raw::c_char, + ... + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn strtoll( - __nptr: *const ::std::os::raw::c_char, - __endptr: *mut *mut ::std::os::raw::c_char, - __base: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_longlong; + pub fn __vsprintf_chk( + arg1: *mut ::std::os::raw::c_char, + arg2: ::std::os::raw::c_int, + arg3: usize, + arg4: *const ::std::os::raw::c_char, + arg5: va_list, + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn strtoull( - __nptr: *const ::std::os::raw::c_char, - __endptr: *mut *mut ::std::os::raw::c_char, - __base: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_ulonglong; + pub fn __vsnprintf_chk( + arg1: *mut ::std::os::raw::c_char, + arg2: usize, + arg3: ::std::os::raw::c_int, + arg4: usize, + arg5: *const ::std::os::raw::c_char, + arg6: va_list, + ) -> ::std::os::raw::c_int; } -#[pg_guard] -extern "C" { - pub fn l64a(__n: ::std::os::raw::c_long) -> *mut ::std::os::raw::c_char; -} -#[pg_guard] -extern "C" { - pub fn a64l(__s: *const ::std::os::raw::c_char) -> ::std::os::raw::c_long; -} -pub type u_char = __u_char; -pub type u_short = __u_short; -pub type u_int = __u_int; -pub type u_long = __u_long; -pub type quad_t = __quad_t; -pub type u_quad_t = __u_quad_t; -pub type fsid_t = __fsid_t; -pub type loff_t = __loff_t; -pub type ino_t = __ino_t; -pub type dev_t = __dev_t; -pub type gid_t = __gid_t; -pub type mode_t = __mode_t; -pub type nlink_t = __nlink_t; -pub type uid_t = __uid_t; -pub type pid_t = __pid_t; -pub type id_t = __id_t; -pub type daddr_t = __daddr_t; -pub type caddr_t = __caddr_t; -pub type key_t = __key_t; -pub type clock_t = __clock_t; -pub type clockid_t = __clockid_t; -pub type time_t = __time_t; -pub type timer_t = __timer_t; -pub type ulong = ::std::os::raw::c_ulong; -pub type ushort = ::std::os::raw::c_ushort; -pub type uint = ::std::os::raw::c_uint; -pub type u_int8_t = __uint8_t; -pub type u_int16_t = __uint16_t; -pub type u_int32_t = __uint32_t; -pub type u_int64_t = __uint64_t; -pub type register_t = ::std::os::raw::c_long; +pub const idtype_t_P_ALL: idtype_t = 0; +pub const idtype_t_P_PID: idtype_t = 1; +pub const idtype_t_P_PGID: idtype_t = 2; +pub type idtype_t = ::std::os::raw::c_uint; +pub type pid_t = __darwin_pid_t; +pub type id_t = __darwin_id_t; +pub type sig_atomic_t = ::std::os::raw::c_int; #[repr(C)] #[derive(Debug, Default, Copy, Clone)] -pub struct __sigset_t { - pub __val: [::std::os::raw::c_ulong; 16usize], +pub struct __darwin_arm_exception_state { + pub __exception: __uint32_t, + pub __fsr: __uint32_t, + pub __far: __uint32_t, } -pub type sigset_t = __sigset_t; #[repr(C)] #[derive(Debug, Default, Copy, Clone)] -pub struct timeval { - pub tv_sec: __time_t, - pub tv_usec: __suseconds_t, +pub struct __darwin_arm_exception_state64 { + pub __far: __uint64_t, + pub __esr: __uint32_t, + pub __exception: __uint32_t, } #[repr(C)] #[derive(Debug, Default, Copy, Clone)] -pub struct timespec { - pub tv_sec: __time_t, - pub tv_nsec: __syscall_slong_t, +pub struct __darwin_arm_thread_state { + pub __r: [__uint32_t; 13usize], + pub __sp: __uint32_t, + pub __lr: __uint32_t, + pub __pc: __uint32_t, + pub __cpsr: __uint32_t, } -pub type suseconds_t = __suseconds_t; -pub type __fd_mask = ::std::os::raw::c_long; #[repr(C)] #[derive(Debug, Default, Copy, Clone)] -pub struct fd_set { - pub __fds_bits: [__fd_mask; 16usize], -} -pub type fd_mask = __fd_mask; -#[pg_guard] -extern "C" { - pub fn select( - __nfds: ::std::os::raw::c_int, - __readfds: *mut fd_set, - __writefds: *mut fd_set, - __exceptfds: *mut fd_set, - __timeout: *mut timeval, - ) -> ::std::os::raw::c_int; -} -#[pg_guard] -extern "C" { - pub fn pselect( - __nfds: ::std::os::raw::c_int, - __readfds: *mut fd_set, - __writefds: *mut fd_set, - __exceptfds: *mut fd_set, - __timeout: *const timespec, - __sigmask: *const __sigset_t, - ) -> ::std::os::raw::c_int; -} -pub type blksize_t = __blksize_t; -pub type blkcnt_t = __blkcnt_t; -pub type fsblkcnt_t = __fsblkcnt_t; -pub type fsfilcnt_t = __fsfilcnt_t; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct __pthread_internal_list { - pub __prev: *mut __pthread_internal_list, - pub __next: *mut __pthread_internal_list, +pub struct __darwin_arm_thread_state64 { + pub __x: [__uint64_t; 29usize], + pub __fp: __uint64_t, + pub __lr: __uint64_t, + pub __sp: __uint64_t, + pub __pc: __uint64_t, + pub __cpsr: __uint32_t, + pub __pad: __uint32_t, } -impl Default for __pthread_internal_list { - fn default() -> Self { - let mut s = ::std::mem::MaybeUninit::::uninit(); - unsafe { - ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); - s.assume_init() - } - } -} -pub type __pthread_list_t = __pthread_internal_list; #[repr(C)] #[derive(Debug, Copy, Clone)] -pub struct __pthread_internal_slist { - pub __next: *mut __pthread_internal_slist, +pub struct __darwin_arm_vfp_state { + pub __r: [__uint32_t; 64usize], + pub __fpscr: __uint32_t, } -impl Default for __pthread_internal_slist { +impl Default for __darwin_arm_vfp_state { fn default() -> Self { let mut s = ::std::mem::MaybeUninit::::uninit(); unsafe { @@ -3755,98 +4272,66 @@ impl Default for __pthread_internal_slist { } } } -pub type __pthread_slist_t = __pthread_internal_slist; #[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct __pthread_mutex_s { - pub __lock: ::std::os::raw::c_int, - pub __count: ::std::os::raw::c_uint, - pub __owner: ::std::os::raw::c_int, - pub __nusers: ::std::os::raw::c_uint, - pub __kind: ::std::os::raw::c_int, - pub __spins: ::std::os::raw::c_short, - pub __elision: ::std::os::raw::c_short, - pub __list: __pthread_list_t, -} -impl Default for __pthread_mutex_s { - fn default() -> Self { - let mut s = ::std::mem::MaybeUninit::::uninit(); - unsafe { - ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); - s.assume_init() - } - } +#[repr(align(16))] +#[derive(Debug, Default, Copy, Clone)] +pub struct __darwin_arm_neon_state64 { + pub __v: [__uint128_t; 32usize], + pub __fpsr: __uint32_t, + pub __fpcr: __uint32_t, } #[repr(C)] +#[repr(align(16))] #[derive(Debug, Default, Copy, Clone)] -pub struct __pthread_rwlock_arch_t { - pub __readers: ::std::os::raw::c_uint, - pub __writers: ::std::os::raw::c_uint, - pub __wrphase_futex: ::std::os::raw::c_uint, - pub __writers_futex: ::std::os::raw::c_uint, - pub __pad3: ::std::os::raw::c_uint, - pub __pad4: ::std::os::raw::c_uint, - pub __cur_writer: ::std::os::raw::c_int, - pub __shared: ::std::os::raw::c_int, - pub __rwelision: ::std::os::raw::c_schar, - pub __pad1: [::std::os::raw::c_uchar; 7usize], - pub __pad2: ::std::os::raw::c_ulong, - pub __flags: ::std::os::raw::c_uint, +pub struct __darwin_arm_neon_state { + pub __v: [__uint128_t; 16usize], + pub __fpsr: __uint32_t, + pub __fpcr: __uint32_t, } #[repr(C)] -#[derive(Copy, Clone)] -pub struct __pthread_cond_s { - pub __bindgen_anon_1: __pthread_cond_s__bindgen_ty_1, - pub __bindgen_anon_2: __pthread_cond_s__bindgen_ty_2, - pub __g_refs: [::std::os::raw::c_uint; 2usize], - pub __g_size: [::std::os::raw::c_uint; 2usize], - pub __g1_orig_size: ::std::os::raw::c_uint, - pub __wrefs: ::std::os::raw::c_uint, - pub __g_signals: [::std::os::raw::c_uint; 2usize], +#[derive(Debug, Default, Copy, Clone)] +pub struct __arm_pagein_state { + pub __pagein_error: ::std::os::raw::c_int, } #[repr(C)] -#[derive(Copy, Clone)] -pub union __pthread_cond_s__bindgen_ty_1 { - pub __wseq: ::std::os::raw::c_ulonglong, - pub __wseq32: __pthread_cond_s__bindgen_ty_1__bindgen_ty_1, +#[derive(Debug, Default, Copy, Clone)] +pub struct __arm_legacy_debug_state { + pub __bvr: [__uint32_t; 16usize], + pub __bcr: [__uint32_t; 16usize], + pub __wvr: [__uint32_t; 16usize], + pub __wcr: [__uint32_t; 16usize], } #[repr(C)] #[derive(Debug, Default, Copy, Clone)] -pub struct __pthread_cond_s__bindgen_ty_1__bindgen_ty_1 { - pub __low: ::std::os::raw::c_uint, - pub __high: ::std::os::raw::c_uint, -} -impl Default for __pthread_cond_s__bindgen_ty_1 { - fn default() -> Self { - let mut s = ::std::mem::MaybeUninit::::uninit(); - unsafe { - ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); - s.assume_init() - } - } +pub struct __darwin_arm_debug_state32 { + pub __bvr: [__uint32_t; 16usize], + pub __bcr: [__uint32_t; 16usize], + pub __wvr: [__uint32_t; 16usize], + pub __wcr: [__uint32_t; 16usize], + pub __mdscr_el1: __uint64_t, } #[repr(C)] -#[derive(Copy, Clone)] -pub union __pthread_cond_s__bindgen_ty_2 { - pub __g1_start: ::std::os::raw::c_ulonglong, - pub __g1_start32: __pthread_cond_s__bindgen_ty_2__bindgen_ty_1, +#[derive(Debug, Default, Copy, Clone)] +pub struct __darwin_arm_debug_state64 { + pub __bvr: [__uint64_t; 16usize], + pub __bcr: [__uint64_t; 16usize], + pub __wvr: [__uint64_t; 16usize], + pub __wcr: [__uint64_t; 16usize], + pub __mdscr_el1: __uint64_t, } #[repr(C)] #[derive(Debug, Default, Copy, Clone)] -pub struct __pthread_cond_s__bindgen_ty_2__bindgen_ty_1 { - pub __low: ::std::os::raw::c_uint, - pub __high: ::std::os::raw::c_uint, +pub struct __darwin_arm_cpmu_state64 { + pub __ctrs: [__uint64_t; 16usize], } -impl Default for __pthread_cond_s__bindgen_ty_2 { - fn default() -> Self { - let mut s = ::std::mem::MaybeUninit::::uninit(); - unsafe { - ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); - s.assume_init() - } - } +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct __darwin_mcontext32 { + pub __es: __darwin_arm_exception_state, + pub __ss: __darwin_arm_thread_state, + pub __fs: __darwin_arm_vfp_state, } -impl Default for __pthread_cond_s { +impl Default for __darwin_mcontext32 { fn default() -> Self { let mut s = ::std::mem::MaybeUninit::::uninit(); unsafe { @@ -3855,21 +4340,24 @@ impl Default for __pthread_cond_s { } } } -pub type __tss_t = ::std::os::raw::c_uint; -pub type __thrd_t = ::std::os::raw::c_ulong; #[repr(C)] +#[repr(align(16))] #[derive(Debug, Default, Copy, Clone)] -pub struct __once_flag { - pub __data: ::std::os::raw::c_int, +pub struct __darwin_mcontext64 { + pub __es: __darwin_arm_exception_state64, + pub __ss: __darwin_arm_thread_state64, + pub __ns: __darwin_arm_neon_state64, } -pub type pthread_t = ::std::os::raw::c_ulong; +pub type mcontext_t = *mut __darwin_mcontext64; +pub type pthread_attr_t = __darwin_pthread_attr_t; #[repr(C)] -#[derive(Copy, Clone)] -pub union pthread_mutexattr_t { - pub __size: [::std::os::raw::c_char; 4usize], - pub __align: ::std::os::raw::c_int, +#[derive(Debug, Copy, Clone)] +pub struct __darwin_sigaltstack { + pub ss_sp: *mut ::std::os::raw::c_void, + pub ss_size: __darwin_size_t, + pub ss_flags: ::std::os::raw::c_int, } -impl Default for pthread_mutexattr_t { +impl Default for __darwin_sigaltstack { fn default() -> Self { let mut s = ::std::mem::MaybeUninit::::uninit(); unsafe { @@ -3878,13 +4366,18 @@ impl Default for pthread_mutexattr_t { } } } +pub type stack_t = __darwin_sigaltstack; #[repr(C)] -#[derive(Copy, Clone)] -pub union pthread_condattr_t { - pub __size: [::std::os::raw::c_char; 4usize], - pub __align: ::std::os::raw::c_int, +#[derive(Debug, Copy, Clone)] +pub struct __darwin_ucontext { + pub uc_onstack: ::std::os::raw::c_int, + pub uc_sigmask: __darwin_sigset_t, + pub uc_stack: __darwin_sigaltstack, + pub uc_link: *mut __darwin_ucontext, + pub uc_mcsize: __darwin_size_t, + pub uc_mcontext: *mut __darwin_mcontext64, } -impl Default for pthread_condattr_t { +impl Default for __darwin_ucontext { fn default() -> Self { let mut s = ::std::mem::MaybeUninit::::uninit(); unsafe { @@ -3893,15 +4386,16 @@ impl Default for pthread_condattr_t { } } } -pub type pthread_key_t = ::std::os::raw::c_uint; -pub type pthread_once_t = ::std::os::raw::c_int; +pub type ucontext_t = __darwin_ucontext; +pub type sigset_t = __darwin_sigset_t; +pub type uid_t = __darwin_uid_t; #[repr(C)] #[derive(Copy, Clone)] -pub union pthread_attr_t { - pub __size: [::std::os::raw::c_char; 56usize], - pub __align: ::std::os::raw::c_long, +pub union sigval { + pub sival_int: ::std::os::raw::c_int, + pub sival_ptr: *mut ::std::os::raw::c_void, } -impl Default for pthread_attr_t { +impl Default for sigval { fn default() -> Self { let mut s = ::std::mem::MaybeUninit::::uninit(); unsafe { @@ -3912,12 +4406,14 @@ impl Default for pthread_attr_t { } #[repr(C)] #[derive(Copy, Clone)] -pub union pthread_mutex_t { - pub __data: __pthread_mutex_s, - pub __size: [::std::os::raw::c_char; 40usize], - pub __align: ::std::os::raw::c_long, +pub struct sigevent { + pub sigev_notify: ::std::os::raw::c_int, + pub sigev_signo: ::std::os::raw::c_int, + pub sigev_value: sigval, + pub sigev_notify_function: ::std::option::Option, + pub sigev_notify_attributes: *mut pthread_attr_t, } -impl Default for pthread_mutex_t { +impl Default for sigevent { fn default() -> Self { let mut s = ::std::mem::MaybeUninit::::uninit(); unsafe { @@ -3928,12 +4424,19 @@ impl Default for pthread_mutex_t { } #[repr(C)] #[derive(Copy, Clone)] -pub union pthread_cond_t { - pub __data: __pthread_cond_s, - pub __size: [::std::os::raw::c_char; 48usize], - pub __align: ::std::os::raw::c_longlong, +pub struct __siginfo { + pub si_signo: ::std::os::raw::c_int, + pub si_errno: ::std::os::raw::c_int, + pub si_code: ::std::os::raw::c_int, + pub si_pid: pid_t, + pub si_uid: uid_t, + pub si_status: ::std::os::raw::c_int, + pub si_addr: *mut ::std::os::raw::c_void, + pub si_value: sigval, + pub si_band: ::std::os::raw::c_long, + pub __pad: [::std::os::raw::c_ulong; 7usize], } -impl Default for pthread_cond_t { +impl Default for __siginfo { fn default() -> Self { let mut s = ::std::mem::MaybeUninit::::uninit(); unsafe { @@ -3942,14 +4445,20 @@ impl Default for pthread_cond_t { } } } +pub type siginfo_t = __siginfo; #[repr(C)] #[derive(Copy, Clone)] -pub union pthread_rwlock_t { - pub __data: __pthread_rwlock_arch_t, - pub __size: [::std::os::raw::c_char; 56usize], - pub __align: ::std::os::raw::c_long, +pub union __sigaction_u { + pub __sa_handler: ::std::option::Option, + pub __sa_sigaction: ::std::option::Option< + unsafe extern "C" fn( + arg1: ::std::os::raw::c_int, + arg2: *mut __siginfo, + arg3: *mut ::std::os::raw::c_void, + ), + >, } -impl Default for pthread_rwlock_t { +impl Default for __sigaction_u { fn default() -> Self { let mut s = ::std::mem::MaybeUninit::::uninit(); unsafe { @@ -3960,11 +4469,21 @@ impl Default for pthread_rwlock_t { } #[repr(C)] #[derive(Copy, Clone)] -pub union pthread_rwlockattr_t { - pub __size: [::std::os::raw::c_char; 8usize], - pub __align: ::std::os::raw::c_long, +pub struct __sigaction { + pub __sigaction_u: __sigaction_u, + pub sa_tramp: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut ::std::os::raw::c_void, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + arg4: *mut siginfo_t, + arg5: *mut ::std::os::raw::c_void, + ), + >, + pub sa_mask: sigset_t, + pub sa_flags: ::std::os::raw::c_int, } -impl Default for pthread_rwlockattr_t { +impl Default for __sigaction { fn default() -> Self { let mut s = ::std::mem::MaybeUninit::::uninit(); unsafe { @@ -3973,14 +4492,14 @@ impl Default for pthread_rwlockattr_t { } } } -pub type pthread_spinlock_t = ::std::os::raw::c_int; #[repr(C)] #[derive(Copy, Clone)] -pub union pthread_barrier_t { - pub __size: [::std::os::raw::c_char; 32usize], - pub __align: ::std::os::raw::c_long, +pub struct sigaction { + pub __sigaction_u: __sigaction_u, + pub sa_mask: sigset_t, + pub sa_flags: ::std::os::raw::c_int, } -impl Default for pthread_barrier_t { +impl Default for sigaction { fn default() -> Self { let mut s = ::std::mem::MaybeUninit::::uninit(); unsafe { @@ -3989,53 +4508,21 @@ impl Default for pthread_barrier_t { } } } +pub type sig_t = ::std::option::Option; #[repr(C)] -#[derive(Copy, Clone)] -pub union pthread_barrierattr_t { - pub __size: [::std::os::raw::c_char; 4usize], - pub __align: ::std::os::raw::c_int, -} -impl Default for pthread_barrierattr_t { - fn default() -> Self { - let mut s = ::std::mem::MaybeUninit::::uninit(); - unsafe { - ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); - s.assume_init() - } - } -} -#[pg_guard] -extern "C" { - pub fn random() -> ::std::os::raw::c_long; -} -#[pg_guard] -extern "C" { - pub fn srandom(__seed: ::std::os::raw::c_uint); -} -#[pg_guard] -extern "C" { - pub fn initstate( - __seed: ::std::os::raw::c_uint, - __statebuf: *mut ::std::os::raw::c_char, - __statelen: usize, - ) -> *mut ::std::os::raw::c_char; -} -#[pg_guard] -extern "C" { - pub fn setstate(__statebuf: *mut ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; +#[derive(Debug, Default, Copy, Clone)] +pub struct sigvec { + pub sv_handler: ::std::option::Option, + pub sv_mask: ::std::os::raw::c_int, + pub sv_flags: ::std::os::raw::c_int, } #[repr(C)] #[derive(Debug, Copy, Clone)] -pub struct random_data { - pub fptr: *mut i32, - pub rptr: *mut i32, - pub state: *mut i32, - pub rand_type: ::std::os::raw::c_int, - pub rand_deg: ::std::os::raw::c_int, - pub rand_sep: ::std::os::raw::c_int, - pub end_ptr: *mut i32, +pub struct sigstack { + pub ss_sp: *mut ::std::os::raw::c_char, + pub ss_onstack: ::std::os::raw::c_int, } -impl Default for random_data { +impl Default for sigstack { fn default() -> Self { let mut s = ::std::mem::MaybeUninit::::uninit(); unsafe { @@ -4046,188 +4533,558 @@ impl Default for random_data { } #[pg_guard] extern "C" { - pub fn random_r(__buf: *mut random_data, __result: *mut i32) -> ::std::os::raw::c_int; + pub fn signal( + arg1: ::std::os::raw::c_int, + arg2: ::std::option::Option, + ) -> ::std::option::Option< + unsafe extern "C" fn( + arg1: ::std::os::raw::c_int, + arg2: ::std::option::Option, + ), + >; } -#[pg_guard] -extern "C" { - pub fn srandom_r( - __seed: ::std::os::raw::c_uint, - __buf: *mut random_data, - ) -> ::std::os::raw::c_int; +pub type int_least8_t = i8; +pub type int_least16_t = i16; +pub type int_least32_t = i32; +pub type int_least64_t = i64; +pub type uint_least8_t = u8; +pub type uint_least16_t = u16; +pub type uint_least32_t = u32; +pub type uint_least64_t = u64; +pub type int_fast8_t = i8; +pub type int_fast16_t = i16; +pub type int_fast32_t = i32; +pub type int_fast64_t = i64; +pub type uint_fast8_t = u8; +pub type uint_fast16_t = u16; +pub type uint_fast32_t = u32; +pub type uint_fast64_t = u64; +pub type intmax_t = ::std::os::raw::c_long; +pub type uintmax_t = ::std::os::raw::c_ulong; +#[repr(C)] +#[derive(Debug, Default, Copy, Clone)] +pub struct timeval { + pub tv_sec: __darwin_time_t, + pub tv_usec: __darwin_suseconds_t, } -#[pg_guard] -extern "C" { - pub fn initstate_r( - __seed: ::std::os::raw::c_uint, - __statebuf: *mut ::std::os::raw::c_char, - __statelen: usize, - __buf: *mut random_data, - ) -> ::std::os::raw::c_int; +pub type rlim_t = __uint64_t; +#[repr(C)] +#[derive(Debug, Default, Copy, Clone)] +pub struct rusage { + pub ru_utime: timeval, + pub ru_stime: timeval, + pub ru_maxrss: ::std::os::raw::c_long, + pub ru_ixrss: ::std::os::raw::c_long, + pub ru_idrss: ::std::os::raw::c_long, + pub ru_isrss: ::std::os::raw::c_long, + pub ru_minflt: ::std::os::raw::c_long, + pub ru_majflt: ::std::os::raw::c_long, + pub ru_nswap: ::std::os::raw::c_long, + pub ru_inblock: ::std::os::raw::c_long, + pub ru_oublock: ::std::os::raw::c_long, + pub ru_msgsnd: ::std::os::raw::c_long, + pub ru_msgrcv: ::std::os::raw::c_long, + pub ru_nsignals: ::std::os::raw::c_long, + pub ru_nvcsw: ::std::os::raw::c_long, + pub ru_nivcsw: ::std::os::raw::c_long, +} +pub type rusage_info_t = *mut ::std::os::raw::c_void; +#[repr(C)] +#[derive(Debug, Default, Copy, Clone)] +pub struct rusage_info_v0 { + pub ri_uuid: [u8; 16usize], + pub ri_user_time: u64, + pub ri_system_time: u64, + pub ri_pkg_idle_wkups: u64, + pub ri_interrupt_wkups: u64, + pub ri_pageins: u64, + pub ri_wired_size: u64, + pub ri_resident_size: u64, + pub ri_phys_footprint: u64, + pub ri_proc_start_abstime: u64, + pub ri_proc_exit_abstime: u64, } -#[pg_guard] -extern "C" { - pub fn setstate_r( - __statebuf: *mut ::std::os::raw::c_char, - __buf: *mut random_data, - ) -> ::std::os::raw::c_int; +#[repr(C)] +#[derive(Debug, Default, Copy, Clone)] +pub struct rusage_info_v1 { + pub ri_uuid: [u8; 16usize], + pub ri_user_time: u64, + pub ri_system_time: u64, + pub ri_pkg_idle_wkups: u64, + pub ri_interrupt_wkups: u64, + pub ri_pageins: u64, + pub ri_wired_size: u64, + pub ri_resident_size: u64, + pub ri_phys_footprint: u64, + pub ri_proc_start_abstime: u64, + pub ri_proc_exit_abstime: u64, + pub ri_child_user_time: u64, + pub ri_child_system_time: u64, + pub ri_child_pkg_idle_wkups: u64, + pub ri_child_interrupt_wkups: u64, + pub ri_child_pageins: u64, + pub ri_child_elapsed_abstime: u64, } -#[pg_guard] -extern "C" { - pub fn rand() -> ::std::os::raw::c_int; +#[repr(C)] +#[derive(Debug, Default, Copy, Clone)] +pub struct rusage_info_v2 { + pub ri_uuid: [u8; 16usize], + pub ri_user_time: u64, + pub ri_system_time: u64, + pub ri_pkg_idle_wkups: u64, + pub ri_interrupt_wkups: u64, + pub ri_pageins: u64, + pub ri_wired_size: u64, + pub ri_resident_size: u64, + pub ri_phys_footprint: u64, + pub ri_proc_start_abstime: u64, + pub ri_proc_exit_abstime: u64, + pub ri_child_user_time: u64, + pub ri_child_system_time: u64, + pub ri_child_pkg_idle_wkups: u64, + pub ri_child_interrupt_wkups: u64, + pub ri_child_pageins: u64, + pub ri_child_elapsed_abstime: u64, + pub ri_diskio_bytesread: u64, + pub ri_diskio_byteswritten: u64, } -#[pg_guard] -extern "C" { - pub fn srand(__seed: ::std::os::raw::c_uint); +#[repr(C)] +#[derive(Debug, Default, Copy, Clone)] +pub struct rusage_info_v3 { + pub ri_uuid: [u8; 16usize], + pub ri_user_time: u64, + pub ri_system_time: u64, + pub ri_pkg_idle_wkups: u64, + pub ri_interrupt_wkups: u64, + pub ri_pageins: u64, + pub ri_wired_size: u64, + pub ri_resident_size: u64, + pub ri_phys_footprint: u64, + pub ri_proc_start_abstime: u64, + pub ri_proc_exit_abstime: u64, + pub ri_child_user_time: u64, + pub ri_child_system_time: u64, + pub ri_child_pkg_idle_wkups: u64, + pub ri_child_interrupt_wkups: u64, + pub ri_child_pageins: u64, + pub ri_child_elapsed_abstime: u64, + pub ri_diskio_bytesread: u64, + pub ri_diskio_byteswritten: u64, + pub ri_cpu_time_qos_default: u64, + pub ri_cpu_time_qos_maintenance: u64, + pub ri_cpu_time_qos_background: u64, + pub ri_cpu_time_qos_utility: u64, + pub ri_cpu_time_qos_legacy: u64, + pub ri_cpu_time_qos_user_initiated: u64, + pub ri_cpu_time_qos_user_interactive: u64, + pub ri_billed_system_time: u64, + pub ri_serviced_system_time: u64, } -#[pg_guard] -extern "C" { - pub fn rand_r(__seed: *mut ::std::os::raw::c_uint) -> ::std::os::raw::c_int; +#[repr(C)] +#[derive(Debug, Default, Copy, Clone)] +pub struct rusage_info_v4 { + pub ri_uuid: [u8; 16usize], + pub ri_user_time: u64, + pub ri_system_time: u64, + pub ri_pkg_idle_wkups: u64, + pub ri_interrupt_wkups: u64, + pub ri_pageins: u64, + pub ri_wired_size: u64, + pub ri_resident_size: u64, + pub ri_phys_footprint: u64, + pub ri_proc_start_abstime: u64, + pub ri_proc_exit_abstime: u64, + pub ri_child_user_time: u64, + pub ri_child_system_time: u64, + pub ri_child_pkg_idle_wkups: u64, + pub ri_child_interrupt_wkups: u64, + pub ri_child_pageins: u64, + pub ri_child_elapsed_abstime: u64, + pub ri_diskio_bytesread: u64, + pub ri_diskio_byteswritten: u64, + pub ri_cpu_time_qos_default: u64, + pub ri_cpu_time_qos_maintenance: u64, + pub ri_cpu_time_qos_background: u64, + pub ri_cpu_time_qos_utility: u64, + pub ri_cpu_time_qos_legacy: u64, + pub ri_cpu_time_qos_user_initiated: u64, + pub ri_cpu_time_qos_user_interactive: u64, + pub ri_billed_system_time: u64, + pub ri_serviced_system_time: u64, + pub ri_logical_writes: u64, + pub ri_lifetime_max_phys_footprint: u64, + pub ri_instructions: u64, + pub ri_cycles: u64, + pub ri_billed_energy: u64, + pub ri_serviced_energy: u64, + pub ri_interval_max_phys_footprint: u64, + pub ri_runnable_time: u64, } -#[pg_guard] -extern "C" { - pub fn drand48() -> f64; +#[repr(C)] +#[derive(Debug, Default, Copy, Clone)] +pub struct rusage_info_v5 { + pub ri_uuid: [u8; 16usize], + pub ri_user_time: u64, + pub ri_system_time: u64, + pub ri_pkg_idle_wkups: u64, + pub ri_interrupt_wkups: u64, + pub ri_pageins: u64, + pub ri_wired_size: u64, + pub ri_resident_size: u64, + pub ri_phys_footprint: u64, + pub ri_proc_start_abstime: u64, + pub ri_proc_exit_abstime: u64, + pub ri_child_user_time: u64, + pub ri_child_system_time: u64, + pub ri_child_pkg_idle_wkups: u64, + pub ri_child_interrupt_wkups: u64, + pub ri_child_pageins: u64, + pub ri_child_elapsed_abstime: u64, + pub ri_diskio_bytesread: u64, + pub ri_diskio_byteswritten: u64, + pub ri_cpu_time_qos_default: u64, + pub ri_cpu_time_qos_maintenance: u64, + pub ri_cpu_time_qos_background: u64, + pub ri_cpu_time_qos_utility: u64, + pub ri_cpu_time_qos_legacy: u64, + pub ri_cpu_time_qos_user_initiated: u64, + pub ri_cpu_time_qos_user_interactive: u64, + pub ri_billed_system_time: u64, + pub ri_serviced_system_time: u64, + pub ri_logical_writes: u64, + pub ri_lifetime_max_phys_footprint: u64, + pub ri_instructions: u64, + pub ri_cycles: u64, + pub ri_billed_energy: u64, + pub ri_serviced_energy: u64, + pub ri_interval_max_phys_footprint: u64, + pub ri_runnable_time: u64, + pub ri_flags: u64, +} +pub type rusage_info_current = rusage_info_v5; +#[repr(C)] +#[derive(Debug, Default, Copy, Clone)] +pub struct rlimit { + pub rlim_cur: rlim_t, + pub rlim_max: rlim_t, } -#[pg_guard] -extern "C" { - pub fn erand48(__xsubi: *mut ::std::os::raw::c_ushort) -> f64; +#[repr(C)] +#[derive(Debug, Default, Copy, Clone)] +pub struct proc_rlimit_control_wakeupmon { + pub wm_flags: u32, + pub wm_rate: i32, } #[pg_guard] extern "C" { - pub fn lrand48() -> ::std::os::raw::c_long; + pub fn getpriority(arg1: ::std::os::raw::c_int, arg2: id_t) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn nrand48(__xsubi: *mut ::std::os::raw::c_ushort) -> ::std::os::raw::c_long; + pub fn getiopolicy_np( + arg1: ::std::os::raw::c_int, + arg2: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn mrand48() -> ::std::os::raw::c_long; + pub fn getrlimit(arg1: ::std::os::raw::c_int, arg2: *mut rlimit) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn jrand48(__xsubi: *mut ::std::os::raw::c_ushort) -> ::std::os::raw::c_long; + pub fn getrusage(arg1: ::std::os::raw::c_int, arg2: *mut rusage) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn srand48(__seedval: ::std::os::raw::c_long); + pub fn setpriority( + arg1: ::std::os::raw::c_int, + arg2: id_t, + arg3: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn seed48(__seed16v: *mut ::std::os::raw::c_ushort) -> *mut ::std::os::raw::c_ushort; + pub fn setiopolicy_np( + arg1: ::std::os::raw::c_int, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn lcong48(__param: *mut ::std::os::raw::c_ushort); + pub fn setrlimit(arg1: ::std::os::raw::c_int, arg2: *const rlimit) -> ::std::os::raw::c_int; } -#[repr(C)] +#[repr(C, packed)] #[derive(Debug, Default, Copy, Clone)] -pub struct drand48_data { - pub __x: [::std::os::raw::c_ushort; 3usize], - pub __old_x: [::std::os::raw::c_ushort; 3usize], - pub __c: ::std::os::raw::c_ushort, - pub __init: ::std::os::raw::c_ushort, - pub __a: ::std::os::raw::c_ulonglong, +pub struct _OSUnalignedU16 { + pub __val: u16, } -#[pg_guard] -extern "C" { - pub fn drand48_r(__buffer: *mut drand48_data, __result: *mut f64) -> ::std::os::raw::c_int; +#[repr(C, packed)] +#[derive(Debug, Default, Copy, Clone)] +pub struct _OSUnalignedU32 { + pub __val: u32, } -#[pg_guard] -extern "C" { - pub fn erand48_r( - __xsubi: *mut ::std::os::raw::c_ushort, - __buffer: *mut drand48_data, - __result: *mut f64, - ) -> ::std::os::raw::c_int; +#[repr(C, packed)] +#[derive(Debug, Default, Copy, Clone)] +pub struct _OSUnalignedU64 { + pub __val: u64, } -#[pg_guard] -extern "C" { - pub fn lrand48_r( - __buffer: *mut drand48_data, - __result: *mut ::std::os::raw::c_long, - ) -> ::std::os::raw::c_int; +#[repr(C)] +#[derive(Copy, Clone)] +pub union wait { + pub w_status: ::std::os::raw::c_int, + pub w_T: wait__bindgen_ty_1, + pub w_S: wait__bindgen_ty_2, } -#[pg_guard] -extern "C" { - pub fn nrand48_r( - __xsubi: *mut ::std::os::raw::c_ushort, - __buffer: *mut drand48_data, - __result: *mut ::std::os::raw::c_long, - ) -> ::std::os::raw::c_int; +#[repr(C)] +#[repr(align(4))] +#[derive(Debug, Default, Copy, Clone)] +pub struct wait__bindgen_ty_1 { + pub _bitfield_align_1: [u16; 0], + pub _bitfield_1: __BindgenBitfieldUnit<[u8; 4usize]>, +} +impl wait__bindgen_ty_1 { + #[inline] + pub fn w_Termsig(&self) -> ::std::os::raw::c_uint { + unsafe { ::std::mem::transmute(self._bitfield_1.get(0usize, 7u8) as u32) } + } + #[inline] + pub fn set_w_Termsig(&mut self, val: ::std::os::raw::c_uint) { + unsafe { + let val: u32 = ::std::mem::transmute(val); + self._bitfield_1.set(0usize, 7u8, val as u64) + } + } + #[inline] + pub fn w_Coredump(&self) -> ::std::os::raw::c_uint { + unsafe { ::std::mem::transmute(self._bitfield_1.get(7usize, 1u8) as u32) } + } + #[inline] + pub fn set_w_Coredump(&mut self, val: ::std::os::raw::c_uint) { + unsafe { + let val: u32 = ::std::mem::transmute(val); + self._bitfield_1.set(7usize, 1u8, val as u64) + } + } + #[inline] + pub fn w_Retcode(&self) -> ::std::os::raw::c_uint { + unsafe { ::std::mem::transmute(self._bitfield_1.get(8usize, 8u8) as u32) } + } + #[inline] + pub fn set_w_Retcode(&mut self, val: ::std::os::raw::c_uint) { + unsafe { + let val: u32 = ::std::mem::transmute(val); + self._bitfield_1.set(8usize, 8u8, val as u64) + } + } + #[inline] + pub fn w_Filler(&self) -> ::std::os::raw::c_uint { + unsafe { ::std::mem::transmute(self._bitfield_1.get(16usize, 16u8) as u32) } + } + #[inline] + pub fn set_w_Filler(&mut self, val: ::std::os::raw::c_uint) { + unsafe { + let val: u32 = ::std::mem::transmute(val); + self._bitfield_1.set(16usize, 16u8, val as u64) + } + } + #[inline] + pub fn new_bitfield_1( + w_Termsig: ::std::os::raw::c_uint, + w_Coredump: ::std::os::raw::c_uint, + w_Retcode: ::std::os::raw::c_uint, + w_Filler: ::std::os::raw::c_uint, + ) -> __BindgenBitfieldUnit<[u8; 4usize]> { + let mut __bindgen_bitfield_unit: __BindgenBitfieldUnit<[u8; 4usize]> = Default::default(); + __bindgen_bitfield_unit.set(0usize, 7u8, { + let w_Termsig: u32 = unsafe { ::std::mem::transmute(w_Termsig) }; + w_Termsig as u64 + }); + __bindgen_bitfield_unit.set(7usize, 1u8, { + let w_Coredump: u32 = unsafe { ::std::mem::transmute(w_Coredump) }; + w_Coredump as u64 + }); + __bindgen_bitfield_unit.set(8usize, 8u8, { + let w_Retcode: u32 = unsafe { ::std::mem::transmute(w_Retcode) }; + w_Retcode as u64 + }); + __bindgen_bitfield_unit.set(16usize, 16u8, { + let w_Filler: u32 = unsafe { ::std::mem::transmute(w_Filler) }; + w_Filler as u64 + }); + __bindgen_bitfield_unit + } +} +#[repr(C)] +#[repr(align(4))] +#[derive(Debug, Default, Copy, Clone)] +pub struct wait__bindgen_ty_2 { + pub _bitfield_align_1: [u16; 0], + pub _bitfield_1: __BindgenBitfieldUnit<[u8; 4usize]>, +} +impl wait__bindgen_ty_2 { + #[inline] + pub fn w_Stopval(&self) -> ::std::os::raw::c_uint { + unsafe { ::std::mem::transmute(self._bitfield_1.get(0usize, 8u8) as u32) } + } + #[inline] + pub fn set_w_Stopval(&mut self, val: ::std::os::raw::c_uint) { + unsafe { + let val: u32 = ::std::mem::transmute(val); + self._bitfield_1.set(0usize, 8u8, val as u64) + } + } + #[inline] + pub fn w_Stopsig(&self) -> ::std::os::raw::c_uint { + unsafe { ::std::mem::transmute(self._bitfield_1.get(8usize, 8u8) as u32) } + } + #[inline] + pub fn set_w_Stopsig(&mut self, val: ::std::os::raw::c_uint) { + unsafe { + let val: u32 = ::std::mem::transmute(val); + self._bitfield_1.set(8usize, 8u8, val as u64) + } + } + #[inline] + pub fn w_Filler(&self) -> ::std::os::raw::c_uint { + unsafe { ::std::mem::transmute(self._bitfield_1.get(16usize, 16u8) as u32) } + } + #[inline] + pub fn set_w_Filler(&mut self, val: ::std::os::raw::c_uint) { + unsafe { + let val: u32 = ::std::mem::transmute(val); + self._bitfield_1.set(16usize, 16u8, val as u64) + } + } + #[inline] + pub fn new_bitfield_1( + w_Stopval: ::std::os::raw::c_uint, + w_Stopsig: ::std::os::raw::c_uint, + w_Filler: ::std::os::raw::c_uint, + ) -> __BindgenBitfieldUnit<[u8; 4usize]> { + let mut __bindgen_bitfield_unit: __BindgenBitfieldUnit<[u8; 4usize]> = Default::default(); + __bindgen_bitfield_unit.set(0usize, 8u8, { + let w_Stopval: u32 = unsafe { ::std::mem::transmute(w_Stopval) }; + w_Stopval as u64 + }); + __bindgen_bitfield_unit.set(8usize, 8u8, { + let w_Stopsig: u32 = unsafe { ::std::mem::transmute(w_Stopsig) }; + w_Stopsig as u64 + }); + __bindgen_bitfield_unit.set(16usize, 16u8, { + let w_Filler: u32 = unsafe { ::std::mem::transmute(w_Filler) }; + w_Filler as u64 + }); + __bindgen_bitfield_unit + } +} +impl Default for wait { + fn default() -> Self { + let mut s = ::std::mem::MaybeUninit::::uninit(); + unsafe { + ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); + s.assume_init() + } + } } #[pg_guard] extern "C" { - pub fn mrand48_r( - __buffer: *mut drand48_data, - __result: *mut ::std::os::raw::c_long, - ) -> ::std::os::raw::c_int; + pub fn wait(arg1: *mut ::std::os::raw::c_int) -> pid_t; } #[pg_guard] extern "C" { - pub fn jrand48_r( - __xsubi: *mut ::std::os::raw::c_ushort, - __buffer: *mut drand48_data, - __result: *mut ::std::os::raw::c_long, - ) -> ::std::os::raw::c_int; + pub fn waitpid( + arg1: pid_t, + arg2: *mut ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ) -> pid_t; } #[pg_guard] extern "C" { - pub fn srand48_r( - __seedval: ::std::os::raw::c_long, - __buffer: *mut drand48_data, + pub fn waitid( + arg1: idtype_t, + arg2: id_t, + arg3: *mut siginfo_t, + arg4: ::std::os::raw::c_int, ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn seed48_r( - __seed16v: *mut ::std::os::raw::c_ushort, - __buffer: *mut drand48_data, - ) -> ::std::os::raw::c_int; + pub fn wait3( + arg1: *mut ::std::os::raw::c_int, + arg2: ::std::os::raw::c_int, + arg3: *mut rusage, + ) -> pid_t; } #[pg_guard] extern "C" { - pub fn lcong48_r( - __param: *mut ::std::os::raw::c_ushort, - __buffer: *mut drand48_data, - ) -> ::std::os::raw::c_int; + pub fn wait4( + arg1: pid_t, + arg2: *mut ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + arg4: *mut rusage, + ) -> pid_t; } #[pg_guard] extern "C" { - pub fn malloc(__size: ::std::os::raw::c_ulong) -> *mut ::std::os::raw::c_void; + pub fn alloca(arg1: ::std::os::raw::c_ulong) -> *mut ::std::os::raw::c_void; +} +pub type ct_rune_t = __darwin_ct_rune_t; +pub type rune_t = __darwin_rune_t; +pub type wchar_t = __darwin_wchar_t; +#[repr(C)] +#[derive(Debug, Default, Copy, Clone)] +pub struct div_t { + pub quot: ::std::os::raw::c_int, + pub rem: ::std::os::raw::c_int, +} +#[repr(C)] +#[derive(Debug, Default, Copy, Clone)] +pub struct ldiv_t { + pub quot: ::std::os::raw::c_long, + pub rem: ::std::os::raw::c_long, +} +#[repr(C)] +#[derive(Debug, Default, Copy, Clone)] +pub struct lldiv_t { + pub quot: ::std::os::raw::c_longlong, + pub rem: ::std::os::raw::c_longlong, } #[pg_guard] extern "C" { - pub fn calloc( - __nmemb: ::std::os::raw::c_ulong, - __size: ::std::os::raw::c_ulong, - ) -> *mut ::std::os::raw::c_void; + pub static mut __mb_cur_max: ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn realloc( - __ptr: *mut ::std::os::raw::c_void, + pub fn malloc(__size: ::std::os::raw::c_ulong) -> *mut ::std::os::raw::c_void; +} +#[pg_guard] +extern "C" { + pub fn calloc( + __count: ::std::os::raw::c_ulong, __size: ::std::os::raw::c_ulong, ) -> *mut ::std::os::raw::c_void; } #[pg_guard] extern "C" { - pub fn free(__ptr: *mut ::std::os::raw::c_void); + pub fn free(arg1: *mut ::std::os::raw::c_void); } #[pg_guard] extern "C" { - pub fn reallocarray( + pub fn realloc( __ptr: *mut ::std::os::raw::c_void, - __nmemb: usize, - __size: usize, + __size: ::std::os::raw::c_ulong, ) -> *mut ::std::os::raw::c_void; } #[pg_guard] extern "C" { - pub fn alloca(__size: ::std::os::raw::c_ulong) -> *mut ::std::os::raw::c_void; + pub fn valloc(arg1: usize) -> *mut ::std::os::raw::c_void; } #[pg_guard] extern "C" { - pub fn valloc(__size: usize) -> *mut ::std::os::raw::c_void; + pub fn aligned_alloc( + __alignment: ::std::os::raw::c_ulong, + __size: ::std::os::raw::c_ulong, + ) -> *mut ::std::os::raw::c_void; } #[pg_guard] extern "C" { @@ -4239,321 +5096,668 @@ extern "C" { } #[pg_guard] extern "C" { - pub fn aligned_alloc( - __alignment: ::std::os::raw::c_ulong, - __size: ::std::os::raw::c_ulong, + pub fn abort(); +} +#[pg_guard] +extern "C" { + pub fn abs(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; +} +#[pg_guard] +extern "C" { + pub fn atexit(arg1: ::std::option::Option) -> ::std::os::raw::c_int; +} +#[pg_guard] +extern "C" { + pub fn atof(arg1: *const ::std::os::raw::c_char) -> f64; +} +#[pg_guard] +extern "C" { + pub fn atoi(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; +} +#[pg_guard] +extern "C" { + pub fn atol(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_long; +} +#[pg_guard] +extern "C" { + pub fn atoll(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_longlong; +} +#[pg_guard] +extern "C" { + pub fn bsearch( + __key: *const ::std::os::raw::c_void, + __base: *const ::std::os::raw::c_void, + __nel: usize, + __width: usize, + __compar: ::std::option::Option< + unsafe extern "C" fn( + arg1: *const ::std::os::raw::c_void, + arg2: *const ::std::os::raw::c_void, + ) -> ::std::os::raw::c_int, + >, ) -> *mut ::std::os::raw::c_void; } #[pg_guard] extern "C" { - pub fn abort(); + pub fn div(arg1: ::std::os::raw::c_int, arg2: ::std::os::raw::c_int) -> div_t; +} +#[pg_guard] +extern "C" { + pub fn exit(arg1: ::std::os::raw::c_int); +} +#[pg_guard] +extern "C" { + pub fn getenv(arg1: *const ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; +} +#[pg_guard] +extern "C" { + pub fn labs(arg1: ::std::os::raw::c_long) -> ::std::os::raw::c_long; +} +#[pg_guard] +extern "C" { + pub fn ldiv(arg1: ::std::os::raw::c_long, arg2: ::std::os::raw::c_long) -> ldiv_t; +} +#[pg_guard] +extern "C" { + pub fn llabs(arg1: ::std::os::raw::c_longlong) -> ::std::os::raw::c_longlong; +} +#[pg_guard] +extern "C" { + pub fn lldiv(arg1: ::std::os::raw::c_longlong, arg2: ::std::os::raw::c_longlong) -> lldiv_t; } #[pg_guard] extern "C" { - pub fn atexit(__func: ::std::option::Option) -> ::std::os::raw::c_int; + pub fn mblen(__s: *const ::std::os::raw::c_char, __n: usize) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn at_quick_exit( - __func: ::std::option::Option, + pub fn mbstowcs(arg1: *mut wchar_t, arg2: *const ::std::os::raw::c_char, arg3: usize) -> usize; +} +#[pg_guard] +extern "C" { + pub fn mbtowc( + arg1: *mut wchar_t, + arg2: *const ::std::os::raw::c_char, + arg3: usize, ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn on_exit( - __func: ::std::option::Option< + pub fn qsort( + __base: *mut ::std::os::raw::c_void, + __nel: usize, + __width: usize, + __compar: ::std::option::Option< unsafe extern "C" fn( - __status: ::std::os::raw::c_int, - __arg: *mut ::std::os::raw::c_void, - ), + arg1: *const ::std::os::raw::c_void, + arg2: *const ::std::os::raw::c_void, + ) -> ::std::os::raw::c_int, >, - __arg: *mut ::std::os::raw::c_void, + ); +} +#[pg_guard] +extern "C" { + pub fn rand() -> ::std::os::raw::c_int; +} +#[pg_guard] +extern "C" { + pub fn srand(arg1: ::std::os::raw::c_uint); +} +#[pg_guard] +extern "C" { + pub fn strtod( + arg1: *const ::std::os::raw::c_char, + arg2: *mut *mut ::std::os::raw::c_char, + ) -> f64; +} +#[pg_guard] +extern "C" { + pub fn strtof( + arg1: *const ::std::os::raw::c_char, + arg2: *mut *mut ::std::os::raw::c_char, + ) -> f32; +} +#[pg_guard] +extern "C" { + pub fn strtol( + __str: *const ::std::os::raw::c_char, + __endptr: *mut *mut ::std::os::raw::c_char, + __base: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_long; +} +#[pg_guard] +extern "C" { + pub fn strtold( + arg1: *const ::std::os::raw::c_char, + arg2: *mut *mut ::std::os::raw::c_char, + ) -> f64; +} +#[pg_guard] +extern "C" { + pub fn strtoll( + __str: *const ::std::os::raw::c_char, + __endptr: *mut *mut ::std::os::raw::c_char, + __base: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_longlong; +} +#[pg_guard] +extern "C" { + pub fn strtoul( + __str: *const ::std::os::raw::c_char, + __endptr: *mut *mut ::std::os::raw::c_char, + __base: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_ulong; +} +#[pg_guard] +extern "C" { + pub fn strtoull( + __str: *const ::std::os::raw::c_char, + __endptr: *mut *mut ::std::os::raw::c_char, + __base: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_ulonglong; +} +#[pg_guard] +extern "C" { + pub fn system(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; +} +#[pg_guard] +extern "C" { + pub fn wcstombs(arg1: *mut ::std::os::raw::c_char, arg2: *const wchar_t, arg3: usize) -> usize; +} +#[pg_guard] +extern "C" { + pub fn wctomb(arg1: *mut ::std::os::raw::c_char, arg2: wchar_t) -> ::std::os::raw::c_int; +} +#[pg_guard] +extern "C" { + pub fn _Exit(arg1: ::std::os::raw::c_int); +} +#[pg_guard] +extern "C" { + pub fn a64l(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_long; +} +#[pg_guard] +extern "C" { + pub fn drand48() -> f64; +} +#[pg_guard] +extern "C" { + pub fn ecvt( + arg1: f64, + arg2: ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + ) -> *mut ::std::os::raw::c_char; +} +#[pg_guard] +extern "C" { + pub fn erand48(arg1: *mut ::std::os::raw::c_ushort) -> f64; +} +#[pg_guard] +extern "C" { + pub fn fcvt( + arg1: f64, + arg2: ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + ) -> *mut ::std::os::raw::c_char; +} +#[pg_guard] +extern "C" { + pub fn gcvt( + arg1: f64, + arg2: ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; +} +#[pg_guard] +extern "C" { + pub fn getsubopt( + arg1: *mut *mut ::std::os::raw::c_char, + arg2: *const *mut ::std::os::raw::c_char, + arg3: *mut *mut ::std::os::raw::c_char, ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn exit(__status: ::std::os::raw::c_int); + pub fn grantpt(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn quick_exit(__status: ::std::os::raw::c_int); + pub fn initstate( + arg1: ::std::os::raw::c_uint, + arg2: *mut ::std::os::raw::c_char, + arg3: usize, + ) -> *mut ::std::os::raw::c_char; } #[pg_guard] extern "C" { - pub fn _Exit(__status: ::std::os::raw::c_int); + pub fn jrand48(arg1: *mut ::std::os::raw::c_ushort) -> ::std::os::raw::c_long; } #[pg_guard] extern "C" { - pub fn getenv(__name: *const ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; + pub fn l64a(arg1: ::std::os::raw::c_long) -> *mut ::std::os::raw::c_char; } #[pg_guard] extern "C" { - pub fn putenv(__string: *mut ::std::os::raw::c_char) -> ::std::os::raw::c_int; + pub fn lcong48(arg1: *mut ::std::os::raw::c_ushort); +} +#[pg_guard] +extern "C" { + pub fn lrand48() -> ::std::os::raw::c_long; +} +#[pg_guard] +extern "C" { + pub fn mktemp(arg1: *mut ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; +} +#[pg_guard] +extern "C" { + pub fn mkstemp(arg1: *mut ::std::os::raw::c_char) -> ::std::os::raw::c_int; +} +#[pg_guard] +extern "C" { + pub fn mrand48() -> ::std::os::raw::c_long; +} +#[pg_guard] +extern "C" { + pub fn nrand48(arg1: *mut ::std::os::raw::c_ushort) -> ::std::os::raw::c_long; +} +#[pg_guard] +extern "C" { + pub fn posix_openpt(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; +} +#[pg_guard] +extern "C" { + pub fn ptsname(arg1: ::std::os::raw::c_int) -> *mut ::std::os::raw::c_char; +} +#[pg_guard] +extern "C" { + pub fn ptsname_r( + fildes: ::std::os::raw::c_int, + buffer: *mut ::std::os::raw::c_char, + buflen: usize, + ) -> ::std::os::raw::c_int; +} +#[pg_guard] +extern "C" { + pub fn putenv(arg1: *mut ::std::os::raw::c_char) -> ::std::os::raw::c_int; +} +#[pg_guard] +extern "C" { + pub fn random() -> ::std::os::raw::c_long; +} +#[pg_guard] +extern "C" { + pub fn rand_r(arg1: *mut ::std::os::raw::c_uint) -> ::std::os::raw::c_int; +} +#[pg_guard] +extern "C" { + #[link_name = "\u{1}_realpath$DARWIN_EXTSN"] + pub fn realpath( + arg1: *const ::std::os::raw::c_char, + arg2: *mut ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; +} +#[pg_guard] +extern "C" { + pub fn seed48(arg1: *mut ::std::os::raw::c_ushort) -> *mut ::std::os::raw::c_ushort; } #[pg_guard] extern "C" { pub fn setenv( __name: *const ::std::os::raw::c_char, __value: *const ::std::os::raw::c_char, - __replace: ::std::os::raw::c_int, + __overwrite: ::std::os::raw::c_int, ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn unsetenv(__name: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; + pub fn setkey(arg1: *const ::std::os::raw::c_char); } #[pg_guard] extern "C" { - pub fn clearenv() -> ::std::os::raw::c_int; + pub fn setstate(arg1: *const ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; } #[pg_guard] extern "C" { - pub fn mktemp(__template: *mut ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; + pub fn srand48(arg1: ::std::os::raw::c_long); } #[pg_guard] extern "C" { - pub fn mkstemp(__template: *mut ::std::os::raw::c_char) -> ::std::os::raw::c_int; + pub fn srandom(arg1: ::std::os::raw::c_uint); } #[pg_guard] extern "C" { - pub fn mkstemps( - __template: *mut ::std::os::raw::c_char, - __suffixlen: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; + pub fn unlockpt(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn mkdtemp(__template: *mut ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; + pub fn unsetenv(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; } +pub type dev_t = __darwin_dev_t; +pub type mode_t = __darwin_mode_t; #[pg_guard] extern "C" { - pub fn system(__command: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; + pub fn arc4random() -> u32; } #[pg_guard] extern "C" { - pub fn realpath( - __name: *const ::std::os::raw::c_char, - __resolved: *mut ::std::os::raw::c_char, - ) -> *mut ::std::os::raw::c_char; + pub fn arc4random_addrandom(arg1: *mut ::std::os::raw::c_uchar, arg2: ::std::os::raw::c_int); } -pub type __compar_fn_t = ::std::option::Option< - unsafe extern "C" fn( - arg1: *const ::std::os::raw::c_void, - arg2: *const ::std::os::raw::c_void, - ) -> ::std::os::raw::c_int, ->; #[pg_guard] extern "C" { - pub fn bsearch( + pub fn arc4random_buf(__buf: *mut ::std::os::raw::c_void, __nbytes: usize); +} +#[pg_guard] +extern "C" { + pub fn arc4random_stir(); +} +#[pg_guard] +extern "C" { + pub fn arc4random_uniform(__upper_bound: u32) -> u32; +} +#[pg_guard] +extern "C" { + pub fn atexit_b(arg1: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int; +} +#[pg_guard] +extern "C" { + pub fn bsearch_b( __key: *const ::std::os::raw::c_void, __base: *const ::std::os::raw::c_void, - __nmemb: usize, - __size: usize, - __compar: __compar_fn_t, + __nel: usize, + __width: usize, + __compar: *mut ::std::os::raw::c_void, ) -> *mut ::std::os::raw::c_void; } #[pg_guard] extern "C" { - pub fn qsort( - __base: *mut ::std::os::raw::c_void, - __nmemb: usize, - __size: usize, - __compar: __compar_fn_t, - ); + pub fn cgetcap( + arg1: *mut ::std::os::raw::c_char, + arg2: *const ::std::os::raw::c_char, + arg3: ::std::os::raw::c_int, + ) -> *mut ::std::os::raw::c_char; } #[pg_guard] extern "C" { - pub fn abs(__x: ::std::os::raw::c_int) -> ::std::os::raw::c_int; + pub fn cgetclose() -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn labs(__x: ::std::os::raw::c_long) -> ::std::os::raw::c_long; + pub fn cgetent( + arg1: *mut *mut ::std::os::raw::c_char, + arg2: *mut *mut ::std::os::raw::c_char, + arg3: *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn llabs(__x: ::std::os::raw::c_longlong) -> ::std::os::raw::c_longlong; + pub fn cgetfirst( + arg1: *mut *mut ::std::os::raw::c_char, + arg2: *mut *mut ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn div(__numer: ::std::os::raw::c_int, __denom: ::std::os::raw::c_int) -> div_t; + pub fn cgetmatch( + arg1: *const ::std::os::raw::c_char, + arg2: *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn ldiv(__numer: ::std::os::raw::c_long, __denom: ::std::os::raw::c_long) -> ldiv_t; + pub fn cgetnext( + arg1: *mut *mut ::std::os::raw::c_char, + arg2: *mut *mut ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn lldiv( - __numer: ::std::os::raw::c_longlong, - __denom: ::std::os::raw::c_longlong, - ) -> lldiv_t; + pub fn cgetnum( + arg1: *mut ::std::os::raw::c_char, + arg2: *const ::std::os::raw::c_char, + arg3: *mut ::std::os::raw::c_long, + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn ecvt( - __value: f64, - __ndigit: ::std::os::raw::c_int, - __decpt: *mut ::std::os::raw::c_int, - __sign: *mut ::std::os::raw::c_int, - ) -> *mut ::std::os::raw::c_char; + pub fn cgetset(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn fcvt( - __value: f64, - __ndigit: ::std::os::raw::c_int, - __decpt: *mut ::std::os::raw::c_int, - __sign: *mut ::std::os::raw::c_int, - ) -> *mut ::std::os::raw::c_char; + pub fn cgetstr( + arg1: *mut ::std::os::raw::c_char, + arg2: *const ::std::os::raw::c_char, + arg3: *mut *mut ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn gcvt( - __value: f64, - __ndigit: ::std::os::raw::c_int, - __buf: *mut ::std::os::raw::c_char, - ) -> *mut ::std::os::raw::c_char; + pub fn cgetustr( + arg1: *mut ::std::os::raw::c_char, + arg2: *const ::std::os::raw::c_char, + arg3: *mut *mut ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn qecvt( - __value: u128, - __ndigit: ::std::os::raw::c_int, - __decpt: *mut ::std::os::raw::c_int, - __sign: *mut ::std::os::raw::c_int, - ) -> *mut ::std::os::raw::c_char; + pub fn daemon( + arg1: ::std::os::raw::c_int, + arg2: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; +} +#[pg_guard] +extern "C" { + pub fn devname(arg1: dev_t, arg2: mode_t) -> *mut ::std::os::raw::c_char; } #[pg_guard] extern "C" { - pub fn qfcvt( - __value: u128, - __ndigit: ::std::os::raw::c_int, - __decpt: *mut ::std::os::raw::c_int, - __sign: *mut ::std::os::raw::c_int, + pub fn devname_r( + arg1: dev_t, + arg2: mode_t, + buf: *mut ::std::os::raw::c_char, + len: ::std::os::raw::c_int, ) -> *mut ::std::os::raw::c_char; } #[pg_guard] extern "C" { - pub fn qgcvt( - __value: u128, - __ndigit: ::std::os::raw::c_int, - __buf: *mut ::std::os::raw::c_char, + pub fn getbsize( + arg1: *mut ::std::os::raw::c_int, + arg2: *mut ::std::os::raw::c_long, ) -> *mut ::std::os::raw::c_char; } #[pg_guard] extern "C" { - pub fn ecvt_r( - __value: f64, - __ndigit: ::std::os::raw::c_int, - __decpt: *mut ::std::os::raw::c_int, - __sign: *mut ::std::os::raw::c_int, - __buf: *mut ::std::os::raw::c_char, - __len: usize, + pub fn getloadavg(arg1: *mut f64, arg2: ::std::os::raw::c_int) -> ::std::os::raw::c_int; +} +#[pg_guard] +extern "C" { + pub fn getprogname() -> *const ::std::os::raw::c_char; +} +#[pg_guard] +extern "C" { + pub fn setprogname(arg1: *const ::std::os::raw::c_char); +} +#[pg_guard] +extern "C" { + pub fn heapsort( + __base: *mut ::std::os::raw::c_void, + __nel: usize, + __width: usize, + __compar: ::std::option::Option< + unsafe extern "C" fn( + arg1: *const ::std::os::raw::c_void, + arg2: *const ::std::os::raw::c_void, + ) -> ::std::os::raw::c_int, + >, ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn fcvt_r( - __value: f64, - __ndigit: ::std::os::raw::c_int, - __decpt: *mut ::std::os::raw::c_int, - __sign: *mut ::std::os::raw::c_int, - __buf: *mut ::std::os::raw::c_char, - __len: usize, + pub fn heapsort_b( + __base: *mut ::std::os::raw::c_void, + __nel: usize, + __width: usize, + __compar: *mut ::std::os::raw::c_void, ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn qecvt_r( - __value: u128, - __ndigit: ::std::os::raw::c_int, - __decpt: *mut ::std::os::raw::c_int, - __sign: *mut ::std::os::raw::c_int, - __buf: *mut ::std::os::raw::c_char, - __len: usize, + pub fn mergesort( + __base: *mut ::std::os::raw::c_void, + __nel: usize, + __width: usize, + __compar: ::std::option::Option< + unsafe extern "C" fn( + arg1: *const ::std::os::raw::c_void, + arg2: *const ::std::os::raw::c_void, + ) -> ::std::os::raw::c_int, + >, ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn qfcvt_r( - __value: u128, - __ndigit: ::std::os::raw::c_int, - __decpt: *mut ::std::os::raw::c_int, - __sign: *mut ::std::os::raw::c_int, - __buf: *mut ::std::os::raw::c_char, - __len: usize, + pub fn mergesort_b( + __base: *mut ::std::os::raw::c_void, + __nel: usize, + __width: usize, + __compar: *mut ::std::os::raw::c_void, ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn mblen(__s: *const ::std::os::raw::c_char, __n: usize) -> ::std::os::raw::c_int; + pub fn psort( + __base: *mut ::std::os::raw::c_void, + __nel: usize, + __width: usize, + __compar: ::std::option::Option< + unsafe extern "C" fn( + arg1: *const ::std::os::raw::c_void, + arg2: *const ::std::os::raw::c_void, + ) -> ::std::os::raw::c_int, + >, + ); } #[pg_guard] extern "C" { - pub fn mbtowc( - __pwc: *mut wchar_t, - __s: *const ::std::os::raw::c_char, - __n: usize, - ) -> ::std::os::raw::c_int; + pub fn psort_b( + __base: *mut ::std::os::raw::c_void, + __nel: usize, + __width: usize, + __compar: *mut ::std::os::raw::c_void, + ); } #[pg_guard] extern "C" { - pub fn wctomb(__s: *mut ::std::os::raw::c_char, __wchar: wchar_t) -> ::std::os::raw::c_int; + pub fn psort_r( + __base: *mut ::std::os::raw::c_void, + __nel: usize, + __width: usize, + arg1: *mut ::std::os::raw::c_void, + __compar: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut ::std::os::raw::c_void, + arg2: *const ::std::os::raw::c_void, + arg3: *const ::std::os::raw::c_void, + ) -> ::std::os::raw::c_int, + >, + ); +} +#[pg_guard] +extern "C" { + pub fn qsort_b( + __base: *mut ::std::os::raw::c_void, + __nel: usize, + __width: usize, + __compar: *mut ::std::os::raw::c_void, + ); } #[pg_guard] extern "C" { - pub fn mbstowcs(__pwcs: *mut wchar_t, __s: *const ::std::os::raw::c_char, __n: usize) -> usize; + pub fn qsort_r( + __base: *mut ::std::os::raw::c_void, + __nel: usize, + __width: usize, + arg1: *mut ::std::os::raw::c_void, + __compar: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut ::std::os::raw::c_void, + arg2: *const ::std::os::raw::c_void, + arg3: *const ::std::os::raw::c_void, + ) -> ::std::os::raw::c_int, + >, + ); } #[pg_guard] extern "C" { - pub fn wcstombs(__s: *mut ::std::os::raw::c_char, __pwcs: *const wchar_t, __n: usize) -> usize; + pub fn radixsort( + __base: *mut *const ::std::os::raw::c_uchar, + __nel: ::std::os::raw::c_int, + __table: *const ::std::os::raw::c_uchar, + __endbyte: ::std::os::raw::c_uint, + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn rpmatch(__response: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; + pub fn rpmatch(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn getsubopt( - __optionp: *mut *mut ::std::os::raw::c_char, - __tokens: *const *mut ::std::os::raw::c_char, - __valuep: *mut *mut ::std::os::raw::c_char, + pub fn sradixsort( + __base: *mut *const ::std::os::raw::c_uchar, + __nel: ::std::os::raw::c_int, + __table: *const ::std::os::raw::c_uchar, + __endbyte: ::std::os::raw::c_uint, ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn getloadavg(__loadavg: *mut f64, __nelem: ::std::os::raw::c_int) - -> ::std::os::raw::c_int; + pub fn sranddev(); } #[pg_guard] extern "C" { - pub fn memcpy( - __dest: *mut ::std::os::raw::c_void, - __src: *const ::std::os::raw::c_void, - __n: ::std::os::raw::c_ulong, - ) -> *mut ::std::os::raw::c_void; + pub fn srandomdev(); } #[pg_guard] extern "C" { - pub fn memmove( - __dest: *mut ::std::os::raw::c_void, - __src: *const ::std::os::raw::c_void, - __n: ::std::os::raw::c_ulong, + pub fn reallocf( + __ptr: *mut ::std::os::raw::c_void, + __size: usize, ) -> *mut ::std::os::raw::c_void; } #[pg_guard] extern "C" { - pub fn memccpy( - __dest: *mut ::std::os::raw::c_void, - __src: *const ::std::os::raw::c_void, - __c: ::std::os::raw::c_int, - __n: ::std::os::raw::c_ulong, - ) -> *mut ::std::os::raw::c_void; + pub fn strtonum( + __numstr: *const ::std::os::raw::c_char, + __minval: ::std::os::raw::c_longlong, + __maxval: ::std::os::raw::c_longlong, + __errstrp: *mut *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_longlong; } #[pg_guard] extern "C" { - pub fn memset( - __s: *mut ::std::os::raw::c_void, + pub fn strtoq( + __str: *const ::std::os::raw::c_char, + __endptr: *mut *mut ::std::os::raw::c_char, + __base: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_longlong; +} +#[pg_guard] +extern "C" { + pub fn strtouq( + __str: *const ::std::os::raw::c_char, + __endptr: *mut *mut ::std::os::raw::c_char, + __base: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_ulonglong; +} +#[pg_guard] +extern "C" { + pub static mut suboptarg: *mut ::std::os::raw::c_char; +} +#[pg_guard] +extern "C" { + pub fn memchr( + __s: *const ::std::os::raw::c_void, __c: ::std::os::raw::c_int, __n: ::std::os::raw::c_ulong, ) -> *mut ::std::os::raw::c_void; @@ -4568,40 +5772,40 @@ extern "C" { } #[pg_guard] extern "C" { - pub fn memchr( - __s: *const ::std::os::raw::c_void, - __c: ::std::os::raw::c_int, + pub fn memcpy( + __dst: *mut ::std::os::raw::c_void, + __src: *const ::std::os::raw::c_void, __n: ::std::os::raw::c_ulong, ) -> *mut ::std::os::raw::c_void; } #[pg_guard] extern "C" { - pub fn strcpy( - __dest: *mut ::std::os::raw::c_char, - __src: *const ::std::os::raw::c_char, - ) -> *mut ::std::os::raw::c_char; + pub fn memmove( + __dst: *mut ::std::os::raw::c_void, + __src: *const ::std::os::raw::c_void, + __len: ::std::os::raw::c_ulong, + ) -> *mut ::std::os::raw::c_void; } #[pg_guard] extern "C" { - pub fn strncpy( - __dest: *mut ::std::os::raw::c_char, - __src: *const ::std::os::raw::c_char, - __n: ::std::os::raw::c_ulong, - ) -> *mut ::std::os::raw::c_char; + pub fn memset( + __b: *mut ::std::os::raw::c_void, + __c: ::std::os::raw::c_int, + __len: ::std::os::raw::c_ulong, + ) -> *mut ::std::os::raw::c_void; } #[pg_guard] extern "C" { pub fn strcat( - __dest: *mut ::std::os::raw::c_char, - __src: *const ::std::os::raw::c_char, + __s1: *mut ::std::os::raw::c_char, + __s2: *const ::std::os::raw::c_char, ) -> *mut ::std::os::raw::c_char; } #[pg_guard] extern "C" { - pub fn strncat( - __dest: *mut ::std::os::raw::c_char, - __src: *const ::std::os::raw::c_char, - __n: ::std::os::raw::c_ulong, + pub fn strchr( + __s: *const ::std::os::raw::c_char, + __c: ::std::os::raw::c_int, ) -> *mut ::std::os::raw::c_char; } #[pg_guard] @@ -4613,80 +5817,62 @@ extern "C" { } #[pg_guard] extern "C" { - pub fn strncmp( + pub fn strcoll( __s1: *const ::std::os::raw::c_char, __s2: *const ::std::os::raw::c_char, - __n: ::std::os::raw::c_ulong, ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn strcoll( - __s1: *const ::std::os::raw::c_char, - __s2: *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; + pub fn strcpy( + __dst: *mut ::std::os::raw::c_char, + __src: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; } #[pg_guard] extern "C" { - pub fn strxfrm( - __dest: *mut ::std::os::raw::c_char, - __src: *const ::std::os::raw::c_char, - __n: ::std::os::raw::c_ulong, + pub fn strcspn( + __s: *const ::std::os::raw::c_char, + __charset: *const ::std::os::raw::c_char, ) -> ::std::os::raw::c_ulong; } -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct __locale_struct { - pub __locales: [*mut __locale_data; 13usize], - pub __ctype_b: *const ::std::os::raw::c_ushort, - pub __ctype_tolower: *const ::std::os::raw::c_int, - pub __ctype_toupper: *const ::std::os::raw::c_int, - pub __names: [*const ::std::os::raw::c_char; 13usize], -} -impl Default for __locale_struct { - fn default() -> Self { - let mut s = ::std::mem::MaybeUninit::::uninit(); - unsafe { - ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); - s.assume_init() - } - } +#[pg_guard] +extern "C" { + pub fn strerror(__errnum: ::std::os::raw::c_int) -> *mut ::std::os::raw::c_char; } -pub type __locale_t = *mut __locale_struct; -pub type locale_t = __locale_t; #[pg_guard] extern "C" { - pub fn strcoll_l( - __s1: *const ::std::os::raw::c_char, - __s2: *const ::std::os::raw::c_char, - __l: locale_t, - ) -> ::std::os::raw::c_int; + pub fn strlen(__s: *const ::std::os::raw::c_char) -> ::std::os::raw::c_ulong; } #[pg_guard] extern "C" { - pub fn strxfrm_l( - __dest: *mut ::std::os::raw::c_char, - __src: *const ::std::os::raw::c_char, - __n: usize, - __l: locale_t, - ) -> usize; + pub fn strncat( + __s1: *mut ::std::os::raw::c_char, + __s2: *const ::std::os::raw::c_char, + __n: ::std::os::raw::c_ulong, + ) -> *mut ::std::os::raw::c_char; } #[pg_guard] extern "C" { - pub fn strdup(__s: *const ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; + pub fn strncmp( + __s1: *const ::std::os::raw::c_char, + __s2: *const ::std::os::raw::c_char, + __n: ::std::os::raw::c_ulong, + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn strndup( - __string: *const ::std::os::raw::c_char, + pub fn strncpy( + __dst: *mut ::std::os::raw::c_char, + __src: *const ::std::os::raw::c_char, __n: ::std::os::raw::c_ulong, ) -> *mut ::std::os::raw::c_char; } #[pg_guard] extern "C" { - pub fn strchr( + pub fn strpbrk( __s: *const ::std::os::raw::c_char, - __c: ::std::os::raw::c_int, + __charset: *const ::std::os::raw::c_char, ) -> *mut ::std::os::raw::c_char; } #[pg_guard] @@ -4698,235 +5884,332 @@ extern "C" { } #[pg_guard] extern "C" { - pub fn strcspn( + pub fn strspn( __s: *const ::std::os::raw::c_char, - __reject: *const ::std::os::raw::c_char, + __charset: *const ::std::os::raw::c_char, ) -> ::std::os::raw::c_ulong; } #[pg_guard] extern "C" { - pub fn strspn( - __s: *const ::std::os::raw::c_char, - __accept: *const ::std::os::raw::c_char, + pub fn strstr( + __big: *const ::std::os::raw::c_char, + __little: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; +} +#[pg_guard] +extern "C" { + pub fn strtok( + __str: *mut ::std::os::raw::c_char, + __sep: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; +} +#[pg_guard] +extern "C" { + pub fn strxfrm( + __s1: *mut ::std::os::raw::c_char, + __s2: *const ::std::os::raw::c_char, + __n: ::std::os::raw::c_ulong, ) -> ::std::os::raw::c_ulong; } #[pg_guard] extern "C" { - pub fn strpbrk( - __s: *const ::std::os::raw::c_char, - __accept: *const ::std::os::raw::c_char, + pub fn strtok_r( + __str: *mut ::std::os::raw::c_char, + __sep: *const ::std::os::raw::c_char, + __lasts: *mut *mut ::std::os::raw::c_char, ) -> *mut ::std::os::raw::c_char; } #[pg_guard] extern "C" { - pub fn strstr( - __haystack: *const ::std::os::raw::c_char, - __needle: *const ::std::os::raw::c_char, + pub fn strerror_r( + __errnum: ::std::os::raw::c_int, + __strerrbuf: *mut ::std::os::raw::c_char, + __buflen: usize, + ) -> ::std::os::raw::c_int; +} +#[pg_guard] +extern "C" { + pub fn strdup(__s1: *const ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; +} +#[pg_guard] +extern "C" { + pub fn memccpy( + __dst: *mut ::std::os::raw::c_void, + __src: *const ::std::os::raw::c_void, + __c: ::std::os::raw::c_int, + __n: ::std::os::raw::c_ulong, + ) -> *mut ::std::os::raw::c_void; +} +#[pg_guard] +extern "C" { + pub fn stpcpy( + __dst: *mut ::std::os::raw::c_char, + __src: *const ::std::os::raw::c_char, ) -> *mut ::std::os::raw::c_char; } #[pg_guard] extern "C" { - pub fn strtok( - __s: *mut ::std::os::raw::c_char, - __delim: *const ::std::os::raw::c_char, + pub fn stpncpy( + __dst: *mut ::std::os::raw::c_char, + __src: *const ::std::os::raw::c_char, + __n: ::std::os::raw::c_ulong, ) -> *mut ::std::os::raw::c_char; } #[pg_guard] extern "C" { - pub fn __strtok_r( - __s: *mut ::std::os::raw::c_char, - __delim: *const ::std::os::raw::c_char, - __save_ptr: *mut *mut ::std::os::raw::c_char, + pub fn strndup( + __s1: *const ::std::os::raw::c_char, + __n: ::std::os::raw::c_ulong, ) -> *mut ::std::os::raw::c_char; } #[pg_guard] extern "C" { - pub fn strtok_r( - __s: *mut ::std::os::raw::c_char, - __delim: *const ::std::os::raw::c_char, - __save_ptr: *mut *mut ::std::os::raw::c_char, + pub fn strnlen(__s1: *const ::std::os::raw::c_char, __n: usize) -> usize; +} +#[pg_guard] +extern "C" { + pub fn strsignal(__sig: ::std::os::raw::c_int) -> *mut ::std::os::raw::c_char; +} +pub type rsize_t = __darwin_size_t; +pub type errno_t = ::std::os::raw::c_int; +#[pg_guard] +extern "C" { + pub fn memset_s( + __s: *mut ::std::os::raw::c_void, + __smax: rsize_t, + __c: ::std::os::raw::c_int, + __n: rsize_t, + ) -> errno_t; +} +#[pg_guard] +extern "C" { + pub fn memmem( + __big: *const ::std::os::raw::c_void, + __big_len: usize, + __little: *const ::std::os::raw::c_void, + __little_len: usize, + ) -> *mut ::std::os::raw::c_void; +} +#[pg_guard] +extern "C" { + pub fn memset_pattern4( + __b: *mut ::std::os::raw::c_void, + __pattern4: *const ::std::os::raw::c_void, + __len: usize, + ); +} +#[pg_guard] +extern "C" { + pub fn memset_pattern8( + __b: *mut ::std::os::raw::c_void, + __pattern8: *const ::std::os::raw::c_void, + __len: usize, + ); +} +#[pg_guard] +extern "C" { + pub fn memset_pattern16( + __b: *mut ::std::os::raw::c_void, + __pattern16: *const ::std::os::raw::c_void, + __len: usize, + ); +} +#[pg_guard] +extern "C" { + pub fn strcasestr( + __big: *const ::std::os::raw::c_char, + __little: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; +} +#[pg_guard] +extern "C" { + pub fn strnstr( + __big: *const ::std::os::raw::c_char, + __little: *const ::std::os::raw::c_char, + __len: usize, ) -> *mut ::std::os::raw::c_char; } #[pg_guard] extern "C" { - pub fn strlen(__s: *const ::std::os::raw::c_char) -> ::std::os::raw::c_ulong; + pub fn strlcat( + __dst: *mut ::std::os::raw::c_char, + __source: *const ::std::os::raw::c_char, + __size: ::std::os::raw::c_ulong, + ) -> ::std::os::raw::c_ulong; +} +#[pg_guard] +extern "C" { + pub fn strlcpy( + __dst: *mut ::std::os::raw::c_char, + __source: *const ::std::os::raw::c_char, + __size: ::std::os::raw::c_ulong, + ) -> ::std::os::raw::c_ulong; +} +#[pg_guard] +extern "C" { + pub fn strmode(__mode: ::std::os::raw::c_int, __bp: *mut ::std::os::raw::c_char); } #[pg_guard] extern "C" { - pub fn strnlen(__string: *const ::std::os::raw::c_char, __maxlen: usize) -> usize; + pub fn strsep( + __stringp: *mut *mut ::std::os::raw::c_char, + __delim: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; } #[pg_guard] extern "C" { - pub fn strerror(__errnum: ::std::os::raw::c_int) -> *mut ::std::os::raw::c_char; + pub fn swab( + arg1: *const ::std::os::raw::c_void, + arg2: *mut ::std::os::raw::c_void, + arg3: isize, + ); } #[pg_guard] extern "C" { - #[link_name = "\u{1}__xpg_strerror_r"] - pub fn strerror_r( - __errnum: ::std::os::raw::c_int, - __buf: *mut ::std::os::raw::c_char, - __buflen: usize, + pub fn timingsafe_bcmp( + __b1: *const ::std::os::raw::c_void, + __b2: *const ::std::os::raw::c_void, + __len: usize, ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn strerror_l( - __errnum: ::std::os::raw::c_int, - __l: locale_t, - ) -> *mut ::std::os::raw::c_char; + pub fn strsignal_r( + __sig: ::std::os::raw::c_int, + __strsignalbuf: *mut ::std::os::raw::c_char, + __buflen: usize, + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { pub fn bcmp( - __s1: *const ::std::os::raw::c_void, - __s2: *const ::std::os::raw::c_void, - __n: ::std::os::raw::c_ulong, + arg1: *const ::std::os::raw::c_void, + arg2: *const ::std::os::raw::c_void, + arg3: ::std::os::raw::c_ulong, ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { pub fn bcopy( - __src: *const ::std::os::raw::c_void, - __dest: *mut ::std::os::raw::c_void, - __n: usize, + arg1: *const ::std::os::raw::c_void, + arg2: *mut ::std::os::raw::c_void, + arg3: usize, ); } #[pg_guard] extern "C" { - pub fn bzero(__s: *mut ::std::os::raw::c_void, __n: ::std::os::raw::c_ulong); + pub fn bzero(arg1: *mut ::std::os::raw::c_void, arg2: ::std::os::raw::c_ulong); } #[pg_guard] extern "C" { pub fn index( - __s: *const ::std::os::raw::c_char, - __c: ::std::os::raw::c_int, + arg1: *const ::std::os::raw::c_char, + arg2: ::std::os::raw::c_int, ) -> *mut ::std::os::raw::c_char; } #[pg_guard] extern "C" { pub fn rindex( - __s: *const ::std::os::raw::c_char, - __c: ::std::os::raw::c_int, + arg1: *const ::std::os::raw::c_char, + arg2: ::std::os::raw::c_int, ) -> *mut ::std::os::raw::c_char; } #[pg_guard] extern "C" { - pub fn ffs(__i: ::std::os::raw::c_int) -> ::std::os::raw::c_int; -} -#[pg_guard] -extern "C" { - pub fn ffsl(__l: ::std::os::raw::c_long) -> ::std::os::raw::c_int; -} -#[pg_guard] -extern "C" { - pub fn ffsll(__ll: ::std::os::raw::c_longlong) -> ::std::os::raw::c_int; + pub fn ffs(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { pub fn strcasecmp( - __s1: *const ::std::os::raw::c_char, - __s2: *const ::std::os::raw::c_char, + arg1: *const ::std::os::raw::c_char, + arg2: *const ::std::os::raw::c_char, ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { pub fn strncasecmp( - __s1: *const ::std::os::raw::c_char, - __s2: *const ::std::os::raw::c_char, - __n: ::std::os::raw::c_ulong, - ) -> ::std::os::raw::c_int; -} -#[pg_guard] -extern "C" { - pub fn strcasecmp_l( - __s1: *const ::std::os::raw::c_char, - __s2: *const ::std::os::raw::c_char, - __loc: locale_t, + arg1: *const ::std::os::raw::c_char, + arg2: *const ::std::os::raw::c_char, + arg3: ::std::os::raw::c_ulong, ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn strncasecmp_l( - __s1: *const ::std::os::raw::c_char, - __s2: *const ::std::os::raw::c_char, - __n: usize, - __loc: locale_t, - ) -> ::std::os::raw::c_int; + pub fn ffsl(arg1: ::std::os::raw::c_long) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn explicit_bzero(__s: *mut ::std::os::raw::c_void, __n: usize); + pub fn ffsll(arg1: ::std::os::raw::c_longlong) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn strsep( - __stringp: *mut *mut ::std::os::raw::c_char, - __delim: *const ::std::os::raw::c_char, - ) -> *mut ::std::os::raw::c_char; + pub fn fls(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn strsignal(__sig: ::std::os::raw::c_int) -> *mut ::std::os::raw::c_char; + pub fn flsl(arg1: ::std::os::raw::c_long) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn __stpcpy( - __dest: *mut ::std::os::raw::c_char, - __src: *const ::std::os::raw::c_char, - ) -> *mut ::std::os::raw::c_char; + pub fn flsll(arg1: ::std::os::raw::c_longlong) -> ::std::os::raw::c_int; } -#[pg_guard] -extern "C" { - pub fn stpcpy( - __dest: *mut ::std::os::raw::c_char, - __src: *const ::std::os::raw::c_char, - ) -> *mut ::std::os::raw::c_char; +pub type max_align_t = f64; +pub type __gnuc_va_list = __builtin_va_list; +pub type u_char = ::std::os::raw::c_uchar; +pub type u_short = ::std::os::raw::c_ushort; +pub type u_int = ::std::os::raw::c_uint; +pub type u_long = ::std::os::raw::c_ulong; +pub type ushort = ::std::os::raw::c_ushort; +pub type uint = ::std::os::raw::c_uint; +pub type u_quad_t = u_int64_t; +pub type quad_t = i64; +pub type qaddr_t = *mut quad_t; +pub type caddr_t = *mut ::std::os::raw::c_char; +pub type daddr_t = i32; +pub type fixpt_t = u_int32_t; +pub type blkcnt_t = __darwin_blkcnt_t; +pub type blksize_t = __darwin_blksize_t; +pub type gid_t = __darwin_gid_t; +pub type in_addr_t = __uint32_t; +pub type in_port_t = __uint16_t; +pub type ino_t = __darwin_ino_t; +pub type ino64_t = __darwin_ino64_t; +pub type key_t = __int32_t; +pub type nlink_t = __uint16_t; +pub type segsz_t = i32; +pub type swblk_t = i32; +pub type clock_t = __darwin_clock_t; +pub type time_t = __darwin_time_t; +pub type useconds_t = __darwin_useconds_t; +pub type suseconds_t = __darwin_suseconds_t; +#[repr(C)] +#[derive(Debug, Default, Copy, Clone)] +pub struct fd_set { + pub fds_bits: [__int32_t; 32usize], } #[pg_guard] extern "C" { - pub fn __stpncpy( - __dest: *mut ::std::os::raw::c_char, - __src: *const ::std::os::raw::c_char, - __n: usize, - ) -> *mut ::std::os::raw::c_char; + pub fn __darwin_check_fd_set_overflow( + arg1: ::std::os::raw::c_int, + arg2: *const ::std::os::raw::c_void, + arg3: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; } +pub type fd_mask = __int32_t; +pub type pthread_cond_t = __darwin_pthread_cond_t; +pub type pthread_condattr_t = __darwin_pthread_condattr_t; +pub type pthread_mutex_t = __darwin_pthread_mutex_t; +pub type pthread_mutexattr_t = __darwin_pthread_mutexattr_t; +pub type pthread_once_t = __darwin_pthread_once_t; +pub type pthread_rwlock_t = __darwin_pthread_rwlock_t; +pub type pthread_rwlockattr_t = __darwin_pthread_rwlockattr_t; +pub type pthread_t = __darwin_pthread_t; +pub type pthread_key_t = __darwin_pthread_key_t; +pub type fsblkcnt_t = __darwin_fsblkcnt_t; +pub type fsfilcnt_t = __darwin_fsfilcnt_t; #[pg_guard] extern "C" { - pub fn stpncpy( - __dest: *mut ::std::os::raw::c_char, - __src: *const ::std::os::raw::c_char, - __n: ::std::os::raw::c_ulong, - ) -> *mut ::std::os::raw::c_char; -} -#[repr(C)] -#[repr(align(16))] -#[derive(Debug, Default, Copy, Clone)] -pub struct max_align_t { - pub __clang_max_align_nonce1: ::std::os::raw::c_longlong, - pub __bindgen_padding_0: u64, - pub __clang_max_align_nonce2: u128, -} -pub type int_least8_t = __int_least8_t; -pub type int_least16_t = __int_least16_t; -pub type int_least32_t = __int_least32_t; -pub type int_least64_t = __int_least64_t; -pub type uint_least8_t = __uint_least8_t; -pub type uint_least16_t = __uint_least16_t; -pub type uint_least32_t = __uint_least32_t; -pub type uint_least64_t = __uint_least64_t; -pub type int_fast8_t = ::std::os::raw::c_schar; -pub type int_fast16_t = ::std::os::raw::c_long; -pub type int_fast32_t = ::std::os::raw::c_long; -pub type int_fast64_t = ::std::os::raw::c_long; -pub type uint_fast8_t = ::std::os::raw::c_uchar; -pub type uint_fast16_t = ::std::os::raw::c_ulong; -pub type uint_fast32_t = ::std::os::raw::c_ulong; -pub type uint_fast64_t = ::std::os::raw::c_ulong; -pub type intmax_t = __intmax_t; -pub type uintmax_t = __uintmax_t; -#[pg_guard] -extern "C" { - pub fn __errno_location() -> *mut ::std::os::raw::c_int; + pub fn __error() -> *mut ::std::os::raw::c_int; } #[repr(C)] #[derive(Debug, Copy, Clone)] @@ -4950,8 +6233,8 @@ pub struct lconv { pub p_sign_posn: ::std::os::raw::c_char, pub n_sign_posn: ::std::os::raw::c_char, pub int_p_cs_precedes: ::std::os::raw::c_char, - pub int_p_sep_by_space: ::std::os::raw::c_char, pub int_n_cs_precedes: ::std::os::raw::c_char, + pub int_p_sep_by_space: ::std::os::raw::c_char, pub int_n_sep_by_space: ::std::os::raw::c_char, pub int_p_sign_posn: ::std::os::raw::c_char, pub int_n_sign_posn: ::std::os::raw::c_char, @@ -4966,35 +6249,15 @@ impl Default for lconv { } } #[pg_guard] -extern "C" { - pub fn setlocale( - __category: ::std::os::raw::c_int, - __locale: *const ::std::os::raw::c_char, - ) -> *mut ::std::os::raw::c_char; -} -#[pg_guard] extern "C" { pub fn localeconv() -> *mut lconv; } #[pg_guard] extern "C" { - pub fn newlocale( - __category_mask: ::std::os::raw::c_int, - __locale: *const ::std::os::raw::c_char, - __base: locale_t, - ) -> locale_t; -} -#[pg_guard] -extern "C" { - pub fn duplocale(__dataset: locale_t) -> locale_t; -} -#[pg_guard] -extern "C" { - pub fn freelocale(__dataset: locale_t); -} -#[pg_guard] -extern "C" { - pub fn uselocale(__dataset: locale_t) -> locale_t; + pub fn setlocale( + arg1: ::std::os::raw::c_int, + arg2: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; } pub type BoolPtr = *mut bool; pub type Pointer = *mut ::std::os::raw::c_char; @@ -5109,167 +6372,127 @@ impl Default for PGAlignedXLogBlock { } } } -pub const _ISupper: ::std::os::raw::c_uint = 256; -pub const _ISlower: ::std::os::raw::c_uint = 512; -pub const _ISalpha: ::std::os::raw::c_uint = 1024; -pub const _ISdigit: ::std::os::raw::c_uint = 2048; -pub const _ISxdigit: ::std::os::raw::c_uint = 4096; -pub const _ISspace: ::std::os::raw::c_uint = 8192; -pub const _ISprint: ::std::os::raw::c_uint = 16384; -pub const _ISgraph: ::std::os::raw::c_uint = 32768; -pub const _ISblank: ::std::os::raw::c_uint = 1; -pub const _IScntrl: ::std::os::raw::c_uint = 2; -pub const _ISpunct: ::std::os::raw::c_uint = 4; -pub const _ISalnum: ::std::os::raw::c_uint = 8; -pub type _bindgen_ty_1 = ::std::os::raw::c_uint; -#[pg_guard] -extern "C" { - pub fn __ctype_b_loc() -> *mut *const ::std::os::raw::c_ushort; -} -#[pg_guard] -extern "C" { - pub fn __ctype_tolower_loc() -> *mut *const __int32_t; -} -#[pg_guard] -extern "C" { - pub fn __ctype_toupper_loc() -> *mut *const __int32_t; -} -#[pg_guard] -extern "C" { - pub fn isalnum(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; -} -#[pg_guard] -extern "C" { - pub fn isalpha(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; -} -#[pg_guard] -extern "C" { - pub fn iscntrl(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; -} -#[pg_guard] -extern "C" { - pub fn isdigit(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; -} -#[pg_guard] -extern "C" { - pub fn islower(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; -} -#[pg_guard] -extern "C" { - pub fn isgraph(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; -} -#[pg_guard] -extern "C" { - pub fn isprint(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; -} #[pg_guard] extern "C" { - pub fn ispunct(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; + pub fn fdatasync(fildes: ::std::os::raw::c_int) -> ::std::os::raw::c_int; } -#[pg_guard] -extern "C" { - pub fn isspace(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; -} -#[pg_guard] -extern "C" { - pub fn isupper(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; -} -#[pg_guard] -extern "C" { - pub fn isxdigit(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; -} -#[pg_guard] -extern "C" { - pub fn tolower(__c: ::std::os::raw::c_int) -> ::std::os::raw::c_int; -} -#[pg_guard] -extern "C" { - pub fn toupper(__c: ::std::os::raw::c_int) -> ::std::os::raw::c_int; -} -#[pg_guard] -extern "C" { - pub fn isblank(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; -} -#[pg_guard] -extern "C" { - pub fn isascii(__c: ::std::os::raw::c_int) -> ::std::os::raw::c_int; -} -#[pg_guard] -extern "C" { - pub fn toascii(__c: ::std::os::raw::c_int) -> ::std::os::raw::c_int; -} -#[pg_guard] -extern "C" { - pub fn _toupper(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; -} -#[pg_guard] -extern "C" { - pub fn _tolower(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; -} -#[pg_guard] -extern "C" { - pub fn isalnum_l(arg1: ::std::os::raw::c_int, arg2: locale_t) -> ::std::os::raw::c_int; -} -#[pg_guard] -extern "C" { - pub fn isalpha_l(arg1: ::std::os::raw::c_int, arg2: locale_t) -> ::std::os::raw::c_int; +pub type wint_t = __darwin_wint_t; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _RuneEntry { + pub __min: __darwin_rune_t, + pub __max: __darwin_rune_t, + pub __map: __darwin_rune_t, + pub __types: *mut __uint32_t, } -#[pg_guard] -extern "C" { - pub fn iscntrl_l(arg1: ::std::os::raw::c_int, arg2: locale_t) -> ::std::os::raw::c_int; +impl Default for _RuneEntry { + fn default() -> Self { + let mut s = ::std::mem::MaybeUninit::::uninit(); + unsafe { + ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); + s.assume_init() + } + } } -#[pg_guard] -extern "C" { - pub fn isdigit_l(arg1: ::std::os::raw::c_int, arg2: locale_t) -> ::std::os::raw::c_int; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _RuneRange { + pub __nranges: ::std::os::raw::c_int, + pub __ranges: *mut _RuneEntry, } -#[pg_guard] -extern "C" { - pub fn islower_l(arg1: ::std::os::raw::c_int, arg2: locale_t) -> ::std::os::raw::c_int; +impl Default for _RuneRange { + fn default() -> Self { + let mut s = ::std::mem::MaybeUninit::::uninit(); + unsafe { + ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); + s.assume_init() + } + } } -#[pg_guard] -extern "C" { - pub fn isgraph_l(arg1: ::std::os::raw::c_int, arg2: locale_t) -> ::std::os::raw::c_int; +#[repr(C)] +#[derive(Debug, Default, Copy, Clone)] +pub struct _RuneCharClass { + pub __name: [::std::os::raw::c_char; 14usize], + pub __mask: __uint32_t, } -#[pg_guard] -extern "C" { - pub fn isprint_l(arg1: ::std::os::raw::c_int, arg2: locale_t) -> ::std::os::raw::c_int; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _RuneLocale { + pub __magic: [::std::os::raw::c_char; 8usize], + pub __encoding: [::std::os::raw::c_char; 32usize], + pub __sgetrune: ::std::option::Option< + unsafe extern "C" fn( + arg1: *const ::std::os::raw::c_char, + arg2: __darwin_size_t, + arg3: *mut *const ::std::os::raw::c_char, + ) -> __darwin_rune_t, + >, + pub __sputrune: ::std::option::Option< + unsafe extern "C" fn( + arg1: __darwin_rune_t, + arg2: *mut ::std::os::raw::c_char, + arg3: __darwin_size_t, + arg4: *mut *mut ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int, + >, + pub __invalid_rune: __darwin_rune_t, + pub __runetype: [__uint32_t; 256usize], + pub __maplower: [__darwin_rune_t; 256usize], + pub __mapupper: [__darwin_rune_t; 256usize], + pub __runetype_ext: _RuneRange, + pub __maplower_ext: _RuneRange, + pub __mapupper_ext: _RuneRange, + pub __variable: *mut ::std::os::raw::c_void, + pub __variable_len: ::std::os::raw::c_int, + pub __ncharclasses: ::std::os::raw::c_int, + pub __charclasses: *mut _RuneCharClass, } -#[pg_guard] -extern "C" { - pub fn ispunct_l(arg1: ::std::os::raw::c_int, arg2: locale_t) -> ::std::os::raw::c_int; +impl Default for _RuneLocale { + fn default() -> Self { + let mut s = ::std::mem::MaybeUninit::::uninit(); + unsafe { + ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); + s.assume_init() + } + } } #[pg_guard] extern "C" { - pub fn isspace_l(arg1: ::std::os::raw::c_int, arg2: locale_t) -> ::std::os::raw::c_int; + pub static mut _DefaultRuneLocale: _RuneLocale; } #[pg_guard] extern "C" { - pub fn isupper_l(arg1: ::std::os::raw::c_int, arg2: locale_t) -> ::std::os::raw::c_int; + pub static mut _CurrentRuneLocale: *mut _RuneLocale; } #[pg_guard] extern "C" { - pub fn isxdigit_l(arg1: ::std::os::raw::c_int, arg2: locale_t) -> ::std::os::raw::c_int; + pub fn ___runetype(arg1: __darwin_ct_rune_t) -> ::std::os::raw::c_ulong; } #[pg_guard] extern "C" { - pub fn isblank_l(arg1: ::std::os::raw::c_int, arg2: locale_t) -> ::std::os::raw::c_int; + pub fn ___tolower(arg1: __darwin_ct_rune_t) -> __darwin_ct_rune_t; } #[pg_guard] extern "C" { - pub fn __tolower_l(__c: ::std::os::raw::c_int, __l: locale_t) -> ::std::os::raw::c_int; + pub fn ___toupper(arg1: __darwin_ct_rune_t) -> __darwin_ct_rune_t; } #[pg_guard] extern "C" { - pub fn tolower_l(__c: ::std::os::raw::c_int, __l: locale_t) -> ::std::os::raw::c_int; + pub fn __maskrune( + arg1: __darwin_ct_rune_t, + arg2: ::std::os::raw::c_ulong, + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn __toupper_l(__c: ::std::os::raw::c_int, __l: locale_t) -> ::std::os::raw::c_int; + pub fn __toupper(arg1: __darwin_ct_rune_t) -> __darwin_ct_rune_t; } #[pg_guard] extern "C" { - pub fn toupper_l(__c: ::std::os::raw::c_int, __l: locale_t) -> ::std::os::raw::c_int; + pub fn __tolower(arg1: __darwin_ct_rune_t) -> __darwin_ct_rune_t; } +pub type socklen_t = __darwin_socklen_t; +pub type sa_family_t = __uint8_t; #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct iovec { @@ -5285,30 +6508,60 @@ impl Default for iovec { } } } -pub type socklen_t = __socklen_t; -pub const __socket_type_SOCK_STREAM: __socket_type = 1; -pub const __socket_type_SOCK_DGRAM: __socket_type = 2; -pub const __socket_type_SOCK_RAW: __socket_type = 3; -pub const __socket_type_SOCK_RDM: __socket_type = 4; -pub const __socket_type_SOCK_SEQPACKET: __socket_type = 5; -pub const __socket_type_SOCK_DCCP: __socket_type = 6; -pub const __socket_type_SOCK_PACKET: __socket_type = 10; -pub const __socket_type_SOCK_CLOEXEC: __socket_type = 524288; -pub const __socket_type_SOCK_NONBLOCK: __socket_type = 2048; -pub type __socket_type = ::std::os::raw::c_uint; -pub type sa_family_t = ::std::os::raw::c_ushort; +pub type sae_associd_t = __uint32_t; +pub type sae_connid_t = __uint32_t; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct sa_endpoints { + pub sae_srcif: ::std::os::raw::c_uint, + pub sae_srcaddr: *const sockaddr, + pub sae_srcaddrlen: socklen_t, + pub sae_dstaddr: *const sockaddr, + pub sae_dstaddrlen: socklen_t, +} +impl Default for sa_endpoints { + fn default() -> Self { + let mut s = ::std::mem::MaybeUninit::::uninit(); + unsafe { + ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); + s.assume_init() + } + } +} +pub type sa_endpoints_t = sa_endpoints; +#[repr(C)] +#[derive(Debug, Default, Copy, Clone)] +pub struct linger { + pub l_onoff: ::std::os::raw::c_int, + pub l_linger: ::std::os::raw::c_int, +} +#[repr(C)] +#[derive(Debug, Default, Copy, Clone)] +pub struct so_np_extensions { + pub npx_flags: u_int32_t, + pub npx_mask: u_int32_t, +} #[repr(C)] #[derive(Debug, Default, Copy, Clone)] pub struct sockaddr { + pub sa_len: __uint8_t, pub sa_family: sa_family_t, pub sa_data: [::std::os::raw::c_char; 14usize], } #[repr(C)] +#[derive(Debug, Default, Copy, Clone)] +pub struct sockproto { + pub sp_family: __uint16_t, + pub sp_protocol: __uint16_t, +} +#[repr(C)] #[derive(Debug, Copy, Clone)] pub struct sockaddr_storage { + pub ss_len: __uint8_t, pub ss_family: sa_family_t, - pub __ss_padding: [::std::os::raw::c_char; 118usize], - pub __ss_align: ::std::os::raw::c_ulong, + pub __ss_pad1: [::std::os::raw::c_char; 6usize], + pub __ss_align: __int64_t, + pub __ss_pad2: [::std::os::raw::c_char; 112usize], } impl Default for sockaddr_storage { fn default() -> Self { @@ -5319,37 +6572,15 @@ impl Default for sockaddr_storage { } } } -pub const MSG_OOB: ::std::os::raw::c_uint = 1; -pub const MSG_PEEK: ::std::os::raw::c_uint = 2; -pub const MSG_DONTROUTE: ::std::os::raw::c_uint = 4; -pub const MSG_CTRUNC: ::std::os::raw::c_uint = 8; -pub const MSG_PROXY: ::std::os::raw::c_uint = 16; -pub const MSG_TRUNC: ::std::os::raw::c_uint = 32; -pub const MSG_DONTWAIT: ::std::os::raw::c_uint = 64; -pub const MSG_EOR: ::std::os::raw::c_uint = 128; -pub const MSG_WAITALL: ::std::os::raw::c_uint = 256; -pub const MSG_FIN: ::std::os::raw::c_uint = 512; -pub const MSG_SYN: ::std::os::raw::c_uint = 1024; -pub const MSG_CONFIRM: ::std::os::raw::c_uint = 2048; -pub const MSG_RST: ::std::os::raw::c_uint = 4096; -pub const MSG_ERRQUEUE: ::std::os::raw::c_uint = 8192; -pub const MSG_NOSIGNAL: ::std::os::raw::c_uint = 16384; -pub const MSG_MORE: ::std::os::raw::c_uint = 32768; -pub const MSG_WAITFORONE: ::std::os::raw::c_uint = 65536; -pub const MSG_BATCH: ::std::os::raw::c_uint = 262144; -pub const MSG_ZEROCOPY: ::std::os::raw::c_uint = 67108864; -pub const MSG_FASTOPEN: ::std::os::raw::c_uint = 536870912; -pub const MSG_CMSG_CLOEXEC: ::std::os::raw::c_uint = 1073741824; -pub type _bindgen_ty_2 = ::std::os::raw::c_uint; #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct msghdr { pub msg_name: *mut ::std::os::raw::c_void, pub msg_namelen: socklen_t, pub msg_iov: *mut iovec, - pub msg_iovlen: usize, + pub msg_iovlen: ::std::os::raw::c_int, pub msg_control: *mut ::std::os::raw::c_void, - pub msg_controllen: usize, + pub msg_controllen: socklen_t, pub msg_flags: ::std::os::raw::c_int, } impl Default for msghdr { @@ -5362,241 +6593,231 @@ impl Default for msghdr { } } #[repr(C)] -#[derive(Debug, Default)] +#[derive(Debug, Default, Copy, Clone)] pub struct cmsghdr { - pub cmsg_len: usize, + pub cmsg_len: socklen_t, pub cmsg_level: ::std::os::raw::c_int, pub cmsg_type: ::std::os::raw::c_int, - pub __cmsg_data: __IncompleteArrayField<::std::os::raw::c_uchar>, -} -#[pg_guard] -extern "C" { - pub fn __cmsg_nxthdr(__mhdr: *mut msghdr, __cmsg: *mut cmsghdr) -> *mut cmsghdr; } -pub const SCM_RIGHTS: ::std::os::raw::c_uint = 1; -pub type _bindgen_ty_3 = ::std::os::raw::c_uint; -#[repr(C)] -#[derive(Debug, Default, Copy, Clone)] -pub struct __kernel_fd_set { - pub fds_bits: [::std::os::raw::c_ulong; 16usize], -} -pub type __kernel_sighandler_t = - ::std::option::Option; -pub type __kernel_key_t = ::std::os::raw::c_int; -pub type __kernel_mqd_t = ::std::os::raw::c_int; -pub type __kernel_old_uid_t = ::std::os::raw::c_ushort; -pub type __kernel_old_gid_t = ::std::os::raw::c_ushort; -pub type __kernel_old_dev_t = ::std::os::raw::c_ulong; -pub type __kernel_long_t = ::std::os::raw::c_long; -pub type __kernel_ulong_t = ::std::os::raw::c_ulong; -pub type __kernel_ino_t = __kernel_ulong_t; -pub type __kernel_mode_t = ::std::os::raw::c_uint; -pub type __kernel_pid_t = ::std::os::raw::c_int; -pub type __kernel_ipc_pid_t = ::std::os::raw::c_int; -pub type __kernel_uid_t = ::std::os::raw::c_uint; -pub type __kernel_gid_t = ::std::os::raw::c_uint; -pub type __kernel_suseconds_t = __kernel_long_t; -pub type __kernel_daddr_t = ::std::os::raw::c_int; -pub type __kernel_uid32_t = ::std::os::raw::c_uint; -pub type __kernel_gid32_t = ::std::os::raw::c_uint; -pub type __kernel_size_t = __kernel_ulong_t; -pub type __kernel_ssize_t = __kernel_long_t; -pub type __kernel_ptrdiff_t = __kernel_long_t; -#[repr(C)] -#[derive(Debug, Default, Copy, Clone)] -pub struct __kernel_fsid_t { - pub val: [::std::os::raw::c_int; 2usize], -} -pub type __kernel_off_t = __kernel_long_t; -pub type __kernel_loff_t = ::std::os::raw::c_longlong; -pub type __kernel_old_time_t = __kernel_long_t; -pub type __kernel_time_t = __kernel_long_t; -pub type __kernel_time64_t = ::std::os::raw::c_longlong; -pub type __kernel_clock_t = __kernel_long_t; -pub type __kernel_timer_t = ::std::os::raw::c_int; -pub type __kernel_clockid_t = ::std::os::raw::c_int; -pub type __kernel_caddr_t = *mut ::std::os::raw::c_char; -pub type __kernel_uid16_t = ::std::os::raw::c_ushort; -pub type __kernel_gid16_t = ::std::os::raw::c_ushort; #[repr(C)] -#[derive(Debug, Default, Copy, Clone)] -pub struct linger { - pub l_onoff: ::std::os::raw::c_int, - pub l_linger: ::std::os::raw::c_int, +#[derive(Debug, Copy, Clone)] +pub struct sf_hdtr { + pub headers: *mut iovec, + pub hdr_cnt: ::std::os::raw::c_int, + pub trailers: *mut iovec, + pub trl_cnt: ::std::os::raw::c_int, } -#[repr(C)] -#[derive(Debug, Default, Copy, Clone)] -pub struct osockaddr { - pub sa_family: ::std::os::raw::c_ushort, - pub sa_data: [::std::os::raw::c_uchar; 14usize], +impl Default for sf_hdtr { + fn default() -> Self { + let mut s = ::std::mem::MaybeUninit::::uninit(); + unsafe { + ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); + s.assume_init() + } + } } -pub const SHUT_RD: ::std::os::raw::c_uint = 0; -pub const SHUT_WR: ::std::os::raw::c_uint = 1; -pub const SHUT_RDWR: ::std::os::raw::c_uint = 2; -pub type _bindgen_ty_4 = ::std::os::raw::c_uint; #[pg_guard] extern "C" { - pub fn socket( - __domain: ::std::os::raw::c_int, - __type: ::std::os::raw::c_int, - __protocol: ::std::os::raw::c_int, + pub fn accept( + arg1: ::std::os::raw::c_int, + arg2: *mut sockaddr, + arg3: *mut socklen_t, ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn socketpair( - __domain: ::std::os::raw::c_int, - __type: ::std::os::raw::c_int, - __protocol: ::std::os::raw::c_int, - __fds: *mut ::std::os::raw::c_int, + pub fn bind( + arg1: ::std::os::raw::c_int, + arg2: *const sockaddr, + arg3: socklen_t, ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn bind( - __fd: ::std::os::raw::c_int, - __addr: *const sockaddr, - __len: socklen_t, + pub fn connect( + arg1: ::std::os::raw::c_int, + arg2: *const sockaddr, + arg3: socklen_t, + ) -> ::std::os::raw::c_int; +} +#[pg_guard] +extern "C" { + pub fn getpeername( + arg1: ::std::os::raw::c_int, + arg2: *mut sockaddr, + arg3: *mut socklen_t, ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { pub fn getsockname( - __fd: ::std::os::raw::c_int, - __addr: *mut sockaddr, - __len: *mut socklen_t, + arg1: ::std::os::raw::c_int, + arg2: *mut sockaddr, + arg3: *mut socklen_t, ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn connect( - __fd: ::std::os::raw::c_int, - __addr: *const sockaddr, - __len: socklen_t, + pub fn getsockopt( + arg1: ::std::os::raw::c_int, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_void, + arg5: *mut socklen_t, ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn getpeername( - __fd: ::std::os::raw::c_int, - __addr: *mut sockaddr, - __len: *mut socklen_t, + pub fn listen( + arg1: ::std::os::raw::c_int, + arg2: ::std::os::raw::c_int, ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn send( - __fd: ::std::os::raw::c_int, - __buf: *const ::std::os::raw::c_void, - __n: usize, - __flags: ::std::os::raw::c_int, + pub fn recv( + arg1: ::std::os::raw::c_int, + arg2: *mut ::std::os::raw::c_void, + arg3: usize, + arg4: ::std::os::raw::c_int, ) -> isize; } #[pg_guard] extern "C" { - pub fn recv( - __fd: ::std::os::raw::c_int, - __buf: *mut ::std::os::raw::c_void, - __n: usize, - __flags: ::std::os::raw::c_int, + pub fn recvfrom( + arg1: ::std::os::raw::c_int, + arg2: *mut ::std::os::raw::c_void, + arg3: usize, + arg4: ::std::os::raw::c_int, + arg5: *mut sockaddr, + arg6: *mut socklen_t, ) -> isize; } #[pg_guard] extern "C" { - pub fn sendto( - __fd: ::std::os::raw::c_int, - __buf: *const ::std::os::raw::c_void, - __n: usize, - __flags: ::std::os::raw::c_int, - __addr: *const sockaddr, - __addr_len: socklen_t, + pub fn recvmsg( + arg1: ::std::os::raw::c_int, + arg2: *mut msghdr, + arg3: ::std::os::raw::c_int, ) -> isize; } #[pg_guard] extern "C" { - pub fn recvfrom( - __fd: ::std::os::raw::c_int, - __buf: *mut ::std::os::raw::c_void, - __n: usize, - __flags: ::std::os::raw::c_int, - __addr: *mut sockaddr, - __addr_len: *mut socklen_t, + pub fn send( + arg1: ::std::os::raw::c_int, + arg2: *const ::std::os::raw::c_void, + arg3: usize, + arg4: ::std::os::raw::c_int, ) -> isize; } #[pg_guard] extern "C" { pub fn sendmsg( - __fd: ::std::os::raw::c_int, - __message: *const msghdr, - __flags: ::std::os::raw::c_int, + arg1: ::std::os::raw::c_int, + arg2: *const msghdr, + arg3: ::std::os::raw::c_int, ) -> isize; } #[pg_guard] extern "C" { - pub fn recvmsg( - __fd: ::std::os::raw::c_int, - __message: *mut msghdr, - __flags: ::std::os::raw::c_int, + pub fn sendto( + arg1: ::std::os::raw::c_int, + arg2: *const ::std::os::raw::c_void, + arg3: usize, + arg4: ::std::os::raw::c_int, + arg5: *const sockaddr, + arg6: socklen_t, ) -> isize; } #[pg_guard] extern "C" { - pub fn getsockopt( - __fd: ::std::os::raw::c_int, - __level: ::std::os::raw::c_int, - __optname: ::std::os::raw::c_int, - __optval: *mut ::std::os::raw::c_void, - __optlen: *mut socklen_t, + pub fn setsockopt( + arg1: ::std::os::raw::c_int, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + arg4: *const ::std::os::raw::c_void, + arg5: socklen_t, ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn setsockopt( - __fd: ::std::os::raw::c_int, - __level: ::std::os::raw::c_int, - __optname: ::std::os::raw::c_int, - __optval: *const ::std::os::raw::c_void, - __optlen: socklen_t, + pub fn shutdown( + arg1: ::std::os::raw::c_int, + arg2: ::std::os::raw::c_int, ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn listen(__fd: ::std::os::raw::c_int, __n: ::std::os::raw::c_int) - -> ::std::os::raw::c_int; + pub fn sockatmark(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn accept( - __fd: ::std::os::raw::c_int, - __addr: *mut sockaddr, - __addr_len: *mut socklen_t, + pub fn socket( + arg1: ::std::os::raw::c_int, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn shutdown( - __fd: ::std::os::raw::c_int, - __how: ::std::os::raw::c_int, + pub fn socketpair( + arg1: ::std::os::raw::c_int, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; +} +#[pg_guard] +extern "C" { + pub fn sendfile( + arg1: ::std::os::raw::c_int, + arg2: ::std::os::raw::c_int, + arg3: off_t, + arg4: *mut off_t, + arg5: *mut sf_hdtr, + arg6: ::std::os::raw::c_int, ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn sockatmark(__fd: ::std::os::raw::c_int) -> ::std::os::raw::c_int; + pub fn pfctlinput(arg1: ::std::os::raw::c_int, arg2: *mut sockaddr); } #[pg_guard] extern "C" { - pub fn isfdtype( - __fd: ::std::os::raw::c_int, - __fdtype: ::std::os::raw::c_int, + pub fn connectx( + arg1: ::std::os::raw::c_int, + arg2: *const sa_endpoints_t, + arg3: sae_associd_t, + arg4: ::std::os::raw::c_uint, + arg5: *const iovec, + arg6: ::std::os::raw::c_uint, + arg7: *mut usize, + arg8: *mut sae_connid_t, + ) -> ::std::os::raw::c_int; +} +#[pg_guard] +extern "C" { + pub fn disconnectx( + arg1: ::std::os::raw::c_int, + arg2: sae_associd_t, + arg3: sae_connid_t, ) -> ::std::os::raw::c_int; } -pub type in_addr_t = u32; #[repr(C)] #[derive(Debug, Default, Copy, Clone)] pub struct in_addr { pub s_addr: in_addr_t, } #[repr(C)] +#[derive(Debug, Default, Copy, Clone)] +pub struct sockaddr_in { + pub sin_len: __uint8_t, + pub sin_family: sa_family_t, + pub sin_port: in_port_t, + pub sin_addr: in_addr, + pub sin_zero: [::std::os::raw::c_char; 8usize], +} +#[repr(C)] #[derive(Debug, Copy, Clone)] pub struct ip_opts { pub ip_dst: in_addr, @@ -5613,6 +6834,12 @@ impl Default for ip_opts { } #[repr(C)] #[derive(Debug, Default, Copy, Clone)] +pub struct ip_mreq { + pub imr_multiaddr: in_addr, + pub imr_interface: in_addr, +} +#[repr(C)] +#[derive(Debug, Default, Copy, Clone)] pub struct ip_mreqn { pub imr_multiaddr: in_addr, pub imr_address: in_addr, @@ -5620,87 +6847,125 @@ pub struct ip_mreqn { } #[repr(C)] #[derive(Debug, Default, Copy, Clone)] +pub struct ip_mreq_source { + pub imr_multiaddr: in_addr, + pub imr_sourceaddr: in_addr, + pub imr_interface: in_addr, +} +#[repr(C, packed(4))] +#[derive(Debug, Copy, Clone)] +pub struct group_req { + pub gr_interface: u32, + pub gr_group: sockaddr_storage, +} +impl Default for group_req { + fn default() -> Self { + let mut s = ::std::mem::MaybeUninit::::uninit(); + unsafe { + ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); + s.assume_init() + } + } +} +#[repr(C, packed(4))] +#[derive(Debug, Copy, Clone)] +pub struct group_source_req { + pub gsr_interface: u32, + pub gsr_group: sockaddr_storage, + pub gsr_source: sockaddr_storage, +} +impl Default for group_source_req { + fn default() -> Self { + let mut s = ::std::mem::MaybeUninit::::uninit(); + unsafe { + ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); + s.assume_init() + } + } +} +#[repr(C, packed(4))] +#[derive(Debug, Copy, Clone)] +pub struct __msfilterreq { + pub msfr_ifindex: u32, + pub msfr_fmode: u32, + pub msfr_nsrcs: u32, + pub __msfr_align: u32, + pub msfr_group: sockaddr_storage, + pub msfr_srcs: *mut sockaddr_storage, +} +impl Default for __msfilterreq { + fn default() -> Self { + let mut s = ::std::mem::MaybeUninit::::uninit(); + unsafe { + ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); + s.assume_init() + } + } +} +#[pg_guard] +extern "C" { + pub fn setipv4sourcefilter( + arg1: ::std::os::raw::c_int, + arg2: in_addr, + arg3: in_addr, + arg4: u32, + arg5: u32, + arg6: *mut in_addr, + ) -> ::std::os::raw::c_int; +} +#[pg_guard] +extern "C" { + pub fn getipv4sourcefilter( + arg1: ::std::os::raw::c_int, + arg2: in_addr, + arg3: in_addr, + arg4: *mut u32, + arg5: *mut u32, + arg6: *mut in_addr, + ) -> ::std::os::raw::c_int; +} +#[pg_guard] +extern "C" { + pub fn setsourcefilter( + arg1: ::std::os::raw::c_int, + arg2: u32, + arg3: *mut sockaddr, + arg4: socklen_t, + arg5: u32, + arg6: u32, + arg7: *mut sockaddr_storage, + ) -> ::std::os::raw::c_int; +} +#[pg_guard] +extern "C" { + pub fn getsourcefilter( + arg1: ::std::os::raw::c_int, + arg2: u32, + arg3: *mut sockaddr, + arg4: socklen_t, + arg5: *mut u32, + arg6: *mut u32, + arg7: *mut sockaddr_storage, + ) -> ::std::os::raw::c_int; +} +#[repr(C)] +#[derive(Debug, Default, Copy, Clone)] pub struct in_pktinfo { - pub ipi_ifindex: ::std::os::raw::c_int, + pub ipi_ifindex: ::std::os::raw::c_uint, pub ipi_spec_dst: in_addr, pub ipi_addr: in_addr, } -pub const IPPROTO_IP: ::std::os::raw::c_uint = 0; -pub const IPPROTO_ICMP: ::std::os::raw::c_uint = 1; -pub const IPPROTO_IGMP: ::std::os::raw::c_uint = 2; -pub const IPPROTO_IPIP: ::std::os::raw::c_uint = 4; -pub const IPPROTO_TCP: ::std::os::raw::c_uint = 6; -pub const IPPROTO_EGP: ::std::os::raw::c_uint = 8; -pub const IPPROTO_PUP: ::std::os::raw::c_uint = 12; -pub const IPPROTO_UDP: ::std::os::raw::c_uint = 17; -pub const IPPROTO_IDP: ::std::os::raw::c_uint = 22; -pub const IPPROTO_TP: ::std::os::raw::c_uint = 29; -pub const IPPROTO_DCCP: ::std::os::raw::c_uint = 33; -pub const IPPROTO_IPV6: ::std::os::raw::c_uint = 41; -pub const IPPROTO_RSVP: ::std::os::raw::c_uint = 46; -pub const IPPROTO_GRE: ::std::os::raw::c_uint = 47; -pub const IPPROTO_ESP: ::std::os::raw::c_uint = 50; -pub const IPPROTO_AH: ::std::os::raw::c_uint = 51; -pub const IPPROTO_MTP: ::std::os::raw::c_uint = 92; -pub const IPPROTO_BEETPH: ::std::os::raw::c_uint = 94; -pub const IPPROTO_ENCAP: ::std::os::raw::c_uint = 98; -pub const IPPROTO_PIM: ::std::os::raw::c_uint = 103; -pub const IPPROTO_COMP: ::std::os::raw::c_uint = 108; -pub const IPPROTO_SCTP: ::std::os::raw::c_uint = 132; -pub const IPPROTO_UDPLITE: ::std::os::raw::c_uint = 136; -pub const IPPROTO_MPLS: ::std::os::raw::c_uint = 137; -pub const IPPROTO_ETHERNET: ::std::os::raw::c_uint = 143; -pub const IPPROTO_RAW: ::std::os::raw::c_uint = 255; -pub const IPPROTO_MPTCP: ::std::os::raw::c_uint = 262; -pub const IPPROTO_MAX: ::std::os::raw::c_uint = 263; -pub type _bindgen_ty_5 = ::std::os::raw::c_uint; -pub const IPPROTO_HOPOPTS: ::std::os::raw::c_uint = 0; -pub const IPPROTO_ROUTING: ::std::os::raw::c_uint = 43; -pub const IPPROTO_FRAGMENT: ::std::os::raw::c_uint = 44; -pub const IPPROTO_ICMPV6: ::std::os::raw::c_uint = 58; -pub const IPPROTO_NONE: ::std::os::raw::c_uint = 59; -pub const IPPROTO_DSTOPTS: ::std::os::raw::c_uint = 60; -pub const IPPROTO_MH: ::std::os::raw::c_uint = 135; -pub type _bindgen_ty_6 = ::std::os::raw::c_uint; -pub type in_port_t = u16; -pub const IPPORT_ECHO: ::std::os::raw::c_uint = 7; -pub const IPPORT_DISCARD: ::std::os::raw::c_uint = 9; -pub const IPPORT_SYSTAT: ::std::os::raw::c_uint = 11; -pub const IPPORT_DAYTIME: ::std::os::raw::c_uint = 13; -pub const IPPORT_NETSTAT: ::std::os::raw::c_uint = 15; -pub const IPPORT_FTP: ::std::os::raw::c_uint = 21; -pub const IPPORT_TELNET: ::std::os::raw::c_uint = 23; -pub const IPPORT_SMTP: ::std::os::raw::c_uint = 25; -pub const IPPORT_TIMESERVER: ::std::os::raw::c_uint = 37; -pub const IPPORT_NAMESERVER: ::std::os::raw::c_uint = 42; -pub const IPPORT_WHOIS: ::std::os::raw::c_uint = 43; -pub const IPPORT_MTP: ::std::os::raw::c_uint = 57; -pub const IPPORT_TFTP: ::std::os::raw::c_uint = 69; -pub const IPPORT_RJE: ::std::os::raw::c_uint = 77; -pub const IPPORT_FINGER: ::std::os::raw::c_uint = 79; -pub const IPPORT_TTYLINK: ::std::os::raw::c_uint = 87; -pub const IPPORT_SUPDUP: ::std::os::raw::c_uint = 95; -pub const IPPORT_EXECSERVER: ::std::os::raw::c_uint = 512; -pub const IPPORT_LOGINSERVER: ::std::os::raw::c_uint = 513; -pub const IPPORT_CMDSERVER: ::std::os::raw::c_uint = 514; -pub const IPPORT_EFSSERVER: ::std::os::raw::c_uint = 520; -pub const IPPORT_BIFFUDP: ::std::os::raw::c_uint = 512; -pub const IPPORT_WHOSERVER: ::std::os::raw::c_uint = 513; -pub const IPPORT_ROUTESERVER: ::std::os::raw::c_uint = 520; -pub const IPPORT_RESERVED: ::std::os::raw::c_uint = 1024; -pub const IPPORT_USERRESERVED: ::std::os::raw::c_uint = 5000; -pub type _bindgen_ty_7 = ::std::os::raw::c_uint; #[repr(C)] #[derive(Copy, Clone)] pub struct in6_addr { - pub __in6_u: in6_addr__bindgen_ty_1, + pub __u6_addr: in6_addr__bindgen_ty_1, } #[repr(C)] #[derive(Copy, Clone)] pub union in6_addr__bindgen_ty_1 { - pub __u6_addr8: [u8; 16usize], - pub __u6_addr16: [u16; 8usize], - pub __u6_addr32: [u32; 4usize], + pub __u6_addr8: [__uint8_t; 16usize], + pub __u6_addr16: [__uint16_t; 8usize], + pub __u6_addr32: [__uint32_t; 4usize], } impl Default for in6_addr__bindgen_ty_1 { fn default() -> Self { @@ -5720,30 +6985,16 @@ impl Default for in6_addr { } } } -#[pg_guard] -extern "C" { - pub static in6addr_any: in6_addr; -} -#[pg_guard] -extern "C" { - pub static in6addr_loopback: in6_addr; -} -#[repr(C)] -#[derive(Debug, Default, Copy, Clone)] -pub struct sockaddr_in { - pub sin_family: sa_family_t, - pub sin_port: in_port_t, - pub sin_addr: in_addr, - pub sin_zero: [::std::os::raw::c_uchar; 8usize], -} +pub type in6_addr_t = in6_addr; #[repr(C)] #[derive(Copy, Clone)] pub struct sockaddr_in6 { + pub sin6_len: __uint8_t, pub sin6_family: sa_family_t, pub sin6_port: in_port_t, - pub sin6_flowinfo: u32, + pub sin6_flowinfo: __uint32_t, pub sin6_addr: in6_addr, - pub sin6_scope_id: u32, + pub sin6_scope_id: __uint32_t, } impl Default for sockaddr_in6 { fn default() -> Self { @@ -5754,18 +7005,29 @@ impl Default for sockaddr_in6 { } } } -#[repr(C)] -#[derive(Debug, Default, Copy, Clone)] -pub struct ip_mreq { - pub imr_multiaddr: in_addr, - pub imr_interface: in_addr, +#[pg_guard] +extern "C" { + pub static in6addr_any: in6_addr; } -#[repr(C)] -#[derive(Debug, Default, Copy, Clone)] -pub struct ip_mreq_source { - pub imr_multiaddr: in_addr, - pub imr_interface: in_addr, - pub imr_sourceaddr: in_addr, +#[pg_guard] +extern "C" { + pub static in6addr_loopback: in6_addr; +} +#[pg_guard] +extern "C" { + pub static in6addr_nodelocal_allnodes: in6_addr; +} +#[pg_guard] +extern "C" { + pub static in6addr_linklocal_allnodes: in6_addr; +} +#[pg_guard] +extern "C" { + pub static in6addr_linklocal_allrouters: in6_addr; +} +#[pg_guard] +extern "C" { + pub static in6addr_linklocal_allv2routers: in6_addr; } #[repr(C)] #[derive(Copy, Clone)] @@ -5783,12 +7045,12 @@ impl Default for ipv6_mreq { } } #[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct group_req { - pub gr_interface: u32, - pub gr_group: sockaddr_storage, +#[derive(Copy, Clone)] +pub struct in6_pktinfo { + pub ipi6_addr: in6_addr, + pub ipi6_ifindex: ::std::os::raw::c_uint, } -impl Default for group_req { +impl Default for in6_pktinfo { fn default() -> Self { let mut s = ::std::mem::MaybeUninit::::uninit(); unsafe { @@ -5798,13 +7060,12 @@ impl Default for group_req { } } #[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct group_source_req { - pub gsr_interface: u32, - pub gsr_group: sockaddr_storage, - pub gsr_source: sockaddr_storage, +#[derive(Copy, Clone)] +pub struct ip6_mtuinfo { + pub ip6m_addr: sockaddr_in6, + pub ip6m_mtu: u32, } -impl Default for group_source_req { +impl Default for ip6_mtuinfo { fn default() -> Self { let mut s = ::std::mem::MaybeUninit::::uninit(); unsafe { @@ -5813,127 +7074,232 @@ impl Default for group_source_req { } } } -#[repr(C)] -#[derive(Debug, Default, Copy, Clone)] -pub struct ip_msfilter { - pub imsf_multiaddr: in_addr, - pub imsf_interface: in_addr, - pub imsf_fmode: u32, - pub imsf_numsrc: u32, - pub imsf_slist: [in_addr; 1usize], +#[pg_guard] +extern "C" { + pub fn inet6_option_space(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; } -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct group_filter { - pub gf_interface: u32, - pub gf_group: sockaddr_storage, - pub gf_fmode: u32, - pub gf_numsrc: u32, - pub gf_slist: [sockaddr_storage; 1usize], +#[pg_guard] +extern "C" { + pub fn inet6_option_init( + arg1: *mut ::std::os::raw::c_void, + arg2: *mut *mut cmsghdr, + arg3: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; } -impl Default for group_filter { - fn default() -> Self { - let mut s = ::std::mem::MaybeUninit::::uninit(); - unsafe { - ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); - s.assume_init() - } - } +#[pg_guard] +extern "C" { + pub fn inet6_option_append( + arg1: *mut cmsghdr, + arg2: *const __uint8_t, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn ntohl(__netlong: u32) -> u32; + pub fn inet6_option_alloc( + arg1: *mut cmsghdr, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> *mut __uint8_t; } #[pg_guard] extern "C" { - pub fn ntohs(__netshort: u16) -> u16; + pub fn inet6_option_next( + arg1: *const cmsghdr, + arg2: *mut *mut __uint8_t, + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn htonl(__hostlong: u32) -> u32; + pub fn inet6_option_find( + arg1: *const cmsghdr, + arg2: *mut *mut __uint8_t, + arg3: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn htons(__hostshort: u16) -> u16; + pub fn inet6_rthdr_space(arg1: ::std::os::raw::c_int, arg2: ::std::os::raw::c_int) -> usize; } #[pg_guard] extern "C" { - pub fn bindresvport( - __sockfd: ::std::os::raw::c_int, - __sock_in: *mut sockaddr_in, + pub fn inet6_rthdr_init( + arg1: *mut ::std::os::raw::c_void, + arg2: ::std::os::raw::c_int, + ) -> *mut cmsghdr; +} +#[pg_guard] +extern "C" { + pub fn inet6_rthdr_add( + arg1: *mut cmsghdr, + arg2: *const in6_addr, + arg3: ::std::os::raw::c_uint, ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn bindresvport6( - __sockfd: ::std::os::raw::c_int, - __sock_in: *mut sockaddr_in6, + pub fn inet6_rthdr_lasthop( + arg1: *mut cmsghdr, + arg2: ::std::os::raw::c_uint, ) -> ::std::os::raw::c_int; } -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct rpcent { - pub r_name: *mut ::std::os::raw::c_char, - pub r_aliases: *mut *mut ::std::os::raw::c_char, - pub r_number: ::std::os::raw::c_int, +#[pg_guard] +extern "C" { + pub fn inet6_rthdr_segments(arg1: *const cmsghdr) -> ::std::os::raw::c_int; } -impl Default for rpcent { - fn default() -> Self { - let mut s = ::std::mem::MaybeUninit::::uninit(); - unsafe { - ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); - s.assume_init() - } - } +#[pg_guard] +extern "C" { + pub fn inet6_rthdr_getaddr(arg1: *mut cmsghdr, arg2: ::std::os::raw::c_int) -> *mut in6_addr; } #[pg_guard] extern "C" { - pub fn setrpcent(__stayopen: ::std::os::raw::c_int); + pub fn inet6_rthdr_getflags( + arg1: *const cmsghdr, + arg2: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn endrpcent(); + pub fn inet6_opt_init( + arg1: *mut ::std::os::raw::c_void, + arg2: socklen_t, + ) -> ::std::os::raw::c_int; +} +#[pg_guard] +extern "C" { + pub fn inet6_opt_append( + arg1: *mut ::std::os::raw::c_void, + arg2: socklen_t, + arg3: ::std::os::raw::c_int, + arg4: __uint8_t, + arg5: socklen_t, + arg6: __uint8_t, + arg7: *mut *mut ::std::os::raw::c_void, + ) -> ::std::os::raw::c_int; +} +#[pg_guard] +extern "C" { + pub fn inet6_opt_finish( + arg1: *mut ::std::os::raw::c_void, + arg2: socklen_t, + arg3: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; +} +#[pg_guard] +extern "C" { + pub fn inet6_opt_set_val( + arg1: *mut ::std::os::raw::c_void, + arg2: ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_void, + arg4: socklen_t, + ) -> ::std::os::raw::c_int; +} +#[pg_guard] +extern "C" { + pub fn inet6_opt_next( + arg1: *mut ::std::os::raw::c_void, + arg2: socklen_t, + arg3: ::std::os::raw::c_int, + arg4: *mut __uint8_t, + arg5: *mut socklen_t, + arg6: *mut *mut ::std::os::raw::c_void, + ) -> ::std::os::raw::c_int; +} +#[pg_guard] +extern "C" { + pub fn inet6_opt_find( + arg1: *mut ::std::os::raw::c_void, + arg2: socklen_t, + arg3: ::std::os::raw::c_int, + arg4: __uint8_t, + arg5: *mut socklen_t, + arg6: *mut *mut ::std::os::raw::c_void, + ) -> ::std::os::raw::c_int; +} +#[pg_guard] +extern "C" { + pub fn inet6_opt_get_val( + arg1: *mut ::std::os::raw::c_void, + arg2: ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_void, + arg4: socklen_t, + ) -> ::std::os::raw::c_int; +} +#[pg_guard] +extern "C" { + pub fn inet6_rth_space(arg1: ::std::os::raw::c_int, arg2: ::std::os::raw::c_int) -> socklen_t; +} +#[pg_guard] +extern "C" { + pub fn inet6_rth_init( + arg1: *mut ::std::os::raw::c_void, + arg2: socklen_t, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> *mut ::std::os::raw::c_void; +} +#[pg_guard] +extern "C" { + pub fn inet6_rth_add( + arg1: *mut ::std::os::raw::c_void, + arg2: *const in6_addr, + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn getrpcbyname(__name: *const ::std::os::raw::c_char) -> *mut rpcent; + pub fn inet6_rth_reverse( + arg1: *const ::std::os::raw::c_void, + arg2: *mut ::std::os::raw::c_void, + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn getrpcbynumber(__number: ::std::os::raw::c_int) -> *mut rpcent; + pub fn inet6_rth_segments(arg1: *const ::std::os::raw::c_void) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn getrpcent() -> *mut rpcent; + pub fn inet6_rth_getaddr( + arg1: *const ::std::os::raw::c_void, + arg2: ::std::os::raw::c_int, + ) -> *mut in6_addr; } #[pg_guard] extern "C" { - pub fn getrpcbyname_r( - __name: *const ::std::os::raw::c_char, - __result_buf: *mut rpcent, - __buffer: *mut ::std::os::raw::c_char, - __buflen: usize, - __result: *mut *mut rpcent, + pub fn bindresvport( + arg1: ::std::os::raw::c_int, + arg2: *mut sockaddr_in, ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn getrpcbynumber_r( - __number: ::std::os::raw::c_int, - __result_buf: *mut rpcent, - __buffer: *mut ::std::os::raw::c_char, - __buflen: usize, - __result: *mut *mut rpcent, + pub fn bindresvport_sa( + arg1: ::std::os::raw::c_int, + arg2: *mut sockaddr, ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn getrpcent_r( - __result_buf: *mut rpcent, - __buffer: *mut ::std::os::raw::c_char, - __buflen: usize, - __result: *mut *mut rpcent, - ) -> ::std::os::raw::c_int; + pub static mut h_errno: ::std::os::raw::c_int; +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct hostent { + pub h_name: *mut ::std::os::raw::c_char, + pub h_aliases: *mut *mut ::std::os::raw::c_char, + pub h_addrtype: ::std::os::raw::c_int, + pub h_length: ::std::os::raw::c_int, + pub h_addr_list: *mut *mut ::std::os::raw::c_char, +} +impl Default for hostent { + fn default() -> Self { + let mut s = ::std::mem::MaybeUninit::::uninit(); + unsafe { + ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); + s.assume_init() + } + } } #[repr(C)] #[derive(Debug, Copy, Clone)] @@ -5952,28 +7318,52 @@ impl Default for netent { } } } -#[pg_guard] -extern "C" { - pub fn __h_errno_location() -> *mut ::std::os::raw::c_int; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct servent { + pub s_name: *mut ::std::os::raw::c_char, + pub s_aliases: *mut *mut ::std::os::raw::c_char, + pub s_port: ::std::os::raw::c_int, + pub s_proto: *mut ::std::os::raw::c_char, } -#[pg_guard] -extern "C" { - pub fn herror(__str: *const ::std::os::raw::c_char); +impl Default for servent { + fn default() -> Self { + let mut s = ::std::mem::MaybeUninit::::uninit(); + unsafe { + ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); + s.assume_init() + } + } } -#[pg_guard] -extern "C" { - pub fn hstrerror(__err_num: ::std::os::raw::c_int) -> *const ::std::os::raw::c_char; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct protoent { + pub p_name: *mut ::std::os::raw::c_char, + pub p_aliases: *mut *mut ::std::os::raw::c_char, + pub p_proto: ::std::os::raw::c_int, +} +impl Default for protoent { + fn default() -> Self { + let mut s = ::std::mem::MaybeUninit::::uninit(); + unsafe { + ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); + s.assume_init() + } + } } #[repr(C)] #[derive(Debug, Copy, Clone)] -pub struct hostent { - pub h_name: *mut ::std::os::raw::c_char, - pub h_aliases: *mut *mut ::std::os::raw::c_char, - pub h_addrtype: ::std::os::raw::c_int, - pub h_length: ::std::os::raw::c_int, - pub h_addr_list: *mut *mut ::std::os::raw::c_char, +pub struct addrinfo { + pub ai_flags: ::std::os::raw::c_int, + pub ai_family: ::std::os::raw::c_int, + pub ai_socktype: ::std::os::raw::c_int, + pub ai_protocol: ::std::os::raw::c_int, + pub ai_addrlen: socklen_t, + pub ai_canonname: *mut ::std::os::raw::c_char, + pub ai_addr: *mut sockaddr, + pub ai_next: *mut addrinfo, } -impl Default for hostent { +impl Default for addrinfo { fn default() -> Self { let mut s = ::std::mem::MaybeUninit::::uninit(); unsafe { @@ -5982,9 +7372,21 @@ impl Default for hostent { } } } -#[pg_guard] -extern "C" { - pub fn sethostent(__stay_open: ::std::os::raw::c_int); +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct rpcent { + pub r_name: *mut ::std::os::raw::c_char, + pub r_aliases: *mut *mut ::std::os::raw::c_char, + pub r_number: ::std::os::raw::c_int, +} +impl Default for rpcent { + fn default() -> Self { + let mut s = ::std::mem::MaybeUninit::::uninit(); + unsafe { + ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); + s.assume_init() + } + } } #[pg_guard] extern "C" { @@ -5992,150 +7394,98 @@ extern "C" { } #[pg_guard] extern "C" { - pub fn gethostent() -> *mut hostent; + pub fn endnetent(); } #[pg_guard] extern "C" { - pub fn gethostbyaddr( - __addr: *const ::std::os::raw::c_void, - __len: __socklen_t, - __type: ::std::os::raw::c_int, - ) -> *mut hostent; + pub fn endprotoent(); } #[pg_guard] extern "C" { - pub fn gethostbyname(__name: *const ::std::os::raw::c_char) -> *mut hostent; + pub fn endservent(); } #[pg_guard] extern "C" { - pub fn gethostbyname2( - __name: *const ::std::os::raw::c_char, - __af: ::std::os::raw::c_int, - ) -> *mut hostent; + pub fn freeaddrinfo(arg1: *mut addrinfo); } #[pg_guard] extern "C" { - pub fn gethostent_r( - __result_buf: *mut hostent, - __buf: *mut ::std::os::raw::c_char, - __buflen: usize, - __result: *mut *mut hostent, - __h_errnop: *mut ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; + pub fn gai_strerror(arg1: ::std::os::raw::c_int) -> *const ::std::os::raw::c_char; } #[pg_guard] extern "C" { - pub fn gethostbyaddr_r( - __addr: *const ::std::os::raw::c_void, - __len: __socklen_t, - __type: ::std::os::raw::c_int, - __result_buf: *mut hostent, - __buf: *mut ::std::os::raw::c_char, - __buflen: usize, - __result: *mut *mut hostent, - __h_errnop: *mut ::std::os::raw::c_int, + pub fn getaddrinfo( + arg1: *const ::std::os::raw::c_char, + arg2: *const ::std::os::raw::c_char, + arg3: *const addrinfo, + arg4: *mut *mut addrinfo, ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn gethostbyname_r( - __name: *const ::std::os::raw::c_char, - __result_buf: *mut hostent, - __buf: *mut ::std::os::raw::c_char, - __buflen: usize, - __result: *mut *mut hostent, - __h_errnop: *mut ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; + pub fn gethostbyaddr( + arg1: *const ::std::os::raw::c_void, + arg2: socklen_t, + arg3: ::std::os::raw::c_int, + ) -> *mut hostent; } #[pg_guard] extern "C" { - pub fn gethostbyname2_r( - __name: *const ::std::os::raw::c_char, - __af: ::std::os::raw::c_int, - __result_buf: *mut hostent, - __buf: *mut ::std::os::raw::c_char, - __buflen: usize, - __result: *mut *mut hostent, - __h_errnop: *mut ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; + pub fn gethostbyname(arg1: *const ::std::os::raw::c_char) -> *mut hostent; } #[pg_guard] extern "C" { - pub fn setnetent(__stay_open: ::std::os::raw::c_int); + pub fn gethostent() -> *mut hostent; } #[pg_guard] extern "C" { - pub fn endnetent(); + pub fn getnameinfo( + arg1: *const sockaddr, + arg2: socklen_t, + arg3: *mut ::std::os::raw::c_char, + arg4: socklen_t, + arg5: *mut ::std::os::raw::c_char, + arg6: socklen_t, + arg7: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn getnetent() -> *mut netent; + pub fn getnetbyaddr(arg1: u32, arg2: ::std::os::raw::c_int) -> *mut netent; } #[pg_guard] extern "C" { - pub fn getnetbyaddr(__net: u32, __type: ::std::os::raw::c_int) -> *mut netent; + pub fn getnetbyname(arg1: *const ::std::os::raw::c_char) -> *mut netent; } #[pg_guard] extern "C" { - pub fn getnetbyname(__name: *const ::std::os::raw::c_char) -> *mut netent; + pub fn getnetent() -> *mut netent; } #[pg_guard] extern "C" { - pub fn getnetent_r( - __result_buf: *mut netent, - __buf: *mut ::std::os::raw::c_char, - __buflen: usize, - __result: *mut *mut netent, - __h_errnop: *mut ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; + pub fn getprotobyname(arg1: *const ::std::os::raw::c_char) -> *mut protoent; } #[pg_guard] extern "C" { - pub fn getnetbyaddr_r( - __net: u32, - __type: ::std::os::raw::c_int, - __result_buf: *mut netent, - __buf: *mut ::std::os::raw::c_char, - __buflen: usize, - __result: *mut *mut netent, - __h_errnop: *mut ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; + pub fn getprotobynumber(arg1: ::std::os::raw::c_int) -> *mut protoent; } #[pg_guard] extern "C" { - pub fn getnetbyname_r( - __name: *const ::std::os::raw::c_char, - __result_buf: *mut netent, - __buf: *mut ::std::os::raw::c_char, - __buflen: usize, - __result: *mut *mut netent, - __h_errnop: *mut ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct servent { - pub s_name: *mut ::std::os::raw::c_char, - pub s_aliases: *mut *mut ::std::os::raw::c_char, - pub s_port: ::std::os::raw::c_int, - pub s_proto: *mut ::std::os::raw::c_char, -} -impl Default for servent { - fn default() -> Self { - let mut s = ::std::mem::MaybeUninit::::uninit(); - unsafe { - ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); - s.assume_init() - } - } + pub fn getprotoent() -> *mut protoent; } #[pg_guard] extern "C" { - pub fn setservent(__stay_open: ::std::os::raw::c_int); + pub fn getservbyname( + arg1: *const ::std::os::raw::c_char, + arg2: *const ::std::os::raw::c_char, + ) -> *mut servent; } #[pg_guard] extern "C" { - pub fn endservent(); + pub fn getservbyport( + arg1: ::std::os::raw::c_int, + arg2: *const ::std::os::raw::c_char, + ) -> *mut servent; } #[pg_guard] extern "C" { @@ -6143,379 +7493,241 @@ extern "C" { } #[pg_guard] extern "C" { - pub fn getservbyname( - __name: *const ::std::os::raw::c_char, - __proto: *const ::std::os::raw::c_char, - ) -> *mut servent; -} -#[pg_guard] -extern "C" { - pub fn getservbyport( - __port: ::std::os::raw::c_int, - __proto: *const ::std::os::raw::c_char, - ) -> *mut servent; + pub fn sethostent(arg1: ::std::os::raw::c_int); } #[pg_guard] extern "C" { - pub fn getservent_r( - __result_buf: *mut servent, - __buf: *mut ::std::os::raw::c_char, - __buflen: usize, - __result: *mut *mut servent, - ) -> ::std::os::raw::c_int; + pub fn setnetent(arg1: ::std::os::raw::c_int); } #[pg_guard] extern "C" { - pub fn getservbyname_r( - __name: *const ::std::os::raw::c_char, - __proto: *const ::std::os::raw::c_char, - __result_buf: *mut servent, - __buf: *mut ::std::os::raw::c_char, - __buflen: usize, - __result: *mut *mut servent, - ) -> ::std::os::raw::c_int; + pub fn setprotoent(arg1: ::std::os::raw::c_int); } #[pg_guard] extern "C" { - pub fn getservbyport_r( - __port: ::std::os::raw::c_int, - __proto: *const ::std::os::raw::c_char, - __result_buf: *mut servent, - __buf: *mut ::std::os::raw::c_char, - __buflen: usize, - __result: *mut *mut servent, - ) -> ::std::os::raw::c_int; -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct protoent { - pub p_name: *mut ::std::os::raw::c_char, - pub p_aliases: *mut *mut ::std::os::raw::c_char, - pub p_proto: ::std::os::raw::c_int, -} -impl Default for protoent { - fn default() -> Self { - let mut s = ::std::mem::MaybeUninit::::uninit(); - unsafe { - ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); - s.assume_init() - } - } + pub fn setservent(arg1: ::std::os::raw::c_int); } #[pg_guard] extern "C" { - pub fn setprotoent(__stay_open: ::std::os::raw::c_int); + pub fn freehostent(arg1: *mut hostent); } #[pg_guard] extern "C" { - pub fn endprotoent(); + pub fn gethostbyname2( + arg1: *const ::std::os::raw::c_char, + arg2: ::std::os::raw::c_int, + ) -> *mut hostent; } #[pg_guard] extern "C" { - pub fn getprotoent() -> *mut protoent; + pub fn getipnodebyaddr( + arg1: *const ::std::os::raw::c_void, + arg2: usize, + arg3: ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + ) -> *mut hostent; } #[pg_guard] extern "C" { - pub fn getprotobyname(__name: *const ::std::os::raw::c_char) -> *mut protoent; + pub fn getipnodebyname( + arg1: *const ::std::os::raw::c_char, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + ) -> *mut hostent; } #[pg_guard] extern "C" { - pub fn getprotobynumber(__proto: ::std::os::raw::c_int) -> *mut protoent; + pub fn getrpcbyname(name: *const ::std::os::raw::c_char) -> *mut rpcent; } #[pg_guard] extern "C" { - pub fn getprotoent_r( - __result_buf: *mut protoent, - __buf: *mut ::std::os::raw::c_char, - __buflen: usize, - __result: *mut *mut protoent, - ) -> ::std::os::raw::c_int; + pub fn getrpcbynumber(number: ::std::os::raw::c_int) -> *mut rpcent; } #[pg_guard] extern "C" { - pub fn getprotobyname_r( - __name: *const ::std::os::raw::c_char, - __result_buf: *mut protoent, - __buf: *mut ::std::os::raw::c_char, - __buflen: usize, - __result: *mut *mut protoent, - ) -> ::std::os::raw::c_int; + pub fn getrpcent() -> *mut rpcent; } #[pg_guard] extern "C" { - pub fn getprotobynumber_r( - __proto: ::std::os::raw::c_int, - __result_buf: *mut protoent, - __buf: *mut ::std::os::raw::c_char, - __buflen: usize, - __result: *mut *mut protoent, - ) -> ::std::os::raw::c_int; + pub fn setrpcent(stayopen: ::std::os::raw::c_int); } #[pg_guard] extern "C" { - pub fn setnetgrent(__netgroup: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; + pub fn endrpcent(); } #[pg_guard] extern "C" { - pub fn endnetgrent(); + pub fn herror(arg1: *const ::std::os::raw::c_char); } #[pg_guard] extern "C" { - pub fn getnetgrent( - __hostp: *mut *mut ::std::os::raw::c_char, - __userp: *mut *mut ::std::os::raw::c_char, - __domainp: *mut *mut ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; + pub fn hstrerror(arg1: ::std::os::raw::c_int) -> *const ::std::os::raw::c_char; } #[pg_guard] extern "C" { pub fn innetgr( - __netgroup: *const ::std::os::raw::c_char, - __host: *const ::std::os::raw::c_char, - __user: *const ::std::os::raw::c_char, - __domain: *const ::std::os::raw::c_char, + arg1: *const ::std::os::raw::c_char, + arg2: *const ::std::os::raw::c_char, + arg3: *const ::std::os::raw::c_char, + arg4: *const ::std::os::raw::c_char, ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn getnetgrent_r( - __hostp: *mut *mut ::std::os::raw::c_char, - __userp: *mut *mut ::std::os::raw::c_char, - __domainp: *mut *mut ::std::os::raw::c_char, - __buffer: *mut ::std::os::raw::c_char, - __buflen: usize, + pub fn getnetgrent( + arg1: *mut *mut ::std::os::raw::c_char, + arg2: *mut *mut ::std::os::raw::c_char, + arg3: *mut *mut ::std::os::raw::c_char, ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn rcmd( - __ahost: *mut *mut ::std::os::raw::c_char, - __rport: ::std::os::raw::c_ushort, - __locuser: *const ::std::os::raw::c_char, - __remuser: *const ::std::os::raw::c_char, - __cmd: *const ::std::os::raw::c_char, - __fd2p: *mut ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; + pub fn endnetgrent(); } #[pg_guard] extern "C" { - pub fn rcmd_af( - __ahost: *mut *mut ::std::os::raw::c_char, - __rport: ::std::os::raw::c_ushort, - __locuser: *const ::std::os::raw::c_char, - __remuser: *const ::std::os::raw::c_char, - __cmd: *const ::std::os::raw::c_char, - __fd2p: *mut ::std::os::raw::c_int, - __af: sa_family_t, - ) -> ::std::os::raw::c_int; + pub fn setnetgrent(arg1: *const ::std::os::raw::c_char); +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct passwd { + pub pw_name: *mut ::std::os::raw::c_char, + pub pw_passwd: *mut ::std::os::raw::c_char, + pub pw_uid: uid_t, + pub pw_gid: gid_t, + pub pw_change: __darwin_time_t, + pub pw_class: *mut ::std::os::raw::c_char, + pub pw_gecos: *mut ::std::os::raw::c_char, + pub pw_dir: *mut ::std::os::raw::c_char, + pub pw_shell: *mut ::std::os::raw::c_char, + pub pw_expire: __darwin_time_t, +} +impl Default for passwd { + fn default() -> Self { + let mut s = ::std::mem::MaybeUninit::::uninit(); + unsafe { + ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); + s.assume_init() + } + } } #[pg_guard] extern "C" { - pub fn rexec( - __ahost: *mut *mut ::std::os::raw::c_char, - __rport: ::std::os::raw::c_int, - __name: *const ::std::os::raw::c_char, - __pass: *const ::std::os::raw::c_char, - __cmd: *const ::std::os::raw::c_char, - __fd2p: *mut ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; + pub fn getpwuid(arg1: uid_t) -> *mut passwd; } #[pg_guard] extern "C" { - pub fn rexec_af( - __ahost: *mut *mut ::std::os::raw::c_char, - __rport: ::std::os::raw::c_int, - __name: *const ::std::os::raw::c_char, - __pass: *const ::std::os::raw::c_char, - __cmd: *const ::std::os::raw::c_char, - __fd2p: *mut ::std::os::raw::c_int, - __af: sa_family_t, - ) -> ::std::os::raw::c_int; + pub fn getpwnam(arg1: *const ::std::os::raw::c_char) -> *mut passwd; } #[pg_guard] extern "C" { - pub fn ruserok( - __rhost: *const ::std::os::raw::c_char, - __suser: ::std::os::raw::c_int, - __remuser: *const ::std::os::raw::c_char, - __locuser: *const ::std::os::raw::c_char, + pub fn getpwuid_r( + arg1: uid_t, + arg2: *mut passwd, + arg3: *mut ::std::os::raw::c_char, + arg4: usize, + arg5: *mut *mut passwd, ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn ruserok_af( - __rhost: *const ::std::os::raw::c_char, - __suser: ::std::os::raw::c_int, - __remuser: *const ::std::os::raw::c_char, - __locuser: *const ::std::os::raw::c_char, - __af: sa_family_t, + pub fn getpwnam_r( + arg1: *const ::std::os::raw::c_char, + arg2: *mut passwd, + arg3: *mut ::std::os::raw::c_char, + arg4: usize, + arg5: *mut *mut passwd, ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn iruserok( - __raddr: u32, - __suser: ::std::os::raw::c_int, - __remuser: *const ::std::os::raw::c_char, - __locuser: *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; + pub fn getpwent() -> *mut passwd; } #[pg_guard] extern "C" { - pub fn iruserok_af( - __raddr: *const ::std::os::raw::c_void, - __suser: ::std::os::raw::c_int, - __remuser: *const ::std::os::raw::c_char, - __locuser: *const ::std::os::raw::c_char, - __af: sa_family_t, - ) -> ::std::os::raw::c_int; + pub fn setpwent(); } #[pg_guard] extern "C" { - pub fn rresvport(__alport: *mut ::std::os::raw::c_int) -> ::std::os::raw::c_int; + pub fn endpwent(); } +pub type uuid_t = __darwin_uuid_t; +pub type uuid_string_t = __darwin_uuid_string_t; #[pg_guard] extern "C" { - pub fn rresvport_af( - __alport: *mut ::std::os::raw::c_int, - __af: sa_family_t, - ) -> ::std::os::raw::c_int; -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct addrinfo { - pub ai_flags: ::std::os::raw::c_int, - pub ai_family: ::std::os::raw::c_int, - pub ai_socktype: ::std::os::raw::c_int, - pub ai_protocol: ::std::os::raw::c_int, - pub ai_addrlen: socklen_t, - pub ai_addr: *mut sockaddr, - pub ai_canonname: *mut ::std::os::raw::c_char, - pub ai_next: *mut addrinfo, -} -impl Default for addrinfo { - fn default() -> Self { - let mut s = ::std::mem::MaybeUninit::::uninit(); - unsafe { - ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); - s.assume_init() - } - } + pub static UUID_NULL: uuid_t; } #[pg_guard] extern "C" { - pub fn getaddrinfo( - __name: *const ::std::os::raw::c_char, - __service: *const ::std::os::raw::c_char, - __req: *const addrinfo, - __pai: *mut *mut addrinfo, - ) -> ::std::os::raw::c_int; + pub fn uuid_clear(uu: *mut ::std::os::raw::c_uchar); } #[pg_guard] extern "C" { - pub fn freeaddrinfo(__ai: *mut addrinfo); + pub fn uuid_compare( + uu1: *mut ::std::os::raw::c_uchar, + uu2: *mut ::std::os::raw::c_uchar, + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn gai_strerror(__ecode: ::std::os::raw::c_int) -> *const ::std::os::raw::c_char; + pub fn uuid_copy(dst: *mut ::std::os::raw::c_uchar, src: *mut ::std::os::raw::c_uchar); } #[pg_guard] extern "C" { - pub fn getnameinfo( - __sa: *const sockaddr, - __salen: socklen_t, - __host: *mut ::std::os::raw::c_char, - __hostlen: socklen_t, - __serv: *mut ::std::os::raw::c_char, - __servlen: socklen_t, - __flags: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct passwd { - pub pw_name: *mut ::std::os::raw::c_char, - pub pw_passwd: *mut ::std::os::raw::c_char, - pub pw_uid: __uid_t, - pub pw_gid: __gid_t, - pub pw_gecos: *mut ::std::os::raw::c_char, - pub pw_dir: *mut ::std::os::raw::c_char, - pub pw_shell: *mut ::std::os::raw::c_char, -} -impl Default for passwd { - fn default() -> Self { - let mut s = ::std::mem::MaybeUninit::::uninit(); - unsafe { - ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); - s.assume_init() - } - } + pub fn uuid_generate(out: *mut ::std::os::raw::c_uchar); } #[pg_guard] extern "C" { - pub fn setpwent(); + pub fn uuid_generate_random(out: *mut ::std::os::raw::c_uchar); } #[pg_guard] extern "C" { - pub fn endpwent(); + pub fn uuid_generate_time(out: *mut ::std::os::raw::c_uchar); } #[pg_guard] extern "C" { - pub fn getpwent() -> *mut passwd; + pub fn uuid_is_null(uu: *mut ::std::os::raw::c_uchar) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn fgetpwent(__stream: *mut FILE) -> *mut passwd; + pub fn uuid_parse( + in_: *mut ::std::os::raw::c_char, + uu: *mut ::std::os::raw::c_uchar, + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn putpwent(__p: *const passwd, __f: *mut FILE) -> ::std::os::raw::c_int; + pub fn uuid_unparse(uu: *mut ::std::os::raw::c_uchar, out: *mut ::std::os::raw::c_char); } #[pg_guard] extern "C" { - pub fn getpwuid(__uid: __uid_t) -> *mut passwd; + pub fn uuid_unparse_lower(uu: *mut ::std::os::raw::c_uchar, out: *mut ::std::os::raw::c_char); } #[pg_guard] extern "C" { - pub fn getpwnam(__name: *const ::std::os::raw::c_char) -> *mut passwd; + pub fn uuid_unparse_upper(uu: *mut ::std::os::raw::c_uchar, out: *mut ::std::os::raw::c_char); } #[pg_guard] extern "C" { - pub fn getpwent_r( - __resultbuf: *mut passwd, - __buffer: *mut ::std::os::raw::c_char, - __buflen: usize, - __result: *mut *mut passwd, - ) -> ::std::os::raw::c_int; + pub fn setpassent(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn getpwuid_r( - __uid: __uid_t, - __resultbuf: *mut passwd, - __buffer: *mut ::std::os::raw::c_char, - __buflen: usize, - __result: *mut *mut passwd, - ) -> ::std::os::raw::c_int; + pub fn user_from_uid(arg1: uid_t, arg2: ::std::os::raw::c_int) -> *mut ::std::os::raw::c_char; } #[pg_guard] extern "C" { - pub fn getpwnam_r( - __name: *const ::std::os::raw::c_char, - __resultbuf: *mut passwd, - __buffer: *mut ::std::os::raw::c_char, - __buflen: usize, - __result: *mut *mut passwd, - ) -> ::std::os::raw::c_int; + pub fn getpwuuid(arg1: *mut ::std::os::raw::c_uchar) -> *mut passwd; } #[pg_guard] extern "C" { - pub fn fgetpwent_r( - __stream: *mut FILE, - __resultbuf: *mut passwd, - __buffer: *mut ::std::os::raw::c_char, - __buflen: usize, - __result: *mut *mut passwd, + pub fn getpwuuid_r( + arg1: *mut ::std::os::raw::c_uchar, + arg2: *mut passwd, + arg3: *mut ::std::os::raw::c_char, + arg4: usize, + arg5: *mut *mut passwd, ) -> ::std::os::raw::c_int; } pub type pgsocket = ::std::os::raw::c_int; @@ -6781,34 +7993,6 @@ extern "C" { pub fn pg_srand48(seed: ::std::os::raw::c_long); } #[pg_guard] -extern "C" { - pub fn fls(mask: ::std::os::raw::c_int) -> ::std::os::raw::c_int; -} -#[pg_guard] -extern "C" { - pub fn getpeereid( - sock: ::std::os::raw::c_int, - uid: *mut uid_t, - gid: *mut gid_t, - ) -> ::std::os::raw::c_int; -} -#[pg_guard] -extern "C" { - pub fn strlcat( - dst: *mut ::std::os::raw::c_char, - src: *const ::std::os::raw::c_char, - siz: usize, - ) -> usize; -} -#[pg_guard] -extern "C" { - pub fn strlcpy( - dst: *mut ::std::os::raw::c_char, - src: *const ::std::os::raw::c_char, - siz: usize, - ) -> usize; -} -#[pg_guard] extern "C" { pub fn pqStrerror( errnum: ::std::os::raw::c_int, @@ -6936,39 +8120,28 @@ extern "C" { include_command_not_found: bool, ) -> bool; } -pub type __jmp_buf = [::std::os::raw::c_long; 8usize]; -#[repr(C)] -#[derive(Debug, Default, Copy, Clone)] -pub struct __jmp_buf_tag { - pub __jmpbuf: __jmp_buf, - pub __mask_was_saved: ::std::os::raw::c_int, - pub __saved_mask: __sigset_t, -} -pub type jmp_buf = [__jmp_buf_tag; 1usize]; +pub type jmp_buf = [::std::os::raw::c_int; 48usize]; +pub type sigjmp_buf = [::std::os::raw::c_int; 49usize]; #[pg_guard] extern "C" { - pub fn setjmp(__env: *mut __jmp_buf_tag) -> ::std::os::raw::c_int; + pub fn setjmp(arg1: *mut ::std::os::raw::c_int) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn __sigsetjmp( - __env: *mut __jmp_buf_tag, - __savemask: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; + pub fn longjmp(arg1: *mut ::std::os::raw::c_int, arg2: ::std::os::raw::c_int); } #[pg_guard] extern "C" { - pub fn _setjmp(__env: *mut __jmp_buf_tag) -> ::std::os::raw::c_int; + pub fn _setjmp(arg1: *mut ::std::os::raw::c_int) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn longjmp(__env: *mut __jmp_buf_tag, __val: ::std::os::raw::c_int); + pub fn _longjmp(arg1: *mut ::std::os::raw::c_int, arg2: ::std::os::raw::c_int); } #[pg_guard] extern "C" { - pub fn _longjmp(__env: *mut __jmp_buf_tag, __val: ::std::os::raw::c_int); + pub fn longjmperror(); } -pub type sigjmp_buf = [__jmp_buf_tag; 1usize]; #[pg_guard] extern "C" { pub fn errstart( @@ -7395,7 +8568,7 @@ extern "C" { buf: *mut ::std::os::raw::c_char, len: usize, fmt: *const ::std::os::raw::c_char, - args: *mut __va_list_tag, + args: va_list, ) -> usize; } #[repr(C)] @@ -9406,7 +10579,7 @@ extern "C" { #[repr(C)] #[derive(Debug, Default, Copy, Clone)] pub struct pg_atomic_flag { - pub value: ::std::os::raw::c_char, + pub value: ::std::os::raw::c_int, } #[repr(C)] #[derive(Debug, Default, Copy, Clone)] @@ -10077,83 +11250,251 @@ extern "C" { #[repr(C)] #[derive(Debug, Default, Copy, Clone)] pub struct flock { + pub l_start: off_t, + pub l_len: off_t, + pub l_pid: pid_t, pub l_type: ::std::os::raw::c_short, pub l_whence: ::std::os::raw::c_short, - pub l_start: __off_t, - pub l_len: __off_t, - pub l_pid: __pid_t, } #[repr(C)] #[derive(Debug, Default, Copy, Clone)] -pub struct stat { - pub st_dev: __dev_t, - pub st_ino: __ino_t, - pub st_nlink: __nlink_t, - pub st_mode: __mode_t, - pub st_uid: __uid_t, - pub st_gid: __gid_t, - pub __pad0: ::std::os::raw::c_int, - pub st_rdev: __dev_t, - pub st_size: __off_t, - pub st_blksize: __blksize_t, - pub st_blocks: __blkcnt_t, - pub st_atim: timespec, - pub st_mtim: timespec, - pub st_ctim: timespec, - pub __glibc_reserved: [__syscall_slong_t; 3usize], +pub struct timespec { + pub tv_sec: __darwin_time_t, + pub tv_nsec: ::std::os::raw::c_long, +} +#[repr(C)] +#[derive(Debug, Default, Copy, Clone)] +pub struct flocktimeout { + pub fl: flock, + pub timeout: timespec, +} +#[repr(C)] +#[derive(Debug, Default, Copy, Clone)] +pub struct radvisory { + pub ra_offset: off_t, + pub ra_count: ::std::os::raw::c_int, +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct fsignatures { + pub fs_file_start: off_t, + pub fs_blob_start: *mut ::std::os::raw::c_void, + pub fs_blob_size: usize, + pub fs_fsignatures_size: usize, + pub fs_cdhash: [::std::os::raw::c_char; 20usize], + pub fs_hash_type: ::std::os::raw::c_int, +} +impl Default for fsignatures { + fn default() -> Self { + let mut s = ::std::mem::MaybeUninit::::uninit(); + unsafe { + ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); + s.assume_init() + } + } +} +pub type fsignatures_t = fsignatures; +#[repr(C)] +#[derive(Debug, Default, Copy, Clone)] +pub struct fsupplement { + pub fs_file_start: off_t, + pub fs_blob_start: off_t, + pub fs_blob_size: usize, + pub fs_orig_fd: ::std::os::raw::c_int, +} +pub type fsupplement_t = fsupplement; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct fchecklv { + pub lv_file_start: off_t, + pub lv_error_message_size: usize, + pub lv_error_message: *mut ::std::os::raw::c_void, +} +impl Default for fchecklv { + fn default() -> Self { + let mut s = ::std::mem::MaybeUninit::::uninit(); + unsafe { + ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); + s.assume_init() + } + } +} +pub type fchecklv_t = fchecklv; +#[repr(C)] +#[derive(Debug, Default, Copy, Clone)] +pub struct fgetsigsinfo { + pub fg_file_start: off_t, + pub fg_info_request: ::std::os::raw::c_int, + pub fg_sig_is_platform: ::std::os::raw::c_int, +} +pub type fgetsigsinfo_t = fgetsigsinfo; +#[repr(C)] +#[derive(Debug, Default, Copy, Clone)] +pub struct fstore { + pub fst_flags: ::std::os::raw::c_uint, + pub fst_posmode: ::std::os::raw::c_int, + pub fst_offset: off_t, + pub fst_length: off_t, + pub fst_bytesalloc: off_t, +} +pub type fstore_t = fstore; +#[repr(C)] +#[derive(Debug, Default, Copy, Clone)] +pub struct fpunchhole { + pub fp_flags: ::std::os::raw::c_uint, + pub reserved: ::std::os::raw::c_uint, + pub fp_offset: off_t, + pub fp_length: off_t, +} +pub type fpunchhole_t = fpunchhole; +#[repr(C)] +#[derive(Debug, Default, Copy, Clone)] +pub struct ftrimactivefile { + pub fta_offset: off_t, + pub fta_length: off_t, +} +pub type ftrimactivefile_t = ftrimactivefile; +#[repr(C)] +#[derive(Debug, Default, Copy, Clone)] +pub struct fspecread { + pub fsr_flags: ::std::os::raw::c_uint, + pub reserved: ::std::os::raw::c_uint, + pub fsr_offset: off_t, + pub fsr_length: off_t, +} +pub type fspecread_t = fspecread; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct fbootstraptransfer { + pub fbt_offset: off_t, + pub fbt_length: usize, + pub fbt_buffer: *mut ::std::os::raw::c_void, +} +impl Default for fbootstraptransfer { + fn default() -> Self { + let mut s = ::std::mem::MaybeUninit::::uninit(); + unsafe { + ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); + s.assume_init() + } + } +} +pub type fbootstraptransfer_t = fbootstraptransfer; +#[repr(C, packed(4))] +#[derive(Debug, Default, Copy, Clone)] +pub struct log2phys { + pub l2p_flags: ::std::os::raw::c_uint, + pub l2p_contigbytes: off_t, + pub l2p_devoffset: off_t, +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _filesec { + _unused: [u8; 0], } +pub type filesec_t = *mut _filesec; +pub const filesec_property_t_FILESEC_OWNER: filesec_property_t = 1; +pub const filesec_property_t_FILESEC_GROUP: filesec_property_t = 2; +pub const filesec_property_t_FILESEC_UUID: filesec_property_t = 3; +pub const filesec_property_t_FILESEC_MODE: filesec_property_t = 4; +pub const filesec_property_t_FILESEC_ACL: filesec_property_t = 5; +pub const filesec_property_t_FILESEC_GRPUUID: filesec_property_t = 6; +pub const filesec_property_t_FILESEC_ACL_RAW: filesec_property_t = 100; +pub const filesec_property_t_FILESEC_ACL_ALLOCSIZE: filesec_property_t = 101; +pub type filesec_property_t = ::std::os::raw::c_uint; #[pg_guard] extern "C" { - pub fn fcntl( - __fd: ::std::os::raw::c_int, - __cmd: ::std::os::raw::c_int, + pub fn open( + arg1: *const ::std::os::raw::c_char, + arg2: ::std::os::raw::c_int, ... ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn open( - __file: *const ::std::os::raw::c_char, - __oflag: ::std::os::raw::c_int, + pub fn openat( + arg1: ::std::os::raw::c_int, + arg2: *const ::std::os::raw::c_char, + arg3: ::std::os::raw::c_int, ... ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn openat( - __fd: ::std::os::raw::c_int, - __file: *const ::std::os::raw::c_char, - __oflag: ::std::os::raw::c_int, + pub fn creat(arg1: *const ::std::os::raw::c_char, arg2: mode_t) -> ::std::os::raw::c_int; +} +#[pg_guard] +extern "C" { + pub fn fcntl( + arg1: ::std::os::raw::c_int, + arg2: ::std::os::raw::c_int, ... ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn creat(__file: *const ::std::os::raw::c_char, __mode: mode_t) -> ::std::os::raw::c_int; + pub fn openx_np( + arg1: *const ::std::os::raw::c_char, + arg2: ::std::os::raw::c_int, + arg3: filesec_t, + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn lockf( - __fd: ::std::os::raw::c_int, - __cmd: ::std::os::raw::c_int, - __len: off_t, + pub fn open_dprotected_np( + arg1: *const ::std::os::raw::c_char, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ... ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn posix_fadvise( - __fd: ::std::os::raw::c_int, - __offset: off_t, - __len: off_t, - __advise: ::std::os::raw::c_int, + pub fn flock(arg1: ::std::os::raw::c_int, arg2: ::std::os::raw::c_int) + -> ::std::os::raw::c_int; +} +#[pg_guard] +extern "C" { + pub fn filesec_init() -> filesec_t; +} +#[pg_guard] +extern "C" { + pub fn filesec_dup(arg1: filesec_t) -> filesec_t; +} +#[pg_guard] +extern "C" { + pub fn filesec_free(arg1: filesec_t); +} +#[pg_guard] +extern "C" { + pub fn filesec_get_property( + arg1: filesec_t, + arg2: filesec_property_t, + arg3: *mut ::std::os::raw::c_void, ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn posix_fallocate( - __fd: ::std::os::raw::c_int, - __offset: off_t, - __len: off_t, + pub fn filesec_query_property( + arg1: filesec_t, + arg2: filesec_property_t, + arg3: *mut ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; +} +#[pg_guard] +extern "C" { + pub fn filesec_set_property( + arg1: filesec_t, + arg2: filesec_property_t, + arg3: *const ::std::os::raw::c_void, + ) -> ::std::os::raw::c_int; +} +#[pg_guard] +extern "C" { + pub fn filesec_unset_property( + arg1: filesec_t, + arg2: filesec_property_t, ) -> ::std::os::raw::c_int; } pub type XLogRecPtr = uint64; @@ -10210,7 +11551,7 @@ extern "C" { pub fn appendStringInfoVA( str_: StringInfo, fmt: *const ::std::os::raw::c_char, - args: *mut __va_list_tag, + args: va_list, ) -> ::std::os::raw::c_int; } #[pg_guard] @@ -12212,7 +13553,7 @@ pub struct tm { pub tm_yday: ::std::os::raw::c_int, pub tm_isdst: ::std::os::raw::c_int, pub tm_gmtoff: ::std::os::raw::c_long, - pub tm_zone: *const ::std::os::raw::c_char, + pub tm_zone: *mut ::std::os::raw::c_char, } impl Default for tm { fn default() -> Self { @@ -12223,100 +13564,74 @@ impl Default for tm { } } } -#[repr(C)] -#[derive(Debug, Default, Copy, Clone)] -pub struct itimerspec { - pub it_interval: timespec, - pub it_value: timespec, -} #[pg_guard] extern "C" { - pub fn clock() -> clock_t; + pub static mut tzname: [*mut ::std::os::raw::c_char; 0usize]; } #[pg_guard] extern "C" { - pub fn time(__timer: *mut time_t) -> time_t; + pub static mut getdate_err: ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn difftime(__time1: time_t, __time0: time_t) -> f64; + pub static mut timezone: ::std::os::raw::c_long; } #[pg_guard] extern "C" { - pub fn mktime(__tp: *mut tm) -> time_t; + pub static mut daylight: ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn strftime( - __s: *mut ::std::os::raw::c_char, - __maxsize: usize, - __format: *const ::std::os::raw::c_char, - __tp: *const tm, - ) -> usize; + pub fn asctime(arg1: *const tm) -> *mut ::std::os::raw::c_char; } #[pg_guard] extern "C" { - pub fn strftime_l( - __s: *mut ::std::os::raw::c_char, - __maxsize: usize, - __format: *const ::std::os::raw::c_char, - __tp: *const tm, - __loc: locale_t, - ) -> usize; + pub fn clock() -> clock_t; } #[pg_guard] extern "C" { - pub fn gmtime(__timer: *const time_t) -> *mut tm; + pub fn ctime(arg1: *const time_t) -> *mut ::std::os::raw::c_char; } #[pg_guard] extern "C" { - pub fn localtime(__timer: *const time_t) -> *mut tm; + pub fn difftime(arg1: time_t, arg2: time_t) -> f64; } #[pg_guard] extern "C" { - pub fn gmtime_r(__timer: *const time_t, __tp: *mut tm) -> *mut tm; + pub fn getdate(arg1: *const ::std::os::raw::c_char) -> *mut tm; } #[pg_guard] extern "C" { - pub fn localtime_r(__timer: *const time_t, __tp: *mut tm) -> *mut tm; + pub fn gmtime(arg1: *const time_t) -> *mut tm; } #[pg_guard] extern "C" { - pub fn asctime(__tp: *const tm) -> *mut ::std::os::raw::c_char; + pub fn localtime(arg1: *const time_t) -> *mut tm; } #[pg_guard] extern "C" { - pub fn ctime(__timer: *const time_t) -> *mut ::std::os::raw::c_char; + pub fn mktime(arg1: *mut tm) -> time_t; } #[pg_guard] extern "C" { - pub fn asctime_r( - __tp: *const tm, - __buf: *mut ::std::os::raw::c_char, - ) -> *mut ::std::os::raw::c_char; + pub fn strftime( + arg1: *mut ::std::os::raw::c_char, + arg2: usize, + arg3: *const ::std::os::raw::c_char, + arg4: *const tm, + ) -> usize; } #[pg_guard] extern "C" { - pub fn ctime_r( - __timer: *const time_t, - __buf: *mut ::std::os::raw::c_char, + pub fn strptime( + arg1: *const ::std::os::raw::c_char, + arg2: *const ::std::os::raw::c_char, + arg3: *mut tm, ) -> *mut ::std::os::raw::c_char; } #[pg_guard] extern "C" { - pub static mut __tzname: [*mut ::std::os::raw::c_char; 2usize]; -} -#[pg_guard] -extern "C" { - pub static mut __daylight: ::std::os::raw::c_int; -} -#[pg_guard] -extern "C" { - pub static mut __timezone: ::std::os::raw::c_long; -} -#[pg_guard] -extern "C" { - pub static mut tzname: [*mut ::std::os::raw::c_char; 2usize]; + pub fn time(arg1: *mut time_t) -> time_t; } #[pg_guard] extern "C" { @@ -12324,91 +13639,78 @@ extern "C" { } #[pg_guard] extern "C" { - pub static mut daylight: ::std::os::raw::c_int; -} -#[pg_guard] -extern "C" { - pub static mut timezone: ::std::os::raw::c_long; -} -#[pg_guard] -extern "C" { - pub fn timegm(__tp: *mut tm) -> time_t; + pub fn asctime_r( + arg1: *const tm, + arg2: *mut ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; } #[pg_guard] extern "C" { - pub fn timelocal(__tp: *mut tm) -> time_t; + pub fn ctime_r( + arg1: *const time_t, + arg2: *mut ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; } #[pg_guard] extern "C" { - pub fn dysize(__year: ::std::os::raw::c_int) -> ::std::os::raw::c_int; + pub fn gmtime_r(arg1: *const time_t, arg2: *mut tm) -> *mut tm; } #[pg_guard] extern "C" { - pub fn nanosleep( - __requested_time: *const timespec, - __remaining: *mut timespec, - ) -> ::std::os::raw::c_int; + pub fn localtime_r(arg1: *const time_t, arg2: *mut tm) -> *mut tm; } #[pg_guard] extern "C" { - pub fn clock_getres(__clock_id: clockid_t, __res: *mut timespec) -> ::std::os::raw::c_int; + pub fn posix2time(arg1: time_t) -> time_t; } #[pg_guard] extern "C" { - pub fn clock_gettime(__clock_id: clockid_t, __tp: *mut timespec) -> ::std::os::raw::c_int; + pub fn tzsetwall(); } #[pg_guard] extern "C" { - pub fn clock_settime(__clock_id: clockid_t, __tp: *const timespec) -> ::std::os::raw::c_int; + pub fn time2posix(arg1: time_t) -> time_t; } #[pg_guard] extern "C" { - pub fn clock_nanosleep( - __clock_id: clockid_t, - __flags: ::std::os::raw::c_int, - __req: *const timespec, - __rem: *mut timespec, - ) -> ::std::os::raw::c_int; + pub fn timelocal(arg1: *mut tm) -> time_t; } #[pg_guard] extern "C" { - pub fn clock_getcpuclockid(__pid: pid_t, __clock_id: *mut clockid_t) -> ::std::os::raw::c_int; + pub fn timegm(arg1: *mut tm) -> time_t; } #[pg_guard] extern "C" { - pub fn timer_create( - __clock_id: clockid_t, - __evp: *mut sigevent, - __timerid: *mut timer_t, - ) -> ::std::os::raw::c_int; + pub fn nanosleep(__rqtp: *const timespec, __rmtp: *mut timespec) -> ::std::os::raw::c_int; } +pub const clockid_t__CLOCK_REALTIME: clockid_t = 0; +pub const clockid_t__CLOCK_MONOTONIC: clockid_t = 6; +pub const clockid_t__CLOCK_MONOTONIC_RAW: clockid_t = 4; +pub const clockid_t__CLOCK_MONOTONIC_RAW_APPROX: clockid_t = 5; +pub const clockid_t__CLOCK_UPTIME_RAW: clockid_t = 8; +pub const clockid_t__CLOCK_UPTIME_RAW_APPROX: clockid_t = 9; +pub const clockid_t__CLOCK_PROCESS_CPUTIME_ID: clockid_t = 12; +pub const clockid_t__CLOCK_THREAD_CPUTIME_ID: clockid_t = 16; +pub type clockid_t = ::std::os::raw::c_uint; #[pg_guard] extern "C" { - pub fn timer_delete(__timerid: timer_t) -> ::std::os::raw::c_int; + pub fn clock_getres(__clock_id: clockid_t, __res: *mut timespec) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn timer_settime( - __timerid: timer_t, - __flags: ::std::os::raw::c_int, - __value: *const itimerspec, - __ovalue: *mut itimerspec, - ) -> ::std::os::raw::c_int; + pub fn clock_gettime(__clock_id: clockid_t, __tp: *mut timespec) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn timer_gettime(__timerid: timer_t, __value: *mut itimerspec) -> ::std::os::raw::c_int; + pub fn clock_gettime_nsec_np(__clock_id: clockid_t) -> __uint64_t; } #[pg_guard] extern "C" { - pub fn timer_getoverrun(__timerid: timer_t) -> ::std::os::raw::c_int; + pub fn clock_settime(__clock_id: clockid_t, __tp: *const timespec) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn timespec_get( - __ts: *mut timespec, - __base: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; + pub fn timespec_get(ts: *mut timespec, base: ::std::os::raw::c_int) -> ::std::os::raw::c_int; } pub type instr_time = timespec; #[repr(C)] @@ -12845,7 +14147,6 @@ pub struct IndexOnlyScan { pub indexorderby: *mut List, pub indextlist: *mut List, pub indexorderdir: ScanDirection, - pub recheckqual: *mut List, } impl Default for IndexOnlyScan { fn default() -> Self { @@ -14087,7 +15388,7 @@ extern "C" { extern "C" { pub fn tuplesort_restorepos(state: *mut Tuplesortstate); } -pub type slock_t = ::std::os::raw::c_uchar; +pub type slock_t = ::std::os::raw::c_int; #[pg_guard] extern "C" { pub static mut dummy_spinlock: slock_t; @@ -15106,7 +16407,7 @@ impl Default for IndexScanState { #[derive(Debug, Copy, Clone)] pub struct IndexOnlyScanState { pub ss: ScanState, - pub recheckqual: *mut ExprState, + pub indexqual: *mut ExprState, pub ioss_ScanKeys: ScanKey, pub ioss_NumScanKeys: ::std::os::raw::c_int, pub ioss_OrderByKeys: ScanKey, @@ -19685,14 +20986,6 @@ extern "C" { } pub type pg_crc32c = uint32; #[pg_guard] -extern "C" { - pub fn pg_comp_crc32c_sse42( - crc: pg_crc32c, - data: *const ::std::os::raw::c_void, - len: usize, - ) -> pg_crc32c; -} -#[pg_guard] extern "C" { pub fn pg_comp_crc32c_sb8( crc: pg_crc32c, @@ -19700,16 +20993,6 @@ extern "C" { len: usize, ) -> pg_crc32c; } -#[pg_guard] -extern "C" { - pub static mut pg_comp_crc32c: ::std::option::Option< - unsafe extern "C" fn( - crc: pg_crc32c, - data: *const ::std::os::raw::c_void, - len: usize, - ) -> pg_crc32c, - >; -} #[repr(C)] #[derive(Debug, Default, Copy, Clone)] pub struct XLogRecord { @@ -19899,11 +21182,12 @@ extern "C" { #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct dirent { - pub d_ino: __ino_t, - pub d_off: __off_t, - pub d_reclen: ::std::os::raw::c_ushort, - pub d_type: ::std::os::raw::c_uchar, - pub d_name: [::std::os::raw::c_char; 256usize], + pub d_ino: __uint64_t, + pub d_seekoff: __uint64_t, + pub d_reclen: __uint16_t, + pub d_namlen: __uint16_t, + pub d_type: __uint8_t, + pub d_name: [::std::os::raw::c_char; 1024usize], } impl Default for dirent { fn default() -> Self { @@ -19914,71 +21198,87 @@ impl Default for dirent { } } } -pub const DT_UNKNOWN: ::std::os::raw::c_uint = 0; -pub const DT_FIFO: ::std::os::raw::c_uint = 1; -pub const DT_CHR: ::std::os::raw::c_uint = 2; -pub const DT_DIR: ::std::os::raw::c_uint = 4; -pub const DT_BLK: ::std::os::raw::c_uint = 6; -pub const DT_REG: ::std::os::raw::c_uint = 8; -pub const DT_LNK: ::std::os::raw::c_uint = 10; -pub const DT_SOCK: ::std::os::raw::c_uint = 12; -pub const DT_WHT: ::std::os::raw::c_uint = 14; -pub type _bindgen_ty_8 = ::std::os::raw::c_uint; #[repr(C)] #[derive(Debug, Copy, Clone)] -pub struct __dirstream { +pub struct _telldir { _unused: [u8; 0], } -pub type DIR = __dirstream; -#[pg_guard] -extern "C" { - pub fn opendir(__name: *const ::std::os::raw::c_char) -> *mut DIR; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct DIR { + pub __dd_fd: ::std::os::raw::c_int, + pub __dd_loc: ::std::os::raw::c_long, + pub __dd_size: ::std::os::raw::c_long, + pub __dd_buf: *mut ::std::os::raw::c_char, + pub __dd_len: ::std::os::raw::c_int, + pub __dd_seek: ::std::os::raw::c_long, + pub __padding: ::std::os::raw::c_long, + pub __dd_flags: ::std::os::raw::c_int, + pub __dd_lock: __darwin_pthread_mutex_t, + pub __dd_td: *mut _telldir, +} +impl Default for DIR { + fn default() -> Self { + let mut s = ::std::mem::MaybeUninit::::uninit(); + unsafe { + ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); + s.assume_init() + } + } } #[pg_guard] extern "C" { - pub fn fdopendir(__fd: ::std::os::raw::c_int) -> *mut DIR; + pub fn closedir(arg1: *mut DIR) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn closedir(__dirp: *mut DIR) -> ::std::os::raw::c_int; + pub fn opendir(arg1: *const ::std::os::raw::c_char) -> *mut DIR; } #[pg_guard] extern "C" { - pub fn readdir(__dirp: *mut DIR) -> *mut dirent; + pub fn readdir(arg1: *mut DIR) -> *mut dirent; } #[pg_guard] extern "C" { pub fn readdir_r( - __dirp: *mut DIR, - __entry: *mut dirent, - __result: *mut *mut dirent, + arg1: *mut DIR, + arg2: *mut dirent, + arg3: *mut *mut dirent, ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn rewinddir(__dirp: *mut DIR); + pub fn rewinddir(arg1: *mut DIR); +} +#[pg_guard] +extern "C" { + pub fn seekdir(arg1: *mut DIR, arg2: ::std::os::raw::c_long); +} +#[pg_guard] +extern "C" { + pub fn telldir(arg1: *mut DIR) -> ::std::os::raw::c_long; } #[pg_guard] extern "C" { - pub fn seekdir(__dirp: *mut DIR, __pos: ::std::os::raw::c_long); + pub fn fdopendir(arg1: ::std::os::raw::c_int) -> *mut DIR; } #[pg_guard] extern "C" { - pub fn telldir(__dirp: *mut DIR) -> ::std::os::raw::c_long; + pub fn alphasort(arg1: *mut *const dirent, arg2: *mut *const dirent) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn dirfd(__dirp: *mut DIR) -> ::std::os::raw::c_int; + pub fn dirfd(dirp: *mut DIR) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { pub fn scandir( - __dir: *const ::std::os::raw::c_char, - __namelist: *mut *mut *mut dirent, - __selector: ::std::option::Option< + arg1: *const ::std::os::raw::c_char, + arg2: *mut *mut *mut dirent, + arg3: ::std::option::Option< unsafe extern "C" fn(arg1: *const dirent) -> ::std::os::raw::c_int, >, - __cmp: ::std::option::Option< + arg4: ::std::option::Option< unsafe extern "C" fn( arg1: *mut *const dirent, arg2: *mut *const dirent, @@ -19988,16 +21288,27 @@ extern "C" { } #[pg_guard] extern "C" { - pub fn alphasort(__e1: *mut *const dirent, __e2: *mut *const dirent) -> ::std::os::raw::c_int; + pub fn scandir_b( + arg1: *const ::std::os::raw::c_char, + arg2: *mut *mut *mut dirent, + arg3: *mut ::std::os::raw::c_void, + arg4: *mut ::std::os::raw::c_void, + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { + #[link_name = "\u{1}_getdirentries_is_not_available_when_64_bit_inodes_are_in_effect"] pub fn getdirentries( - __fd: ::std::os::raw::c_int, - __buf: *mut ::std::os::raw::c_char, - __nbytes: usize, - __basep: *mut __off_t, - ) -> __ssize_t; + arg1: ::std::os::raw::c_int, + arg2: *mut ::std::os::raw::c_char, + arg3: ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_long, + ) -> ::std::os::raw::c_int; +} +#[pg_guard] +extern "C" { + pub fn __opendir2(arg1: *const ::std::os::raw::c_char, arg2: ::std::os::raw::c_int) + -> *mut DIR; } pub type FileName = *mut ::std::os::raw::c_char; pub type File = ::std::os::raw::c_int; @@ -23428,736 +24739,161 @@ extern "C" { nulls: *mut *mut bool, ) -> ::std::os::raw::c_int; } -pub type sig_atomic_t = __sig_atomic_t; -#[repr(C)] -#[derive(Copy, Clone)] -pub union sigval { - pub sival_int: ::std::os::raw::c_int, - pub sival_ptr: *mut ::std::os::raw::c_void, -} -impl Default for sigval { - fn default() -> Self { - let mut s = ::std::mem::MaybeUninit::::uninit(); - unsafe { - ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); - s.assume_init() - } - } -} -pub type __sigval_t = sigval; -#[repr(C)] -#[derive(Copy, Clone)] -pub struct siginfo_t { - pub si_signo: ::std::os::raw::c_int, - pub si_errno: ::std::os::raw::c_int, - pub si_code: ::std::os::raw::c_int, - pub __pad0: ::std::os::raw::c_int, - pub _sifields: siginfo_t__bindgen_ty_1, -} -#[repr(C)] -#[derive(Copy, Clone)] -pub union siginfo_t__bindgen_ty_1 { - pub _pad: [::std::os::raw::c_int; 28usize], - pub _kill: siginfo_t__bindgen_ty_1__bindgen_ty_1, - pub _timer: siginfo_t__bindgen_ty_1__bindgen_ty_2, - pub _rt: siginfo_t__bindgen_ty_1__bindgen_ty_3, - pub _sigchld: siginfo_t__bindgen_ty_1__bindgen_ty_4, - pub _sigfault: siginfo_t__bindgen_ty_1__bindgen_ty_5, - pub _sigpoll: siginfo_t__bindgen_ty_1__bindgen_ty_6, - pub _sigsys: siginfo_t__bindgen_ty_1__bindgen_ty_7, -} -#[repr(C)] -#[derive(Debug, Default, Copy, Clone)] -pub struct siginfo_t__bindgen_ty_1__bindgen_ty_1 { - pub si_pid: __pid_t, - pub si_uid: __uid_t, -} -#[repr(C)] -#[derive(Copy, Clone)] -pub struct siginfo_t__bindgen_ty_1__bindgen_ty_2 { - pub si_tid: ::std::os::raw::c_int, - pub si_overrun: ::std::os::raw::c_int, - pub si_sigval: __sigval_t, -} -impl Default for siginfo_t__bindgen_ty_1__bindgen_ty_2 { - fn default() -> Self { - let mut s = ::std::mem::MaybeUninit::::uninit(); - unsafe { - ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); - s.assume_init() - } - } -} -#[repr(C)] -#[derive(Copy, Clone)] -pub struct siginfo_t__bindgen_ty_1__bindgen_ty_3 { - pub si_pid: __pid_t, - pub si_uid: __uid_t, - pub si_sigval: __sigval_t, -} -impl Default for siginfo_t__bindgen_ty_1__bindgen_ty_3 { - fn default() -> Self { - let mut s = ::std::mem::MaybeUninit::::uninit(); - unsafe { - ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); - s.assume_init() - } - } -} -#[repr(C)] -#[derive(Debug, Default, Copy, Clone)] -pub struct siginfo_t__bindgen_ty_1__bindgen_ty_4 { - pub si_pid: __pid_t, - pub si_uid: __uid_t, - pub si_status: ::std::os::raw::c_int, - pub si_utime: __clock_t, - pub si_stime: __clock_t, -} -#[repr(C)] -#[derive(Copy, Clone)] -pub struct siginfo_t__bindgen_ty_1__bindgen_ty_5 { - pub si_addr: *mut ::std::os::raw::c_void, - pub si_addr_lsb: ::std::os::raw::c_short, - pub _bounds: siginfo_t__bindgen_ty_1__bindgen_ty_5__bindgen_ty_1, -} -#[repr(C)] -#[derive(Copy, Clone)] -pub union siginfo_t__bindgen_ty_1__bindgen_ty_5__bindgen_ty_1 { - pub _addr_bnd: siginfo_t__bindgen_ty_1__bindgen_ty_5__bindgen_ty_1__bindgen_ty_1, - pub _pkey: __uint32_t, -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct siginfo_t__bindgen_ty_1__bindgen_ty_5__bindgen_ty_1__bindgen_ty_1 { - pub _lower: *mut ::std::os::raw::c_void, - pub _upper: *mut ::std::os::raw::c_void, -} -impl Default for siginfo_t__bindgen_ty_1__bindgen_ty_5__bindgen_ty_1__bindgen_ty_1 { - fn default() -> Self { - let mut s = ::std::mem::MaybeUninit::::uninit(); - unsafe { - ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); - s.assume_init() - } - } -} -impl Default for siginfo_t__bindgen_ty_1__bindgen_ty_5__bindgen_ty_1 { - fn default() -> Self { - let mut s = ::std::mem::MaybeUninit::::uninit(); - unsafe { - ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); - s.assume_init() - } - } -} -impl Default for siginfo_t__bindgen_ty_1__bindgen_ty_5 { - fn default() -> Self { - let mut s = ::std::mem::MaybeUninit::::uninit(); - unsafe { - ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); - s.assume_init() - } - } -} -#[repr(C)] -#[derive(Debug, Default, Copy, Clone)] -pub struct siginfo_t__bindgen_ty_1__bindgen_ty_6 { - pub si_band: ::std::os::raw::c_long, - pub si_fd: ::std::os::raw::c_int, -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct siginfo_t__bindgen_ty_1__bindgen_ty_7 { - pub _call_addr: *mut ::std::os::raw::c_void, - pub _syscall: ::std::os::raw::c_int, - pub _arch: ::std::os::raw::c_uint, -} -impl Default for siginfo_t__bindgen_ty_1__bindgen_ty_7 { - fn default() -> Self { - let mut s = ::std::mem::MaybeUninit::::uninit(); - unsafe { - ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); - s.assume_init() - } - } -} -impl Default for siginfo_t__bindgen_ty_1 { - fn default() -> Self { - let mut s = ::std::mem::MaybeUninit::::uninit(); - unsafe { - ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); - s.assume_init() - } - } -} -impl Default for siginfo_t { - fn default() -> Self { - let mut s = ::std::mem::MaybeUninit::::uninit(); - unsafe { - ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); - s.assume_init() - } - } -} -pub const SI_ASYNCNL: ::std::os::raw::c_int = -60; -pub const SI_DETHREAD: ::std::os::raw::c_int = -7; -pub const SI_TKILL: ::std::os::raw::c_int = -6; -pub const SI_SIGIO: ::std::os::raw::c_int = -5; -pub const SI_ASYNCIO: ::std::os::raw::c_int = -4; -pub const SI_MESGQ: ::std::os::raw::c_int = -3; -pub const SI_TIMER: ::std::os::raw::c_int = -2; -pub const SI_QUEUE: ::std::os::raw::c_int = -1; -pub const SI_USER: ::std::os::raw::c_int = 0; -pub const SI_KERNEL: ::std::os::raw::c_int = 128; -pub type _bindgen_ty_9 = ::std::os::raw::c_int; -pub const ILL_ILLOPC: ::std::os::raw::c_uint = 1; -pub const ILL_ILLOPN: ::std::os::raw::c_uint = 2; -pub const ILL_ILLADR: ::std::os::raw::c_uint = 3; -pub const ILL_ILLTRP: ::std::os::raw::c_uint = 4; -pub const ILL_PRVOPC: ::std::os::raw::c_uint = 5; -pub const ILL_PRVREG: ::std::os::raw::c_uint = 6; -pub const ILL_COPROC: ::std::os::raw::c_uint = 7; -pub const ILL_BADSTK: ::std::os::raw::c_uint = 8; -pub const ILL_BADIADDR: ::std::os::raw::c_uint = 9; -pub type _bindgen_ty_10 = ::std::os::raw::c_uint; -pub const FPE_INTDIV: ::std::os::raw::c_uint = 1; -pub const FPE_INTOVF: ::std::os::raw::c_uint = 2; -pub const FPE_FLTDIV: ::std::os::raw::c_uint = 3; -pub const FPE_FLTOVF: ::std::os::raw::c_uint = 4; -pub const FPE_FLTUND: ::std::os::raw::c_uint = 5; -pub const FPE_FLTRES: ::std::os::raw::c_uint = 6; -pub const FPE_FLTINV: ::std::os::raw::c_uint = 7; -pub const FPE_FLTSUB: ::std::os::raw::c_uint = 8; -pub const FPE_FLTUNK: ::std::os::raw::c_uint = 14; -pub const FPE_CONDTRAP: ::std::os::raw::c_uint = 15; -pub type _bindgen_ty_11 = ::std::os::raw::c_uint; -pub const SEGV_MAPERR: ::std::os::raw::c_uint = 1; -pub const SEGV_ACCERR: ::std::os::raw::c_uint = 2; -pub const SEGV_BNDERR: ::std::os::raw::c_uint = 3; -pub const SEGV_PKUERR: ::std::os::raw::c_uint = 4; -pub const SEGV_ACCADI: ::std::os::raw::c_uint = 5; -pub const SEGV_ADIDERR: ::std::os::raw::c_uint = 6; -pub const SEGV_ADIPERR: ::std::os::raw::c_uint = 7; -pub const SEGV_MTEAERR: ::std::os::raw::c_uint = 8; -pub const SEGV_MTESERR: ::std::os::raw::c_uint = 9; -pub type _bindgen_ty_12 = ::std::os::raw::c_uint; -pub const BUS_ADRALN: ::std::os::raw::c_uint = 1; -pub const BUS_ADRERR: ::std::os::raw::c_uint = 2; -pub const BUS_OBJERR: ::std::os::raw::c_uint = 3; -pub const BUS_MCEERR_AR: ::std::os::raw::c_uint = 4; -pub const BUS_MCEERR_AO: ::std::os::raw::c_uint = 5; -pub type _bindgen_ty_13 = ::std::os::raw::c_uint; -pub const CLD_EXITED: ::std::os::raw::c_uint = 1; -pub const CLD_KILLED: ::std::os::raw::c_uint = 2; -pub const CLD_DUMPED: ::std::os::raw::c_uint = 3; -pub const CLD_TRAPPED: ::std::os::raw::c_uint = 4; -pub const CLD_STOPPED: ::std::os::raw::c_uint = 5; -pub const CLD_CONTINUED: ::std::os::raw::c_uint = 6; -pub type _bindgen_ty_14 = ::std::os::raw::c_uint; -pub const POLL_IN: ::std::os::raw::c_uint = 1; -pub const POLL_OUT: ::std::os::raw::c_uint = 2; -pub const POLL_MSG: ::std::os::raw::c_uint = 3; -pub const POLL_ERR: ::std::os::raw::c_uint = 4; -pub const POLL_PRI: ::std::os::raw::c_uint = 5; -pub const POLL_HUP: ::std::os::raw::c_uint = 6; -pub type _bindgen_ty_15 = ::std::os::raw::c_uint; -pub type sigval_t = __sigval_t; -#[repr(C)] -#[derive(Copy, Clone)] -pub struct sigevent { - pub sigev_value: __sigval_t, - pub sigev_signo: ::std::os::raw::c_int, - pub sigev_notify: ::std::os::raw::c_int, - pub _sigev_un: sigevent__bindgen_ty_1, -} -#[repr(C)] -#[derive(Copy, Clone)] -pub union sigevent__bindgen_ty_1 { - pub _pad: [::std::os::raw::c_int; 12usize], - pub _tid: __pid_t, - pub _sigev_thread: sigevent__bindgen_ty_1__bindgen_ty_1, -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct sigevent__bindgen_ty_1__bindgen_ty_1 { - pub _function: ::std::option::Option, - pub _attribute: *mut pthread_attr_t, -} -impl Default for sigevent__bindgen_ty_1__bindgen_ty_1 { - fn default() -> Self { - let mut s = ::std::mem::MaybeUninit::::uninit(); - unsafe { - ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); - s.assume_init() - } - } -} -impl Default for sigevent__bindgen_ty_1 { - fn default() -> Self { - let mut s = ::std::mem::MaybeUninit::::uninit(); - unsafe { - ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); - s.assume_init() - } - } -} -impl Default for sigevent { - fn default() -> Self { - let mut s = ::std::mem::MaybeUninit::::uninit(); - unsafe { - ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); - s.assume_init() - } - } -} -pub type sigevent_t = sigevent; -pub const SIGEV_SIGNAL: ::std::os::raw::c_uint = 0; -pub const SIGEV_NONE: ::std::os::raw::c_uint = 1; -pub const SIGEV_THREAD: ::std::os::raw::c_uint = 2; -pub const SIGEV_THREAD_ID: ::std::os::raw::c_uint = 4; -pub type _bindgen_ty_16 = ::std::os::raw::c_uint; -pub type __sighandler_t = ::std::option::Option; -#[pg_guard] -extern "C" { - pub fn __sysv_signal(__sig: ::std::os::raw::c_int, __handler: __sighandler_t) - -> __sighandler_t; -} #[pg_guard] extern "C" { - pub fn signal(__sig: ::std::os::raw::c_int, __handler: __sighandler_t) -> __sighandler_t; + pub static sys_signame: [*const ::std::os::raw::c_char; 32usize]; } #[pg_guard] extern "C" { - pub fn kill(__pid: __pid_t, __sig: ::std::os::raw::c_int) -> ::std::os::raw::c_int; + pub static sys_siglist: [*const ::std::os::raw::c_char; 32usize]; } #[pg_guard] extern "C" { - pub fn killpg(__pgrp: __pid_t, __sig: ::std::os::raw::c_int) -> ::std::os::raw::c_int; + pub fn raise(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn raise(__sig: ::std::os::raw::c_int) -> ::std::os::raw::c_int; + pub fn bsd_signal( + arg1: ::std::os::raw::c_int, + arg2: ::std::option::Option, + ) -> ::std::option::Option< + unsafe extern "C" fn( + arg1: ::std::os::raw::c_int, + arg2: ::std::option::Option, + ), + >; } #[pg_guard] extern "C" { - pub fn ssignal(__sig: ::std::os::raw::c_int, __handler: __sighandler_t) -> __sighandler_t; + pub fn kill(arg1: pid_t, arg2: ::std::os::raw::c_int) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn gsignal(__sig: ::std::os::raw::c_int) -> ::std::os::raw::c_int; + pub fn killpg(arg1: pid_t, arg2: ::std::os::raw::c_int) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn psignal(__sig: ::std::os::raw::c_int, __s: *const ::std::os::raw::c_char); + pub fn pthread_kill(arg1: pthread_t, arg2: ::std::os::raw::c_int) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn psiginfo(__pinfo: *const siginfo_t, __s: *const ::std::os::raw::c_char); + pub fn pthread_sigmask( + arg1: ::std::os::raw::c_int, + arg2: *const sigset_t, + arg3: *mut sigset_t, + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn sigblock(__mask: ::std::os::raw::c_int) -> ::std::os::raw::c_int; + pub fn sigaction( + arg1: ::std::os::raw::c_int, + arg2: *const sigaction, + arg3: *mut sigaction, + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn sigsetmask(__mask: ::std::os::raw::c_int) -> ::std::os::raw::c_int; + pub fn sigaddset(arg1: *mut sigset_t, arg2: ::std::os::raw::c_int) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn siggetmask() -> ::std::os::raw::c_int; + pub fn sigaltstack(arg1: *const stack_t, arg2: *mut stack_t) -> ::std::os::raw::c_int; } -pub type sig_t = __sighandler_t; #[pg_guard] extern "C" { - pub fn sigemptyset(__set: *mut sigset_t) -> ::std::os::raw::c_int; + pub fn sigdelset(arg1: *mut sigset_t, arg2: ::std::os::raw::c_int) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn sigfillset(__set: *mut sigset_t) -> ::std::os::raw::c_int; + pub fn sigemptyset(arg1: *mut sigset_t) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn sigaddset(__set: *mut sigset_t, __signo: ::std::os::raw::c_int) - -> ::std::os::raw::c_int; + pub fn sigfillset(arg1: *mut sigset_t) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn sigdelset(__set: *mut sigset_t, __signo: ::std::os::raw::c_int) - -> ::std::os::raw::c_int; + pub fn sighold(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn sigismember( - __set: *const sigset_t, - __signo: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; -} -#[repr(C)] -#[derive(Copy, Clone)] -pub struct sigaction { - pub __sigaction_handler: sigaction__bindgen_ty_1, - pub sa_mask: __sigset_t, - pub sa_flags: ::std::os::raw::c_int, - pub sa_restorer: ::std::option::Option, -} -#[repr(C)] -#[derive(Copy, Clone)] -pub union sigaction__bindgen_ty_1 { - pub sa_handler: __sighandler_t, - pub sa_sigaction: ::std::option::Option< - unsafe extern "C" fn( - arg1: ::std::os::raw::c_int, - arg2: *mut siginfo_t, - arg3: *mut ::std::os::raw::c_void, - ), - >, -} -impl Default for sigaction__bindgen_ty_1 { - fn default() -> Self { - let mut s = ::std::mem::MaybeUninit::::uninit(); - unsafe { - ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); - s.assume_init() - } - } -} -impl Default for sigaction { - fn default() -> Self { - let mut s = ::std::mem::MaybeUninit::::uninit(); - unsafe { - ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); - s.assume_init() - } - } + pub fn sigignore(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn sigprocmask( - __how: ::std::os::raw::c_int, - __set: *const sigset_t, - __oset: *mut sigset_t, + pub fn siginterrupt( + arg1: ::std::os::raw::c_int, + arg2: ::std::os::raw::c_int, ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn sigsuspend(__set: *const sigset_t) -> ::std::os::raw::c_int; + pub fn sigismember(arg1: *const sigset_t, arg2: ::std::os::raw::c_int) + -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn sigaction( - __sig: ::std::os::raw::c_int, - __act: *const sigaction, - __oact: *mut sigaction, - ) -> ::std::os::raw::c_int; + pub fn sigpause(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn sigpending(__set: *mut sigset_t) -> ::std::os::raw::c_int; + pub fn sigpending(arg1: *mut sigset_t) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn sigwait( - __set: *const sigset_t, - __sig: *mut ::std::os::raw::c_int, + pub fn sigprocmask( + arg1: ::std::os::raw::c_int, + arg2: *const sigset_t, + arg3: *mut sigset_t, ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn sigwaitinfo(__set: *const sigset_t, __info: *mut siginfo_t) -> ::std::os::raw::c_int; + pub fn sigrelse(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn sigtimedwait( - __set: *const sigset_t, - __info: *mut siginfo_t, - __timeout: *const timespec, - ) -> ::std::os::raw::c_int; -} -#[pg_guard] -extern "C" { - pub fn sigqueue( - __pid: __pid_t, - __sig: ::std::os::raw::c_int, - __val: sigval, - ) -> ::std::os::raw::c_int; -} -#[repr(C)] -#[derive(Debug, Default, Copy, Clone)] -pub struct _fpx_sw_bytes { - pub magic1: __uint32_t, - pub extended_size: __uint32_t, - pub xstate_bv: __uint64_t, - pub xstate_size: __uint32_t, - pub __glibc_reserved1: [__uint32_t; 7usize], -} -#[repr(C)] -#[derive(Debug, Default, Copy, Clone)] -pub struct _fpreg { - pub significand: [::std::os::raw::c_ushort; 4usize], - pub exponent: ::std::os::raw::c_ushort, -} -#[repr(C)] -#[derive(Debug, Default, Copy, Clone)] -pub struct _fpxreg { - pub significand: [::std::os::raw::c_ushort; 4usize], - pub exponent: ::std::os::raw::c_ushort, - pub __glibc_reserved1: [::std::os::raw::c_ushort; 3usize], -} -#[repr(C)] -#[derive(Debug, Default, Copy, Clone)] -pub struct _xmmreg { - pub element: [__uint32_t; 4usize], -} -#[repr(C)] -#[derive(Debug, Default, Copy, Clone)] -pub struct _fpstate { - pub cwd: __uint16_t, - pub swd: __uint16_t, - pub ftw: __uint16_t, - pub fop: __uint16_t, - pub rip: __uint64_t, - pub rdp: __uint64_t, - pub mxcsr: __uint32_t, - pub mxcr_mask: __uint32_t, - pub _st: [_fpxreg; 8usize], - pub _xmm: [_xmmreg; 16usize], - pub __glibc_reserved1: [__uint32_t; 24usize], -} -#[repr(C)] -#[derive(Copy, Clone)] -pub struct sigcontext { - pub r8: __uint64_t, - pub r9: __uint64_t, - pub r10: __uint64_t, - pub r11: __uint64_t, - pub r12: __uint64_t, - pub r13: __uint64_t, - pub r14: __uint64_t, - pub r15: __uint64_t, - pub rdi: __uint64_t, - pub rsi: __uint64_t, - pub rbp: __uint64_t, - pub rbx: __uint64_t, - pub rdx: __uint64_t, - pub rax: __uint64_t, - pub rcx: __uint64_t, - pub rsp: __uint64_t, - pub rip: __uint64_t, - pub eflags: __uint64_t, - pub cs: ::std::os::raw::c_ushort, - pub gs: ::std::os::raw::c_ushort, - pub fs: ::std::os::raw::c_ushort, - pub __pad0: ::std::os::raw::c_ushort, - pub err: __uint64_t, - pub trapno: __uint64_t, - pub oldmask: __uint64_t, - pub cr2: __uint64_t, - pub __bindgen_anon_1: sigcontext__bindgen_ty_1, - pub __reserved1: [__uint64_t; 8usize], -} -#[repr(C)] -#[derive(Copy, Clone)] -pub union sigcontext__bindgen_ty_1 { - pub fpstate: *mut _fpstate, - pub __fpstate_word: __uint64_t, -} -impl Default for sigcontext__bindgen_ty_1 { - fn default() -> Self { - let mut s = ::std::mem::MaybeUninit::::uninit(); - unsafe { - ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); - s.assume_init() - } - } -} -impl Default for sigcontext { - fn default() -> Self { - let mut s = ::std::mem::MaybeUninit::::uninit(); - unsafe { - ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); - s.assume_init() - } - } -} -#[repr(C)] -#[derive(Debug, Default, Copy, Clone)] -pub struct _xsave_hdr { - pub xstate_bv: __uint64_t, - pub __glibc_reserved1: [__uint64_t; 2usize], - pub __glibc_reserved2: [__uint64_t; 5usize], -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _ymmh_state { - pub ymmh_space: [__uint32_t; 64usize], -} -impl Default for _ymmh_state { - fn default() -> Self { - let mut s = ::std::mem::MaybeUninit::::uninit(); - unsafe { - ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); - s.assume_init() - } - } -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _xstate { - pub fpstate: _fpstate, - pub xstate_hdr: _xsave_hdr, - pub ymmh: _ymmh_state, -} -impl Default for _xstate { - fn default() -> Self { - let mut s = ::std::mem::MaybeUninit::::uninit(); - unsafe { - ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); - s.assume_init() - } - } + pub fn sigset( + arg1: ::std::os::raw::c_int, + arg2: ::std::option::Option, + ) -> ::std::option::Option< + unsafe extern "C" fn( + arg1: ::std::os::raw::c_int, + arg2: ::std::option::Option, + ), + >; } #[pg_guard] extern "C" { - pub fn sigreturn(__scp: *mut sigcontext) -> ::std::os::raw::c_int; -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct stack_t { - pub ss_sp: *mut ::std::os::raw::c_void, - pub ss_flags: ::std::os::raw::c_int, - pub ss_size: usize, -} -impl Default for stack_t { - fn default() -> Self { - let mut s = ::std::mem::MaybeUninit::::uninit(); - unsafe { - ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); - s.assume_init() - } - } -} -pub type greg_t = ::std::os::raw::c_longlong; -pub type gregset_t = [greg_t; 23usize]; -#[repr(C)] -#[derive(Debug, Default, Copy, Clone)] -pub struct _libc_fpxreg { - pub significand: [::std::os::raw::c_ushort; 4usize], - pub exponent: ::std::os::raw::c_ushort, - pub __glibc_reserved1: [::std::os::raw::c_ushort; 3usize], -} -#[repr(C)] -#[derive(Debug, Default, Copy, Clone)] -pub struct _libc_xmmreg { - pub element: [__uint32_t; 4usize], -} -#[repr(C)] -#[derive(Debug, Default, Copy, Clone)] -pub struct _libc_fpstate { - pub cwd: __uint16_t, - pub swd: __uint16_t, - pub ftw: __uint16_t, - pub fop: __uint16_t, - pub rip: __uint64_t, - pub rdp: __uint64_t, - pub mxcsr: __uint32_t, - pub mxcr_mask: __uint32_t, - pub _st: [_libc_fpxreg; 8usize], - pub _xmm: [_libc_xmmreg; 16usize], - pub __glibc_reserved1: [__uint32_t; 24usize], -} -pub type fpregset_t = *mut _libc_fpstate; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct mcontext_t { - pub gregs: gregset_t, - pub fpregs: fpregset_t, - pub __reserved1: [::std::os::raw::c_ulonglong; 8usize], -} -impl Default for mcontext_t { - fn default() -> Self { - let mut s = ::std::mem::MaybeUninit::::uninit(); - unsafe { - ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); - s.assume_init() - } - } -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct ucontext_t { - pub uc_flags: ::std::os::raw::c_ulong, - pub uc_link: *mut ucontext_t, - pub uc_stack: stack_t, - pub uc_mcontext: mcontext_t, - pub uc_sigmask: sigset_t, - pub __fpregs_mem: _libc_fpstate, - pub __ssp: [::std::os::raw::c_ulonglong; 4usize], -} -impl Default for ucontext_t { - fn default() -> Self { - let mut s = ::std::mem::MaybeUninit::::uninit(); - unsafe { - ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); - s.assume_init() - } - } + pub fn sigsuspend(arg1: *const sigset_t) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn siginterrupt( - __sig: ::std::os::raw::c_int, - __interrupt: ::std::os::raw::c_int, + pub fn sigwait( + arg1: *const sigset_t, + arg2: *mut ::std::os::raw::c_int, ) -> ::std::os::raw::c_int; } -pub const SS_ONSTACK: ::std::os::raw::c_uint = 1; -pub const SS_DISABLE: ::std::os::raw::c_uint = 2; -pub type _bindgen_ty_17 = ::std::os::raw::c_uint; #[pg_guard] extern "C" { - pub fn sigaltstack(__ss: *const stack_t, __oss: *mut stack_t) -> ::std::os::raw::c_int; -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct sigstack { - pub ss_sp: *mut ::std::os::raw::c_void, - pub ss_onstack: ::std::os::raw::c_int, -} -impl Default for sigstack { - fn default() -> Self { - let mut s = ::std::mem::MaybeUninit::::uninit(); - unsafe { - ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); - s.assume_init() - } - } + pub fn psignal(arg1: ::std::os::raw::c_uint, arg2: *const ::std::os::raw::c_char); } #[pg_guard] extern "C" { - pub fn sigstack(__ss: *mut sigstack, __oss: *mut sigstack) -> ::std::os::raw::c_int; + pub fn sigblock(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn pthread_sigmask( - __how: ::std::os::raw::c_int, - __newmask: *const __sigset_t, - __oldmask: *mut __sigset_t, - ) -> ::std::os::raw::c_int; + pub fn sigsetmask(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn pthread_kill( - __threadid: pthread_t, - __signo: ::std::os::raw::c_int, + pub fn sigvec( + arg1: ::std::os::raw::c_int, + arg2: *mut sigvec, + arg3: *mut sigvec, ) -> ::std::os::raw::c_int; } -#[pg_guard] -extern "C" { - pub fn __libc_current_sigrtmin() -> ::std::os::raw::c_int; -} -#[pg_guard] -extern "C" { - pub fn __libc_current_sigrtmax() -> ::std::os::raw::c_int; -} pub type pg_time_t = int64; #[repr(C)] #[derive(Debug, Copy, Clone)] @@ -24815,8 +25551,9 @@ extern "C" { #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct sockaddr_un { + pub sun_len: ::std::os::raw::c_uchar, pub sun_family: sa_family_t, - pub sun_path: [::std::os::raw::c_char; 108usize], + pub sun_path: [::std::os::raw::c_char; 104usize], } impl Default for sockaddr_un { fn default() -> Self { @@ -30065,6 +30802,34 @@ extern "C" { ); } #[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct FormData_pg_operator { + pub oprname: NameData, + pub oprnamespace: Oid, + pub oprowner: Oid, + pub oprkind: ::std::os::raw::c_char, + pub oprcanmerge: bool, + pub oprcanhash: bool, + pub oprleft: Oid, + pub oprright: Oid, + pub oprresult: Oid, + pub oprcom: Oid, + pub oprnegate: Oid, + pub oprcode: regproc, + pub oprrest: regproc, + pub oprjoin: regproc, +} +impl Default for FormData_pg_operator { + fn default() -> Self { + let mut s = ::std::mem::MaybeUninit::::uninit(); + unsafe { + ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); + s.assume_init() + } + } +} +pub type Form_pg_operator = *mut FormData_pg_operator; +#[repr(C)] #[derive(Debug)] pub struct FormData_pg_proc { pub proname: NameData, @@ -51963,13 +52728,6 @@ extern "C" { ) -> ::std::os::raw::c_int; } #[pg_guard] -extern "C" { - pub fn xidLogicalComparator( - arg1: *const ::std::os::raw::c_void, - arg2: *const ::std::os::raw::c_void, - ) -> ::std::os::raw::c_int; -} -#[pg_guard] extern "C" { pub fn inet_cidr_ntop( af: ::std::os::raw::c_int, @@ -52040,1766 +52798,814 @@ pub type float_t = f32; pub type double_t = f64; #[pg_guard] extern "C" { - pub fn __fpclassify(__value: f64) -> ::std::os::raw::c_int; -} -#[pg_guard] -extern "C" { - pub fn __signbit(__value: f64) -> ::std::os::raw::c_int; -} -#[pg_guard] -extern "C" { - pub fn __isinf(__value: f64) -> ::std::os::raw::c_int; -} -#[pg_guard] -extern "C" { - pub fn __finite(__value: f64) -> ::std::os::raw::c_int; -} -#[pg_guard] -extern "C" { - pub fn __isnan(__value: f64) -> ::std::os::raw::c_int; -} -#[pg_guard] -extern "C" { - pub fn __iseqsig(__x: f64, __y: f64) -> ::std::os::raw::c_int; -} -#[pg_guard] -extern "C" { - pub fn __issignaling(__value: f64) -> ::std::os::raw::c_int; -} -#[pg_guard] -extern "C" { - pub fn acos(__x: f64) -> f64; -} -#[pg_guard] -extern "C" { - pub fn __acos(__x: f64) -> f64; -} -#[pg_guard] -extern "C" { - pub fn asin(__x: f64) -> f64; -} -#[pg_guard] -extern "C" { - pub fn __asin(__x: f64) -> f64; -} -#[pg_guard] -extern "C" { - pub fn atan(__x: f64) -> f64; -} -#[pg_guard] -extern "C" { - pub fn __atan(__x: f64) -> f64; -} -#[pg_guard] -extern "C" { - pub fn atan2(__y: f64, __x: f64) -> f64; -} -#[pg_guard] -extern "C" { - pub fn __atan2(__y: f64, __x: f64) -> f64; -} -#[pg_guard] -extern "C" { - pub fn cos(__x: f64) -> f64; -} -#[pg_guard] -extern "C" { - pub fn __cos(__x: f64) -> f64; -} -#[pg_guard] -extern "C" { - pub fn sin(__x: f64) -> f64; -} -#[pg_guard] -extern "C" { - pub fn __sin(__x: f64) -> f64; -} -#[pg_guard] -extern "C" { - pub fn tan(__x: f64) -> f64; -} -#[pg_guard] -extern "C" { - pub fn __tan(__x: f64) -> f64; -} -#[pg_guard] -extern "C" { - pub fn cosh(__x: f64) -> f64; -} -#[pg_guard] -extern "C" { - pub fn __cosh(__x: f64) -> f64; -} -#[pg_guard] -extern "C" { - pub fn sinh(__x: f64) -> f64; -} -#[pg_guard] -extern "C" { - pub fn __sinh(__x: f64) -> f64; -} -#[pg_guard] -extern "C" { - pub fn tanh(__x: f64) -> f64; -} -#[pg_guard] -extern "C" { - pub fn __tanh(__x: f64) -> f64; -} -#[pg_guard] -extern "C" { - pub fn acosh(__x: f64) -> f64; -} -#[pg_guard] -extern "C" { - pub fn __acosh(__x: f64) -> f64; -} -#[pg_guard] -extern "C" { - pub fn asinh(__x: f64) -> f64; -} -#[pg_guard] -extern "C" { - pub fn __asinh(__x: f64) -> f64; -} -#[pg_guard] -extern "C" { - pub fn atanh(__x: f64) -> f64; -} -#[pg_guard] -extern "C" { - pub fn __atanh(__x: f64) -> f64; -} -#[pg_guard] -extern "C" { - pub fn exp(__x: f64) -> f64; -} -#[pg_guard] -extern "C" { - pub fn __exp(__x: f64) -> f64; -} -#[pg_guard] -extern "C" { - pub fn frexp(__x: f64, __exponent: *mut ::std::os::raw::c_int) -> f64; -} -#[pg_guard] -extern "C" { - pub fn __frexp(__x: f64, __exponent: *mut ::std::os::raw::c_int) -> f64; -} -#[pg_guard] -extern "C" { - pub fn ldexp(__x: f64, __exponent: ::std::os::raw::c_int) -> f64; -} -#[pg_guard] -extern "C" { - pub fn __ldexp(__x: f64, __exponent: ::std::os::raw::c_int) -> f64; -} -#[pg_guard] -extern "C" { - pub fn log(__x: f64) -> f64; -} -#[pg_guard] -extern "C" { - pub fn __log(__x: f64) -> f64; -} -#[pg_guard] -extern "C" { - pub fn log10(__x: f64) -> f64; -} -#[pg_guard] -extern "C" { - pub fn __log10(__x: f64) -> f64; -} -#[pg_guard] -extern "C" { - pub fn modf(__x: f64, __iptr: *mut f64) -> f64; -} -#[pg_guard] -extern "C" { - pub fn __modf(__x: f64, __iptr: *mut f64) -> f64; -} -#[pg_guard] -extern "C" { - pub fn expm1(__x: f64) -> f64; -} -#[pg_guard] -extern "C" { - pub fn __expm1(__x: f64) -> f64; -} -#[pg_guard] -extern "C" { - pub fn log1p(__x: f64) -> f64; -} -#[pg_guard] -extern "C" { - pub fn __log1p(__x: f64) -> f64; -} -#[pg_guard] -extern "C" { - pub fn logb(__x: f64) -> f64; -} -#[pg_guard] -extern "C" { - pub fn __logb(__x: f64) -> f64; -} -#[pg_guard] -extern "C" { - pub fn exp2(__x: f64) -> f64; -} -#[pg_guard] -extern "C" { - pub fn __exp2(__x: f64) -> f64; -} -#[pg_guard] -extern "C" { - pub fn log2(__x: f64) -> f64; -} -#[pg_guard] -extern "C" { - pub fn __log2(__x: f64) -> f64; -} -#[pg_guard] -extern "C" { - pub fn pow(__x: f64, __y: f64) -> f64; -} -#[pg_guard] -extern "C" { - pub fn __pow(__x: f64, __y: f64) -> f64; -} -#[pg_guard] -extern "C" { - pub fn sqrt(__x: f64) -> f64; -} -#[pg_guard] -extern "C" { - pub fn __sqrt(__x: f64) -> f64; -} -#[pg_guard] -extern "C" { - pub fn hypot(__x: f64, __y: f64) -> f64; -} -#[pg_guard] -extern "C" { - pub fn __hypot(__x: f64, __y: f64) -> f64; -} -#[pg_guard] -extern "C" { - pub fn cbrt(__x: f64) -> f64; -} -#[pg_guard] -extern "C" { - pub fn __cbrt(__x: f64) -> f64; -} -#[pg_guard] -extern "C" { - pub fn ceil(__x: f64) -> f64; -} -#[pg_guard] -extern "C" { - pub fn __ceil(__x: f64) -> f64; -} -#[pg_guard] -extern "C" { - pub fn fabs(__x: f64) -> f64; -} -#[pg_guard] -extern "C" { - pub fn __fabs(__x: f64) -> f64; -} -#[pg_guard] -extern "C" { - pub fn floor(__x: f64) -> f64; -} -#[pg_guard] -extern "C" { - pub fn __floor(__x: f64) -> f64; -} -#[pg_guard] -extern "C" { - pub fn fmod(__x: f64, __y: f64) -> f64; -} -#[pg_guard] -extern "C" { - pub fn __fmod(__x: f64, __y: f64) -> f64; -} -#[pg_guard] -extern "C" { - pub fn isinf(__value: f64) -> ::std::os::raw::c_int; -} -#[pg_guard] -extern "C" { - pub fn finite(__value: f64) -> ::std::os::raw::c_int; -} -#[pg_guard] -extern "C" { - pub fn drem(__x: f64, __y: f64) -> f64; -} -#[pg_guard] -extern "C" { - pub fn __drem(__x: f64, __y: f64) -> f64; -} -#[pg_guard] -extern "C" { - pub fn significand(__x: f64) -> f64; -} -#[pg_guard] -extern "C" { - pub fn __significand(__x: f64) -> f64; -} -#[pg_guard] -extern "C" { - pub fn copysign(__x: f64, __y: f64) -> f64; -} -#[pg_guard] -extern "C" { - pub fn __copysign(__x: f64, __y: f64) -> f64; -} -#[pg_guard] -extern "C" { - pub fn nan(__tagb: *const ::std::os::raw::c_char) -> f64; -} -#[pg_guard] -extern "C" { - pub fn __nan(__tagb: *const ::std::os::raw::c_char) -> f64; -} -#[pg_guard] -extern "C" { - pub fn isnan(__value: f64) -> ::std::os::raw::c_int; -} -#[pg_guard] -extern "C" { - pub fn j0(arg1: f64) -> f64; -} -#[pg_guard] -extern "C" { - pub fn __j0(arg1: f64) -> f64; -} -#[pg_guard] -extern "C" { - pub fn j1(arg1: f64) -> f64; -} -#[pg_guard] -extern "C" { - pub fn __j1(arg1: f64) -> f64; -} -#[pg_guard] -extern "C" { - pub fn jn(arg1: ::std::os::raw::c_int, arg2: f64) -> f64; -} -#[pg_guard] -extern "C" { - pub fn __jn(arg1: ::std::os::raw::c_int, arg2: f64) -> f64; -} -#[pg_guard] -extern "C" { - pub fn y0(arg1: f64) -> f64; -} -#[pg_guard] -extern "C" { - pub fn __y0(arg1: f64) -> f64; -} -#[pg_guard] -extern "C" { - pub fn y1(arg1: f64) -> f64; -} -#[pg_guard] -extern "C" { - pub fn __y1(arg1: f64) -> f64; -} -#[pg_guard] -extern "C" { - pub fn yn(arg1: ::std::os::raw::c_int, arg2: f64) -> f64; -} -#[pg_guard] -extern "C" { - pub fn __yn(arg1: ::std::os::raw::c_int, arg2: f64) -> f64; -} -#[pg_guard] -extern "C" { - pub fn erf(arg1: f64) -> f64; -} -#[pg_guard] -extern "C" { - pub fn __erf(arg1: f64) -> f64; -} -#[pg_guard] -extern "C" { - pub fn erfc(arg1: f64) -> f64; -} -#[pg_guard] -extern "C" { - pub fn __erfc(arg1: f64) -> f64; -} -#[pg_guard] -extern "C" { - pub fn lgamma(arg1: f64) -> f64; -} -#[pg_guard] -extern "C" { - pub fn __lgamma(arg1: f64) -> f64; -} -#[pg_guard] -extern "C" { - pub fn tgamma(arg1: f64) -> f64; -} -#[pg_guard] -extern "C" { - pub fn __tgamma(arg1: f64) -> f64; -} -#[pg_guard] -extern "C" { - pub fn gamma(arg1: f64) -> f64; -} -#[pg_guard] -extern "C" { - pub fn __gamma(arg1: f64) -> f64; -} -#[pg_guard] -extern "C" { - pub fn lgamma_r(arg1: f64, __signgamp: *mut ::std::os::raw::c_int) -> f64; -} -#[pg_guard] -extern "C" { - pub fn __lgamma_r(arg1: f64, __signgamp: *mut ::std::os::raw::c_int) -> f64; -} -#[pg_guard] -extern "C" { - pub fn rint(__x: f64) -> f64; -} -#[pg_guard] -extern "C" { - pub fn __rint(__x: f64) -> f64; -} -#[pg_guard] -extern "C" { - pub fn nextafter(__x: f64, __y: f64) -> f64; -} -#[pg_guard] -extern "C" { - pub fn __nextafter(__x: f64, __y: f64) -> f64; -} -#[pg_guard] -extern "C" { - pub fn nexttoward(__x: f64, __y: u128) -> f64; -} -#[pg_guard] -extern "C" { - pub fn __nexttoward(__x: f64, __y: u128) -> f64; -} -#[pg_guard] -extern "C" { - pub fn remainder(__x: f64, __y: f64) -> f64; -} -#[pg_guard] -extern "C" { - pub fn __remainder(__x: f64, __y: f64) -> f64; -} -#[pg_guard] -extern "C" { - pub fn scalbn(__x: f64, __n: ::std::os::raw::c_int) -> f64; -} -#[pg_guard] -extern "C" { - pub fn __scalbn(__x: f64, __n: ::std::os::raw::c_int) -> f64; -} -#[pg_guard] -extern "C" { - pub fn ilogb(__x: f64) -> ::std::os::raw::c_int; -} -#[pg_guard] -extern "C" { - pub fn __ilogb(__x: f64) -> ::std::os::raw::c_int; -} -#[pg_guard] -extern "C" { - pub fn scalbln(__x: f64, __n: ::std::os::raw::c_long) -> f64; -} -#[pg_guard] -extern "C" { - pub fn __scalbln(__x: f64, __n: ::std::os::raw::c_long) -> f64; -} -#[pg_guard] -extern "C" { - pub fn nearbyint(__x: f64) -> f64; -} -#[pg_guard] -extern "C" { - pub fn __nearbyint(__x: f64) -> f64; -} -#[pg_guard] -extern "C" { - pub fn round(__x: f64) -> f64; -} -#[pg_guard] -extern "C" { - pub fn __round(__x: f64) -> f64; -} -#[pg_guard] -extern "C" { - pub fn trunc(__x: f64) -> f64; -} -#[pg_guard] -extern "C" { - pub fn __trunc(__x: f64) -> f64; -} -#[pg_guard] -extern "C" { - pub fn remquo(__x: f64, __y: f64, __quo: *mut ::std::os::raw::c_int) -> f64; -} -#[pg_guard] -extern "C" { - pub fn __remquo(__x: f64, __y: f64, __quo: *mut ::std::os::raw::c_int) -> f64; -} -#[pg_guard] -extern "C" { - pub fn lrint(__x: f64) -> ::std::os::raw::c_long; -} -#[pg_guard] -extern "C" { - pub fn __lrint(__x: f64) -> ::std::os::raw::c_long; -} -#[pg_guard] -extern "C" { - pub fn llrint(__x: f64) -> ::std::os::raw::c_longlong; -} -#[pg_guard] -extern "C" { - pub fn __llrint(__x: f64) -> ::std::os::raw::c_longlong; -} -#[pg_guard] -extern "C" { - pub fn lround(__x: f64) -> ::std::os::raw::c_long; -} -#[pg_guard] -extern "C" { - pub fn __lround(__x: f64) -> ::std::os::raw::c_long; -} -#[pg_guard] -extern "C" { - pub fn llround(__x: f64) -> ::std::os::raw::c_longlong; -} -#[pg_guard] -extern "C" { - pub fn __llround(__x: f64) -> ::std::os::raw::c_longlong; -} -#[pg_guard] -extern "C" { - pub fn fdim(__x: f64, __y: f64) -> f64; -} -#[pg_guard] -extern "C" { - pub fn __fdim(__x: f64, __y: f64) -> f64; -} -#[pg_guard] -extern "C" { - pub fn fmax(__x: f64, __y: f64) -> f64; -} -#[pg_guard] -extern "C" { - pub fn __fmax(__x: f64, __y: f64) -> f64; -} -#[pg_guard] -extern "C" { - pub fn fmin(__x: f64, __y: f64) -> f64; -} -#[pg_guard] -extern "C" { - pub fn __fmin(__x: f64, __y: f64) -> f64; -} -#[pg_guard] -extern "C" { - pub fn fma(__x: f64, __y: f64, __z: f64) -> f64; + pub fn __math_errhandling() -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn __fma(__x: f64, __y: f64, __z: f64) -> f64; + pub fn __fpclassifyf(arg1: f32) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn scalb(__x: f64, __n: f64) -> f64; + pub fn __fpclassifyd(arg1: f64) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn __scalb(__x: f64, __n: f64) -> f64; + pub fn __fpclassifyl(arg1: f64) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn __fpclassifyf(__value: f32) -> ::std::os::raw::c_int; + pub fn acosf(arg1: f32) -> f32; } #[pg_guard] extern "C" { - pub fn __signbitf(__value: f32) -> ::std::os::raw::c_int; + pub fn acos(arg1: f64) -> f64; } #[pg_guard] extern "C" { - pub fn __isinff(__value: f32) -> ::std::os::raw::c_int; + pub fn acosl(arg1: f64) -> f64; } #[pg_guard] extern "C" { - pub fn __finitef(__value: f32) -> ::std::os::raw::c_int; + pub fn asinf(arg1: f32) -> f32; } #[pg_guard] extern "C" { - pub fn __isnanf(__value: f32) -> ::std::os::raw::c_int; + pub fn asin(arg1: f64) -> f64; } #[pg_guard] extern "C" { - pub fn __iseqsigf(__x: f32, __y: f32) -> ::std::os::raw::c_int; + pub fn asinl(arg1: f64) -> f64; } #[pg_guard] extern "C" { - pub fn __issignalingf(__value: f32) -> ::std::os::raw::c_int; + pub fn atanf(arg1: f32) -> f32; } #[pg_guard] extern "C" { - pub fn acosf(__x: f32) -> f32; + pub fn atan(arg1: f64) -> f64; } #[pg_guard] extern "C" { - pub fn __acosf(__x: f32) -> f32; + pub fn atanl(arg1: f64) -> f64; } #[pg_guard] extern "C" { - pub fn asinf(__x: f32) -> f32; + pub fn atan2f(arg1: f32, arg2: f32) -> f32; } #[pg_guard] extern "C" { - pub fn __asinf(__x: f32) -> f32; + pub fn atan2(arg1: f64, arg2: f64) -> f64; } #[pg_guard] extern "C" { - pub fn atanf(__x: f32) -> f32; + pub fn atan2l(arg1: f64, arg2: f64) -> f64; } #[pg_guard] extern "C" { - pub fn __atanf(__x: f32) -> f32; + pub fn cosf(arg1: f32) -> f32; } #[pg_guard] extern "C" { - pub fn atan2f(__y: f32, __x: f32) -> f32; + pub fn cos(arg1: f64) -> f64; } #[pg_guard] extern "C" { - pub fn __atan2f(__y: f32, __x: f32) -> f32; + pub fn cosl(arg1: f64) -> f64; } #[pg_guard] extern "C" { - pub fn cosf(__x: f32) -> f32; + pub fn sinf(arg1: f32) -> f32; } #[pg_guard] extern "C" { - pub fn __cosf(__x: f32) -> f32; + pub fn sin(arg1: f64) -> f64; } #[pg_guard] extern "C" { - pub fn sinf(__x: f32) -> f32; + pub fn sinl(arg1: f64) -> f64; } #[pg_guard] extern "C" { - pub fn __sinf(__x: f32) -> f32; + pub fn tanf(arg1: f32) -> f32; } #[pg_guard] extern "C" { - pub fn tanf(__x: f32) -> f32; + pub fn tan(arg1: f64) -> f64; } #[pg_guard] extern "C" { - pub fn __tanf(__x: f32) -> f32; + pub fn tanl(arg1: f64) -> f64; } #[pg_guard] extern "C" { - pub fn coshf(__x: f32) -> f32; + pub fn acoshf(arg1: f32) -> f32; } #[pg_guard] extern "C" { - pub fn __coshf(__x: f32) -> f32; + pub fn acosh(arg1: f64) -> f64; } #[pg_guard] extern "C" { - pub fn sinhf(__x: f32) -> f32; + pub fn acoshl(arg1: f64) -> f64; } #[pg_guard] extern "C" { - pub fn __sinhf(__x: f32) -> f32; + pub fn asinhf(arg1: f32) -> f32; } #[pg_guard] extern "C" { - pub fn tanhf(__x: f32) -> f32; + pub fn asinh(arg1: f64) -> f64; } #[pg_guard] extern "C" { - pub fn __tanhf(__x: f32) -> f32; + pub fn asinhl(arg1: f64) -> f64; } #[pg_guard] extern "C" { - pub fn acoshf(__x: f32) -> f32; + pub fn atanhf(arg1: f32) -> f32; } #[pg_guard] extern "C" { - pub fn __acoshf(__x: f32) -> f32; + pub fn atanh(arg1: f64) -> f64; } #[pg_guard] extern "C" { - pub fn asinhf(__x: f32) -> f32; + pub fn atanhl(arg1: f64) -> f64; } #[pg_guard] extern "C" { - pub fn __asinhf(__x: f32) -> f32; + pub fn coshf(arg1: f32) -> f32; } #[pg_guard] extern "C" { - pub fn atanhf(__x: f32) -> f32; + pub fn cosh(arg1: f64) -> f64; } #[pg_guard] extern "C" { - pub fn __atanhf(__x: f32) -> f32; + pub fn coshl(arg1: f64) -> f64; } #[pg_guard] extern "C" { - pub fn expf(__x: f32) -> f32; + pub fn sinhf(arg1: f32) -> f32; } #[pg_guard] extern "C" { - pub fn __expf(__x: f32) -> f32; + pub fn sinh(arg1: f64) -> f64; } #[pg_guard] extern "C" { - pub fn frexpf(__x: f32, __exponent: *mut ::std::os::raw::c_int) -> f32; + pub fn sinhl(arg1: f64) -> f64; } #[pg_guard] extern "C" { - pub fn __frexpf(__x: f32, __exponent: *mut ::std::os::raw::c_int) -> f32; + pub fn tanhf(arg1: f32) -> f32; } #[pg_guard] extern "C" { - pub fn ldexpf(__x: f32, __exponent: ::std::os::raw::c_int) -> f32; + pub fn tanh(arg1: f64) -> f64; } #[pg_guard] extern "C" { - pub fn __ldexpf(__x: f32, __exponent: ::std::os::raw::c_int) -> f32; + pub fn tanhl(arg1: f64) -> f64; } #[pg_guard] extern "C" { - pub fn logf(__x: f32) -> f32; + pub fn expf(arg1: f32) -> f32; } #[pg_guard] extern "C" { - pub fn __logf(__x: f32) -> f32; + pub fn exp(arg1: f64) -> f64; } #[pg_guard] extern "C" { - pub fn log10f(__x: f32) -> f32; + pub fn expl(arg1: f64) -> f64; } #[pg_guard] extern "C" { - pub fn __log10f(__x: f32) -> f32; + pub fn exp2f(arg1: f32) -> f32; } #[pg_guard] extern "C" { - pub fn modff(__x: f32, __iptr: *mut f32) -> f32; + pub fn exp2(arg1: f64) -> f64; } #[pg_guard] extern "C" { - pub fn __modff(__x: f32, __iptr: *mut f32) -> f32; + pub fn exp2l(arg1: f64) -> f64; } #[pg_guard] extern "C" { - pub fn expm1f(__x: f32) -> f32; + pub fn expm1f(arg1: f32) -> f32; } #[pg_guard] extern "C" { - pub fn __expm1f(__x: f32) -> f32; + pub fn expm1(arg1: f64) -> f64; } #[pg_guard] extern "C" { - pub fn log1pf(__x: f32) -> f32; + pub fn expm1l(arg1: f64) -> f64; } #[pg_guard] extern "C" { - pub fn __log1pf(__x: f32) -> f32; + pub fn logf(arg1: f32) -> f32; } #[pg_guard] extern "C" { - pub fn logbf(__x: f32) -> f32; + pub fn log(arg1: f64) -> f64; } #[pg_guard] extern "C" { - pub fn __logbf(__x: f32) -> f32; + pub fn logl(arg1: f64) -> f64; } #[pg_guard] extern "C" { - pub fn exp2f(__x: f32) -> f32; + pub fn log10f(arg1: f32) -> f32; } #[pg_guard] extern "C" { - pub fn __exp2f(__x: f32) -> f32; + pub fn log10(arg1: f64) -> f64; } #[pg_guard] extern "C" { - pub fn log2f(__x: f32) -> f32; + pub fn log10l(arg1: f64) -> f64; } #[pg_guard] extern "C" { - pub fn __log2f(__x: f32) -> f32; + pub fn log2f(arg1: f32) -> f32; } #[pg_guard] extern "C" { - pub fn powf(__x: f32, __y: f32) -> f32; + pub fn log2(arg1: f64) -> f64; } #[pg_guard] extern "C" { - pub fn __powf(__x: f32, __y: f32) -> f32; + pub fn log2l(arg1: f64) -> f64; } #[pg_guard] extern "C" { - pub fn sqrtf(__x: f32) -> f32; + pub fn log1pf(arg1: f32) -> f32; } #[pg_guard] extern "C" { - pub fn __sqrtf(__x: f32) -> f32; + pub fn log1p(arg1: f64) -> f64; } #[pg_guard] extern "C" { - pub fn hypotf(__x: f32, __y: f32) -> f32; + pub fn log1pl(arg1: f64) -> f64; } #[pg_guard] extern "C" { - pub fn __hypotf(__x: f32, __y: f32) -> f32; + pub fn logbf(arg1: f32) -> f32; } #[pg_guard] extern "C" { - pub fn cbrtf(__x: f32) -> f32; + pub fn logb(arg1: f64) -> f64; } #[pg_guard] extern "C" { - pub fn __cbrtf(__x: f32) -> f32; + pub fn logbl(arg1: f64) -> f64; } #[pg_guard] extern "C" { - pub fn ceilf(__x: f32) -> f32; + pub fn modff(arg1: f32, arg2: *mut f32) -> f32; } #[pg_guard] extern "C" { - pub fn __ceilf(__x: f32) -> f32; + pub fn modf(arg1: f64, arg2: *mut f64) -> f64; } #[pg_guard] extern "C" { - pub fn fabsf(__x: f32) -> f32; + pub fn modfl(arg1: f64, arg2: *mut f64) -> f64; } #[pg_guard] extern "C" { - pub fn __fabsf(__x: f32) -> f32; + pub fn ldexpf(arg1: f32, arg2: ::std::os::raw::c_int) -> f32; } #[pg_guard] extern "C" { - pub fn floorf(__x: f32) -> f32; + pub fn ldexp(arg1: f64, arg2: ::std::os::raw::c_int) -> f64; } #[pg_guard] extern "C" { - pub fn __floorf(__x: f32) -> f32; + pub fn ldexpl(arg1: f64, arg2: ::std::os::raw::c_int) -> f64; } #[pg_guard] extern "C" { - pub fn fmodf(__x: f32, __y: f32) -> f32; + pub fn frexpf(arg1: f32, arg2: *mut ::std::os::raw::c_int) -> f32; } #[pg_guard] extern "C" { - pub fn __fmodf(__x: f32, __y: f32) -> f32; + pub fn frexp(arg1: f64, arg2: *mut ::std::os::raw::c_int) -> f64; } #[pg_guard] extern "C" { - pub fn isinff(__value: f32) -> ::std::os::raw::c_int; + pub fn frexpl(arg1: f64, arg2: *mut ::std::os::raw::c_int) -> f64; } #[pg_guard] extern "C" { - pub fn finitef(__value: f32) -> ::std::os::raw::c_int; + pub fn ilogbf(arg1: f32) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn dremf(__x: f32, __y: f32) -> f32; + pub fn ilogb(arg1: f64) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn __dremf(__x: f32, __y: f32) -> f32; + pub fn ilogbl(arg1: f64) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn significandf(__x: f32) -> f32; + pub fn scalbnf(arg1: f32, arg2: ::std::os::raw::c_int) -> f32; } #[pg_guard] extern "C" { - pub fn __significandf(__x: f32) -> f32; + pub fn scalbn(arg1: f64, arg2: ::std::os::raw::c_int) -> f64; } #[pg_guard] extern "C" { - pub fn copysignf(__x: f32, __y: f32) -> f32; + pub fn scalbnl(arg1: f64, arg2: ::std::os::raw::c_int) -> f64; } #[pg_guard] extern "C" { - pub fn __copysignf(__x: f32, __y: f32) -> f32; + pub fn scalblnf(arg1: f32, arg2: ::std::os::raw::c_long) -> f32; } #[pg_guard] extern "C" { - pub fn nanf(__tagb: *const ::std::os::raw::c_char) -> f32; + pub fn scalbln(arg1: f64, arg2: ::std::os::raw::c_long) -> f64; } #[pg_guard] extern "C" { - pub fn __nanf(__tagb: *const ::std::os::raw::c_char) -> f32; + pub fn scalblnl(arg1: f64, arg2: ::std::os::raw::c_long) -> f64; } #[pg_guard] extern "C" { - pub fn isnanf(__value: f32) -> ::std::os::raw::c_int; + pub fn fabsf(arg1: f32) -> f32; } #[pg_guard] extern "C" { - pub fn j0f(arg1: f32) -> f32; + pub fn fabs(arg1: f64) -> f64; } #[pg_guard] extern "C" { - pub fn __j0f(arg1: f32) -> f32; + pub fn fabsl(arg1: f64) -> f64; } #[pg_guard] extern "C" { - pub fn j1f(arg1: f32) -> f32; + pub fn cbrtf(arg1: f32) -> f32; } #[pg_guard] extern "C" { - pub fn __j1f(arg1: f32) -> f32; + pub fn cbrt(arg1: f64) -> f64; } #[pg_guard] extern "C" { - pub fn jnf(arg1: ::std::os::raw::c_int, arg2: f32) -> f32; + pub fn cbrtl(arg1: f64) -> f64; } #[pg_guard] extern "C" { - pub fn __jnf(arg1: ::std::os::raw::c_int, arg2: f32) -> f32; + pub fn hypotf(arg1: f32, arg2: f32) -> f32; } #[pg_guard] extern "C" { - pub fn y0f(arg1: f32) -> f32; + pub fn hypot(arg1: f64, arg2: f64) -> f64; } #[pg_guard] extern "C" { - pub fn __y0f(arg1: f32) -> f32; + pub fn hypotl(arg1: f64, arg2: f64) -> f64; } #[pg_guard] extern "C" { - pub fn y1f(arg1: f32) -> f32; + pub fn powf(arg1: f32, arg2: f32) -> f32; } #[pg_guard] extern "C" { - pub fn __y1f(arg1: f32) -> f32; + pub fn pow(arg1: f64, arg2: f64) -> f64; } #[pg_guard] extern "C" { - pub fn ynf(arg1: ::std::os::raw::c_int, arg2: f32) -> f32; + pub fn powl(arg1: f64, arg2: f64) -> f64; } #[pg_guard] extern "C" { - pub fn __ynf(arg1: ::std::os::raw::c_int, arg2: f32) -> f32; + pub fn sqrtf(arg1: f32) -> f32; } #[pg_guard] extern "C" { - pub fn erff(arg1: f32) -> f32; -} -#[pg_guard] -extern "C" { - pub fn __erff(arg1: f32) -> f32; -} -#[pg_guard] -extern "C" { - pub fn erfcf(arg1: f32) -> f32; -} -#[pg_guard] -extern "C" { - pub fn __erfcf(arg1: f32) -> f32; -} -#[pg_guard] -extern "C" { - pub fn lgammaf(arg1: f32) -> f32; -} -#[pg_guard] -extern "C" { - pub fn __lgammaf(arg1: f32) -> f32; -} -#[pg_guard] -extern "C" { - pub fn tgammaf(arg1: f32) -> f32; -} -#[pg_guard] -extern "C" { - pub fn __tgammaf(arg1: f32) -> f32; -} -#[pg_guard] -extern "C" { - pub fn gammaf(arg1: f32) -> f32; -} -#[pg_guard] -extern "C" { - pub fn __gammaf(arg1: f32) -> f32; -} -#[pg_guard] -extern "C" { - pub fn lgammaf_r(arg1: f32, __signgamp: *mut ::std::os::raw::c_int) -> f32; -} -#[pg_guard] -extern "C" { - pub fn __lgammaf_r(arg1: f32, __signgamp: *mut ::std::os::raw::c_int) -> f32; -} -#[pg_guard] -extern "C" { - pub fn rintf(__x: f32) -> f32; -} -#[pg_guard] -extern "C" { - pub fn __rintf(__x: f32) -> f32; -} -#[pg_guard] -extern "C" { - pub fn nextafterf(__x: f32, __y: f32) -> f32; -} -#[pg_guard] -extern "C" { - pub fn __nextafterf(__x: f32, __y: f32) -> f32; -} -#[pg_guard] -extern "C" { - pub fn nexttowardf(__x: f32, __y: u128) -> f32; -} -#[pg_guard] -extern "C" { - pub fn __nexttowardf(__x: f32, __y: u128) -> f32; -} -#[pg_guard] -extern "C" { - pub fn remainderf(__x: f32, __y: f32) -> f32; -} -#[pg_guard] -extern "C" { - pub fn __remainderf(__x: f32, __y: f32) -> f32; -} -#[pg_guard] -extern "C" { - pub fn scalbnf(__x: f32, __n: ::std::os::raw::c_int) -> f32; -} -#[pg_guard] -extern "C" { - pub fn __scalbnf(__x: f32, __n: ::std::os::raw::c_int) -> f32; -} -#[pg_guard] -extern "C" { - pub fn ilogbf(__x: f32) -> ::std::os::raw::c_int; -} -#[pg_guard] -extern "C" { - pub fn __ilogbf(__x: f32) -> ::std::os::raw::c_int; -} -#[pg_guard] -extern "C" { - pub fn scalblnf(__x: f32, __n: ::std::os::raw::c_long) -> f32; -} -#[pg_guard] -extern "C" { - pub fn __scalblnf(__x: f32, __n: ::std::os::raw::c_long) -> f32; -} -#[pg_guard] -extern "C" { - pub fn nearbyintf(__x: f32) -> f32; -} -#[pg_guard] -extern "C" { - pub fn __nearbyintf(__x: f32) -> f32; -} -#[pg_guard] -extern "C" { - pub fn roundf(__x: f32) -> f32; + pub fn sqrt(arg1: f64) -> f64; } #[pg_guard] extern "C" { - pub fn __roundf(__x: f32) -> f32; + pub fn sqrtl(arg1: f64) -> f64; } #[pg_guard] extern "C" { - pub fn truncf(__x: f32) -> f32; -} -#[pg_guard] -extern "C" { - pub fn __truncf(__x: f32) -> f32; -} -#[pg_guard] -extern "C" { - pub fn remquof(__x: f32, __y: f32, __quo: *mut ::std::os::raw::c_int) -> f32; -} -#[pg_guard] -extern "C" { - pub fn __remquof(__x: f32, __y: f32, __quo: *mut ::std::os::raw::c_int) -> f32; -} -#[pg_guard] -extern "C" { - pub fn lrintf(__x: f32) -> ::std::os::raw::c_long; -} -#[pg_guard] -extern "C" { - pub fn __lrintf(__x: f32) -> ::std::os::raw::c_long; -} -#[pg_guard] -extern "C" { - pub fn llrintf(__x: f32) -> ::std::os::raw::c_longlong; -} -#[pg_guard] -extern "C" { - pub fn __llrintf(__x: f32) -> ::std::os::raw::c_longlong; -} -#[pg_guard] -extern "C" { - pub fn lroundf(__x: f32) -> ::std::os::raw::c_long; -} -#[pg_guard] -extern "C" { - pub fn __lroundf(__x: f32) -> ::std::os::raw::c_long; -} -#[pg_guard] -extern "C" { - pub fn llroundf(__x: f32) -> ::std::os::raw::c_longlong; -} -#[pg_guard] -extern "C" { - pub fn __llroundf(__x: f32) -> ::std::os::raw::c_longlong; -} -#[pg_guard] -extern "C" { - pub fn fdimf(__x: f32, __y: f32) -> f32; -} -#[pg_guard] -extern "C" { - pub fn __fdimf(__x: f32, __y: f32) -> f32; -} -#[pg_guard] -extern "C" { - pub fn fmaxf(__x: f32, __y: f32) -> f32; -} -#[pg_guard] -extern "C" { - pub fn __fmaxf(__x: f32, __y: f32) -> f32; -} -#[pg_guard] -extern "C" { - pub fn fminf(__x: f32, __y: f32) -> f32; -} -#[pg_guard] -extern "C" { - pub fn __fminf(__x: f32, __y: f32) -> f32; -} -#[pg_guard] -extern "C" { - pub fn fmaf(__x: f32, __y: f32, __z: f32) -> f32; -} -#[pg_guard] -extern "C" { - pub fn __fmaf(__x: f32, __y: f32, __z: f32) -> f32; -} -#[pg_guard] -extern "C" { - pub fn scalbf(__x: f32, __n: f32) -> f32; -} -#[pg_guard] -extern "C" { - pub fn __scalbf(__x: f32, __n: f32) -> f32; -} -#[pg_guard] -extern "C" { - pub fn __fpclassifyl(__value: u128) -> ::std::os::raw::c_int; -} -#[pg_guard] -extern "C" { - pub fn __signbitl(__value: u128) -> ::std::os::raw::c_int; -} -#[pg_guard] -extern "C" { - pub fn __isinfl(__value: u128) -> ::std::os::raw::c_int; -} -#[pg_guard] -extern "C" { - pub fn __finitel(__value: u128) -> ::std::os::raw::c_int; -} -#[pg_guard] -extern "C" { - pub fn __isnanl(__value: u128) -> ::std::os::raw::c_int; -} -#[pg_guard] -extern "C" { - pub fn __iseqsigl(__x: u128, __y: u128) -> ::std::os::raw::c_int; -} -#[pg_guard] -extern "C" { - pub fn __issignalingl(__value: u128) -> ::std::os::raw::c_int; -} -#[pg_guard] -extern "C" { - pub fn acosl(__x: u128) -> u128; -} -#[pg_guard] -extern "C" { - pub fn __acosl(__x: u128) -> u128; -} -#[pg_guard] -extern "C" { - pub fn asinl(__x: u128) -> u128; -} -#[pg_guard] -extern "C" { - pub fn __asinl(__x: u128) -> u128; -} -#[pg_guard] -extern "C" { - pub fn atanl(__x: u128) -> u128; -} -#[pg_guard] -extern "C" { - pub fn __atanl(__x: u128) -> u128; -} -#[pg_guard] -extern "C" { - pub fn atan2l(__y: u128, __x: u128) -> u128; -} -#[pg_guard] -extern "C" { - pub fn __atan2l(__y: u128, __x: u128) -> u128; -} -#[pg_guard] -extern "C" { - pub fn cosl(__x: u128) -> u128; -} -#[pg_guard] -extern "C" { - pub fn __cosl(__x: u128) -> u128; -} -#[pg_guard] -extern "C" { - pub fn sinl(__x: u128) -> u128; -} -#[pg_guard] -extern "C" { - pub fn __sinl(__x: u128) -> u128; -} -#[pg_guard] -extern "C" { - pub fn tanl(__x: u128) -> u128; -} -#[pg_guard] -extern "C" { - pub fn __tanl(__x: u128) -> u128; -} -#[pg_guard] -extern "C" { - pub fn coshl(__x: u128) -> u128; -} -#[pg_guard] -extern "C" { - pub fn __coshl(__x: u128) -> u128; -} -#[pg_guard] -extern "C" { - pub fn sinhl(__x: u128) -> u128; -} -#[pg_guard] -extern "C" { - pub fn __sinhl(__x: u128) -> u128; -} -#[pg_guard] -extern "C" { - pub fn tanhl(__x: u128) -> u128; -} -#[pg_guard] -extern "C" { - pub fn __tanhl(__x: u128) -> u128; -} -#[pg_guard] -extern "C" { - pub fn acoshl(__x: u128) -> u128; -} -#[pg_guard] -extern "C" { - pub fn __acoshl(__x: u128) -> u128; -} -#[pg_guard] -extern "C" { - pub fn asinhl(__x: u128) -> u128; -} -#[pg_guard] -extern "C" { - pub fn __asinhl(__x: u128) -> u128; -} -#[pg_guard] -extern "C" { - pub fn atanhl(__x: u128) -> u128; -} -#[pg_guard] -extern "C" { - pub fn __atanhl(__x: u128) -> u128; -} -#[pg_guard] -extern "C" { - pub fn expl(__x: u128) -> u128; -} -#[pg_guard] -extern "C" { - pub fn __expl(__x: u128) -> u128; -} -#[pg_guard] -extern "C" { - pub fn frexpl(__x: u128, __exponent: *mut ::std::os::raw::c_int) -> u128; -} -#[pg_guard] -extern "C" { - pub fn __frexpl(__x: u128, __exponent: *mut ::std::os::raw::c_int) -> u128; -} -#[pg_guard] -extern "C" { - pub fn ldexpl(__x: u128, __exponent: ::std::os::raw::c_int) -> u128; -} -#[pg_guard] -extern "C" { - pub fn __ldexpl(__x: u128, __exponent: ::std::os::raw::c_int) -> u128; -} -#[pg_guard] -extern "C" { - pub fn logl(__x: u128) -> u128; -} -#[pg_guard] -extern "C" { - pub fn __logl(__x: u128) -> u128; -} -#[pg_guard] -extern "C" { - pub fn log10l(__x: u128) -> u128; -} -#[pg_guard] -extern "C" { - pub fn __log10l(__x: u128) -> u128; -} -#[pg_guard] -extern "C" { - pub fn modfl(__x: u128, __iptr: *mut u128) -> u128; -} -#[pg_guard] -extern "C" { - pub fn __modfl(__x: u128, __iptr: *mut u128) -> u128; -} -#[pg_guard] -extern "C" { - pub fn expm1l(__x: u128) -> u128; -} -#[pg_guard] -extern "C" { - pub fn __expm1l(__x: u128) -> u128; -} -#[pg_guard] -extern "C" { - pub fn log1pl(__x: u128) -> u128; -} -#[pg_guard] -extern "C" { - pub fn __log1pl(__x: u128) -> u128; + pub fn erff(arg1: f32) -> f32; } #[pg_guard] extern "C" { - pub fn logbl(__x: u128) -> u128; + pub fn erf(arg1: f64) -> f64; } #[pg_guard] extern "C" { - pub fn __logbl(__x: u128) -> u128; + pub fn erfl(arg1: f64) -> f64; } #[pg_guard] extern "C" { - pub fn exp2l(__x: u128) -> u128; + pub fn erfcf(arg1: f32) -> f32; } #[pg_guard] extern "C" { - pub fn __exp2l(__x: u128) -> u128; + pub fn erfc(arg1: f64) -> f64; } #[pg_guard] extern "C" { - pub fn log2l(__x: u128) -> u128; + pub fn erfcl(arg1: f64) -> f64; } #[pg_guard] extern "C" { - pub fn __log2l(__x: u128) -> u128; + pub fn lgammaf(arg1: f32) -> f32; } #[pg_guard] extern "C" { - pub fn powl(__x: u128, __y: u128) -> u128; + pub fn lgamma(arg1: f64) -> f64; } #[pg_guard] extern "C" { - pub fn __powl(__x: u128, __y: u128) -> u128; + pub fn lgammal(arg1: f64) -> f64; } #[pg_guard] extern "C" { - pub fn sqrtl(__x: u128) -> u128; + pub fn tgammaf(arg1: f32) -> f32; } #[pg_guard] extern "C" { - pub fn __sqrtl(__x: u128) -> u128; + pub fn tgamma(arg1: f64) -> f64; } #[pg_guard] extern "C" { - pub fn hypotl(__x: u128, __y: u128) -> u128; + pub fn tgammal(arg1: f64) -> f64; } #[pg_guard] extern "C" { - pub fn __hypotl(__x: u128, __y: u128) -> u128; + pub fn ceilf(arg1: f32) -> f32; } #[pg_guard] extern "C" { - pub fn cbrtl(__x: u128) -> u128; + pub fn ceil(arg1: f64) -> f64; } #[pg_guard] extern "C" { - pub fn __cbrtl(__x: u128) -> u128; + pub fn ceill(arg1: f64) -> f64; } #[pg_guard] extern "C" { - pub fn ceill(__x: u128) -> u128; + pub fn floorf(arg1: f32) -> f32; } #[pg_guard] extern "C" { - pub fn __ceill(__x: u128) -> u128; + pub fn floor(arg1: f64) -> f64; } #[pg_guard] extern "C" { - pub fn fabsl(__x: u128) -> u128; + pub fn floorl(arg1: f64) -> f64; } #[pg_guard] extern "C" { - pub fn __fabsl(__x: u128) -> u128; + pub fn nearbyintf(arg1: f32) -> f32; } #[pg_guard] extern "C" { - pub fn floorl(__x: u128) -> u128; + pub fn nearbyint(arg1: f64) -> f64; } #[pg_guard] extern "C" { - pub fn __floorl(__x: u128) -> u128; + pub fn nearbyintl(arg1: f64) -> f64; } #[pg_guard] extern "C" { - pub fn fmodl(__x: u128, __y: u128) -> u128; + pub fn rintf(arg1: f32) -> f32; } #[pg_guard] extern "C" { - pub fn __fmodl(__x: u128, __y: u128) -> u128; + pub fn rint(arg1: f64) -> f64; } #[pg_guard] extern "C" { - pub fn isinfl(__value: u128) -> ::std::os::raw::c_int; + pub fn rintl(arg1: f64) -> f64; } #[pg_guard] extern "C" { - pub fn finitel(__value: u128) -> ::std::os::raw::c_int; + pub fn lrintf(arg1: f32) -> ::std::os::raw::c_long; } #[pg_guard] extern "C" { - pub fn dreml(__x: u128, __y: u128) -> u128; + pub fn lrint(arg1: f64) -> ::std::os::raw::c_long; } #[pg_guard] extern "C" { - pub fn __dreml(__x: u128, __y: u128) -> u128; + pub fn lrintl(arg1: f64) -> ::std::os::raw::c_long; } #[pg_guard] extern "C" { - pub fn significandl(__x: u128) -> u128; + pub fn roundf(arg1: f32) -> f32; } #[pg_guard] extern "C" { - pub fn __significandl(__x: u128) -> u128; + pub fn round(arg1: f64) -> f64; } #[pg_guard] extern "C" { - pub fn copysignl(__x: u128, __y: u128) -> u128; + pub fn roundl(arg1: f64) -> f64; } #[pg_guard] extern "C" { - pub fn __copysignl(__x: u128, __y: u128) -> u128; + pub fn lroundf(arg1: f32) -> ::std::os::raw::c_long; } #[pg_guard] extern "C" { - pub fn nanl(__tagb: *const ::std::os::raw::c_char) -> u128; + pub fn lround(arg1: f64) -> ::std::os::raw::c_long; } #[pg_guard] extern "C" { - pub fn __nanl(__tagb: *const ::std::os::raw::c_char) -> u128; + pub fn lroundl(arg1: f64) -> ::std::os::raw::c_long; } #[pg_guard] extern "C" { - pub fn isnanl(__value: u128) -> ::std::os::raw::c_int; + pub fn llrintf(arg1: f32) -> ::std::os::raw::c_longlong; } #[pg_guard] extern "C" { - pub fn j0l(arg1: u128) -> u128; + pub fn llrint(arg1: f64) -> ::std::os::raw::c_longlong; } #[pg_guard] extern "C" { - pub fn __j0l(arg1: u128) -> u128; + pub fn llrintl(arg1: f64) -> ::std::os::raw::c_longlong; } #[pg_guard] extern "C" { - pub fn j1l(arg1: u128) -> u128; + pub fn llroundf(arg1: f32) -> ::std::os::raw::c_longlong; } #[pg_guard] extern "C" { - pub fn __j1l(arg1: u128) -> u128; + pub fn llround(arg1: f64) -> ::std::os::raw::c_longlong; } #[pg_guard] extern "C" { - pub fn jnl(arg1: ::std::os::raw::c_int, arg2: u128) -> u128; + pub fn llroundl(arg1: f64) -> ::std::os::raw::c_longlong; } #[pg_guard] extern "C" { - pub fn __jnl(arg1: ::std::os::raw::c_int, arg2: u128) -> u128; + pub fn truncf(arg1: f32) -> f32; } #[pg_guard] extern "C" { - pub fn y0l(arg1: u128) -> u128; + pub fn trunc(arg1: f64) -> f64; } #[pg_guard] extern "C" { - pub fn __y0l(arg1: u128) -> u128; + pub fn truncl(arg1: f64) -> f64; } #[pg_guard] extern "C" { - pub fn y1l(arg1: u128) -> u128; + pub fn fmodf(arg1: f32, arg2: f32) -> f32; } #[pg_guard] extern "C" { - pub fn __y1l(arg1: u128) -> u128; + pub fn fmod(arg1: f64, arg2: f64) -> f64; } #[pg_guard] extern "C" { - pub fn ynl(arg1: ::std::os::raw::c_int, arg2: u128) -> u128; + pub fn fmodl(arg1: f64, arg2: f64) -> f64; } #[pg_guard] extern "C" { - pub fn __ynl(arg1: ::std::os::raw::c_int, arg2: u128) -> u128; + pub fn remainderf(arg1: f32, arg2: f32) -> f32; } #[pg_guard] extern "C" { - pub fn erfl(arg1: u128) -> u128; + pub fn remainder(arg1: f64, arg2: f64) -> f64; } #[pg_guard] extern "C" { - pub fn __erfl(arg1: u128) -> u128; + pub fn remainderl(arg1: f64, arg2: f64) -> f64; } #[pg_guard] extern "C" { - pub fn erfcl(arg1: u128) -> u128; + pub fn remquof(arg1: f32, arg2: f32, arg3: *mut ::std::os::raw::c_int) -> f32; } #[pg_guard] extern "C" { - pub fn __erfcl(arg1: u128) -> u128; + pub fn remquo(arg1: f64, arg2: f64, arg3: *mut ::std::os::raw::c_int) -> f64; } #[pg_guard] extern "C" { - pub fn lgammal(arg1: u128) -> u128; + pub fn remquol(arg1: f64, arg2: f64, arg3: *mut ::std::os::raw::c_int) -> f64; } #[pg_guard] extern "C" { - pub fn __lgammal(arg1: u128) -> u128; + pub fn copysignf(arg1: f32, arg2: f32) -> f32; } #[pg_guard] extern "C" { - pub fn tgammal(arg1: u128) -> u128; + pub fn copysign(arg1: f64, arg2: f64) -> f64; } #[pg_guard] extern "C" { - pub fn __tgammal(arg1: u128) -> u128; + pub fn copysignl(arg1: f64, arg2: f64) -> f64; } #[pg_guard] extern "C" { - pub fn gammal(arg1: u128) -> u128; + pub fn nanf(arg1: *const ::std::os::raw::c_char) -> f32; } #[pg_guard] extern "C" { - pub fn __gammal(arg1: u128) -> u128; + pub fn nan(arg1: *const ::std::os::raw::c_char) -> f64; } #[pg_guard] extern "C" { - pub fn lgammal_r(arg1: u128, __signgamp: *mut ::std::os::raw::c_int) -> u128; + pub fn nanl(arg1: *const ::std::os::raw::c_char) -> f64; } #[pg_guard] extern "C" { - pub fn __lgammal_r(arg1: u128, __signgamp: *mut ::std::os::raw::c_int) -> u128; + pub fn nextafterf(arg1: f32, arg2: f32) -> f32; } #[pg_guard] extern "C" { - pub fn rintl(__x: u128) -> u128; + pub fn nextafter(arg1: f64, arg2: f64) -> f64; } #[pg_guard] extern "C" { - pub fn __rintl(__x: u128) -> u128; + pub fn nextafterl(arg1: f64, arg2: f64) -> f64; } #[pg_guard] extern "C" { - pub fn nextafterl(__x: u128, __y: u128) -> u128; + pub fn nexttoward(arg1: f64, arg2: f64) -> f64; } #[pg_guard] extern "C" { - pub fn __nextafterl(__x: u128, __y: u128) -> u128; + pub fn nexttowardf(arg1: f32, arg2: f64) -> f32; } #[pg_guard] extern "C" { - pub fn nexttowardl(__x: u128, __y: u128) -> u128; + pub fn nexttowardl(arg1: f64, arg2: f64) -> f64; } #[pg_guard] extern "C" { - pub fn __nexttowardl(__x: u128, __y: u128) -> u128; + pub fn fdimf(arg1: f32, arg2: f32) -> f32; } #[pg_guard] extern "C" { - pub fn remainderl(__x: u128, __y: u128) -> u128; + pub fn fdim(arg1: f64, arg2: f64) -> f64; } #[pg_guard] extern "C" { - pub fn __remainderl(__x: u128, __y: u128) -> u128; + pub fn fdiml(arg1: f64, arg2: f64) -> f64; } #[pg_guard] extern "C" { - pub fn scalbnl(__x: u128, __n: ::std::os::raw::c_int) -> u128; + pub fn fmaxf(arg1: f32, arg2: f32) -> f32; } #[pg_guard] extern "C" { - pub fn __scalbnl(__x: u128, __n: ::std::os::raw::c_int) -> u128; + pub fn fmax(arg1: f64, arg2: f64) -> f64; } #[pg_guard] extern "C" { - pub fn ilogbl(__x: u128) -> ::std::os::raw::c_int; + pub fn fmaxl(arg1: f64, arg2: f64) -> f64; } #[pg_guard] extern "C" { - pub fn __ilogbl(__x: u128) -> ::std::os::raw::c_int; + pub fn fminf(arg1: f32, arg2: f32) -> f32; } #[pg_guard] extern "C" { - pub fn scalblnl(__x: u128, __n: ::std::os::raw::c_long) -> u128; + pub fn fmin(arg1: f64, arg2: f64) -> f64; } #[pg_guard] extern "C" { - pub fn __scalblnl(__x: u128, __n: ::std::os::raw::c_long) -> u128; + pub fn fminl(arg1: f64, arg2: f64) -> f64; } #[pg_guard] extern "C" { - pub fn nearbyintl(__x: u128) -> u128; + pub fn fmaf(arg1: f32, arg2: f32, arg3: f32) -> f32; } #[pg_guard] extern "C" { - pub fn __nearbyintl(__x: u128) -> u128; + pub fn fma(arg1: f64, arg2: f64, arg3: f64) -> f64; } #[pg_guard] extern "C" { - pub fn roundl(__x: u128) -> u128; + pub fn fmal(arg1: f64, arg2: f64, arg3: f64) -> f64; } #[pg_guard] extern "C" { - pub fn __roundl(__x: u128) -> u128; + pub fn __exp10f(arg1: f32) -> f32; } #[pg_guard] extern "C" { - pub fn truncl(__x: u128) -> u128; + pub fn __exp10(arg1: f64) -> f64; } #[pg_guard] extern "C" { - pub fn __truncl(__x: u128) -> u128; + pub fn __cospif(arg1: f32) -> f32; } #[pg_guard] extern "C" { - pub fn remquol(__x: u128, __y: u128, __quo: *mut ::std::os::raw::c_int) -> u128; + pub fn __cospi(arg1: f64) -> f64; } #[pg_guard] extern "C" { - pub fn __remquol(__x: u128, __y: u128, __quo: *mut ::std::os::raw::c_int) -> u128; + pub fn __sinpif(arg1: f32) -> f32; } #[pg_guard] extern "C" { - pub fn lrintl(__x: u128) -> ::std::os::raw::c_long; + pub fn __sinpi(arg1: f64) -> f64; } #[pg_guard] extern "C" { - pub fn __lrintl(__x: u128) -> ::std::os::raw::c_long; + pub fn __tanpif(arg1: f32) -> f32; } #[pg_guard] extern "C" { - pub fn llrintl(__x: u128) -> ::std::os::raw::c_longlong; + pub fn __tanpi(arg1: f64) -> f64; } -#[pg_guard] -extern "C" { - pub fn __llrintl(__x: u128) -> ::std::os::raw::c_longlong; +#[repr(C)] +#[derive(Debug, Default, Copy, Clone)] +pub struct __float2 { + pub __sinval: f32, + pub __cosval: f32, } -#[pg_guard] -extern "C" { - pub fn lroundl(__x: u128) -> ::std::os::raw::c_long; +#[repr(C)] +#[derive(Debug, Default, Copy, Clone)] +pub struct __double2 { + pub __sinval: f64, + pub __cosval: f64, } #[pg_guard] extern "C" { - pub fn __lroundl(__x: u128) -> ::std::os::raw::c_long; + pub fn __sincosf_stret(arg1: f32) -> __float2; } #[pg_guard] extern "C" { - pub fn llroundl(__x: u128) -> ::std::os::raw::c_longlong; + pub fn __sincos_stret(arg1: f64) -> __double2; } #[pg_guard] extern "C" { - pub fn __llroundl(__x: u128) -> ::std::os::raw::c_longlong; + pub fn __sincospif_stret(arg1: f32) -> __float2; } #[pg_guard] extern "C" { - pub fn fdiml(__x: u128, __y: u128) -> u128; + pub fn __sincospi_stret(arg1: f64) -> __double2; } #[pg_guard] extern "C" { - pub fn __fdiml(__x: u128, __y: u128) -> u128; + pub fn j0(arg1: f64) -> f64; } #[pg_guard] extern "C" { - pub fn fmaxl(__x: u128, __y: u128) -> u128; + pub fn j1(arg1: f64) -> f64; } #[pg_guard] extern "C" { - pub fn __fmaxl(__x: u128, __y: u128) -> u128; + pub fn jn(arg1: ::std::os::raw::c_int, arg2: f64) -> f64; } #[pg_guard] extern "C" { - pub fn fminl(__x: u128, __y: u128) -> u128; + pub fn y0(arg1: f64) -> f64; } #[pg_guard] extern "C" { - pub fn __fminl(__x: u128, __y: u128) -> u128; + pub fn y1(arg1: f64) -> f64; } #[pg_guard] extern "C" { - pub fn fmal(__x: u128, __y: u128, __z: u128) -> u128; + pub fn yn(arg1: ::std::os::raw::c_int, arg2: f64) -> f64; } #[pg_guard] extern "C" { - pub fn __fmal(__x: u128, __y: u128, __z: u128) -> u128; + pub fn scalb(arg1: f64, arg2: f64) -> f64; } #[pg_guard] extern "C" { - pub fn scalbl(__x: u128, __n: u128) -> u128; + pub static mut signgam: ::std::os::raw::c_int; } -#[pg_guard] -extern "C" { - pub fn __scalbl(__x: u128, __n: u128) -> u128; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct exception { + pub type_: ::std::os::raw::c_int, + pub name: *mut ::std::os::raw::c_char, + pub arg1: f64, + pub arg2: f64, + pub retval: f64, } -#[pg_guard] -extern "C" { - pub static mut signgam: ::std::os::raw::c_int; +impl Default for exception { + fn default() -> Self { + let mut s = ::std::mem::MaybeUninit::::uninit(); + unsafe { + ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); + s.assume_init() + } + } } -pub const FP_NAN: ::std::os::raw::c_uint = 0; -pub const FP_INFINITE: ::std::os::raw::c_uint = 1; -pub const FP_ZERO: ::std::os::raw::c_uint = 2; -pub const FP_SUBNORMAL: ::std::os::raw::c_uint = 3; -pub const FP_NORMAL: ::std::os::raw::c_uint = 4; -pub type _bindgen_ty_18 = ::std::os::raw::c_uint; pub type DateADT = int32; pub type TimeADT = int64; #[repr(C)] @@ -55338,29 +55144,8 @@ extern "C" { arg2: Oid, ) -> ::std::os::raw::c_int; } -pub type __builtin_va_list = [__va_list_tag; 1usize]; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct __va_list_tag { - pub gp_offset: ::std::os::raw::c_uint, - pub fp_offset: ::std::os::raw::c_uint, - pub overflow_arg_area: *mut ::std::os::raw::c_void, - pub reg_save_area: *mut ::std::os::raw::c_void, -} -impl Default for __va_list_tag { - fn default() -> Self { - let mut s = ::std::mem::MaybeUninit::::uninit(); - unsafe { - ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); - s.assume_init() - } - } -} -#[repr(C)] -#[derive(Debug, Default, Copy, Clone)] -pub struct __locale_data { - pub _address: u8, -} +pub type __builtin_va_list = *mut ::std::os::raw::c_char; +pub type __uint128_t = u128; #[repr(C)] #[derive(Debug, Default, Copy, Clone)] pub struct binaryheap { diff --git a/pgx-pg-sys/src/pg11.rs b/pgx-pg-sys/src/pg11.rs index 615cf11d9..73a305d76 100644 --- a/pgx-pg-sys/src/pg11.rs +++ b/pgx-pg-sys/src/pg11.rs @@ -181,25 +181,24 @@ pub const BLCKSZ: u32 = 8192; pub const DEF_PGPORT: u32 = 28811; pub const DEF_PGPORT_STR: &[u8; 6usize] = b"28811\0"; pub const ENABLE_THREAD_SAFETY: u32 = 1; -pub const HAVE_APPEND_HISTORY: u32 = 1; pub const HAVE_ATOMICS: u32 = 1; pub const HAVE_CBRT: u32 = 1; pub const HAVE_CLOCK_GETTIME: u32 = 1; pub const HAVE_COMPUTED_GOTO: u32 = 1; pub const HAVE_CRYPT: u32 = 1; -pub const HAVE_CRYPT_H: u32 = 1; -pub const HAVE_DECL_FDATASYNC: u32 = 1; -pub const HAVE_DECL_F_FULLFSYNC: u32 = 0; -pub const HAVE_DECL_POSIX_FADVISE: u32 = 1; +pub const HAVE_DECL_FDATASYNC: u32 = 0; +pub const HAVE_DECL_F_FULLFSYNC: u32 = 1; +pub const HAVE_DECL_POSIX_FADVISE: u32 = 0; pub const HAVE_DECL_SNPRINTF: u32 = 1; -pub const HAVE_DECL_STRLCAT: u32 = 0; -pub const HAVE_DECL_STRLCPY: u32 = 0; +pub const HAVE_DECL_STRLCAT: u32 = 1; +pub const HAVE_DECL_STRLCPY: u32 = 1; pub const HAVE_DECL_STRNLEN: u32 = 1; pub const HAVE_DECL_STRTOLL: u32 = 1; pub const HAVE_DECL_STRTOULL: u32 = 1; pub const HAVE_DECL_VSNPRINTF: u32 = 1; pub const HAVE_DLOPEN: u32 = 1; pub const HAVE_FDATASYNC: u32 = 1; +pub const HAVE_FLS: u32 = 1; pub const HAVE_FSEEKO: u32 = 1; pub const HAVE_FUNCNAME__FUNC: u32 = 1; pub const HAVE_GCC__ATOMIC_INT32_CAS: u32 = 1; @@ -209,11 +208,11 @@ pub const HAVE_GCC__SYNC_INT32_CAS: u32 = 1; pub const HAVE_GCC__SYNC_INT32_TAS: u32 = 1; pub const HAVE_GCC__SYNC_INT64_CAS: u32 = 1; pub const HAVE_GETADDRINFO: u32 = 1; -pub const HAVE_GETHOSTBYNAME_R: u32 = 1; pub const HAVE_GETIFADDRS: u32 = 1; pub const HAVE_GETOPT: u32 = 1; pub const HAVE_GETOPT_H: u32 = 1; pub const HAVE_GETOPT_LONG: u32 = 1; +pub const HAVE_GETPEEREID: u32 = 1; pub const HAVE_GETPWUID_R: u32 = 1; pub const HAVE_GETRLIMIT: u32 = 1; pub const HAVE_GETRUSAGE: u32 = 1; @@ -223,6 +222,7 @@ pub const HAVE_INET_ATON: u32 = 1; pub const HAVE_INTPTR_T: u32 = 1; pub const HAVE_INTTYPES_H: u32 = 1; pub const HAVE_INT_OPTERR: u32 = 1; +pub const HAVE_INT_OPTRESET: u32 = 1; pub const HAVE_INT_TIMEZONE: u32 = 1; pub const HAVE_IPV6: u32 = 1; pub const HAVE_ISINF: u32 = 1; @@ -233,6 +233,7 @@ pub const HAVE_LIBZ: u32 = 1; pub const HAVE_LOCALE_T: u32 = 1; pub const HAVE_LONG_INT_64: u32 = 1; pub const HAVE_LONG_LONG_INT: u32 = 1; +pub const HAVE_MBSTOWCS_L: u32 = 1; pub const HAVE_MEMMOVE: u32 = 1; pub const HAVE_MEMORY_H: u32 = 1; pub const HAVE_MKDTEMP: u32 = 1; @@ -240,9 +241,8 @@ pub const HAVE_NETINET_TCP_H: u32 = 1; pub const HAVE_NET_IF_H: u32 = 1; pub const HAVE_POLL: u32 = 1; pub const HAVE_POLL_H: u32 = 1; -pub const HAVE_POSIX_FADVISE: u32 = 1; -pub const HAVE_POSIX_FALLOCATE: u32 = 1; pub const HAVE_PTHREAD: u32 = 1; +pub const HAVE_PTHREAD_IS_THREADED_NP: u32 = 1; pub const HAVE_PTHREAD_PRIO_INHERIT: u32 = 1; pub const HAVE_RANDOM: u32 = 1; pub const HAVE_READLINE_HISTORY_H: u32 = 1; @@ -252,7 +252,6 @@ pub const HAVE_RINT: u32 = 1; pub const HAVE_RL_COMPLETION_APPEND_CHARACTER: u32 = 1; pub const HAVE_RL_COMPLETION_MATCHES: u32 = 1; pub const HAVE_RL_FILENAME_COMPLETION_FUNCTION: u32 = 1; -pub const HAVE_RL_RESET_SCREEN_SIZE: u32 = 1; pub const HAVE_SETSID: u32 = 1; pub const HAVE_SHM_OPEN: u32 = 1; pub const HAVE_SNPRINTF: u32 = 1; @@ -265,6 +264,8 @@ pub const HAVE_STRERROR: u32 = 1; pub const HAVE_STRERROR_R: u32 = 1; pub const HAVE_STRINGS_H: u32 = 1; pub const HAVE_STRING_H: u32 = 1; +pub const HAVE_STRLCAT: u32 = 1; +pub const HAVE_STRLCPY: u32 = 1; pub const HAVE_STRNLEN: u32 = 1; pub const HAVE_STRONG_RANDOM: u32 = 1; pub const HAVE_STRSIGNAL: u32 = 1; @@ -272,26 +273,29 @@ pub const HAVE_STRTOLL: u32 = 1; pub const HAVE_STRTOULL: u32 = 1; pub const HAVE_STRUCT_ADDRINFO: u32 = 1; pub const HAVE_STRUCT_OPTION: u32 = 1; +pub const HAVE_STRUCT_SOCKADDR_SA_LEN: u32 = 1; pub const HAVE_STRUCT_SOCKADDR_STORAGE: u32 = 1; pub const HAVE_STRUCT_SOCKADDR_STORAGE_SS_FAMILY: u32 = 1; +pub const HAVE_STRUCT_SOCKADDR_STORAGE_SS_LEN: u32 = 1; pub const HAVE_STRUCT_TM_TM_ZONE: u32 = 1; pub const HAVE_SYMLINK: u32 = 1; -pub const HAVE_SYNC_FILE_RANGE: u32 = 1; pub const HAVE_SYSLOG: u32 = 1; -pub const HAVE_SYS_EPOLL_H: u32 = 1; pub const HAVE_SYS_IPC_H: u32 = 1; pub const HAVE_SYS_RESOURCE_H: u32 = 1; pub const HAVE_SYS_SELECT_H: u32 = 1; pub const HAVE_SYS_SEM_H: u32 = 1; pub const HAVE_SYS_SHM_H: u32 = 1; +pub const HAVE_SYS_SOCKIO_H: u32 = 1; pub const HAVE_SYS_STAT_H: u32 = 1; pub const HAVE_SYS_TYPES_H: u32 = 1; +pub const HAVE_SYS_UCRED_H: u32 = 1; pub const HAVE_SYS_UN_H: u32 = 1; pub const HAVE_TERMIOS_H: u32 = 1; pub const HAVE_TM_ZONE: u32 = 1; pub const HAVE_TYPEOF: u32 = 1; pub const HAVE_TZNAME: u32 = 1; pub const HAVE_UINTPTR_T: u32 = 1; +pub const HAVE_UNION_SEMUN: u32 = 1; pub const HAVE_UNISTD_H: u32 = 1; pub const HAVE_UNIX_SOCKETS: u32 = 1; pub const HAVE_UNSETENV: u32 = 1; @@ -302,6 +306,7 @@ pub const HAVE_UTIMES: u32 = 1; pub const HAVE_UTIME_H: u32 = 1; pub const HAVE_VSNPRINTF: u32 = 1; pub const HAVE_WCHAR_H: u32 = 1; +pub const HAVE_WCSTOMBS_L: u32 = 1; pub const HAVE_WCTYPE_H: u32 = 1; pub const HAVE__BOOL: u32 = 1; pub const HAVE__BUILTIN_BSWAP16: u32 = 1; @@ -311,23 +316,23 @@ pub const HAVE__BUILTIN_CONSTANT_P: u32 = 1; pub const HAVE__BUILTIN_OP_OVERFLOW: u32 = 1; pub const HAVE__BUILTIN_TYPES_COMPATIBLE_P: u32 = 1; pub const HAVE__BUILTIN_UNREACHABLE: u32 = 1; -pub const HAVE__GET_CPUID: u32 = 1; pub const HAVE__STATIC_ASSERT: u32 = 1; pub const HAVE__VA_ARGS: u32 = 1; pub const INT64_MODIFIER: &[u8; 2usize] = b"l\0"; +pub const LOCALE_T_IN_XLOCALE: u32 = 1; pub const MAXIMUM_ALIGNOF: u32 = 8; pub const MEMSET_LOOP_LIMIT: u32 = 1024; pub const PACKAGE_BUGREPORT: &[u8; 26usize] = b"pgsql-bugs@postgresql.org\0"; pub const PACKAGE_NAME: &[u8; 11usize] = b"PostgreSQL\0"; -pub const PACKAGE_STRING: &[u8; 17usize] = b"PostgreSQL 11.15\0"; +pub const PACKAGE_STRING: &[u8; 17usize] = b"PostgreSQL 11.14\0"; pub const PACKAGE_TARNAME: &[u8; 11usize] = b"postgresql\0"; pub const PACKAGE_URL: &[u8; 1usize] = b"\0"; -pub const PACKAGE_VERSION: &[u8; 6usize] = b"11.15\0"; +pub const PACKAGE_VERSION: &[u8; 6usize] = b"11.14\0"; pub const PG_KRB_SRVNAM: &[u8; 9usize] = b"postgres\0"; pub const PG_MAJORVERSION: &[u8; 3usize] = b"11\0"; -pub const PG_VERSION: &[u8; 6usize] = b"11.15\0"; -pub const PG_VERSION_NUM: u32 = 110015; -pub const PG_VERSION_STR : & [u8 ; 97usize] = b"PostgreSQL 11.15 on x86_64-pc-linux-gnu, compiled by gcc (Ubuntu 11.2.0-7ubuntu2) 11.2.0, 64-bit\0" ; +pub const PG_VERSION: &[u8; 6usize] = b"11.14\0"; +pub const PG_VERSION_NUM: u32 = 110014; +pub const PG_VERSION_STR : & [u8 ; 112usize] = b"PostgreSQL 11.14 on arm-apple-darwin21.3.0, compiled by Apple clang version 13.0.0 (clang-1300.0.29.30), 64-bit\0" ; pub const RELSEG_SIZE: u32 = 131072; pub const SIZEOF_BOOL: u32 = 1; pub const SIZEOF_LONG: u32 = 8; @@ -335,13 +340,15 @@ pub const SIZEOF_OFF_T: u32 = 8; pub const SIZEOF_SIZE_T: u32 = 8; pub const SIZEOF_VOID_P: u32 = 8; pub const STDC_HEADERS: u32 = 1; +pub const STRERROR_R_INT: u32 = 1; +pub const USE_ARMV8_CRC32C: u32 = 1; pub const USE_ASSERT_CHECKING: u32 = 1; pub const USE_DEV_URANDOM: u32 = 1; pub const USE_FLOAT4_BYVAL: u32 = 1; pub const USE_FLOAT8_BYVAL: u32 = 1; -pub const USE_SSE42_CRC32C_WITH_RUNTIME_CHECK: u32 = 1; +pub const USE_SYSV_SEMAPHORES: u32 = 1; pub const USE_SYSV_SHARED_MEMORY: u32 = 1; -pub const USE_UNNAMED_POSIX_SEMAPHORES: u32 = 1; +pub const WCSTOMBS_L_IN_XLOCALE: u32 = 1; pub const XLOG_BLCKSZ: u32 = 8192; pub const DEFAULT_XLOG_SEG_SIZE: u32 = 16777216; pub const NAMEDATALEN: u32 = 64; @@ -356,212 +363,548 @@ pub const BITS_PER_BYTE: u32 = 8; pub const ALIGNOF_BUFFER: u32 = 32; pub const HAVE_WORKING_LINK: u32 = 1; pub const DEFAULT_BACKEND_FLUSH_AFTER: u32 = 0; -pub const DEFAULT_BGWRITER_FLUSH_AFTER: u32 = 64; -pub const DEFAULT_CHECKPOINT_FLUSH_AFTER: u32 = 32; +pub const DEFAULT_BGWRITER_FLUSH_AFTER: u32 = 0; +pub const DEFAULT_CHECKPOINT_FLUSH_AFTER: u32 = 0; pub const WRITEBACK_MAX_PENDING_FLUSHES: u32 = 256; pub const DEFAULT_PGSOCKET_DIR: &[u8; 5usize] = b"/tmp\0"; pub const DEFAULT_EVENT_SOURCE: &[u8; 11usize] = b"PostgreSQL\0"; pub const PG_CACHE_LINE_SIZE: u32 = 128; pub const TRACE_SORT: u32 = 1; -pub const _STDIO_H: u32 = 1; -pub const _FEATURES_H: u32 = 1; -pub const _DEFAULT_SOURCE: u32 = 1; -pub const __GLIBC_USE_ISOC2X: u32 = 0; -pub const __USE_ISOC11: u32 = 1; -pub const __USE_ISOC99: u32 = 1; -pub const __USE_ISOC95: u32 = 1; -pub const __USE_POSIX_IMPLICITLY: u32 = 1; -pub const _POSIX_SOURCE: u32 = 1; -pub const _POSIX_C_SOURCE: u32 = 200809; -pub const __USE_POSIX: u32 = 1; -pub const __USE_POSIX2: u32 = 1; -pub const __USE_POSIX199309: u32 = 1; -pub const __USE_POSIX199506: u32 = 1; -pub const __USE_XOPEN2K: u32 = 1; -pub const __USE_XOPEN2K8: u32 = 1; -pub const _ATFILE_SOURCE: u32 = 1; -pub const __WORDSIZE: u32 = 64; -pub const __WORDSIZE_TIME64_COMPAT32: u32 = 1; -pub const __SYSCALL_WORDSIZE: u32 = 64; -pub const __TIMESIZE: u32 = 64; -pub const __USE_MISC: u32 = 1; -pub const __USE_ATFILE: u32 = 1; -pub const __USE_FORTIFY_LEVEL: u32 = 0; -pub const __GLIBC_USE_DEPRECATED_GETS: u32 = 0; -pub const __GLIBC_USE_DEPRECATED_SCANF: u32 = 0; -pub const _STDC_PREDEF_H: u32 = 1; -pub const __STDC_IEC_559__: u32 = 1; -pub const __STDC_IEC_559_COMPLEX__: u32 = 1; -pub const __STDC_ISO_10646__: u32 = 201706; -pub const __GNU_LIBRARY__: u32 = 6; -pub const __GLIBC__: u32 = 2; -pub const __GLIBC_MINOR__: u32 = 34; -pub const _SYS_CDEFS_H: u32 = 1; -pub const __glibc_c99_flexarr_available: u32 = 1; -pub const __LDOUBLE_REDIRECTS_TO_FLOAT128_ABI: u32 = 0; -pub const __HAVE_GENERIC_SELECTION: u32 = 1; -pub const __GLIBC_USE_LIB_EXT2: u32 = 0; -pub const __GLIBC_USE_IEC_60559_BFP_EXT: u32 = 0; -pub const __GLIBC_USE_IEC_60559_BFP_EXT_C2X: u32 = 0; -pub const __GLIBC_USE_IEC_60559_EXT: u32 = 0; -pub const __GLIBC_USE_IEC_60559_FUNCS_EXT: u32 = 0; -pub const __GLIBC_USE_IEC_60559_FUNCS_EXT_C2X: u32 = 0; -pub const __GLIBC_USE_IEC_60559_TYPES_EXT: u32 = 0; -pub const __GNUC_VA_LIST: u32 = 1; -pub const _BITS_TYPES_H: u32 = 1; -pub const _BITS_TYPESIZES_H: u32 = 1; -pub const __OFF_T_MATCHES_OFF64_T: u32 = 1; -pub const __INO_T_MATCHES_INO64_T: u32 = 1; -pub const __RLIM_T_MATCHES_RLIM64_T: u32 = 1; -pub const __STATFS_MATCHES_STATFS64: u32 = 1; -pub const __KERNEL_OLD_TIMEVAL_MATCHES_TIMEVAL64: u32 = 1; -pub const __FD_SETSIZE: u32 = 1024; -pub const _BITS_TIME64_H: u32 = 1; -pub const _____fpos_t_defined: u32 = 1; -pub const ____mbstate_t_defined: u32 = 1; -pub const _____fpos64_t_defined: u32 = 1; -pub const ____FILE_defined: u32 = 1; -pub const __FILE_defined: u32 = 1; -pub const __struct_FILE_defined: u32 = 1; -pub const _IO_EOF_SEEN: u32 = 16; -pub const _IO_ERR_SEEN: u32 = 32; -pub const _IO_USER_LOCK: u32 = 32768; +pub const __darwin__: u32 = 1; +pub const __DARWIN_ONLY_64_BIT_INO_T: u32 = 1; +pub const __DARWIN_ONLY_UNIX_CONFORMANCE: u32 = 1; +pub const __DARWIN_ONLY_VERS_1050: u32 = 1; +pub const __DARWIN_UNIX03: u32 = 1; +pub const __DARWIN_64_BIT_INO_T: u32 = 1; +pub const __DARWIN_VERS_1050: u32 = 1; +pub const __DARWIN_NON_CANCELABLE: u32 = 0; +pub const __DARWIN_SUF_EXTSN: &[u8; 14usize] = b"$DARWIN_EXTSN\0"; +pub const __DARWIN_C_ANSI: u32 = 4096; +pub const __DARWIN_C_FULL: u32 = 900000; +pub const __DARWIN_C_LEVEL: u32 = 900000; +pub const __STDC_WANT_LIB_EXT1__: u32 = 1; +pub const __DARWIN_NO_LONG_LONG: u32 = 0; +pub const _DARWIN_FEATURE_64_BIT_INODE: u32 = 1; +pub const _DARWIN_FEATURE_ONLY_64_BIT_INODE: u32 = 1; +pub const _DARWIN_FEATURE_ONLY_VERS_1050: u32 = 1; +pub const _DARWIN_FEATURE_ONLY_UNIX_CONFORMANCE: u32 = 1; +pub const _DARWIN_FEATURE_UNIX_CONFORMANCE: u32 = 3; +pub const __has_ptrcheck: u32 = 0; +pub const __API_TO_BE_DEPRECATED: u32 = 100000; +pub const __MAC_10_0: u32 = 1000; +pub const __MAC_10_1: u32 = 1010; +pub const __MAC_10_2: u32 = 1020; +pub const __MAC_10_3: u32 = 1030; +pub const __MAC_10_4: u32 = 1040; +pub const __MAC_10_5: u32 = 1050; +pub const __MAC_10_6: u32 = 1060; +pub const __MAC_10_7: u32 = 1070; +pub const __MAC_10_8: u32 = 1080; +pub const __MAC_10_9: u32 = 1090; +pub const __MAC_10_10: u32 = 101000; +pub const __MAC_10_10_2: u32 = 101002; +pub const __MAC_10_10_3: u32 = 101003; +pub const __MAC_10_11: u32 = 101100; +pub const __MAC_10_11_2: u32 = 101102; +pub const __MAC_10_11_3: u32 = 101103; +pub const __MAC_10_11_4: u32 = 101104; +pub const __MAC_10_12: u32 = 101200; +pub const __MAC_10_12_1: u32 = 101201; +pub const __MAC_10_12_2: u32 = 101202; +pub const __MAC_10_12_4: u32 = 101204; +pub const __MAC_10_13: u32 = 101300; +pub const __MAC_10_13_1: u32 = 101301; +pub const __MAC_10_13_2: u32 = 101302; +pub const __MAC_10_13_4: u32 = 101304; +pub const __MAC_10_14: u32 = 101400; +pub const __MAC_10_14_1: u32 = 101401; +pub const __MAC_10_14_4: u32 = 101404; +pub const __MAC_10_14_6: u32 = 101406; +pub const __MAC_10_15: u32 = 101500; +pub const __MAC_10_15_1: u32 = 101501; +pub const __MAC_10_15_4: u32 = 101504; +pub const __MAC_10_16: u32 = 101600; +pub const __MAC_11_0: u32 = 110000; +pub const __MAC_11_1: u32 = 110100; +pub const __MAC_11_3: u32 = 110300; +pub const __MAC_11_4: u32 = 110400; +pub const __MAC_11_5: u32 = 110500; +pub const __MAC_11_6: u32 = 110600; +pub const __MAC_12_0: u32 = 120000; +pub const __MAC_12_1: u32 = 120100; +pub const __MAC_12_2: u32 = 120200; +pub const __MAC_12_3: u32 = 120300; +pub const __IPHONE_2_0: u32 = 20000; +pub const __IPHONE_2_1: u32 = 20100; +pub const __IPHONE_2_2: u32 = 20200; +pub const __IPHONE_3_0: u32 = 30000; +pub const __IPHONE_3_1: u32 = 30100; +pub const __IPHONE_3_2: u32 = 30200; +pub const __IPHONE_4_0: u32 = 40000; +pub const __IPHONE_4_1: u32 = 40100; +pub const __IPHONE_4_2: u32 = 40200; +pub const __IPHONE_4_3: u32 = 40300; +pub const __IPHONE_5_0: u32 = 50000; +pub const __IPHONE_5_1: u32 = 50100; +pub const __IPHONE_6_0: u32 = 60000; +pub const __IPHONE_6_1: u32 = 60100; +pub const __IPHONE_7_0: u32 = 70000; +pub const __IPHONE_7_1: u32 = 70100; +pub const __IPHONE_8_0: u32 = 80000; +pub const __IPHONE_8_1: u32 = 80100; +pub const __IPHONE_8_2: u32 = 80200; +pub const __IPHONE_8_3: u32 = 80300; +pub const __IPHONE_8_4: u32 = 80400; +pub const __IPHONE_9_0: u32 = 90000; +pub const __IPHONE_9_1: u32 = 90100; +pub const __IPHONE_9_2: u32 = 90200; +pub const __IPHONE_9_3: u32 = 90300; +pub const __IPHONE_10_0: u32 = 100000; +pub const __IPHONE_10_1: u32 = 100100; +pub const __IPHONE_10_2: u32 = 100200; +pub const __IPHONE_10_3: u32 = 100300; +pub const __IPHONE_11_0: u32 = 110000; +pub const __IPHONE_11_1: u32 = 110100; +pub const __IPHONE_11_2: u32 = 110200; +pub const __IPHONE_11_3: u32 = 110300; +pub const __IPHONE_11_4: u32 = 110400; +pub const __IPHONE_12_0: u32 = 120000; +pub const __IPHONE_12_1: u32 = 120100; +pub const __IPHONE_12_2: u32 = 120200; +pub const __IPHONE_12_3: u32 = 120300; +pub const __IPHONE_12_4: u32 = 120400; +pub const __IPHONE_13_0: u32 = 130000; +pub const __IPHONE_13_1: u32 = 130100; +pub const __IPHONE_13_2: u32 = 130200; +pub const __IPHONE_13_3: u32 = 130300; +pub const __IPHONE_13_4: u32 = 130400; +pub const __IPHONE_13_5: u32 = 130500; +pub const __IPHONE_13_6: u32 = 130600; +pub const __IPHONE_13_7: u32 = 130700; +pub const __IPHONE_14_0: u32 = 140000; +pub const __IPHONE_14_1: u32 = 140100; +pub const __IPHONE_14_2: u32 = 140200; +pub const __IPHONE_14_3: u32 = 140300; +pub const __IPHONE_14_5: u32 = 140500; +pub const __IPHONE_14_6: u32 = 140600; +pub const __IPHONE_14_7: u32 = 140700; +pub const __IPHONE_14_8: u32 = 140800; +pub const __IPHONE_15_0: u32 = 150000; +pub const __IPHONE_15_1: u32 = 150100; +pub const __IPHONE_15_2: u32 = 150200; +pub const __IPHONE_15_3: u32 = 150300; +pub const __IPHONE_15_4: u32 = 150400; +pub const __TVOS_9_0: u32 = 90000; +pub const __TVOS_9_1: u32 = 90100; +pub const __TVOS_9_2: u32 = 90200; +pub const __TVOS_10_0: u32 = 100000; +pub const __TVOS_10_0_1: u32 = 100001; +pub const __TVOS_10_1: u32 = 100100; +pub const __TVOS_10_2: u32 = 100200; +pub const __TVOS_11_0: u32 = 110000; +pub const __TVOS_11_1: u32 = 110100; +pub const __TVOS_11_2: u32 = 110200; +pub const __TVOS_11_3: u32 = 110300; +pub const __TVOS_11_4: u32 = 110400; +pub const __TVOS_12_0: u32 = 120000; +pub const __TVOS_12_1: u32 = 120100; +pub const __TVOS_12_2: u32 = 120200; +pub const __TVOS_12_3: u32 = 120300; +pub const __TVOS_12_4: u32 = 120400; +pub const __TVOS_13_0: u32 = 130000; +pub const __TVOS_13_2: u32 = 130200; +pub const __TVOS_13_3: u32 = 130300; +pub const __TVOS_13_4: u32 = 130400; +pub const __TVOS_14_0: u32 = 140000; +pub const __TVOS_14_1: u32 = 140100; +pub const __TVOS_14_2: u32 = 140200; +pub const __TVOS_14_3: u32 = 140300; +pub const __TVOS_14_5: u32 = 140500; +pub const __TVOS_14_6: u32 = 140600; +pub const __TVOS_14_7: u32 = 140700; +pub const __TVOS_15_0: u32 = 150000; +pub const __TVOS_15_1: u32 = 150100; +pub const __TVOS_15_2: u32 = 150200; +pub const __TVOS_15_3: u32 = 150300; +pub const __TVOS_15_4: u32 = 150400; +pub const __WATCHOS_1_0: u32 = 10000; +pub const __WATCHOS_2_0: u32 = 20000; +pub const __WATCHOS_2_1: u32 = 20100; +pub const __WATCHOS_2_2: u32 = 20200; +pub const __WATCHOS_3_0: u32 = 30000; +pub const __WATCHOS_3_1: u32 = 30100; +pub const __WATCHOS_3_1_1: u32 = 30101; +pub const __WATCHOS_3_2: u32 = 30200; +pub const __WATCHOS_4_0: u32 = 40000; +pub const __WATCHOS_4_1: u32 = 40100; +pub const __WATCHOS_4_2: u32 = 40200; +pub const __WATCHOS_4_3: u32 = 40300; +pub const __WATCHOS_5_0: u32 = 50000; +pub const __WATCHOS_5_1: u32 = 50100; +pub const __WATCHOS_5_2: u32 = 50200; +pub const __WATCHOS_5_3: u32 = 50300; +pub const __WATCHOS_6_0: u32 = 60000; +pub const __WATCHOS_6_1: u32 = 60100; +pub const __WATCHOS_6_2: u32 = 60200; +pub const __WATCHOS_7_0: u32 = 70000; +pub const __WATCHOS_7_1: u32 = 70100; +pub const __WATCHOS_7_2: u32 = 70200; +pub const __WATCHOS_7_3: u32 = 70300; +pub const __WATCHOS_7_4: u32 = 70400; +pub const __WATCHOS_7_5: u32 = 70500; +pub const __WATCHOS_7_6: u32 = 70600; +pub const __WATCHOS_8_0: u32 = 80000; +pub const __WATCHOS_8_1: u32 = 80100; +pub const __WATCHOS_8_3: u32 = 80300; +pub const __WATCHOS_8_4: u32 = 80400; +pub const __WATCHOS_8_5: u32 = 80500; +pub const MAC_OS_X_VERSION_10_0: u32 = 1000; +pub const MAC_OS_X_VERSION_10_1: u32 = 1010; +pub const MAC_OS_X_VERSION_10_2: u32 = 1020; +pub const MAC_OS_X_VERSION_10_3: u32 = 1030; +pub const MAC_OS_X_VERSION_10_4: u32 = 1040; +pub const MAC_OS_X_VERSION_10_5: u32 = 1050; +pub const MAC_OS_X_VERSION_10_6: u32 = 1060; +pub const MAC_OS_X_VERSION_10_7: u32 = 1070; +pub const MAC_OS_X_VERSION_10_8: u32 = 1080; +pub const MAC_OS_X_VERSION_10_9: u32 = 1090; +pub const MAC_OS_X_VERSION_10_10: u32 = 101000; +pub const MAC_OS_X_VERSION_10_10_2: u32 = 101002; +pub const MAC_OS_X_VERSION_10_10_3: u32 = 101003; +pub const MAC_OS_X_VERSION_10_11: u32 = 101100; +pub const MAC_OS_X_VERSION_10_11_2: u32 = 101102; +pub const MAC_OS_X_VERSION_10_11_3: u32 = 101103; +pub const MAC_OS_X_VERSION_10_11_4: u32 = 101104; +pub const MAC_OS_X_VERSION_10_12: u32 = 101200; +pub const MAC_OS_X_VERSION_10_12_1: u32 = 101201; +pub const MAC_OS_X_VERSION_10_12_2: u32 = 101202; +pub const MAC_OS_X_VERSION_10_12_4: u32 = 101204; +pub const MAC_OS_X_VERSION_10_13: u32 = 101300; +pub const MAC_OS_X_VERSION_10_13_1: u32 = 101301; +pub const MAC_OS_X_VERSION_10_13_2: u32 = 101302; +pub const MAC_OS_X_VERSION_10_13_4: u32 = 101304; +pub const MAC_OS_X_VERSION_10_14: u32 = 101400; +pub const MAC_OS_X_VERSION_10_14_1: u32 = 101401; +pub const MAC_OS_X_VERSION_10_14_4: u32 = 101404; +pub const MAC_OS_X_VERSION_10_14_6: u32 = 101406; +pub const MAC_OS_X_VERSION_10_15: u32 = 101500; +pub const MAC_OS_X_VERSION_10_15_1: u32 = 101501; +pub const MAC_OS_X_VERSION_10_16: u32 = 101600; +pub const MAC_OS_VERSION_11_0: u32 = 110000; +pub const MAC_OS_VERSION_12_0: u32 = 120000; +pub const __DRIVERKIT_19_0: u32 = 190000; +pub const __DRIVERKIT_20_0: u32 = 200000; +pub const __DRIVERKIT_21_0: u32 = 210000; +pub const __MAC_OS_X_VERSION_MAX_ALLOWED: u32 = 120300; +pub const __ENABLE_LEGACY_MAC_AVAILABILITY: u32 = 1; +pub const __PTHREAD_SIZE__: u32 = 8176; +pub const __PTHREAD_ATTR_SIZE__: u32 = 56; +pub const __PTHREAD_MUTEXATTR_SIZE__: u32 = 8; +pub const __PTHREAD_MUTEX_SIZE__: u32 = 56; +pub const __PTHREAD_CONDATTR_SIZE__: u32 = 8; +pub const __PTHREAD_COND_SIZE__: u32 = 40; +pub const __PTHREAD_ONCE_SIZE__: u32 = 8; +pub const __PTHREAD_RWLOCK_SIZE__: u32 = 192; +pub const __PTHREAD_RWLOCKATTR_SIZE__: u32 = 16; +pub const __DARWIN_WCHAR_MIN: i32 = -2147483648; +pub const _FORTIFY_SOURCE: u32 = 2; +pub const RENAME_SECLUDE: u32 = 1; +pub const RENAME_SWAP: u32 = 2; +pub const RENAME_EXCL: u32 = 4; +pub const RENAME_RESERVED1: u32 = 8; +pub const RENAME_NOFOLLOW_ANY: u32 = 16; +pub const __SLBF: u32 = 1; +pub const __SNBF: u32 = 2; +pub const __SRD: u32 = 4; +pub const __SWR: u32 = 8; +pub const __SRW: u32 = 16; +pub const __SEOF: u32 = 32; +pub const __SERR: u32 = 64; +pub const __SMBF: u32 = 128; +pub const __SAPP: u32 = 256; +pub const __SSTR: u32 = 512; +pub const __SOPT: u32 = 1024; +pub const __SNPT: u32 = 2048; +pub const __SOFF: u32 = 4096; +pub const __SMOD: u32 = 8192; +pub const __SALC: u32 = 16384; +pub const __SIGN: u32 = 32768; pub const _IOFBF: u32 = 0; pub const _IOLBF: u32 = 1; pub const _IONBF: u32 = 2; -pub const BUFSIZ: u32 = 8192; +pub const BUFSIZ: u32 = 1024; pub const EOF: i32 = -1; +pub const FOPEN_MAX: u32 = 20; +pub const FILENAME_MAX: u32 = 1024; +pub const P_tmpdir: &[u8; 10usize] = b"/var/tmp/\0"; +pub const L_tmpnam: u32 = 1024; +pub const TMP_MAX: u32 = 308915776; pub const SEEK_SET: u32 = 0; pub const SEEK_CUR: u32 = 1; pub const SEEK_END: u32 = 2; -pub const P_tmpdir: &[u8; 5usize] = b"/tmp\0"; -pub const _BITS_STDIO_LIM_H: u32 = 1; -pub const L_tmpnam: u32 = 20; -pub const TMP_MAX: u32 = 238328; -pub const FILENAME_MAX: u32 = 4096; -pub const L_ctermid: u32 = 9; -pub const FOPEN_MAX: u32 = 16; -pub const __HAVE_FLOAT128: u32 = 0; -pub const __HAVE_DISTINCT_FLOAT128: u32 = 0; -pub const __HAVE_FLOAT64X: u32 = 1; -pub const __HAVE_FLOAT64X_LONG_DOUBLE: u32 = 1; -pub const __HAVE_FLOAT16: u32 = 0; -pub const __HAVE_FLOAT32: u32 = 1; -pub const __HAVE_FLOAT64: u32 = 1; -pub const __HAVE_FLOAT32X: u32 = 1; -pub const __HAVE_FLOAT128X: u32 = 0; -pub const __HAVE_DISTINCT_FLOAT16: u32 = 0; -pub const __HAVE_DISTINCT_FLOAT32: u32 = 0; -pub const __HAVE_DISTINCT_FLOAT64: u32 = 0; -pub const __HAVE_DISTINCT_FLOAT32X: u32 = 0; -pub const __HAVE_DISTINCT_FLOAT64X: u32 = 0; -pub const __HAVE_DISTINCT_FLOAT128X: u32 = 0; -pub const __HAVE_FLOATN_NOT_TYPEDEF: u32 = 0; -pub const _STDLIB_H: u32 = 1; -pub const WNOHANG: u32 = 1; -pub const WUNTRACED: u32 = 2; -pub const WSTOPPED: u32 = 2; -pub const WEXITED: u32 = 4; -pub const WCONTINUED: u32 = 8; -pub const WNOWAIT: u32 = 16777216; -pub const __WNOTHREAD: u32 = 536870912; -pub const __WALL: u32 = 1073741824; -pub const __WCLONE: u32 = 2147483648; -pub const __W_CONTINUED: u32 = 65535; -pub const __WCOREFLAG: u32 = 128; -pub const __ldiv_t_defined: u32 = 1; -pub const __lldiv_t_defined: u32 = 1; -pub const RAND_MAX: u32 = 2147483647; -pub const EXIT_FAILURE: u32 = 1; -pub const EXIT_SUCCESS: u32 = 0; -pub const _SYS_TYPES_H: u32 = 1; -pub const __clock_t_defined: u32 = 1; -pub const __clockid_t_defined: u32 = 1; -pub const __time_t_defined: u32 = 1; -pub const __timer_t_defined: u32 = 1; -pub const _BITS_STDINT_INTN_H: u32 = 1; -pub const __BIT_TYPES_DEFINED__: u32 = 1; -pub const _ENDIAN_H: u32 = 1; -pub const _BITS_ENDIAN_H: u32 = 1; -pub const __LITTLE_ENDIAN: u32 = 1234; -pub const __BIG_ENDIAN: u32 = 4321; -pub const __PDP_ENDIAN: u32 = 3412; -pub const _BITS_ENDIANNESS_H: u32 = 1; -pub const __BYTE_ORDER: u32 = 1234; -pub const __FLOAT_WORD_ORDER: u32 = 1234; -pub const LITTLE_ENDIAN: u32 = 1234; -pub const BIG_ENDIAN: u32 = 4321; -pub const PDP_ENDIAN: u32 = 3412; -pub const BYTE_ORDER: u32 = 1234; -pub const _BITS_BYTESWAP_H: u32 = 1; -pub const _BITS_UINTN_IDENTITY_H: u32 = 1; -pub const _SYS_SELECT_H: u32 = 1; -pub const __sigset_t_defined: u32 = 1; -pub const __timeval_defined: u32 = 1; -pub const _STRUCT_TIMESPEC: u32 = 1; -pub const FD_SETSIZE: u32 = 1024; -pub const _BITS_PTHREADTYPES_COMMON_H: u32 = 1; -pub const _THREAD_SHARED_TYPES_H: u32 = 1; -pub const _BITS_PTHREADTYPES_ARCH_H: u32 = 1; -pub const __SIZEOF_PTHREAD_MUTEX_T: u32 = 40; -pub const __SIZEOF_PTHREAD_ATTR_T: u32 = 56; -pub const __SIZEOF_PTHREAD_RWLOCK_T: u32 = 56; -pub const __SIZEOF_PTHREAD_BARRIER_T: u32 = 32; -pub const __SIZEOF_PTHREAD_MUTEXATTR_T: u32 = 4; -pub const __SIZEOF_PTHREAD_COND_T: u32 = 48; -pub const __SIZEOF_PTHREAD_CONDATTR_T: u32 = 4; -pub const __SIZEOF_PTHREAD_RWLOCKATTR_T: u32 = 8; -pub const __SIZEOF_PTHREAD_BARRIERATTR_T: u32 = 4; -pub const _THREAD_MUTEX_INTERNAL_H: u32 = 1; -pub const __PTHREAD_MUTEX_HAVE_PREV: u32 = 1; -pub const __have_pthread_attr_t: u32 = 1; -pub const _ALLOCA_H: u32 = 1; -pub const _STRING_H: u32 = 1; -pub const _BITS_TYPES_LOCALE_T_H: u32 = 1; -pub const _BITS_TYPES___LOCALE_T_H: u32 = 1; -pub const _STRINGS_H: u32 = 1; -pub const _STDINT_H: u32 = 1; -pub const _BITS_WCHAR_H: u32 = 1; -pub const _BITS_STDINT_UINTN_H: u32 = 1; -pub const INT8_MIN: i32 = -128; -pub const INT16_MIN: i32 = -32768; -pub const INT32_MIN: i32 = -2147483648; +pub const L_ctermid: u32 = 1024; +pub const _USE_FORTIFY_LEVEL: u32 = 2; +pub const __DARWIN_NSIG: u32 = 32; +pub const NSIG: u32 = 32; +pub const _ARM_SIGNAL_: u32 = 1; +pub const SIGHUP: u32 = 1; +pub const SIGINT: u32 = 2; +pub const SIGQUIT: u32 = 3; +pub const SIGILL: u32 = 4; +pub const SIGTRAP: u32 = 5; +pub const SIGABRT: u32 = 6; +pub const SIGIOT: u32 = 6; +pub const SIGEMT: u32 = 7; +pub const SIGFPE: u32 = 8; +pub const SIGKILL: u32 = 9; +pub const SIGBUS: u32 = 10; +pub const SIGSEGV: u32 = 11; +pub const SIGSYS: u32 = 12; +pub const SIGPIPE: u32 = 13; +pub const SIGALRM: u32 = 14; +pub const SIGTERM: u32 = 15; +pub const SIGURG: u32 = 16; +pub const SIGSTOP: u32 = 17; +pub const SIGTSTP: u32 = 18; +pub const SIGCONT: u32 = 19; +pub const SIGCHLD: u32 = 20; +pub const SIGTTIN: u32 = 21; +pub const SIGTTOU: u32 = 22; +pub const SIGIO: u32 = 23; +pub const SIGXCPU: u32 = 24; +pub const SIGXFSZ: u32 = 25; +pub const SIGVTALRM: u32 = 26; +pub const SIGPROF: u32 = 27; +pub const SIGWINCH: u32 = 28; +pub const SIGINFO: u32 = 29; +pub const SIGUSR1: u32 = 30; +pub const SIGUSR2: u32 = 31; +pub const __DARWIN_OPAQUE_ARM_THREAD_STATE64: u32 = 0; +pub const SIGEV_NONE: u32 = 0; +pub const SIGEV_SIGNAL: u32 = 1; +pub const SIGEV_THREAD: u32 = 3; +pub const ILL_NOOP: u32 = 0; +pub const ILL_ILLOPC: u32 = 1; +pub const ILL_ILLTRP: u32 = 2; +pub const ILL_PRVOPC: u32 = 3; +pub const ILL_ILLOPN: u32 = 4; +pub const ILL_ILLADR: u32 = 5; +pub const ILL_PRVREG: u32 = 6; +pub const ILL_COPROC: u32 = 7; +pub const ILL_BADSTK: u32 = 8; +pub const FPE_NOOP: u32 = 0; +pub const FPE_FLTDIV: u32 = 1; +pub const FPE_FLTOVF: u32 = 2; +pub const FPE_FLTUND: u32 = 3; +pub const FPE_FLTRES: u32 = 4; +pub const FPE_FLTINV: u32 = 5; +pub const FPE_FLTSUB: u32 = 6; +pub const FPE_INTDIV: u32 = 7; +pub const FPE_INTOVF: u32 = 8; +pub const SEGV_NOOP: u32 = 0; +pub const SEGV_MAPERR: u32 = 1; +pub const SEGV_ACCERR: u32 = 2; +pub const BUS_NOOP: u32 = 0; +pub const BUS_ADRALN: u32 = 1; +pub const BUS_ADRERR: u32 = 2; +pub const BUS_OBJERR: u32 = 3; +pub const TRAP_BRKPT: u32 = 1; +pub const TRAP_TRACE: u32 = 2; +pub const CLD_NOOP: u32 = 0; +pub const CLD_EXITED: u32 = 1; +pub const CLD_KILLED: u32 = 2; +pub const CLD_DUMPED: u32 = 3; +pub const CLD_TRAPPED: u32 = 4; +pub const CLD_STOPPED: u32 = 5; +pub const CLD_CONTINUED: u32 = 6; +pub const POLL_IN: u32 = 1; +pub const POLL_OUT: u32 = 2; +pub const POLL_MSG: u32 = 3; +pub const POLL_ERR: u32 = 4; +pub const POLL_PRI: u32 = 5; +pub const POLL_HUP: u32 = 6; +pub const SA_ONSTACK: u32 = 1; +pub const SA_RESTART: u32 = 2; +pub const SA_RESETHAND: u32 = 4; +pub const SA_NOCLDSTOP: u32 = 8; +pub const SA_NODEFER: u32 = 16; +pub const SA_NOCLDWAIT: u32 = 32; +pub const SA_SIGINFO: u32 = 64; +pub const SA_USERTRAMP: u32 = 256; +pub const SA_64REGSET: u32 = 512; +pub const SA_USERSPACE_MASK: u32 = 127; +pub const SIG_BLOCK: u32 = 1; +pub const SIG_UNBLOCK: u32 = 2; +pub const SIG_SETMASK: u32 = 3; +pub const SI_USER: u32 = 65537; +pub const SI_QUEUE: u32 = 65538; +pub const SI_TIMER: u32 = 65539; +pub const SI_ASYNCIO: u32 = 65540; +pub const SI_MESGQ: u32 = 65541; +pub const SS_ONSTACK: u32 = 1; +pub const SS_DISABLE: u32 = 4; +pub const MINSIGSTKSZ: u32 = 32768; +pub const SIGSTKSZ: u32 = 131072; +pub const SV_ONSTACK: u32 = 1; +pub const SV_INTERRUPT: u32 = 2; +pub const SV_RESETHAND: u32 = 4; +pub const SV_NODEFER: u32 = 16; +pub const SV_NOCLDSTOP: u32 = 8; +pub const SV_SIGINFO: u32 = 64; +pub const __WORDSIZE: u32 = 64; pub const INT8_MAX: u32 = 127; pub const INT16_MAX: u32 = 32767; pub const INT32_MAX: u32 = 2147483647; +pub const INT64_MAX: u64 = 9223372036854775807; +pub const INT8_MIN: i32 = -128; +pub const INT16_MIN: i32 = -32768; +pub const INT32_MIN: i32 = -2147483648; +pub const INT64_MIN: i64 = -9223372036854775808; pub const UINT8_MAX: u32 = 255; pub const UINT16_MAX: u32 = 65535; pub const UINT32_MAX: u32 = 4294967295; +pub const UINT64_MAX: i32 = -1; pub const INT_LEAST8_MIN: i32 = -128; pub const INT_LEAST16_MIN: i32 = -32768; pub const INT_LEAST32_MIN: i32 = -2147483648; +pub const INT_LEAST64_MIN: i64 = -9223372036854775808; pub const INT_LEAST8_MAX: u32 = 127; pub const INT_LEAST16_MAX: u32 = 32767; pub const INT_LEAST32_MAX: u32 = 2147483647; +pub const INT_LEAST64_MAX: u64 = 9223372036854775807; pub const UINT_LEAST8_MAX: u32 = 255; pub const UINT_LEAST16_MAX: u32 = 65535; pub const UINT_LEAST32_MAX: u32 = 4294967295; +pub const UINT_LEAST64_MAX: i32 = -1; pub const INT_FAST8_MIN: i32 = -128; -pub const INT_FAST16_MIN: i64 = -9223372036854775808; -pub const INT_FAST32_MIN: i64 = -9223372036854775808; +pub const INT_FAST16_MIN: i32 = -32768; +pub const INT_FAST32_MIN: i32 = -2147483648; +pub const INT_FAST64_MIN: i64 = -9223372036854775808; pub const INT_FAST8_MAX: u32 = 127; -pub const INT_FAST16_MAX: u64 = 9223372036854775807; -pub const INT_FAST32_MAX: u64 = 9223372036854775807; +pub const INT_FAST16_MAX: u32 = 32767; +pub const INT_FAST32_MAX: u32 = 2147483647; +pub const INT_FAST64_MAX: u64 = 9223372036854775807; pub const UINT_FAST8_MAX: u32 = 255; -pub const UINT_FAST16_MAX: i32 = -1; -pub const UINT_FAST32_MAX: i32 = -1; -pub const INTPTR_MIN: i64 = -9223372036854775808; +pub const UINT_FAST16_MAX: u32 = 65535; +pub const UINT_FAST32_MAX: u32 = 4294967295; +pub const UINT_FAST64_MAX: i32 = -1; pub const INTPTR_MAX: u64 = 9223372036854775807; +pub const INTPTR_MIN: i64 = -9223372036854775808; pub const UINTPTR_MAX: i32 = -1; -pub const PTRDIFF_MIN: i64 = -9223372036854775808; -pub const PTRDIFF_MAX: u64 = 9223372036854775807; +pub const SIZE_MAX: i32 = -1; +pub const RSIZE_MAX: i32 = -1; +pub const WINT_MIN: i32 = -2147483648; +pub const WINT_MAX: u32 = 2147483647; pub const SIG_ATOMIC_MIN: i32 = -2147483648; pub const SIG_ATOMIC_MAX: u32 = 2147483647; -pub const SIZE_MAX: i32 = -1; -pub const WINT_MIN: u32 = 0; -pub const WINT_MAX: u32 = 4294967295; -pub const _ERRNO_H: u32 = 1; -pub const _BITS_ERRNO_H: u32 = 1; +pub const PRIO_PROCESS: u32 = 0; +pub const PRIO_PGRP: u32 = 1; +pub const PRIO_USER: u32 = 2; +pub const PRIO_DARWIN_THREAD: u32 = 3; +pub const PRIO_DARWIN_PROCESS: u32 = 4; +pub const PRIO_MIN: i32 = -20; +pub const PRIO_MAX: u32 = 20; +pub const PRIO_DARWIN_BG: u32 = 4096; +pub const PRIO_DARWIN_NONUI: u32 = 4097; +pub const RUSAGE_SELF: u32 = 0; +pub const RUSAGE_CHILDREN: i32 = -1; +pub const RUSAGE_INFO_V0: u32 = 0; +pub const RUSAGE_INFO_V1: u32 = 1; +pub const RUSAGE_INFO_V2: u32 = 2; +pub const RUSAGE_INFO_V3: u32 = 3; +pub const RUSAGE_INFO_V4: u32 = 4; +pub const RUSAGE_INFO_V5: u32 = 5; +pub const RUSAGE_INFO_CURRENT: u32 = 5; +pub const RU_PROC_RUNS_RESLIDE: u32 = 1; +pub const RLIMIT_CPU: u32 = 0; +pub const RLIMIT_FSIZE: u32 = 1; +pub const RLIMIT_DATA: u32 = 2; +pub const RLIMIT_STACK: u32 = 3; +pub const RLIMIT_CORE: u32 = 4; +pub const RLIMIT_AS: u32 = 5; +pub const RLIMIT_RSS: u32 = 5; +pub const RLIMIT_MEMLOCK: u32 = 6; +pub const RLIMIT_NPROC: u32 = 7; +pub const RLIMIT_NOFILE: u32 = 8; +pub const RLIM_NLIMITS: u32 = 9; +pub const _RLIMIT_POSIX_FLAG: u32 = 4096; +pub const RLIMIT_WAKEUPS_MONITOR: u32 = 1; +pub const RLIMIT_CPU_USAGE_MONITOR: u32 = 2; +pub const RLIMIT_THREAD_CPULIMITS: u32 = 3; +pub const RLIMIT_FOOTPRINT_INTERVAL: u32 = 4; +pub const WAKEMON_ENABLE: u32 = 1; +pub const WAKEMON_DISABLE: u32 = 2; +pub const WAKEMON_GET_PARAMS: u32 = 4; +pub const WAKEMON_SET_DEFAULTS: u32 = 8; +pub const WAKEMON_MAKE_FATAL: u32 = 16; +pub const CPUMON_MAKE_FATAL: u32 = 4096; +pub const FOOTPRINT_INTERVAL_RESET: u32 = 1; +pub const IOPOL_TYPE_DISK: u32 = 0; +pub const IOPOL_TYPE_VFS_ATIME_UPDATES: u32 = 2; +pub const IOPOL_TYPE_VFS_MATERIALIZE_DATALESS_FILES: u32 = 3; +pub const IOPOL_TYPE_VFS_STATFS_NO_DATA_VOLUME: u32 = 4; +pub const IOPOL_TYPE_VFS_TRIGGER_RESOLVE: u32 = 5; +pub const IOPOL_TYPE_VFS_IGNORE_CONTENT_PROTECTION: u32 = 6; +pub const IOPOL_TYPE_VFS_IGNORE_PERMISSIONS: u32 = 7; +pub const IOPOL_TYPE_VFS_SKIP_MTIME_UPDATE: u32 = 8; +pub const IOPOL_TYPE_VFS_ALLOW_LOW_SPACE_WRITES: u32 = 9; +pub const IOPOL_SCOPE_PROCESS: u32 = 0; +pub const IOPOL_SCOPE_THREAD: u32 = 1; +pub const IOPOL_SCOPE_DARWIN_BG: u32 = 2; +pub const IOPOL_DEFAULT: u32 = 0; +pub const IOPOL_IMPORTANT: u32 = 1; +pub const IOPOL_PASSIVE: u32 = 2; +pub const IOPOL_THROTTLE: u32 = 3; +pub const IOPOL_UTILITY: u32 = 4; +pub const IOPOL_STANDARD: u32 = 5; +pub const IOPOL_APPLICATION: u32 = 5; +pub const IOPOL_NORMAL: u32 = 1; +pub const IOPOL_ATIME_UPDATES_DEFAULT: u32 = 0; +pub const IOPOL_ATIME_UPDATES_OFF: u32 = 1; +pub const IOPOL_MATERIALIZE_DATALESS_FILES_DEFAULT: u32 = 0; +pub const IOPOL_MATERIALIZE_DATALESS_FILES_OFF: u32 = 1; +pub const IOPOL_MATERIALIZE_DATALESS_FILES_ON: u32 = 2; +pub const IOPOL_VFS_STATFS_NO_DATA_VOLUME_DEFAULT: u32 = 0; +pub const IOPOL_VFS_STATFS_FORCE_NO_DATA_VOLUME: u32 = 1; +pub const IOPOL_VFS_TRIGGER_RESOLVE_DEFAULT: u32 = 0; +pub const IOPOL_VFS_TRIGGER_RESOLVE_OFF: u32 = 1; +pub const IOPOL_VFS_CONTENT_PROTECTION_DEFAULT: u32 = 0; +pub const IOPOL_VFS_CONTENT_PROTECTION_IGNORE: u32 = 1; +pub const IOPOL_VFS_IGNORE_PERMISSIONS_OFF: u32 = 0; +pub const IOPOL_VFS_IGNORE_PERMISSIONS_ON: u32 = 1; +pub const IOPOL_VFS_SKIP_MTIME_UPDATE_OFF: u32 = 0; +pub const IOPOL_VFS_SKIP_MTIME_UPDATE_ON: u32 = 1; +pub const IOPOL_VFS_ALLOW_LOW_SPACE_WRITES_OFF: u32 = 0; +pub const IOPOL_VFS_ALLOW_LOW_SPACE_WRITES_ON: u32 = 1; +pub const WNOHANG: u32 = 1; +pub const WUNTRACED: u32 = 2; +pub const WCOREFLAG: u32 = 128; +pub const _WSTOPPED: u32 = 127; +pub const WEXITED: u32 = 4; +pub const WSTOPPED: u32 = 8; +pub const WCONTINUED: u32 = 16; +pub const WNOWAIT: u32 = 32; +pub const WAIT_ANY: i32 = -1; +pub const WAIT_MYPGRP: u32 = 0; +pub const _QUAD_HIGHWORD: u32 = 1; +pub const _QUAD_LOWWORD: u32 = 0; +pub const __DARWIN_LITTLE_ENDIAN: u32 = 1234; +pub const __DARWIN_BIG_ENDIAN: u32 = 4321; +pub const __DARWIN_PDP_ENDIAN: u32 = 3412; +pub const __DARWIN_BYTE_ORDER: u32 = 1234; +pub const LITTLE_ENDIAN: u32 = 1234; +pub const BIG_ENDIAN: u32 = 4321; +pub const PDP_ENDIAN: u32 = 3412; +pub const BYTE_ORDER: u32 = 1234; +pub const EXIT_FAILURE: u32 = 1; +pub const EXIT_SUCCESS: u32 = 0; +pub const RAND_MAX: u32 = 2147483647; +pub const __HAS_FIXED_CHK_PROTOTYPES: u32 = 1; +pub const __GNUC_VA_LIST: u32 = 1; +pub const __DARWIN_FD_SETSIZE: u32 = 1024; +pub const __DARWIN_NBBY: u32 = 8; +pub const NBBY: u32 = 8; +pub const FD_SETSIZE: u32 = 1024; pub const EPERM: u32 = 1; pub const ENOENT: u32 = 2; pub const ESRCH: u32 = 3; @@ -572,7 +915,7 @@ pub const E2BIG: u32 = 7; pub const ENOEXEC: u32 = 8; pub const EBADF: u32 = 9; pub const ECHILD: u32 = 10; -pub const EAGAIN: u32 = 11; +pub const EDEADLK: u32 = 11; pub const ENOMEM: u32 = 12; pub const EACCES: u32 = 13; pub const EFAULT: u32 = 14; @@ -596,147 +939,88 @@ pub const EMLINK: u32 = 31; pub const EPIPE: u32 = 32; pub const EDOM: u32 = 33; pub const ERANGE: u32 = 34; -pub const EDEADLK: u32 = 35; -pub const ENAMETOOLONG: u32 = 36; -pub const ENOLCK: u32 = 37; -pub const ENOSYS: u32 = 38; -pub const ENOTEMPTY: u32 = 39; -pub const ELOOP: u32 = 40; -pub const EWOULDBLOCK: u32 = 11; -pub const ENOMSG: u32 = 42; -pub const EIDRM: u32 = 43; -pub const ECHRNG: u32 = 44; -pub const EL2NSYNC: u32 = 45; -pub const EL3HLT: u32 = 46; -pub const EL3RST: u32 = 47; -pub const ELNRNG: u32 = 48; -pub const EUNATCH: u32 = 49; -pub const ENOCSI: u32 = 50; -pub const EL2HLT: u32 = 51; -pub const EBADE: u32 = 52; -pub const EBADR: u32 = 53; -pub const EXFULL: u32 = 54; -pub const ENOANO: u32 = 55; -pub const EBADRQC: u32 = 56; -pub const EBADSLT: u32 = 57; -pub const EDEADLOCK: u32 = 35; -pub const EBFONT: u32 = 59; -pub const ENOSTR: u32 = 60; -pub const ENODATA: u32 = 61; -pub const ETIME: u32 = 62; -pub const ENOSR: u32 = 63; -pub const ENONET: u32 = 64; -pub const ENOPKG: u32 = 65; -pub const EREMOTE: u32 = 66; -pub const ENOLINK: u32 = 67; -pub const EADV: u32 = 68; -pub const ESRMNT: u32 = 69; -pub const ECOMM: u32 = 70; -pub const EPROTO: u32 = 71; -pub const EMULTIHOP: u32 = 72; -pub const EDOTDOT: u32 = 73; -pub const EBADMSG: u32 = 74; -pub const EOVERFLOW: u32 = 75; -pub const ENOTUNIQ: u32 = 76; -pub const EBADFD: u32 = 77; -pub const EREMCHG: u32 = 78; -pub const ELIBACC: u32 = 79; -pub const ELIBBAD: u32 = 80; -pub const ELIBSCN: u32 = 81; -pub const ELIBMAX: u32 = 82; -pub const ELIBEXEC: u32 = 83; -pub const EILSEQ: u32 = 84; -pub const ERESTART: u32 = 85; -pub const ESTRPIPE: u32 = 86; -pub const EUSERS: u32 = 87; -pub const ENOTSOCK: u32 = 88; -pub const EDESTADDRREQ: u32 = 89; -pub const EMSGSIZE: u32 = 90; -pub const EPROTOTYPE: u32 = 91; -pub const ENOPROTOOPT: u32 = 92; -pub const EPROTONOSUPPORT: u32 = 93; -pub const ESOCKTNOSUPPORT: u32 = 94; -pub const EOPNOTSUPP: u32 = 95; -pub const EPFNOSUPPORT: u32 = 96; -pub const EAFNOSUPPORT: u32 = 97; -pub const EADDRINUSE: u32 = 98; -pub const EADDRNOTAVAIL: u32 = 99; -pub const ENETDOWN: u32 = 100; -pub const ENETUNREACH: u32 = 101; -pub const ENETRESET: u32 = 102; -pub const ECONNABORTED: u32 = 103; -pub const ECONNRESET: u32 = 104; -pub const ENOBUFS: u32 = 105; -pub const EISCONN: u32 = 106; -pub const ENOTCONN: u32 = 107; -pub const ESHUTDOWN: u32 = 108; -pub const ETOOMANYREFS: u32 = 109; -pub const ETIMEDOUT: u32 = 110; -pub const ECONNREFUSED: u32 = 111; -pub const EHOSTDOWN: u32 = 112; -pub const EHOSTUNREACH: u32 = 113; -pub const EALREADY: u32 = 114; -pub const EINPROGRESS: u32 = 115; -pub const ESTALE: u32 = 116; -pub const EUCLEAN: u32 = 117; -pub const ENOTNAM: u32 = 118; -pub const ENAVAIL: u32 = 119; -pub const EISNAM: u32 = 120; -pub const EREMOTEIO: u32 = 121; -pub const EDQUOT: u32 = 122; -pub const ENOMEDIUM: u32 = 123; -pub const EMEDIUMTYPE: u32 = 124; -pub const ECANCELED: u32 = 125; -pub const ENOKEY: u32 = 126; -pub const EKEYEXPIRED: u32 = 127; -pub const EKEYREVOKED: u32 = 128; -pub const EKEYREJECTED: u32 = 129; -pub const EOWNERDEAD: u32 = 130; -pub const ENOTRECOVERABLE: u32 = 131; -pub const ERFKILL: u32 = 132; -pub const EHWPOISON: u32 = 133; -pub const ENOTSUP: u32 = 95; -pub const _LOCALE_H: u32 = 1; -pub const _BITS_LOCALE_H: u32 = 1; -pub const __LC_CTYPE: u32 = 0; -pub const __LC_NUMERIC: u32 = 1; -pub const __LC_TIME: u32 = 2; -pub const __LC_COLLATE: u32 = 3; -pub const __LC_MONETARY: u32 = 4; -pub const __LC_MESSAGES: u32 = 5; -pub const __LC_ALL: u32 = 6; -pub const __LC_PAPER: u32 = 7; -pub const __LC_NAME: u32 = 8; -pub const __LC_ADDRESS: u32 = 9; -pub const __LC_TELEPHONE: u32 = 10; -pub const __LC_MEASUREMENT: u32 = 11; -pub const __LC_IDENTIFICATION: u32 = 12; -pub const LC_CTYPE: u32 = 0; -pub const LC_NUMERIC: u32 = 1; -pub const LC_TIME: u32 = 2; -pub const LC_COLLATE: u32 = 3; -pub const LC_MONETARY: u32 = 4; -pub const LC_MESSAGES: u32 = 5; -pub const LC_ALL: u32 = 6; -pub const LC_PAPER: u32 = 7; -pub const LC_NAME: u32 = 8; -pub const LC_ADDRESS: u32 = 9; -pub const LC_TELEPHONE: u32 = 10; -pub const LC_MEASUREMENT: u32 = 11; -pub const LC_IDENTIFICATION: u32 = 12; -pub const LC_CTYPE_MASK: u32 = 1; -pub const LC_NUMERIC_MASK: u32 = 2; -pub const LC_TIME_MASK: u32 = 4; -pub const LC_COLLATE_MASK: u32 = 8; -pub const LC_MONETARY_MASK: u32 = 16; -pub const LC_MESSAGES_MASK: u32 = 32; -pub const LC_PAPER_MASK: u32 = 128; -pub const LC_NAME_MASK: u32 = 256; -pub const LC_ADDRESS_MASK: u32 = 512; -pub const LC_TELEPHONE_MASK: u32 = 1024; -pub const LC_MEASUREMENT_MASK: u32 = 2048; -pub const LC_IDENTIFICATION_MASK: u32 = 4096; -pub const LC_ALL_MASK: u32 = 8127; +pub const EAGAIN: u32 = 35; +pub const EWOULDBLOCK: u32 = 35; +pub const EINPROGRESS: u32 = 36; +pub const EALREADY: u32 = 37; +pub const ENOTSOCK: u32 = 38; +pub const EDESTADDRREQ: u32 = 39; +pub const EMSGSIZE: u32 = 40; +pub const EPROTOTYPE: u32 = 41; +pub const ENOPROTOOPT: u32 = 42; +pub const EPROTONOSUPPORT: u32 = 43; +pub const ESOCKTNOSUPPORT: u32 = 44; +pub const ENOTSUP: u32 = 45; +pub const EPFNOSUPPORT: u32 = 46; +pub const EAFNOSUPPORT: u32 = 47; +pub const EADDRINUSE: u32 = 48; +pub const EADDRNOTAVAIL: u32 = 49; +pub const ENETDOWN: u32 = 50; +pub const ENETUNREACH: u32 = 51; +pub const ENETRESET: u32 = 52; +pub const ECONNABORTED: u32 = 53; +pub const ECONNRESET: u32 = 54; +pub const ENOBUFS: u32 = 55; +pub const EISCONN: u32 = 56; +pub const ENOTCONN: u32 = 57; +pub const ESHUTDOWN: u32 = 58; +pub const ETOOMANYREFS: u32 = 59; +pub const ETIMEDOUT: u32 = 60; +pub const ECONNREFUSED: u32 = 61; +pub const ELOOP: u32 = 62; +pub const ENAMETOOLONG: u32 = 63; +pub const EHOSTDOWN: u32 = 64; +pub const EHOSTUNREACH: u32 = 65; +pub const ENOTEMPTY: u32 = 66; +pub const EPROCLIM: u32 = 67; +pub const EUSERS: u32 = 68; +pub const EDQUOT: u32 = 69; +pub const ESTALE: u32 = 70; +pub const EREMOTE: u32 = 71; +pub const EBADRPC: u32 = 72; +pub const ERPCMISMATCH: u32 = 73; +pub const EPROGUNAVAIL: u32 = 74; +pub const EPROGMISMATCH: u32 = 75; +pub const EPROCUNAVAIL: u32 = 76; +pub const ENOLCK: u32 = 77; +pub const ENOSYS: u32 = 78; +pub const EFTYPE: u32 = 79; +pub const EAUTH: u32 = 80; +pub const ENEEDAUTH: u32 = 81; +pub const EPWROFF: u32 = 82; +pub const EDEVERR: u32 = 83; +pub const EOVERFLOW: u32 = 84; +pub const EBADEXEC: u32 = 85; +pub const EBADARCH: u32 = 86; +pub const ESHLIBVERS: u32 = 87; +pub const EBADMACHO: u32 = 88; +pub const ECANCELED: u32 = 89; +pub const EIDRM: u32 = 90; +pub const ENOMSG: u32 = 91; +pub const EILSEQ: u32 = 92; +pub const ENOATTR: u32 = 93; +pub const EBADMSG: u32 = 94; +pub const EMULTIHOP: u32 = 95; +pub const ENODATA: u32 = 96; +pub const ENOLINK: u32 = 97; +pub const ENOSR: u32 = 98; +pub const ENOSTR: u32 = 99; +pub const EPROTO: u32 = 100; +pub const ETIME: u32 = 101; +pub const EOPNOTSUPP: u32 = 102; +pub const ENOPOLICY: u32 = 103; +pub const ENOTRECOVERABLE: u32 = 104; +pub const EOWNERDEAD: u32 = 105; +pub const EQFULL: u32 = 106; +pub const ELAST: u32 = 106; +pub const LC_ALL: u32 = 0; +pub const LC_COLLATE: u32 = 1; +pub const LC_CTYPE: u32 = 2; +pub const LC_MONETARY: u32 = 3; +pub const LC_NUMERIC: u32 = 4; +pub const LC_TIME: u32 = 5; +pub const LC_MESSAGES: u32 = 6; +pub const _LC_LAST: u32 = 7; pub const HAVE_PG_ATTRIBUTE_NORETURN: u32 = 1; pub const true_: u32 = 1; pub const false_: u32 = 0; @@ -766,358 +1050,375 @@ pub const PG_BINARY: u32 = 0; pub const PG_BINARY_A: &[u8; 2usize] = b"a\0"; pub const PG_BINARY_R: &[u8; 2usize] = b"r\0"; pub const PG_BINARY_W: &[u8; 2usize] = b"w\0"; -pub const _CTYPE_H: u32 = 1; -pub const _NETDB_H: u32 = 1; -pub const _NETINET_IN_H: u32 = 1; -pub const _SYS_SOCKET_H: u32 = 1; -pub const __iovec_defined: u32 = 1; +pub const _CACHED_RUNES: u32 = 256; +pub const _CRMASK: i32 = -256; +pub const _RUNE_MAGIC_A: &[u8; 9usize] = b"RuneMagA\0"; +pub const _CTYPE_A: u32 = 256; +pub const _CTYPE_C: u32 = 512; +pub const _CTYPE_D: u32 = 1024; +pub const _CTYPE_G: u32 = 2048; +pub const _CTYPE_L: u32 = 4096; +pub const _CTYPE_P: u32 = 8192; +pub const _CTYPE_S: u32 = 16384; +pub const _CTYPE_U: u32 = 32768; +pub const _CTYPE_X: u32 = 65536; +pub const _CTYPE_B: u32 = 131072; +pub const _CTYPE_R: u32 = 262144; +pub const _CTYPE_I: u32 = 524288; +pub const _CTYPE_T: u32 = 1048576; +pub const _CTYPE_Q: u32 = 2097152; +pub const _CTYPE_SW0: u32 = 536870912; +pub const _CTYPE_SW1: u32 = 1073741824; +pub const _CTYPE_SW2: u32 = 2147483648; +pub const _CTYPE_SW3: u32 = 3221225472; +pub const _CTYPE_SWM: u32 = 3758096384; +pub const _CTYPE_SWS: u32 = 30; +pub const KEV_INET_SUBCLASS: u32 = 1; +pub const KEV_INET_NEW_ADDR: u32 = 1; +pub const KEV_INET_CHANGED_ADDR: u32 = 2; +pub const KEV_INET_ADDR_DELETED: u32 = 3; +pub const KEV_INET_SIFDSTADDR: u32 = 4; +pub const KEV_INET_SIFBRDADDR: u32 = 5; +pub const KEV_INET_SIFNETMASK: u32 = 6; +pub const KEV_INET_ARPCOLLISION: u32 = 7; +pub const KEV_INET_PORTINUSE: u32 = 8; +pub const KEV_INET_ARPRTRFAILURE: u32 = 9; +pub const KEV_INET_ARPRTRALIVE: u32 = 10; +pub const KEV_DL_SUBCLASS: u32 = 2; +pub const KEV_DL_SIFFLAGS: u32 = 1; +pub const KEV_DL_SIFMETRICS: u32 = 2; +pub const KEV_DL_SIFMTU: u32 = 3; +pub const KEV_DL_SIFPHYS: u32 = 4; +pub const KEV_DL_SIFMEDIA: u32 = 5; +pub const KEV_DL_SIFGENERIC: u32 = 6; +pub const KEV_DL_ADDMULTI: u32 = 7; +pub const KEV_DL_DELMULTI: u32 = 8; +pub const KEV_DL_IF_ATTACHED: u32 = 9; +pub const KEV_DL_IF_DETACHING: u32 = 10; +pub const KEV_DL_IF_DETACHED: u32 = 11; +pub const KEV_DL_LINK_OFF: u32 = 12; +pub const KEV_DL_LINK_ON: u32 = 13; +pub const KEV_DL_PROTO_ATTACHED: u32 = 14; +pub const KEV_DL_PROTO_DETACHED: u32 = 15; +pub const KEV_DL_LINK_ADDRESS_CHANGED: u32 = 16; +pub const KEV_DL_WAKEFLAGS_CHANGED: u32 = 17; +pub const KEV_DL_IF_IDLE_ROUTE_REFCNT: u32 = 18; +pub const KEV_DL_IFCAP_CHANGED: u32 = 19; +pub const KEV_DL_LINK_QUALITY_METRIC_CHANGED: u32 = 20; +pub const KEV_DL_NODE_PRESENCE: u32 = 21; +pub const KEV_DL_NODE_ABSENCE: u32 = 22; +pub const KEV_DL_PRIMARY_ELECTED: u32 = 23; +pub const KEV_DL_ISSUES: u32 = 24; +pub const KEV_DL_IFDELEGATE_CHANGED: u32 = 25; +pub const KEV_DL_AWDL_RESTRICTED: u32 = 26; +pub const KEV_DL_AWDL_UNRESTRICTED: u32 = 27; +pub const KEV_DL_RRC_STATE_CHANGED: u32 = 28; +pub const KEV_DL_QOS_MODE_CHANGED: u32 = 29; +pub const KEV_DL_LOW_POWER_MODE_CHANGED: u32 = 30; +pub const KEV_INET6_SUBCLASS: u32 = 6; +pub const KEV_INET6_NEW_USER_ADDR: u32 = 1; +pub const KEV_INET6_CHANGED_ADDR: u32 = 2; +pub const KEV_INET6_ADDR_DELETED: u32 = 3; +pub const KEV_INET6_NEW_LL_ADDR: u32 = 4; +pub const KEV_INET6_NEW_RTADV_ADDR: u32 = 5; +pub const KEV_INET6_DEFROUTER: u32 = 6; +pub const KEV_INET6_REQUEST_NAT64_PREFIX: u32 = 7; +pub const SOCK_STREAM: u32 = 1; +pub const SOCK_DGRAM: u32 = 2; +pub const SOCK_RAW: u32 = 3; +pub const SOCK_RDM: u32 = 4; +pub const SOCK_SEQPACKET: u32 = 5; +pub const SO_DEBUG: u32 = 1; +pub const SO_ACCEPTCONN: u32 = 2; +pub const SO_REUSEADDR: u32 = 4; +pub const SO_KEEPALIVE: u32 = 8; +pub const SO_DONTROUTE: u32 = 16; +pub const SO_BROADCAST: u32 = 32; +pub const SO_USELOOPBACK: u32 = 64; +pub const SO_LINGER: u32 = 128; +pub const SO_OOBINLINE: u32 = 256; +pub const SO_REUSEPORT: u32 = 512; +pub const SO_TIMESTAMP: u32 = 1024; +pub const SO_TIMESTAMP_MONOTONIC: u32 = 2048; +pub const SO_DONTTRUNC: u32 = 8192; +pub const SO_WANTMORE: u32 = 16384; +pub const SO_WANTOOBFLAG: u32 = 32768; +pub const SO_SNDBUF: u32 = 4097; +pub const SO_RCVBUF: u32 = 4098; +pub const SO_SNDLOWAT: u32 = 4099; +pub const SO_RCVLOWAT: u32 = 4100; +pub const SO_SNDTIMEO: u32 = 4101; +pub const SO_RCVTIMEO: u32 = 4102; +pub const SO_ERROR: u32 = 4103; +pub const SO_TYPE: u32 = 4104; +pub const SO_LABEL: u32 = 4112; +pub const SO_PEERLABEL: u32 = 4113; +pub const SO_NREAD: u32 = 4128; +pub const SO_NKE: u32 = 4129; +pub const SO_NOSIGPIPE: u32 = 4130; +pub const SO_NOADDRERR: u32 = 4131; +pub const SO_NWRITE: u32 = 4132; +pub const SO_REUSESHAREUID: u32 = 4133; +pub const SO_NOTIFYCONFLICT: u32 = 4134; +pub const SO_UPCALLCLOSEWAIT: u32 = 4135; +pub const SO_LINGER_SEC: u32 = 4224; +pub const SO_RANDOMPORT: u32 = 4226; +pub const SO_NP_EXTENSIONS: u32 = 4227; +pub const SO_NUMRCVPKT: u32 = 4370; +pub const SO_NET_SERVICE_TYPE: u32 = 4374; +pub const SO_NETSVC_MARKING_LEVEL: u32 = 4377; +pub const NET_SERVICE_TYPE_BE: u32 = 0; +pub const NET_SERVICE_TYPE_BK: u32 = 1; +pub const NET_SERVICE_TYPE_SIG: u32 = 2; +pub const NET_SERVICE_TYPE_VI: u32 = 3; +pub const NET_SERVICE_TYPE_VO: u32 = 4; +pub const NET_SERVICE_TYPE_RV: u32 = 5; +pub const NET_SERVICE_TYPE_AV: u32 = 6; +pub const NET_SERVICE_TYPE_OAM: u32 = 7; +pub const NET_SERVICE_TYPE_RD: u32 = 8; +pub const NETSVC_MRKNG_UNKNOWN: u32 = 0; +pub const NETSVC_MRKNG_LVL_L2: u32 = 1; +pub const NETSVC_MRKNG_LVL_L3L2_ALL: u32 = 2; +pub const NETSVC_MRKNG_LVL_L3L2_BK: u32 = 3; +pub const SAE_ASSOCID_ANY: u32 = 0; +pub const SAE_CONNID_ANY: u32 = 0; +pub const CONNECT_RESUME_ON_READ_WRITE: u32 = 1; +pub const CONNECT_DATA_IDEMPOTENT: u32 = 2; +pub const CONNECT_DATA_AUTHENTICATED: u32 = 4; +pub const SONPX_SETOPTSHUT: u32 = 1; +pub const SOL_SOCKET: u32 = 65535; +pub const AF_UNSPEC: u32 = 0; +pub const AF_UNIX: u32 = 1; +pub const AF_LOCAL: u32 = 1; +pub const AF_INET: u32 = 2; +pub const AF_IMPLINK: u32 = 3; +pub const AF_PUP: u32 = 4; +pub const AF_CHAOS: u32 = 5; +pub const AF_NS: u32 = 6; +pub const AF_ISO: u32 = 7; +pub const AF_OSI: u32 = 7; +pub const AF_ECMA: u32 = 8; +pub const AF_DATAKIT: u32 = 9; +pub const AF_CCITT: u32 = 10; +pub const AF_SNA: u32 = 11; +pub const AF_DECnet: u32 = 12; +pub const AF_DLI: u32 = 13; +pub const AF_LAT: u32 = 14; +pub const AF_HYLINK: u32 = 15; +pub const AF_APPLETALK: u32 = 16; +pub const AF_ROUTE: u32 = 17; +pub const AF_LINK: u32 = 18; +pub const pseudo_AF_XTP: u32 = 19; +pub const AF_COIP: u32 = 20; +pub const AF_CNT: u32 = 21; +pub const pseudo_AF_RTIP: u32 = 22; +pub const AF_IPX: u32 = 23; +pub const AF_SIP: u32 = 24; +pub const pseudo_AF_PIP: u32 = 25; +pub const AF_NDRV: u32 = 27; +pub const AF_ISDN: u32 = 28; +pub const AF_E164: u32 = 28; +pub const pseudo_AF_KEY: u32 = 29; +pub const AF_INET6: u32 = 30; +pub const AF_NATM: u32 = 31; +pub const AF_SYSTEM: u32 = 32; +pub const AF_NETBIOS: u32 = 33; +pub const AF_PPP: u32 = 34; +pub const pseudo_AF_HDRCMPLT: u32 = 35; +pub const AF_RESERVED_36: u32 = 36; +pub const AF_IEEE80211: u32 = 37; +pub const AF_UTUN: u32 = 38; +pub const AF_VSOCK: u32 = 40; +pub const AF_MAX: u32 = 41; +pub const SOCK_MAXADDRLEN: u32 = 255; +pub const _SS_MAXSIZE: u32 = 128; pub const PF_UNSPEC: u32 = 0; pub const PF_LOCAL: u32 = 1; pub const PF_UNIX: u32 = 1; -pub const PF_FILE: u32 = 1; pub const PF_INET: u32 = 2; -pub const PF_AX25: u32 = 3; -pub const PF_IPX: u32 = 4; -pub const PF_APPLETALK: u32 = 5; -pub const PF_NETROM: u32 = 6; -pub const PF_BRIDGE: u32 = 7; -pub const PF_ATMPVC: u32 = 8; -pub const PF_X25: u32 = 9; -pub const PF_INET6: u32 = 10; -pub const PF_ROSE: u32 = 11; +pub const PF_IMPLINK: u32 = 3; +pub const PF_PUP: u32 = 4; +pub const PF_CHAOS: u32 = 5; +pub const PF_NS: u32 = 6; +pub const PF_ISO: u32 = 7; +pub const PF_OSI: u32 = 7; +pub const PF_ECMA: u32 = 8; +pub const PF_DATAKIT: u32 = 9; +pub const PF_CCITT: u32 = 10; +pub const PF_SNA: u32 = 11; pub const PF_DECnet: u32 = 12; -pub const PF_NETBEUI: u32 = 13; -pub const PF_SECURITY: u32 = 14; -pub const PF_KEY: u32 = 15; -pub const PF_NETLINK: u32 = 16; -pub const PF_ROUTE: u32 = 16; -pub const PF_PACKET: u32 = 17; -pub const PF_ASH: u32 = 18; -pub const PF_ECONET: u32 = 19; -pub const PF_ATMSVC: u32 = 20; -pub const PF_RDS: u32 = 21; -pub const PF_SNA: u32 = 22; -pub const PF_IRDA: u32 = 23; -pub const PF_PPPOX: u32 = 24; -pub const PF_WANPIPE: u32 = 25; -pub const PF_LLC: u32 = 26; -pub const PF_IB: u32 = 27; -pub const PF_MPLS: u32 = 28; -pub const PF_CAN: u32 = 29; -pub const PF_TIPC: u32 = 30; -pub const PF_BLUETOOTH: u32 = 31; -pub const PF_IUCV: u32 = 32; -pub const PF_RXRPC: u32 = 33; -pub const PF_ISDN: u32 = 34; -pub const PF_PHONET: u32 = 35; -pub const PF_IEEE802154: u32 = 36; -pub const PF_CAIF: u32 = 37; -pub const PF_ALG: u32 = 38; -pub const PF_NFC: u32 = 39; +pub const PF_DLI: u32 = 13; +pub const PF_LAT: u32 = 14; +pub const PF_HYLINK: u32 = 15; +pub const PF_APPLETALK: u32 = 16; +pub const PF_ROUTE: u32 = 17; +pub const PF_LINK: u32 = 18; +pub const PF_XTP: u32 = 19; +pub const PF_COIP: u32 = 20; +pub const PF_CNT: u32 = 21; +pub const PF_SIP: u32 = 24; +pub const PF_IPX: u32 = 23; +pub const PF_RTIP: u32 = 22; +pub const PF_PIP: u32 = 25; +pub const PF_NDRV: u32 = 27; +pub const PF_ISDN: u32 = 28; +pub const PF_KEY: u32 = 29; +pub const PF_INET6: u32 = 30; +pub const PF_NATM: u32 = 31; +pub const PF_SYSTEM: u32 = 32; +pub const PF_NETBIOS: u32 = 33; +pub const PF_PPP: u32 = 34; +pub const PF_RESERVED_36: u32 = 36; +pub const PF_UTUN: u32 = 38; pub const PF_VSOCK: u32 = 40; -pub const PF_KCM: u32 = 41; -pub const PF_QIPCRTR: u32 = 42; -pub const PF_SMC: u32 = 43; -pub const PF_XDP: u32 = 44; -pub const PF_MAX: u32 = 45; -pub const AF_UNSPEC: u32 = 0; -pub const AF_LOCAL: u32 = 1; -pub const AF_UNIX: u32 = 1; -pub const AF_FILE: u32 = 1; -pub const AF_INET: u32 = 2; -pub const AF_AX25: u32 = 3; -pub const AF_IPX: u32 = 4; -pub const AF_APPLETALK: u32 = 5; -pub const AF_NETROM: u32 = 6; -pub const AF_BRIDGE: u32 = 7; -pub const AF_ATMPVC: u32 = 8; -pub const AF_X25: u32 = 9; -pub const AF_INET6: u32 = 10; -pub const AF_ROSE: u32 = 11; -pub const AF_DECnet: u32 = 12; -pub const AF_NETBEUI: u32 = 13; -pub const AF_SECURITY: u32 = 14; -pub const AF_KEY: u32 = 15; -pub const AF_NETLINK: u32 = 16; -pub const AF_ROUTE: u32 = 16; -pub const AF_PACKET: u32 = 17; -pub const AF_ASH: u32 = 18; -pub const AF_ECONET: u32 = 19; -pub const AF_ATMSVC: u32 = 20; -pub const AF_RDS: u32 = 21; -pub const AF_SNA: u32 = 22; -pub const AF_IRDA: u32 = 23; -pub const AF_PPPOX: u32 = 24; -pub const AF_WANPIPE: u32 = 25; -pub const AF_LLC: u32 = 26; -pub const AF_IB: u32 = 27; -pub const AF_MPLS: u32 = 28; -pub const AF_CAN: u32 = 29; -pub const AF_TIPC: u32 = 30; -pub const AF_BLUETOOTH: u32 = 31; -pub const AF_IUCV: u32 = 32; -pub const AF_RXRPC: u32 = 33; -pub const AF_ISDN: u32 = 34; -pub const AF_PHONET: u32 = 35; -pub const AF_IEEE802154: u32 = 36; -pub const AF_CAIF: u32 = 37; -pub const AF_ALG: u32 = 38; -pub const AF_NFC: u32 = 39; -pub const AF_VSOCK: u32 = 40; -pub const AF_KCM: u32 = 41; -pub const AF_QIPCRTR: u32 = 42; -pub const AF_SMC: u32 = 43; -pub const AF_XDP: u32 = 44; -pub const AF_MAX: u32 = 45; -pub const SOL_RAW: u32 = 255; -pub const SOL_DECNET: u32 = 261; -pub const SOL_X25: u32 = 262; -pub const SOL_PACKET: u32 = 263; -pub const SOL_ATM: u32 = 264; -pub const SOL_AAL: u32 = 265; -pub const SOL_IRDA: u32 = 266; -pub const SOL_NETBEUI: u32 = 267; -pub const SOL_LLC: u32 = 268; -pub const SOL_DCCP: u32 = 269; -pub const SOL_NETLINK: u32 = 270; -pub const SOL_TIPC: u32 = 271; -pub const SOL_RXRPC: u32 = 272; -pub const SOL_PPPOL2TP: u32 = 273; -pub const SOL_BLUETOOTH: u32 = 274; -pub const SOL_PNPIPE: u32 = 275; -pub const SOL_RDS: u32 = 276; -pub const SOL_IUCV: u32 = 277; -pub const SOL_CAIF: u32 = 278; -pub const SOL_ALG: u32 = 279; -pub const SOL_NFC: u32 = 280; -pub const SOL_KCM: u32 = 281; -pub const SOL_TLS: u32 = 282; -pub const SOL_XDP: u32 = 283; -pub const SOMAXCONN: u32 = 4096; -pub const _BITS_SOCKADDR_H: u32 = 1; -pub const _SS_SIZE: u32 = 128; -pub const __BITS_PER_LONG: u32 = 64; -pub const FIOSETOWN: u32 = 35073; -pub const SIOCSPGRP: u32 = 35074; -pub const FIOGETOWN: u32 = 35075; -pub const SIOCGPGRP: u32 = 35076; -pub const SIOCATMARK: u32 = 35077; -pub const SIOCGSTAMP_OLD: u32 = 35078; -pub const SIOCGSTAMPNS_OLD: u32 = 35079; -pub const SOL_SOCKET: u32 = 1; -pub const SO_DEBUG: u32 = 1; -pub const SO_REUSEADDR: u32 = 2; -pub const SO_TYPE: u32 = 3; -pub const SO_ERROR: u32 = 4; -pub const SO_DONTROUTE: u32 = 5; -pub const SO_BROADCAST: u32 = 6; -pub const SO_SNDBUF: u32 = 7; -pub const SO_RCVBUF: u32 = 8; -pub const SO_SNDBUFFORCE: u32 = 32; -pub const SO_RCVBUFFORCE: u32 = 33; -pub const SO_KEEPALIVE: u32 = 9; -pub const SO_OOBINLINE: u32 = 10; -pub const SO_NO_CHECK: u32 = 11; -pub const SO_PRIORITY: u32 = 12; -pub const SO_LINGER: u32 = 13; -pub const SO_BSDCOMPAT: u32 = 14; -pub const SO_REUSEPORT: u32 = 15; -pub const SO_PASSCRED: u32 = 16; -pub const SO_PEERCRED: u32 = 17; -pub const SO_RCVLOWAT: u32 = 18; -pub const SO_SNDLOWAT: u32 = 19; -pub const SO_RCVTIMEO_OLD: u32 = 20; -pub const SO_SNDTIMEO_OLD: u32 = 21; -pub const SO_SECURITY_AUTHENTICATION: u32 = 22; -pub const SO_SECURITY_ENCRYPTION_TRANSPORT: u32 = 23; -pub const SO_SECURITY_ENCRYPTION_NETWORK: u32 = 24; -pub const SO_BINDTODEVICE: u32 = 25; -pub const SO_ATTACH_FILTER: u32 = 26; -pub const SO_DETACH_FILTER: u32 = 27; -pub const SO_GET_FILTER: u32 = 26; -pub const SO_PEERNAME: u32 = 28; -pub const SO_ACCEPTCONN: u32 = 30; -pub const SO_PEERSEC: u32 = 31; -pub const SO_PASSSEC: u32 = 34; -pub const SO_MARK: u32 = 36; -pub const SO_PROTOCOL: u32 = 38; -pub const SO_DOMAIN: u32 = 39; -pub const SO_RXQ_OVFL: u32 = 40; -pub const SO_WIFI_STATUS: u32 = 41; -pub const SCM_WIFI_STATUS: u32 = 41; -pub const SO_PEEK_OFF: u32 = 42; -pub const SO_NOFCS: u32 = 43; -pub const SO_LOCK_FILTER: u32 = 44; -pub const SO_SELECT_ERR_QUEUE: u32 = 45; -pub const SO_BUSY_POLL: u32 = 46; -pub const SO_MAX_PACING_RATE: u32 = 47; -pub const SO_BPF_EXTENSIONS: u32 = 48; -pub const SO_INCOMING_CPU: u32 = 49; -pub const SO_ATTACH_BPF: u32 = 50; -pub const SO_DETACH_BPF: u32 = 27; -pub const SO_ATTACH_REUSEPORT_CBPF: u32 = 51; -pub const SO_ATTACH_REUSEPORT_EBPF: u32 = 52; -pub const SO_CNX_ADVICE: u32 = 53; -pub const SCM_TIMESTAMPING_OPT_STATS: u32 = 54; -pub const SO_MEMINFO: u32 = 55; -pub const SO_INCOMING_NAPI_ID: u32 = 56; -pub const SO_COOKIE: u32 = 57; -pub const SCM_TIMESTAMPING_PKTINFO: u32 = 58; -pub const SO_PEERGROUPS: u32 = 59; -pub const SO_ZEROCOPY: u32 = 60; -pub const SO_TXTIME: u32 = 61; -pub const SCM_TXTIME: u32 = 61; -pub const SO_BINDTOIFINDEX: u32 = 62; -pub const SO_TIMESTAMP_OLD: u32 = 29; -pub const SO_TIMESTAMPNS_OLD: u32 = 35; -pub const SO_TIMESTAMPING_OLD: u32 = 37; -pub const SO_TIMESTAMP_NEW: u32 = 63; -pub const SO_TIMESTAMPNS_NEW: u32 = 64; -pub const SO_TIMESTAMPING_NEW: u32 = 65; -pub const SO_RCVTIMEO_NEW: u32 = 66; -pub const SO_SNDTIMEO_NEW: u32 = 67; -pub const SO_DETACH_REUSEPORT_BPF: u32 = 68; -pub const SO_PREFER_BUSY_POLL: u32 = 69; -pub const SO_BUSY_POLL_BUDGET: u32 = 70; -pub const SO_NETNS_COOKIE: u32 = 71; -pub const SO_TIMESTAMP: u32 = 29; -pub const SO_TIMESTAMPNS: u32 = 35; -pub const SO_TIMESTAMPING: u32 = 37; -pub const SO_RCVTIMEO: u32 = 20; -pub const SO_SNDTIMEO: u32 = 21; -pub const SCM_TIMESTAMP: u32 = 29; -pub const SCM_TIMESTAMPNS: u32 = 35; -pub const SCM_TIMESTAMPING: u32 = 37; -pub const __osockaddr_defined: u32 = 1; -pub const __USE_KERNEL_IPV6_DEFS: u32 = 0; -pub const IP_OPTIONS: u32 = 4; -pub const IP_HDRINCL: u32 = 3; -pub const IP_TOS: u32 = 1; -pub const IP_TTL: u32 = 2; -pub const IP_RECVOPTS: u32 = 6; -pub const IP_RETOPTS: u32 = 7; -pub const IP_MULTICAST_IF: u32 = 32; -pub const IP_MULTICAST_TTL: u32 = 33; -pub const IP_MULTICAST_LOOP: u32 = 34; -pub const IP_ADD_MEMBERSHIP: u32 = 35; -pub const IP_DROP_MEMBERSHIP: u32 = 36; -pub const IP_UNBLOCK_SOURCE: u32 = 37; -pub const IP_BLOCK_SOURCE: u32 = 38; -pub const IP_ADD_SOURCE_MEMBERSHIP: u32 = 39; -pub const IP_DROP_SOURCE_MEMBERSHIP: u32 = 40; -pub const IP_MSFILTER: u32 = 41; -pub const MCAST_JOIN_GROUP: u32 = 42; -pub const MCAST_BLOCK_SOURCE: u32 = 43; -pub const MCAST_UNBLOCK_SOURCE: u32 = 44; -pub const MCAST_LEAVE_GROUP: u32 = 45; -pub const MCAST_JOIN_SOURCE_GROUP: u32 = 46; -pub const MCAST_LEAVE_SOURCE_GROUP: u32 = 47; -pub const MCAST_MSFILTER: u32 = 48; -pub const IP_MULTICAST_ALL: u32 = 49; -pub const IP_UNICAST_IF: u32 = 50; -pub const MCAST_EXCLUDE: u32 = 0; -pub const MCAST_INCLUDE: u32 = 1; -pub const IP_ROUTER_ALERT: u32 = 5; -pub const IP_PKTINFO: u32 = 8; -pub const IP_PKTOPTIONS: u32 = 9; -pub const IP_PMTUDISC: u32 = 10; -pub const IP_MTU_DISCOVER: u32 = 10; -pub const IP_RECVERR: u32 = 11; -pub const IP_RECVTTL: u32 = 12; -pub const IP_RECVTOS: u32 = 13; -pub const IP_MTU: u32 = 14; -pub const IP_FREEBIND: u32 = 15; -pub const IP_IPSEC_POLICY: u32 = 16; -pub const IP_XFRM_POLICY: u32 = 17; -pub const IP_PASSSEC: u32 = 18; -pub const IP_TRANSPARENT: u32 = 19; -pub const IP_ORIGDSTADDR: u32 = 20; -pub const IP_RECVORIGDSTADDR: u32 = 20; -pub const IP_MINTTL: u32 = 21; -pub const IP_NODEFRAG: u32 = 22; -pub const IP_CHECKSUM: u32 = 23; -pub const IP_BIND_ADDRESS_NO_PORT: u32 = 24; -pub const IP_RECVFRAGSIZE: u32 = 25; -pub const IP_RECVERR_RFC4884: u32 = 26; -pub const IP_PMTUDISC_DONT: u32 = 0; -pub const IP_PMTUDISC_WANT: u32 = 1; -pub const IP_PMTUDISC_DO: u32 = 2; -pub const IP_PMTUDISC_PROBE: u32 = 3; -pub const IP_PMTUDISC_INTERFACE: u32 = 4; -pub const IP_PMTUDISC_OMIT: u32 = 5; -pub const SOL_IP: u32 = 0; -pub const IP_DEFAULT_MULTICAST_TTL: u32 = 1; -pub const IP_DEFAULT_MULTICAST_LOOP: u32 = 1; -pub const IP_MAX_MEMBERSHIPS: u32 = 20; -pub const IPV6_ADDRFORM: u32 = 1; -pub const IPV6_2292PKTINFO: u32 = 2; -pub const IPV6_2292HOPOPTS: u32 = 3; -pub const IPV6_2292DSTOPTS: u32 = 4; -pub const IPV6_2292RTHDR: u32 = 5; -pub const IPV6_2292PKTOPTIONS: u32 = 6; -pub const IPV6_CHECKSUM: u32 = 7; -pub const IPV6_2292HOPLIMIT: u32 = 8; -pub const IPV6_NEXTHOP: u32 = 9; -pub const IPV6_AUTHHDR: u32 = 10; -pub const IPV6_UNICAST_HOPS: u32 = 16; -pub const IPV6_MULTICAST_IF: u32 = 17; -pub const IPV6_MULTICAST_HOPS: u32 = 18; -pub const IPV6_MULTICAST_LOOP: u32 = 19; -pub const IPV6_JOIN_GROUP: u32 = 20; -pub const IPV6_LEAVE_GROUP: u32 = 21; -pub const IPV6_ROUTER_ALERT: u32 = 22; -pub const IPV6_MTU_DISCOVER: u32 = 23; -pub const IPV6_MTU: u32 = 24; -pub const IPV6_RECVERR: u32 = 25; -pub const IPV6_V6ONLY: u32 = 26; -pub const IPV6_JOIN_ANYCAST: u32 = 27; -pub const IPV6_LEAVE_ANYCAST: u32 = 28; -pub const IPV6_MULTICAST_ALL: u32 = 29; -pub const IPV6_ROUTER_ALERT_ISOLATE: u32 = 30; -pub const IPV6_RECVERR_RFC4884: u32 = 31; -pub const IPV6_IPSEC_POLICY: u32 = 34; -pub const IPV6_XFRM_POLICY: u32 = 35; -pub const IPV6_HDRINCL: u32 = 36; -pub const IPV6_RECVPKTINFO: u32 = 49; -pub const IPV6_PKTINFO: u32 = 50; -pub const IPV6_RECVHOPLIMIT: u32 = 51; -pub const IPV6_HOPLIMIT: u32 = 52; -pub const IPV6_RECVHOPOPTS: u32 = 53; -pub const IPV6_HOPOPTS: u32 = 54; -pub const IPV6_RTHDRDSTOPTS: u32 = 55; -pub const IPV6_RECVRTHDR: u32 = 56; -pub const IPV6_RTHDR: u32 = 57; -pub const IPV6_RECVDSTOPTS: u32 = 58; -pub const IPV6_DSTOPTS: u32 = 59; -pub const IPV6_RECVPATHMTU: u32 = 60; -pub const IPV6_PATHMTU: u32 = 61; -pub const IPV6_DONTFRAG: u32 = 62; -pub const IPV6_RECVTCLASS: u32 = 66; -pub const IPV6_TCLASS: u32 = 67; -pub const IPV6_AUTOFLOWLABEL: u32 = 70; -pub const IPV6_ADDR_PREFERENCES: u32 = 72; -pub const IPV6_MINHOPCOUNT: u32 = 73; -pub const IPV6_ORIGDSTADDR: u32 = 74; -pub const IPV6_RECVORIGDSTADDR: u32 = 74; -pub const IPV6_TRANSPARENT: u32 = 75; -pub const IPV6_UNICAST_IF: u32 = 76; -pub const IPV6_RECVFRAGSIZE: u32 = 77; -pub const IPV6_FREEBIND: u32 = 78; -pub const IPV6_ADD_MEMBERSHIP: u32 = 20; -pub const IPV6_DROP_MEMBERSHIP: u32 = 21; -pub const IPV6_RXHOPOPTS: u32 = 54; -pub const IPV6_RXDSTOPTS: u32 = 59; -pub const IPV6_PMTUDISC_DONT: u32 = 0; -pub const IPV6_PMTUDISC_WANT: u32 = 1; -pub const IPV6_PMTUDISC_DO: u32 = 2; -pub const IPV6_PMTUDISC_PROBE: u32 = 3; -pub const IPV6_PMTUDISC_INTERFACE: u32 = 4; -pub const IPV6_PMTUDISC_OMIT: u32 = 5; -pub const SOL_IPV6: u32 = 41; -pub const SOL_ICMPV6: u32 = 58; -pub const IPV6_RTHDR_LOOSE: u32 = 0; -pub const IPV6_RTHDR_STRICT: u32 = 1; -pub const IPV6_RTHDR_TYPE_0: u32 = 0; +pub const PF_MAX: u32 = 41; +pub const NET_MAXID: u32 = 41; +pub const NET_RT_DUMP: u32 = 1; +pub const NET_RT_FLAGS: u32 = 2; +pub const NET_RT_IFLIST: u32 = 3; +pub const NET_RT_STAT: u32 = 4; +pub const NET_RT_TRASH: u32 = 5; +pub const NET_RT_IFLIST2: u32 = 6; +pub const NET_RT_DUMP2: u32 = 7; +pub const NET_RT_FLAGS_PRIV: u32 = 10; +pub const NET_RT_MAXID: u32 = 11; +pub const SOMAXCONN: u32 = 128; +pub const MSG_OOB: u32 = 1; +pub const MSG_PEEK: u32 = 2; +pub const MSG_DONTROUTE: u32 = 4; +pub const MSG_EOR: u32 = 8; +pub const MSG_TRUNC: u32 = 16; +pub const MSG_CTRUNC: u32 = 32; +pub const MSG_WAITALL: u32 = 64; +pub const MSG_DONTWAIT: u32 = 128; +pub const MSG_EOF: u32 = 256; +pub const MSG_WAITSTREAM: u32 = 512; +pub const MSG_FLUSH: u32 = 1024; +pub const MSG_HOLD: u32 = 2048; +pub const MSG_SEND: u32 = 4096; +pub const MSG_HAVEMORE: u32 = 8192; +pub const MSG_RCVMORE: u32 = 16384; +pub const MSG_NEEDSA: u32 = 65536; +pub const MSG_NOSIGNAL: u32 = 524288; +pub const SCM_RIGHTS: u32 = 1; +pub const SCM_TIMESTAMP: u32 = 2; +pub const SCM_CREDS: u32 = 3; +pub const SCM_TIMESTAMP_MONOTONIC: u32 = 4; +pub const SHUT_RD: u32 = 0; +pub const SHUT_WR: u32 = 1; +pub const SHUT_RDWR: u32 = 2; +pub const IPPROTO_IP: u32 = 0; +pub const IPPROTO_HOPOPTS: u32 = 0; +pub const IPPROTO_ICMP: u32 = 1; +pub const IPPROTO_IGMP: u32 = 2; +pub const IPPROTO_GGP: u32 = 3; +pub const IPPROTO_IPV4: u32 = 4; +pub const IPPROTO_IPIP: u32 = 4; +pub const IPPROTO_TCP: u32 = 6; +pub const IPPROTO_ST: u32 = 7; +pub const IPPROTO_EGP: u32 = 8; +pub const IPPROTO_PIGP: u32 = 9; +pub const IPPROTO_RCCMON: u32 = 10; +pub const IPPROTO_NVPII: u32 = 11; +pub const IPPROTO_PUP: u32 = 12; +pub const IPPROTO_ARGUS: u32 = 13; +pub const IPPROTO_EMCON: u32 = 14; +pub const IPPROTO_XNET: u32 = 15; +pub const IPPROTO_CHAOS: u32 = 16; +pub const IPPROTO_UDP: u32 = 17; +pub const IPPROTO_MUX: u32 = 18; +pub const IPPROTO_MEAS: u32 = 19; +pub const IPPROTO_HMP: u32 = 20; +pub const IPPROTO_PRM: u32 = 21; +pub const IPPROTO_IDP: u32 = 22; +pub const IPPROTO_TRUNK1: u32 = 23; +pub const IPPROTO_TRUNK2: u32 = 24; +pub const IPPROTO_LEAF1: u32 = 25; +pub const IPPROTO_LEAF2: u32 = 26; +pub const IPPROTO_RDP: u32 = 27; +pub const IPPROTO_IRTP: u32 = 28; +pub const IPPROTO_TP: u32 = 29; +pub const IPPROTO_BLT: u32 = 30; +pub const IPPROTO_NSP: u32 = 31; +pub const IPPROTO_INP: u32 = 32; +pub const IPPROTO_SEP: u32 = 33; +pub const IPPROTO_3PC: u32 = 34; +pub const IPPROTO_IDPR: u32 = 35; +pub const IPPROTO_XTP: u32 = 36; +pub const IPPROTO_DDP: u32 = 37; +pub const IPPROTO_CMTP: u32 = 38; +pub const IPPROTO_TPXX: u32 = 39; +pub const IPPROTO_IL: u32 = 40; +pub const IPPROTO_IPV6: u32 = 41; +pub const IPPROTO_SDRP: u32 = 42; +pub const IPPROTO_ROUTING: u32 = 43; +pub const IPPROTO_FRAGMENT: u32 = 44; +pub const IPPROTO_IDRP: u32 = 45; +pub const IPPROTO_RSVP: u32 = 46; +pub const IPPROTO_GRE: u32 = 47; +pub const IPPROTO_MHRP: u32 = 48; +pub const IPPROTO_BHA: u32 = 49; +pub const IPPROTO_ESP: u32 = 50; +pub const IPPROTO_AH: u32 = 51; +pub const IPPROTO_INLSP: u32 = 52; +pub const IPPROTO_SWIPE: u32 = 53; +pub const IPPROTO_NHRP: u32 = 54; +pub const IPPROTO_ICMPV6: u32 = 58; +pub const IPPROTO_NONE: u32 = 59; +pub const IPPROTO_DSTOPTS: u32 = 60; +pub const IPPROTO_AHIP: u32 = 61; +pub const IPPROTO_CFTP: u32 = 62; +pub const IPPROTO_HELLO: u32 = 63; +pub const IPPROTO_SATEXPAK: u32 = 64; +pub const IPPROTO_KRYPTOLAN: u32 = 65; +pub const IPPROTO_RVD: u32 = 66; +pub const IPPROTO_IPPC: u32 = 67; +pub const IPPROTO_ADFS: u32 = 68; +pub const IPPROTO_SATMON: u32 = 69; +pub const IPPROTO_VISA: u32 = 70; +pub const IPPROTO_IPCV: u32 = 71; +pub const IPPROTO_CPNX: u32 = 72; +pub const IPPROTO_CPHB: u32 = 73; +pub const IPPROTO_WSN: u32 = 74; +pub const IPPROTO_PVP: u32 = 75; +pub const IPPROTO_BRSATMON: u32 = 76; +pub const IPPROTO_ND: u32 = 77; +pub const IPPROTO_WBMON: u32 = 78; +pub const IPPROTO_WBEXPAK: u32 = 79; +pub const IPPROTO_EON: u32 = 80; +pub const IPPROTO_VMTP: u32 = 81; +pub const IPPROTO_SVMTP: u32 = 82; +pub const IPPROTO_VINES: u32 = 83; +pub const IPPROTO_TTP: u32 = 84; +pub const IPPROTO_IGP: u32 = 85; +pub const IPPROTO_DGP: u32 = 86; +pub const IPPROTO_TCF: u32 = 87; +pub const IPPROTO_IGRP: u32 = 88; +pub const IPPROTO_OSPFIGP: u32 = 89; +pub const IPPROTO_SRPC: u32 = 90; +pub const IPPROTO_LARP: u32 = 91; +pub const IPPROTO_MTP: u32 = 92; +pub const IPPROTO_AX25: u32 = 93; +pub const IPPROTO_IPEIP: u32 = 94; +pub const IPPROTO_MICP: u32 = 95; +pub const IPPROTO_SCCSP: u32 = 96; +pub const IPPROTO_ETHERIP: u32 = 97; +pub const IPPROTO_ENCAP: u32 = 98; +pub const IPPROTO_APES: u32 = 99; +pub const IPPROTO_GMTP: u32 = 100; +pub const IPPROTO_PIM: u32 = 103; +pub const IPPROTO_IPCOMP: u32 = 108; +pub const IPPROTO_PGM: u32 = 113; +pub const IPPROTO_SCTP: u32 = 132; +pub const IPPROTO_DIVERT: u32 = 254; +pub const IPPROTO_RAW: u32 = 255; +pub const IPPROTO_MAX: u32 = 256; +pub const IPPROTO_DONE: u32 = 257; +pub const __DARWIN_IPPORT_RESERVED: u32 = 1024; +pub const IPPORT_USERRESERVED: u32 = 5000; +pub const IPPORT_HIFIRSTAUTO: u32 = 49152; +pub const IPPORT_HILASTAUTO: u32 = 65535; +pub const IPPORT_RESERVEDSTART: u32 = 600; pub const IN_CLASSA_NET: u32 = 4278190080; pub const IN_CLASSA_NSHIFT: u32 = 24; pub const IN_CLASSA_HOST: u32 = 16777215; @@ -1129,66 +1430,283 @@ pub const IN_CLASSB_MAX: u32 = 65536; pub const IN_CLASSC_NET: u32 = 4294967040; pub const IN_CLASSC_NSHIFT: u32 = 8; pub const IN_CLASSC_HOST: u32 = 255; +pub const IN_CLASSD_NET: u32 = 4026531840; +pub const IN_CLASSD_NSHIFT: u32 = 28; +pub const IN_CLASSD_HOST: u32 = 268435455; +pub const INADDR_NONE: u32 = 4294967295; pub const IN_LOOPBACKNET: u32 = 127; pub const INET_ADDRSTRLEN: u32 = 16; +pub const IP_OPTIONS: u32 = 1; +pub const IP_HDRINCL: u32 = 2; +pub const IP_TOS: u32 = 3; +pub const IP_TTL: u32 = 4; +pub const IP_RECVOPTS: u32 = 5; +pub const IP_RECVRETOPTS: u32 = 6; +pub const IP_RECVDSTADDR: u32 = 7; +pub const IP_RETOPTS: u32 = 8; +pub const IP_MULTICAST_IF: u32 = 9; +pub const IP_MULTICAST_TTL: u32 = 10; +pub const IP_MULTICAST_LOOP: u32 = 11; +pub const IP_ADD_MEMBERSHIP: u32 = 12; +pub const IP_DROP_MEMBERSHIP: u32 = 13; +pub const IP_MULTICAST_VIF: u32 = 14; +pub const IP_RSVP_ON: u32 = 15; +pub const IP_RSVP_OFF: u32 = 16; +pub const IP_RSVP_VIF_ON: u32 = 17; +pub const IP_RSVP_VIF_OFF: u32 = 18; +pub const IP_PORTRANGE: u32 = 19; +pub const IP_RECVIF: u32 = 20; +pub const IP_IPSEC_POLICY: u32 = 21; +pub const IP_FAITH: u32 = 22; +pub const IP_STRIPHDR: u32 = 23; +pub const IP_RECVTTL: u32 = 24; +pub const IP_BOUND_IF: u32 = 25; +pub const IP_PKTINFO: u32 = 26; +pub const IP_RECVPKTINFO: u32 = 26; +pub const IP_RECVTOS: u32 = 27; +pub const IP_DONTFRAG: u32 = 28; +pub const IP_FW_ADD: u32 = 40; +pub const IP_FW_DEL: u32 = 41; +pub const IP_FW_FLUSH: u32 = 42; +pub const IP_FW_ZERO: u32 = 43; +pub const IP_FW_GET: u32 = 44; +pub const IP_FW_RESETLOG: u32 = 45; +pub const IP_OLD_FW_ADD: u32 = 50; +pub const IP_OLD_FW_DEL: u32 = 51; +pub const IP_OLD_FW_FLUSH: u32 = 52; +pub const IP_OLD_FW_ZERO: u32 = 53; +pub const IP_OLD_FW_GET: u32 = 54; +pub const IP_NAT__XXX: u32 = 55; +pub const IP_OLD_FW_RESETLOG: u32 = 56; +pub const IP_DUMMYNET_CONFIGURE: u32 = 60; +pub const IP_DUMMYNET_DEL: u32 = 61; +pub const IP_DUMMYNET_FLUSH: u32 = 62; +pub const IP_DUMMYNET_GET: u32 = 64; +pub const IP_TRAFFIC_MGT_BACKGROUND: u32 = 65; +pub const IP_MULTICAST_IFINDEX: u32 = 66; +pub const IP_ADD_SOURCE_MEMBERSHIP: u32 = 70; +pub const IP_DROP_SOURCE_MEMBERSHIP: u32 = 71; +pub const IP_BLOCK_SOURCE: u32 = 72; +pub const IP_UNBLOCK_SOURCE: u32 = 73; +pub const IP_MSFILTER: u32 = 74; +pub const MCAST_JOIN_GROUP: u32 = 80; +pub const MCAST_LEAVE_GROUP: u32 = 81; +pub const MCAST_JOIN_SOURCE_GROUP: u32 = 82; +pub const MCAST_LEAVE_SOURCE_GROUP: u32 = 83; +pub const MCAST_BLOCK_SOURCE: u32 = 84; +pub const MCAST_UNBLOCK_SOURCE: u32 = 85; +pub const IP_DEFAULT_MULTICAST_TTL: u32 = 1; +pub const IP_DEFAULT_MULTICAST_LOOP: u32 = 1; +pub const IP_MIN_MEMBERSHIPS: u32 = 31; +pub const IP_MAX_MEMBERSHIPS: u32 = 4095; +pub const IP_MAX_GROUP_SRC_FILTER: u32 = 512; +pub const IP_MAX_SOCK_SRC_FILTER: u32 = 128; +pub const IP_MAX_SOCK_MUTE_FILTER: u32 = 128; +pub const MCAST_UNDEFINED: u32 = 0; +pub const MCAST_INCLUDE: u32 = 1; +pub const MCAST_EXCLUDE: u32 = 2; +pub const IP_PORTRANGE_DEFAULT: u32 = 0; +pub const IP_PORTRANGE_HIGH: u32 = 1; +pub const IP_PORTRANGE_LOW: u32 = 2; +pub const IPPROTO_MAXID: u32 = 52; +pub const IPCTL_FORWARDING: u32 = 1; +pub const IPCTL_SENDREDIRECTS: u32 = 2; +pub const IPCTL_DEFTTL: u32 = 3; +pub const IPCTL_RTEXPIRE: u32 = 5; +pub const IPCTL_RTMINEXPIRE: u32 = 6; +pub const IPCTL_RTMAXCACHE: u32 = 7; +pub const IPCTL_SOURCEROUTE: u32 = 8; +pub const IPCTL_DIRECTEDBROADCAST: u32 = 9; +pub const IPCTL_INTRQMAXLEN: u32 = 10; +pub const IPCTL_INTRQDROPS: u32 = 11; +pub const IPCTL_STATS: u32 = 12; +pub const IPCTL_ACCEPTSOURCEROUTE: u32 = 13; +pub const IPCTL_FASTFORWARDING: u32 = 14; +pub const IPCTL_KEEPFAITH: u32 = 15; +pub const IPCTL_GIF_TTL: u32 = 16; +pub const IPCTL_MAXID: u32 = 17; +pub const __KAME_VERSION: &[u8; 18usize] = b"2009/apple-darwin\0"; +pub const IPV6PORT_RESERVED: u32 = 1024; +pub const IPV6PORT_ANONMIN: u32 = 49152; +pub const IPV6PORT_ANONMAX: u32 = 65535; +pub const IPV6PORT_RESERVEDMIN: u32 = 600; +pub const IPV6PORT_RESERVEDMAX: u32 = 1023; pub const INET6_ADDRSTRLEN: u32 = 46; -pub const _RPC_NETDB_H: u32 = 1; +pub const __IPV6_ADDR_SCOPE_NODELOCAL: u32 = 1; +pub const __IPV6_ADDR_SCOPE_INTFACELOCAL: u32 = 1; +pub const __IPV6_ADDR_SCOPE_LINKLOCAL: u32 = 2; +pub const __IPV6_ADDR_SCOPE_SITELOCAL: u32 = 5; +pub const __IPV6_ADDR_SCOPE_ORGLOCAL: u32 = 8; +pub const __IPV6_ADDR_SCOPE_GLOBAL: u32 = 14; +pub const IPV6_ADDR_MC_FLAGS_TRANSIENT: u32 = 16; +pub const IPV6_ADDR_MC_FLAGS_PREFIX: u32 = 32; +pub const IPV6_ADDR_MC_FLAGS_UNICAST_BASED: u32 = 48; +pub const IPV6_SOCKOPT_RESERVED1: u32 = 3; +pub const IPV6_UNICAST_HOPS: u32 = 4; +pub const IPV6_MULTICAST_IF: u32 = 9; +pub const IPV6_MULTICAST_HOPS: u32 = 10; +pub const IPV6_MULTICAST_LOOP: u32 = 11; +pub const IPV6_JOIN_GROUP: u32 = 12; +pub const IPV6_LEAVE_GROUP: u32 = 13; +pub const IPV6_PORTRANGE: u32 = 14; +pub const ICMP6_FILTER: u32 = 18; +pub const IPV6_2292PKTINFO: u32 = 19; +pub const IPV6_2292HOPLIMIT: u32 = 20; +pub const IPV6_2292NEXTHOP: u32 = 21; +pub const IPV6_2292HOPOPTS: u32 = 22; +pub const IPV6_2292DSTOPTS: u32 = 23; +pub const IPV6_2292RTHDR: u32 = 24; +pub const IPV6_2292PKTOPTIONS: u32 = 25; +pub const IPV6_CHECKSUM: u32 = 26; +pub const IPV6_V6ONLY: u32 = 27; +pub const IPV6_BINDV6ONLY: u32 = 27; +pub const IPV6_IPSEC_POLICY: u32 = 28; +pub const IPV6_FAITH: u32 = 29; +pub const IPV6_FW_ADD: u32 = 30; +pub const IPV6_FW_DEL: u32 = 31; +pub const IPV6_FW_FLUSH: u32 = 32; +pub const IPV6_FW_ZERO: u32 = 33; +pub const IPV6_FW_GET: u32 = 34; +pub const IPV6_RECVTCLASS: u32 = 35; +pub const IPV6_TCLASS: u32 = 36; +pub const IPV6_BOUND_IF: u32 = 125; +pub const IPV6_RTHDR_LOOSE: u32 = 0; +pub const IPV6_RTHDR_STRICT: u32 = 1; +pub const IPV6_RTHDR_TYPE_0: u32 = 0; +pub const IPV6_DEFAULT_MULTICAST_HOPS: u32 = 1; +pub const IPV6_DEFAULT_MULTICAST_LOOP: u32 = 1; +pub const IPV6_MIN_MEMBERSHIPS: u32 = 31; +pub const IPV6_MAX_MEMBERSHIPS: u32 = 4095; +pub const IPV6_MAX_GROUP_SRC_FILTER: u32 = 512; +pub const IPV6_MAX_SOCK_SRC_FILTER: u32 = 128; +pub const IPV6_PORTRANGE_DEFAULT: u32 = 0; +pub const IPV6_PORTRANGE_HIGH: u32 = 1; +pub const IPV6_PORTRANGE_LOW: u32 = 2; +pub const IPV6PROTO_MAXID: u32 = 104; +pub const IPV6CTL_FORWARDING: u32 = 1; +pub const IPV6CTL_SENDREDIRECTS: u32 = 2; +pub const IPV6CTL_DEFHLIM: u32 = 3; +pub const IPV6CTL_FORWSRCRT: u32 = 5; +pub const IPV6CTL_STATS: u32 = 6; +pub const IPV6CTL_MRTSTATS: u32 = 7; +pub const IPV6CTL_MRTPROTO: u32 = 8; +pub const IPV6CTL_MAXFRAGPACKETS: u32 = 9; +pub const IPV6CTL_SOURCECHECK: u32 = 10; +pub const IPV6CTL_SOURCECHECK_LOGINT: u32 = 11; +pub const IPV6CTL_ACCEPT_RTADV: u32 = 12; +pub const IPV6CTL_KEEPFAITH: u32 = 13; +pub const IPV6CTL_LOG_INTERVAL: u32 = 14; +pub const IPV6CTL_HDRNESTLIMIT: u32 = 15; +pub const IPV6CTL_DAD_COUNT: u32 = 16; +pub const IPV6CTL_AUTO_FLOWLABEL: u32 = 17; +pub const IPV6CTL_DEFMCASTHLIM: u32 = 18; +pub const IPV6CTL_GIF_HLIM: u32 = 19; +pub const IPV6CTL_KAME_VERSION: u32 = 20; +pub const IPV6CTL_USE_DEPRECATED: u32 = 21; +pub const IPV6CTL_RR_PRUNE: u32 = 22; +pub const IPV6CTL_V6ONLY: u32 = 24; +pub const IPV6CTL_RTEXPIRE: u32 = 25; +pub const IPV6CTL_RTMINEXPIRE: u32 = 26; +pub const IPV6CTL_RTMAXCACHE: u32 = 27; +pub const IPV6CTL_USETEMPADDR: u32 = 32; +pub const IPV6CTL_TEMPPLTIME: u32 = 33; +pub const IPV6CTL_TEMPVLTIME: u32 = 34; +pub const IPV6CTL_AUTO_LINKLOCAL: u32 = 35; +pub const IPV6CTL_RIP6STATS: u32 = 36; +pub const IPV6CTL_PREFER_TEMPADDR: u32 = 37; +pub const IPV6CTL_ADDRCTLPOLICY: u32 = 38; +pub const IPV6CTL_USE_DEFAULTZONE: u32 = 39; +pub const IPV6CTL_MAXFRAGS: u32 = 41; +pub const IPV6CTL_MCAST_PMTU: u32 = 44; +pub const IPV6CTL_NEIGHBORGCTHRESH: u32 = 46; +pub const IPV6CTL_MAXIFPREFIXES: u32 = 47; +pub const IPV6CTL_MAXIFDEFROUTERS: u32 = 48; +pub const IPV6CTL_MAXDYNROUTES: u32 = 49; +pub const ICMPV6CTL_ND6_ONLINKNSRFC4861: u32 = 50; +pub const IPV6CTL_ULA_USETEMPADDR: u32 = 51; +pub const IPV6CTL_MAXID: u32 = 51; pub const _PATH_HEQUIV: &[u8; 17usize] = b"/etc/hosts.equiv\0"; pub const _PATH_HOSTS: &[u8; 11usize] = b"/etc/hosts\0"; pub const _PATH_NETWORKS: &[u8; 14usize] = b"/etc/networks\0"; -pub const _PATH_NSSWITCH_CONF: &[u8; 19usize] = b"/etc/nsswitch.conf\0"; pub const _PATH_PROTOCOLS: &[u8; 15usize] = b"/etc/protocols\0"; pub const _PATH_SERVICES: &[u8; 14usize] = b"/etc/services\0"; +pub const NETDB_INTERNAL: i32 = -1; +pub const NETDB_SUCCESS: u32 = 0; pub const HOST_NOT_FOUND: u32 = 1; pub const TRY_AGAIN: u32 = 2; pub const NO_RECOVERY: u32 = 3; pub const NO_DATA: u32 = 4; -pub const NETDB_INTERNAL: i32 = -1; -pub const NETDB_SUCCESS: u32 = 0; pub const NO_ADDRESS: u32 = 4; +pub const EAI_ADDRFAMILY: u32 = 1; +pub const EAI_AGAIN: u32 = 2; +pub const EAI_BADFLAGS: u32 = 3; +pub const EAI_FAIL: u32 = 4; +pub const EAI_FAMILY: u32 = 5; +pub const EAI_MEMORY: u32 = 6; +pub const EAI_NODATA: u32 = 7; +pub const EAI_NONAME: u32 = 8; +pub const EAI_SERVICE: u32 = 9; +pub const EAI_SOCKTYPE: u32 = 10; +pub const EAI_SYSTEM: u32 = 11; +pub const EAI_BADHINTS: u32 = 12; +pub const EAI_PROTOCOL: u32 = 13; +pub const EAI_OVERFLOW: u32 = 14; +pub const EAI_MAX: u32 = 15; pub const AI_PASSIVE: u32 = 1; pub const AI_CANONNAME: u32 = 2; pub const AI_NUMERICHOST: u32 = 4; -pub const AI_V4MAPPED: u32 = 8; -pub const AI_ALL: u32 = 16; -pub const AI_ADDRCONFIG: u32 = 32; -pub const AI_NUMERICSERV: u32 = 1024; -pub const EAI_BADFLAGS: i32 = -1; -pub const EAI_NONAME: i32 = -2; -pub const EAI_AGAIN: i32 = -3; -pub const EAI_FAIL: i32 = -4; -pub const EAI_FAMILY: i32 = -6; -pub const EAI_SOCKTYPE: i32 = -7; -pub const EAI_SERVICE: i32 = -8; -pub const EAI_MEMORY: i32 = -10; -pub const EAI_SYSTEM: i32 = -11; -pub const EAI_OVERFLOW: i32 = -12; +pub const AI_NUMERICSERV: u32 = 4096; +pub const AI_ALL: u32 = 256; +pub const AI_V4MAPPED_CFG: u32 = 512; +pub const AI_ADDRCONFIG: u32 = 1024; +pub const AI_V4MAPPED: u32 = 2048; +pub const AI_DEFAULT: u32 = 1536; +pub const AI_UNUSABLE: u32 = 268435456; pub const NI_MAXHOST: u32 = 1025; pub const NI_MAXSERV: u32 = 32; -pub const NI_NUMERICHOST: u32 = 1; -pub const NI_NUMERICSERV: u32 = 2; -pub const NI_NOFQDN: u32 = 4; -pub const NI_NAMEREQD: u32 = 8; +pub const NI_NOFQDN: u32 = 1; +pub const NI_NUMERICHOST: u32 = 2; +pub const NI_NAMEREQD: u32 = 4; +pub const NI_NUMERICSERV: u32 = 8; +pub const NI_NUMERICSCOPE: u32 = 256; pub const NI_DGRAM: u32 = 16; -pub const _PWD_H: u32 = 1; -pub const NSS_BUFLEN_PASSWD: u32 = 1024; +pub const NI_WITHSCOPEID: u32 = 32; +pub const SCOPE_DELIMITER: u8 = 37u8; +pub const _PATH_PWD: &[u8; 5usize] = b"/etc\0"; +pub const _PATH_PASSWD: &[u8; 12usize] = b"/etc/passwd\0"; +pub const _PASSWD: &[u8; 7usize] = b"passwd\0"; +pub const _PATH_MASTERPASSWD: &[u8; 19usize] = b"/etc/master.passwd\0"; +pub const _PATH_MASTERPASSWD_LOCK: &[u8; 10usize] = b"/etc/ptmp\0"; +pub const _MASTERPASSWD: &[u8; 14usize] = b"master.passwd\0"; +pub const _PATH_MP_DB: &[u8; 12usize] = b"/etc/pwd.db\0"; +pub const _MP_DB: &[u8; 7usize] = b"pwd.db\0"; +pub const _PATH_SMP_DB: &[u8; 13usize] = b"/etc/spwd.db\0"; +pub const _SMP_DB: &[u8; 8usize] = b"spwd.db\0"; +pub const _PATH_PWD_MKDB: &[u8; 19usize] = b"/usr/sbin/pwd_mkdb\0"; +pub const _PW_KEYBYNAME: u8 = 49u8; +pub const _PW_KEYBYNUM: u8 = 50u8; +pub const _PW_KEYBYUID: u8 = 51u8; +pub const _PASSWORD_EFMT1: u8 = 95u8; +pub const _PASSWORD_LEN: u32 = 128; +pub const _PASSWORD_NOUID: u32 = 1; +pub const _PASSWORD_NOGID: u32 = 2; +pub const _PASSWORD_NOCHG: u32 = 4; +pub const _PASSWORD_NOEXP: u32 = 8; +pub const _PASSWORD_WARNDAYS: u32 = 14; +pub const _PASSWORD_CHGNOW: i32 = -1; pub const PGINVALID_SOCKET: i32 = -1; -pub const PG_BACKEND_VERSIONSTR: &[u8; 29usize] = b"postgres (PostgreSQL) 11.15\n\0"; +pub const PG_BACKEND_VERSIONSTR: &[u8; 29usize] = b"postgres (PostgreSQL) 11.14\n\0"; pub const EXE: &[u8; 1usize] = b"\0"; pub const DEVNULL: &[u8; 10usize] = b"/dev/null\0"; pub const PG_IOLBF: u32 = 1; -pub const _MATH_H: u32 = 1; -pub const _BITS_LIBM_SIMD_DECL_STUBS_H: u32 = 1; -pub const __FP_LOGB0_IS_MIN: u32 = 1; -pub const __FP_LOGBNAN_IS_MIN: u32 = 1; +pub const FP_SUPERNORMAL: u32 = 6; +pub const FP_FAST_FMA: u32 = 1; +pub const FP_FAST_FMAF: u32 = 1; +pub const FP_FAST_FMAL: u32 = 1; pub const FP_ILOGB0: i32 = -2147483648; pub const FP_ILOGBNAN: i32 = -2147483648; -pub const __MATH_DECLARING_DOUBLE: u32 = 1; -pub const __MATH_DECLARING_FLOATN: u32 = 0; -pub const __MATH_DECLARE_LDOUBLE: u32 = 1; pub const MATH_ERRNO: u32 = 1; pub const MATH_ERREXCEPT: u32 = 2; -pub const math_errhandling: u32 = 3; pub const M_E: f64 = 2.718281828459045; pub const M_LOG2E: f64 = 1.4426950408889634; pub const M_LOG10E: f64 = 0.4342944819032518; @@ -1202,9 +1720,13 @@ pub const M_2_PI: f64 = 0.6366197723675814; pub const M_2_SQRTPI: f64 = 1.1283791670955126; pub const M_SQRT2: f64 = 1.4142135623730951; pub const M_SQRT1_2: f64 = 0.7071067811865476; -pub const _SETJMP_H: u32 = 1; -pub const _BITS_SETJMP_H: u32 = 1; -pub const __jmp_buf_tag_defined: u32 = 1; +pub const DOMAIN: u32 = 1; +pub const SING: u32 = 2; +pub const OVERFLOW: u32 = 3; +pub const UNDERFLOW: u32 = 4; +pub const TLOSS: u32 = 5; +pub const PLOSS: u32 = 6; +pub const _JBLEN: u32 = 48; pub const DEBUG5: u32 = 10; pub const DEBUG4: u32 = 11; pub const DEBUG3: u32 = 12; @@ -1322,84 +1844,121 @@ pub const LP_DEAD: u32 = 3; pub const OffsetNumberMask: u32 = 65535; pub const SpecTokenOffsetNumber: u32 = 65534; pub const MovedPartitionsOffsetNumber: u32 = 65533; -pub const _LIBC_LIMITS_H_: u32 = 1; -pub const MB_LEN_MAX: u32 = 16; -pub const _BITS_POSIX1_LIM_H: u32 = 1; -pub const _POSIX_AIO_LISTIO_MAX: u32 = 2; -pub const _POSIX_AIO_MAX: u32 = 1; +pub const __DARWIN_CLK_TCK: u32 = 100; +pub const CHAR_BIT: u32 = 8; +pub const MB_LEN_MAX: u32 = 6; +pub const CLK_TCK: u32 = 100; +pub const SCHAR_MAX: u32 = 127; +pub const SCHAR_MIN: i32 = -128; +pub const UCHAR_MAX: u32 = 255; +pub const CHAR_MAX: u32 = 127; +pub const CHAR_MIN: i32 = -128; +pub const USHRT_MAX: u32 = 65535; +pub const SHRT_MAX: u32 = 32767; +pub const SHRT_MIN: i32 = -32768; +pub const UINT_MAX: u32 = 4294967295; +pub const INT_MAX: u32 = 2147483647; +pub const INT_MIN: i32 = -2147483648; +pub const ULONG_MAX: i32 = -1; +pub const LONG_MAX: u64 = 9223372036854775807; +pub const LONG_MIN: i64 = -9223372036854775808; +pub const ULLONG_MAX: i32 = -1; +pub const LLONG_MAX: u64 = 9223372036854775807; +pub const LLONG_MIN: i64 = -9223372036854775808; +pub const LONG_BIT: u32 = 64; +pub const SSIZE_MAX: u64 = 9223372036854775807; +pub const WORD_BIT: u32 = 32; +pub const SIZE_T_MAX: i32 = -1; +pub const UQUAD_MAX: i32 = -1; +pub const QUAD_MAX: u64 = 9223372036854775807; +pub const QUAD_MIN: i64 = -9223372036854775808; +pub const ARG_MAX: u32 = 1048576; +pub const CHILD_MAX: u32 = 266; +pub const GID_MAX: u32 = 2147483647; +pub const LINK_MAX: u32 = 32767; +pub const MAX_CANON: u32 = 1024; +pub const MAX_INPUT: u32 = 1024; +pub const NAME_MAX: u32 = 255; +pub const NGROUPS_MAX: u32 = 16; +pub const UID_MAX: u32 = 2147483647; +pub const OPEN_MAX: u32 = 10240; +pub const PATH_MAX: u32 = 1024; +pub const PIPE_BUF: u32 = 512; +pub const BC_BASE_MAX: u32 = 99; +pub const BC_DIM_MAX: u32 = 2048; +pub const BC_SCALE_MAX: u32 = 99; +pub const BC_STRING_MAX: u32 = 1000; +pub const CHARCLASS_NAME_MAX: u32 = 14; +pub const COLL_WEIGHTS_MAX: u32 = 2; +pub const EQUIV_CLASS_MAX: u32 = 2; +pub const EXPR_NEST_MAX: u32 = 32; +pub const LINE_MAX: u32 = 2048; +pub const RE_DUP_MAX: u32 = 255; +pub const NZERO: u32 = 20; pub const _POSIX_ARG_MAX: u32 = 4096; pub const _POSIX_CHILD_MAX: u32 = 25; -pub const _POSIX_DELAYTIMER_MAX: u32 = 32; -pub const _POSIX_HOST_NAME_MAX: u32 = 255; pub const _POSIX_LINK_MAX: u32 = 8; -pub const _POSIX_LOGIN_NAME_MAX: u32 = 9; pub const _POSIX_MAX_CANON: u32 = 255; pub const _POSIX_MAX_INPUT: u32 = 255; -pub const _POSIX_MQ_OPEN_MAX: u32 = 8; -pub const _POSIX_MQ_PRIO_MAX: u32 = 32; pub const _POSIX_NAME_MAX: u32 = 14; pub const _POSIX_NGROUPS_MAX: u32 = 8; pub const _POSIX_OPEN_MAX: u32 = 20; pub const _POSIX_PATH_MAX: u32 = 256; pub const _POSIX_PIPE_BUF: u32 = 512; -pub const _POSIX_RE_DUP_MAX: u32 = 255; -pub const _POSIX_RTSIG_MAX: u32 = 8; -pub const _POSIX_SEM_NSEMS_MAX: u32 = 256; -pub const _POSIX_SEM_VALUE_MAX: u32 = 32767; -pub const _POSIX_SIGQUEUE_MAX: u32 = 32; pub const _POSIX_SSIZE_MAX: u32 = 32767; pub const _POSIX_STREAM_MAX: u32 = 8; -pub const _POSIX_SYMLINK_MAX: u32 = 255; -pub const _POSIX_SYMLOOP_MAX: u32 = 8; -pub const _POSIX_TIMER_MAX: u32 = 32; -pub const _POSIX_TTY_NAME_MAX: u32 = 9; pub const _POSIX_TZNAME_MAX: u32 = 6; -pub const _POSIX_CLOCKRES_MIN: u32 = 20000000; -pub const NR_OPEN: u32 = 1024; -pub const NGROUPS_MAX: u32 = 65536; -pub const ARG_MAX: u32 = 131072; -pub const LINK_MAX: u32 = 127; -pub const MAX_CANON: u32 = 255; -pub const MAX_INPUT: u32 = 255; -pub const NAME_MAX: u32 = 255; -pub const PATH_MAX: u32 = 4096; -pub const PIPE_BUF: u32 = 4096; -pub const XATTR_NAME_MAX: u32 = 255; -pub const XATTR_SIZE_MAX: u32 = 65536; -pub const XATTR_LIST_MAX: u32 = 65536; -pub const RTSIG_MAX: u32 = 32; -pub const _POSIX_THREAD_KEYS_MAX: u32 = 128; -pub const PTHREAD_KEYS_MAX: u32 = 1024; -pub const _POSIX_THREAD_DESTRUCTOR_ITERATIONS: u32 = 4; -pub const PTHREAD_DESTRUCTOR_ITERATIONS: u32 = 4; -pub const _POSIX_THREAD_THREADS_MAX: u32 = 64; -pub const AIO_PRIO_DELTA_MAX: u32 = 20; -pub const PTHREAD_STACK_MIN: u32 = 16384; -pub const DELAYTIMER_MAX: u32 = 2147483647; -pub const TTY_NAME_MAX: u32 = 32; -pub const LOGIN_NAME_MAX: u32 = 256; -pub const HOST_NAME_MAX: u32 = 64; -pub const MQ_PRIO_MAX: u32 = 32768; -pub const SEM_VALUE_MAX: u32 = 2147483647; -pub const _BITS_POSIX2_LIM_H: u32 = 1; pub const _POSIX2_BC_BASE_MAX: u32 = 99; pub const _POSIX2_BC_DIM_MAX: u32 = 2048; pub const _POSIX2_BC_SCALE_MAX: u32 = 99; pub const _POSIX2_BC_STRING_MAX: u32 = 1000; -pub const _POSIX2_COLL_WEIGHTS_MAX: u32 = 2; +pub const _POSIX2_EQUIV_CLASS_MAX: u32 = 2; pub const _POSIX2_EXPR_NEST_MAX: u32 = 32; pub const _POSIX2_LINE_MAX: u32 = 2048; pub const _POSIX2_RE_DUP_MAX: u32 = 255; +pub const _POSIX_AIO_LISTIO_MAX: u32 = 2; +pub const _POSIX_AIO_MAX: u32 = 1; +pub const _POSIX_DELAYTIMER_MAX: u32 = 32; +pub const _POSIX_MQ_OPEN_MAX: u32 = 8; +pub const _POSIX_MQ_PRIO_MAX: u32 = 32; +pub const _POSIX_RTSIG_MAX: u32 = 8; +pub const _POSIX_SEM_NSEMS_MAX: u32 = 256; +pub const _POSIX_SEM_VALUE_MAX: u32 = 32767; +pub const _POSIX_SIGQUEUE_MAX: u32 = 32; +pub const _POSIX_TIMER_MAX: u32 = 32; +pub const _POSIX_CLOCKRES_MIN: u32 = 20000000; +pub const _POSIX_THREAD_DESTRUCTOR_ITERATIONS: u32 = 4; +pub const _POSIX_THREAD_KEYS_MAX: u32 = 128; +pub const _POSIX_THREAD_THREADS_MAX: u32 = 64; +pub const PTHREAD_DESTRUCTOR_ITERATIONS: u32 = 4; +pub const PTHREAD_KEYS_MAX: u32 = 512; +pub const PTHREAD_STACK_MIN: u32 = 16384; +pub const _POSIX_HOST_NAME_MAX: u32 = 255; +pub const _POSIX_LOGIN_NAME_MAX: u32 = 9; +pub const _POSIX_SS_REPL_MAX: u32 = 4; +pub const _POSIX_SYMLINK_MAX: u32 = 255; +pub const _POSIX_SYMLOOP_MAX: u32 = 8; +pub const _POSIX_TRACE_EVENT_NAME_MAX: u32 = 30; +pub const _POSIX_TRACE_NAME_MAX: u32 = 8; +pub const _POSIX_TRACE_SYS_MAX: u32 = 8; +pub const _POSIX_TRACE_USER_EVENT_MAX: u32 = 32; +pub const _POSIX_TTY_NAME_MAX: u32 = 9; pub const _POSIX2_CHARCLASS_NAME_MAX: u32 = 14; -pub const BC_BASE_MAX: u32 = 99; -pub const BC_DIM_MAX: u32 = 2048; -pub const BC_SCALE_MAX: u32 = 99; -pub const BC_STRING_MAX: u32 = 1000; -pub const COLL_WEIGHTS_MAX: u32 = 255; -pub const EXPR_NEST_MAX: u32 = 32; -pub const LINE_MAX: u32 = 2048; -pub const CHARCLASS_NAME_MAX: u32 = 2048; -pub const RE_DUP_MAX: u32 = 32767; +pub const _POSIX2_COLL_WEIGHTS_MAX: u32 = 2; +pub const _POSIX_RE_DUP_MAX: u32 = 255; +pub const OFF_MIN: i64 = -9223372036854775808; +pub const OFF_MAX: u64 = 9223372036854775807; +pub const PASS_MAX: u32 = 128; +pub const NL_ARGMAX: u32 = 9; +pub const NL_LANGMAX: u32 = 14; +pub const NL_MSGMAX: u32 = 32767; +pub const NL_NMAX: u32 = 1; +pub const NL_SETMAX: u32 = 255; +pub const NL_TEXTMAX: u32 = 2048; +pub const _XOPEN_IOV_MAX: u32 = 16; +pub const IOV_MAX: u32 = 1024; +pub const _XOPEN_NAME_MAX: u32 = 255; +pub const _XOPEN_PATH_MAX: u32 = 1024; pub const DSM_IMPL_NONE: u32 = 0; pub const DSM_IMPL_POSIX: u32 = 1; pub const DSM_IMPL_SYSV: u32 = 2; @@ -1427,136 +1986,155 @@ pub const AccessExclusiveLock: u32 = 8; pub const BITS_PER_BITMAPWORD: u32 = 32; pub const RELCACHE_INIT_FILENAME: &[u8; 17usize] = b"pg_internal.init\0"; pub const FIELDNO_HEAPTUPLEDATA_DATA: u32 = 3; -pub const _FCNTL_H: u32 = 1; -pub const __O_LARGEFILE: u32 = 0; -pub const F_GETLK64: u32 = 5; -pub const F_SETLK64: u32 = 6; -pub const F_SETLKW64: u32 = 7; -pub const O_ACCMODE: u32 = 3; pub const O_RDONLY: u32 = 0; pub const O_WRONLY: u32 = 1; pub const O_RDWR: u32 = 2; -pub const O_CREAT: u32 = 64; -pub const O_EXCL: u32 = 128; -pub const O_NOCTTY: u32 = 256; -pub const O_TRUNC: u32 = 512; -pub const O_APPEND: u32 = 1024; -pub const O_NONBLOCK: u32 = 2048; -pub const O_NDELAY: u32 = 2048; -pub const O_SYNC: u32 = 1052672; -pub const O_FSYNC: u32 = 1052672; -pub const O_ASYNC: u32 = 8192; -pub const __O_DIRECTORY: u32 = 65536; -pub const __O_NOFOLLOW: u32 = 131072; -pub const __O_CLOEXEC: u32 = 524288; -pub const __O_DIRECT: u32 = 16384; -pub const __O_NOATIME: u32 = 262144; -pub const __O_PATH: u32 = 2097152; -pub const __O_DSYNC: u32 = 4096; -pub const __O_TMPFILE: u32 = 4259840; -pub const F_GETLK: u32 = 5; -pub const F_SETLK: u32 = 6; -pub const F_SETLKW: u32 = 7; -pub const O_DIRECTORY: u32 = 65536; -pub const O_NOFOLLOW: u32 = 131072; -pub const O_CLOEXEC: u32 = 524288; -pub const O_DSYNC: u32 = 4096; -pub const O_RSYNC: u32 = 1052672; +pub const O_ACCMODE: u32 = 3; +pub const FREAD: u32 = 1; +pub const FWRITE: u32 = 2; +pub const O_NONBLOCK: u32 = 4; +pub const O_APPEND: u32 = 8; +pub const O_SYNC: u32 = 128; +pub const O_SHLOCK: u32 = 16; +pub const O_EXLOCK: u32 = 32; +pub const O_ASYNC: u32 = 64; +pub const O_FSYNC: u32 = 128; +pub const O_NOFOLLOW: u32 = 256; +pub const O_CREAT: u32 = 512; +pub const O_TRUNC: u32 = 1024; +pub const O_EXCL: u32 = 2048; +pub const O_EVTONLY: u32 = 32768; +pub const O_NOCTTY: u32 = 131072; +pub const O_DIRECTORY: u32 = 1048576; +pub const O_SYMLINK: u32 = 2097152; +pub const O_DSYNC: u32 = 4194304; +pub const O_CLOEXEC: u32 = 16777216; +pub const O_NOFOLLOW_ANY: u32 = 536870912; +pub const AT_FDCWD: i32 = -2; +pub const AT_EACCESS: u32 = 16; +pub const AT_SYMLINK_NOFOLLOW: u32 = 32; +pub const AT_SYMLINK_FOLLOW: u32 = 64; +pub const AT_REMOVEDIR: u32 = 128; +pub const AT_REALDEV: u32 = 512; +pub const AT_FDONLY: u32 = 1024; +pub const AT_SYMLINK_NOFOLLOW_ANY: u32 = 2048; +pub const O_DP_GETRAWENCRYPTED: u32 = 1; +pub const O_DP_GETRAWUNENCRYPTED: u32 = 2; +pub const FAPPEND: u32 = 8; +pub const FASYNC: u32 = 64; +pub const FFSYNC: u32 = 128; +pub const FFDSYNC: u32 = 4194304; +pub const FNONBLOCK: u32 = 4; +pub const FNDELAY: u32 = 4; +pub const O_NDELAY: u32 = 4; +pub const CPF_OVERWRITE: u32 = 1; +pub const CPF_IGNORE_MODE: u32 = 2; +pub const CPF_MASK: u32 = 3; pub const F_DUPFD: u32 = 0; pub const F_GETFD: u32 = 1; pub const F_SETFD: u32 = 2; pub const F_GETFL: u32 = 3; pub const F_SETFL: u32 = 4; -pub const __F_SETOWN: u32 = 8; -pub const __F_GETOWN: u32 = 9; -pub const F_SETOWN: u32 = 8; -pub const F_GETOWN: u32 = 9; -pub const __F_SETSIG: u32 = 10; -pub const __F_GETSIG: u32 = 11; -pub const __F_SETOWN_EX: u32 = 15; -pub const __F_GETOWN_EX: u32 = 16; -pub const F_DUPFD_CLOEXEC: u32 = 1030; +pub const F_GETOWN: u32 = 5; +pub const F_SETOWN: u32 = 6; +pub const F_GETLK: u32 = 7; +pub const F_SETLK: u32 = 8; +pub const F_SETLKW: u32 = 9; +pub const F_SETLKWTIMEOUT: u32 = 10; +pub const F_FLUSH_DATA: u32 = 40; +pub const F_CHKCLEAN: u32 = 41; +pub const F_PREALLOCATE: u32 = 42; +pub const F_SETSIZE: u32 = 43; +pub const F_RDADVISE: u32 = 44; +pub const F_RDAHEAD: u32 = 45; +pub const F_NOCACHE: u32 = 48; +pub const F_LOG2PHYS: u32 = 49; +pub const F_GETPATH: u32 = 50; +pub const F_FULLFSYNC: u32 = 51; +pub const F_PATHPKG_CHECK: u32 = 52; +pub const F_FREEZE_FS: u32 = 53; +pub const F_THAW_FS: u32 = 54; +pub const F_GLOBAL_NOCACHE: u32 = 55; +pub const F_ADDSIGS: u32 = 59; +pub const F_ADDFILESIGS: u32 = 61; +pub const F_NODIRECT: u32 = 62; +pub const F_GETPROTECTIONCLASS: u32 = 63; +pub const F_SETPROTECTIONCLASS: u32 = 64; +pub const F_LOG2PHYS_EXT: u32 = 65; +pub const F_GETLKPID: u32 = 66; +pub const F_SETBACKINGSTORE: u32 = 70; +pub const F_GETPATH_MTMINFO: u32 = 71; +pub const F_GETCODEDIR: u32 = 72; +pub const F_SETNOSIGPIPE: u32 = 73; +pub const F_GETNOSIGPIPE: u32 = 74; +pub const F_TRANSCODEKEY: u32 = 75; +pub const F_SINGLE_WRITER: u32 = 76; +pub const F_GETPROTECTIONLEVEL: u32 = 77; +pub const F_FINDSIGS: u32 = 78; +pub const F_ADDFILESIGS_FOR_DYLD_SIM: u32 = 83; +pub const F_BARRIERFSYNC: u32 = 85; +pub const F_ADDFILESIGS_RETURN: u32 = 97; +pub const F_CHECK_LV: u32 = 98; +pub const F_PUNCHHOLE: u32 = 99; +pub const F_TRIM_ACTIVE_FILE: u32 = 100; +pub const F_SPECULATIVE_READ: u32 = 101; +pub const F_GETPATH_NOFIRMLINK: u32 = 102; +pub const F_ADDFILESIGS_INFO: u32 = 103; +pub const F_ADDFILESUPPL: u32 = 104; +pub const F_GETSIGSINFO: u32 = 105; +pub const F_FSRESERVED: u32 = 106; +pub const FCNTL_FS_SPECIFIC_BASE: u32 = 65536; +pub const F_DUPFD_CLOEXEC: u32 = 67; pub const FD_CLOEXEC: u32 = 1; -pub const F_RDLCK: u32 = 0; -pub const F_WRLCK: u32 = 1; +pub const F_RDLCK: u32 = 1; pub const F_UNLCK: u32 = 2; -pub const F_EXLCK: u32 = 4; -pub const F_SHLCK: u32 = 8; -pub const LOCK_SH: u32 = 1; -pub const LOCK_EX: u32 = 2; -pub const LOCK_NB: u32 = 4; -pub const LOCK_UN: u32 = 8; -pub const FAPPEND: u32 = 1024; -pub const FFSYNC: u32 = 1052672; -pub const FASYNC: u32 = 8192; -pub const FNONBLOCK: u32 = 2048; -pub const FNDELAY: u32 = 2048; -pub const __POSIX_FADV_DONTNEED: u32 = 4; -pub const __POSIX_FADV_NOREUSE: u32 = 5; -pub const POSIX_FADV_NORMAL: u32 = 0; -pub const POSIX_FADV_RANDOM: u32 = 1; -pub const POSIX_FADV_SEQUENTIAL: u32 = 2; -pub const POSIX_FADV_WILLNEED: u32 = 3; -pub const POSIX_FADV_DONTNEED: u32 = 4; -pub const POSIX_FADV_NOREUSE: u32 = 5; -pub const AT_FDCWD: i32 = -100; -pub const AT_SYMLINK_NOFOLLOW: u32 = 256; -pub const AT_REMOVEDIR: u32 = 512; -pub const AT_SYMLINK_FOLLOW: u32 = 1024; -pub const AT_EACCESS: u32 = 512; -pub const _BITS_STAT_H: u32 = 1; -pub const _BITS_STRUCT_STAT_H: u32 = 1; -pub const __S_IFMT: u32 = 61440; -pub const __S_IFDIR: u32 = 16384; -pub const __S_IFCHR: u32 = 8192; -pub const __S_IFBLK: u32 = 24576; -pub const __S_IFREG: u32 = 32768; -pub const __S_IFIFO: u32 = 4096; -pub const __S_IFLNK: u32 = 40960; -pub const __S_IFSOCK: u32 = 49152; -pub const __S_ISUID: u32 = 2048; -pub const __S_ISGID: u32 = 1024; -pub const __S_ISVTX: u32 = 512; -pub const __S_IREAD: u32 = 256; -pub const __S_IWRITE: u32 = 128; -pub const __S_IEXEC: u32 = 64; -pub const UTIME_NOW: u32 = 1073741823; -pub const UTIME_OMIT: u32 = 1073741822; +pub const F_WRLCK: u32 = 3; +pub const SEEK_HOLE: u32 = 3; +pub const SEEK_DATA: u32 = 4; pub const S_IFMT: u32 = 61440; -pub const S_IFDIR: u32 = 16384; +pub const S_IFIFO: u32 = 4096; pub const S_IFCHR: u32 = 8192; +pub const S_IFDIR: u32 = 16384; pub const S_IFBLK: u32 = 24576; pub const S_IFREG: u32 = 32768; -pub const S_IFIFO: u32 = 4096; pub const S_IFLNK: u32 = 40960; pub const S_IFSOCK: u32 = 49152; -pub const S_ISUID: u32 = 2048; -pub const S_ISGID: u32 = 1024; -pub const S_ISVTX: u32 = 512; +pub const S_IFWHT: u32 = 57344; +pub const S_IRWXU: u32 = 448; pub const S_IRUSR: u32 = 256; pub const S_IWUSR: u32 = 128; pub const S_IXUSR: u32 = 64; -pub const S_IRWXU: u32 = 448; +pub const S_IRWXG: u32 = 56; pub const S_IRGRP: u32 = 32; pub const S_IWGRP: u32 = 16; pub const S_IXGRP: u32 = 8; -pub const S_IRWXG: u32 = 56; +pub const S_IRWXO: u32 = 7; pub const S_IROTH: u32 = 4; pub const S_IWOTH: u32 = 2; pub const S_IXOTH: u32 = 1; -pub const S_IRWXO: u32 = 7; -pub const R_OK: u32 = 4; -pub const W_OK: u32 = 2; -pub const X_OK: u32 = 1; -pub const F_OK: u32 = 0; -pub const F_ULOCK: u32 = 0; -pub const F_LOCK: u32 = 1; -pub const F_TLOCK: u32 = 2; -pub const F_TEST: u32 = 3; +pub const S_ISUID: u32 = 2048; +pub const S_ISGID: u32 = 1024; +pub const S_ISVTX: u32 = 512; +pub const S_ISTXT: u32 = 512; +pub const S_IREAD: u32 = 256; +pub const S_IWRITE: u32 = 128; +pub const S_IEXEC: u32 = 64; +pub const F_ALLOCATECONTIG: u32 = 2; +pub const F_ALLOCATEALL: u32 = 4; +pub const F_PEOFPOSMODE: u32 = 3; +pub const F_VOLPOSMODE: u32 = 4; +pub const USER_FSIGNATURES_CDHASH_LEN: u32 = 20; +pub const GETSIGSINFO_PLATFORM_BINARY: u32 = 1; +pub const LOCK_SH: u32 = 1; +pub const LOCK_EX: u32 = 2; +pub const LOCK_NB: u32 = 4; +pub const LOCK_UN: u32 = 8; +pub const O_POPUP: u32 = 2147483648; +pub const O_ALERT: u32 = 536870912; pub const InvalidXLogRecPtr: u32 = 0; pub const PG_O_DIRECT: u32 = 0; -pub const OPEN_SYNC_FLAG: u32 = 1052672; -pub const OPEN_DATASYNC_FLAG: u32 = 4096; +pub const OPEN_SYNC_FLAG: u32 = 128; +pub const OPEN_DATASYNC_FLAG: u32 = 4194304; pub const MAX_TIMESTAMP_PRECISION: u32 = 6; pub const MAX_INTERVAL_PRECISION: u32 = 6; pub const TS_PREC_INV: f64 = 1000000.0; @@ -1602,24 +2180,7 @@ pub const HEAP_INSERT_SKIP_FSM: u32 = 2; pub const HEAP_INSERT_FROZEN: u32 = 4; pub const HEAP_INSERT_SPECULATIVE: u32 = 8; pub const HEAP_INSERT_NO_LOGICAL: u32 = 16; -pub const _TIME_H: u32 = 1; -pub const _BITS_TIME_H: u32 = 1; -pub const CLOCK_REALTIME: u32 = 0; -pub const CLOCK_MONOTONIC: u32 = 1; -pub const CLOCK_PROCESS_CPUTIME_ID: u32 = 2; -pub const CLOCK_THREAD_CPUTIME_ID: u32 = 3; -pub const CLOCK_MONOTONIC_RAW: u32 = 4; -pub const CLOCK_REALTIME_COARSE: u32 = 5; -pub const CLOCK_MONOTONIC_COARSE: u32 = 6; -pub const CLOCK_BOOTTIME: u32 = 7; -pub const CLOCK_REALTIME_ALARM: u32 = 8; -pub const CLOCK_BOOTTIME_ALARM: u32 = 9; -pub const CLOCK_TAI: u32 = 11; -pub const TIMER_ABSTIME: u32 = 1; -pub const __struct_tm_defined: u32 = 1; -pub const __itimerspec_defined: u32 = 1; pub const TIME_UTC: u32 = 1; -pub const PG_INSTR_CLOCK: u32 = 1; pub const PARAM_FLAG_CONST: u32 = 1; pub const HASH_PARTITION: u32 = 1; pub const HASH_SEGMENT: u32 = 2; @@ -1636,9 +2197,25 @@ pub const HASH_SHARED_MEM: u32 = 2048; pub const HASH_ATTACH: u32 = 4096; pub const HASH_FIXED_SIZE: u32 = 8192; pub const NO_MAX_DSIZE: i32 = -1; -pub const _DIRENT_H: u32 = 1; -pub const _DIRENT_MATCHES_DIRENT64: u32 = 1; +pub const __DARWIN_MAXNAMLEN: u32 = 255; +pub const __DARWIN_MAXPATHLEN: u32 = 1024; pub const MAXNAMLEN: u32 = 255; +pub const DT_UNKNOWN: u32 = 0; +pub const DT_FIFO: u32 = 1; +pub const DT_CHR: u32 = 2; +pub const DT_DIR: u32 = 4; +pub const DT_BLK: u32 = 6; +pub const DT_REG: u32 = 8; +pub const DT_LNK: u32 = 10; +pub const DT_SOCK: u32 = 12; +pub const DT_WHT: u32 = 14; +pub const DIRBLKSIZ: u32 = 1024; +pub const DTF_HIDEW: u32 = 1; +pub const DTF_NODUP: u32 = 2; +pub const DTF_REWIND: u32 = 4; +pub const __DTF_READALL: u32 = 8; +pub const __DTF_SKIPREAD: u32 = 16; +pub const __DTF_ATEND: u32 = 32; pub const PG_TEMP_FILES_DIR: &[u8; 10usize] = b"pgsql_tmp\0"; pub const PG_TEMP_FILE_PREFIX: &[u8; 10usize] = b"pgsql_tmp\0"; pub const DEFAULT_SPINS_PER_DELAY: u32 = 100; @@ -1732,6 +2309,7 @@ pub const CURSOR_OPT_FAST_PLAN: u32 = 32; pub const CURSOR_OPT_GENERIC_PLAN: u32 = 64; pub const CURSOR_OPT_CUSTOM_PLAN: u32 = 128; pub const CURSOR_OPT_PARALLEL_OK: u32 = 256; +pub const FETCH_ALL: u64 = 9223372036854775807; pub const REINDEXOPT_VERBOSE: u32 = 1; pub const GROUPING_CAN_USE_SORT: u32 = 1; pub const GROUPING_CAN_USE_HASH: u32 = 2; @@ -1754,85 +2332,6 @@ pub const EXEC_FLAG_SKIP_TRIGGERS: u32 = 16; pub const EXEC_FLAG_WITH_OIDS: u32 = 32; pub const EXEC_FLAG_WITHOUT_OIDS: u32 = 64; pub const EXEC_FLAG_WITH_NO_DATA: u32 = 128; -pub const _BITS_SIGNUM_GENERIC_H: u32 = 1; -pub const SIGINT: u32 = 2; -pub const SIGILL: u32 = 4; -pub const SIGABRT: u32 = 6; -pub const SIGFPE: u32 = 8; -pub const SIGSEGV: u32 = 11; -pub const SIGTERM: u32 = 15; -pub const SIGHUP: u32 = 1; -pub const SIGQUIT: u32 = 3; -pub const SIGTRAP: u32 = 5; -pub const SIGKILL: u32 = 9; -pub const SIGPIPE: u32 = 13; -pub const SIGALRM: u32 = 14; -pub const SIGIOT: u32 = 6; -pub const _BITS_SIGNUM_ARCH_H: u32 = 1; -pub const SIGSTKFLT: u32 = 16; -pub const SIGPWR: u32 = 30; -pub const SIGBUS: u32 = 7; -pub const SIGSYS: u32 = 31; -pub const SIGURG: u32 = 23; -pub const SIGSTOP: u32 = 19; -pub const SIGTSTP: u32 = 20; -pub const SIGCONT: u32 = 18; -pub const SIGCHLD: u32 = 17; -pub const SIGTTIN: u32 = 21; -pub const SIGTTOU: u32 = 22; -pub const SIGPOLL: u32 = 29; -pub const SIGXFSZ: u32 = 25; -pub const SIGXCPU: u32 = 24; -pub const SIGVTALRM: u32 = 26; -pub const SIGPROF: u32 = 27; -pub const SIGUSR1: u32 = 10; -pub const SIGUSR2: u32 = 12; -pub const SIGWINCH: u32 = 28; -pub const SIGIO: u32 = 29; -pub const SIGCLD: u32 = 17; -pub const __SIGRTMIN: u32 = 32; -pub const __SIGRTMAX: u32 = 64; -pub const _NSIG: u32 = 65; -pub const __sig_atomic_t_defined: u32 = 1; -pub const __siginfo_t_defined: u32 = 1; -pub const __SI_MAX_SIZE: u32 = 128; -pub const _BITS_SIGINFO_ARCH_H: u32 = 1; -pub const __SI_ERRNO_THEN_CODE: u32 = 1; -pub const __SI_HAVE_SIGSYS: u32 = 1; -pub const _BITS_SIGINFO_CONSTS_H: u32 = 1; -pub const __SI_ASYNCIO_AFTER_SIGIO: u32 = 1; -pub const __sigevent_t_defined: u32 = 1; -pub const __SIGEV_MAX_SIZE: u32 = 64; -pub const _BITS_SIGEVENT_CONSTS_H: u32 = 1; -pub const NSIG: u32 = 65; -pub const _BITS_SIGACTION_H: u32 = 1; -pub const SA_NOCLDSTOP: u32 = 1; -pub const SA_NOCLDWAIT: u32 = 2; -pub const SA_SIGINFO: u32 = 4; -pub const SA_ONSTACK: u32 = 134217728; -pub const SA_RESTART: u32 = 268435456; -pub const SA_NODEFER: u32 = 1073741824; -pub const SA_RESETHAND: u32 = 2147483648; -pub const SA_INTERRUPT: u32 = 536870912; -pub const SA_NOMASK: u32 = 1073741824; -pub const SA_ONESHOT: u32 = 2147483648; -pub const SA_STACK: u32 = 134217728; -pub const SIG_BLOCK: u32 = 0; -pub const SIG_UNBLOCK: u32 = 1; -pub const SIG_SETMASK: u32 = 2; -pub const _BITS_SIGCONTEXT_H: u32 = 1; -pub const FP_XSTATE_MAGIC1: u32 = 1179670611; -pub const FP_XSTATE_MAGIC2: u32 = 1179670597; -pub const __stack_t_defined: u32 = 1; -pub const _SYS_UCONTEXT_H: u32 = 1; -pub const __NGREG: u32 = 23; -pub const NGREG: u32 = 23; -pub const _BITS_SIGSTACK_H: u32 = 1; -pub const MINSIGSTKSZ: u32 = 2048; -pub const SIGSTKSZ: u32 = 8192; -pub const _BITS_SS_FLAGS_H: u32 = 1; -pub const __sigstack_defined: u32 = 1; -pub const _BITS_SIGTHREAD_H: u32 = 1; pub const TZ_STRLEN_MAX: u32 = 255; pub const InvalidPid: i32 = -1; pub const USE_POSTGRES_DATES: u32 = 0; @@ -1851,7 +2350,13 @@ pub const MAXTZLEN: u32 = 10; pub const SECURITY_LOCAL_USERID_CHANGE: u32 = 1; pub const SECURITY_RESTRICTED_OPERATION: u32 = 2; pub const SECURITY_NOFORCE_RLS: u32 = 4; -pub const _SYS_UN_H: u32 = 1; +pub const SOL_LOCAL: u32 = 0; +pub const LOCAL_PEERCRED: u32 = 1; +pub const LOCAL_PEERPID: u32 = 2; +pub const LOCAL_PEEREPID: u32 = 3; +pub const LOCAL_PEERUUID: u32 = 4; +pub const LOCAL_PEEREUUID: u32 = 5; +pub const LOCAL_PEERTOKEN: u32 = 6; pub const SM_DATABASE: u32 = 64; pub const SM_USER: u32 = 32; pub const SM_DATABASE_USER: u32 = 97; @@ -2311,6 +2816,71 @@ pub const Anum_pg_enum_enumtypid: u32 = 1; pub const Anum_pg_enum_enumsortorder: u32 = 2; pub const Anum_pg_enum_enumlabel: u32 = 3; pub const Natts_pg_enum: u32 = 3; +pub const OperatorRelationId: u32 = 2617; +pub const Anum_pg_operator_oprname: u32 = 1; +pub const Anum_pg_operator_oprnamespace: u32 = 2; +pub const Anum_pg_operator_oprowner: u32 = 3; +pub const Anum_pg_operator_oprkind: u32 = 4; +pub const Anum_pg_operator_oprcanmerge: u32 = 5; +pub const Anum_pg_operator_oprcanhash: u32 = 6; +pub const Anum_pg_operator_oprleft: u32 = 7; +pub const Anum_pg_operator_oprright: u32 = 8; +pub const Anum_pg_operator_oprresult: u32 = 9; +pub const Anum_pg_operator_oprcom: u32 = 10; +pub const Anum_pg_operator_oprnegate: u32 = 11; +pub const Anum_pg_operator_oprcode: u32 = 12; +pub const Anum_pg_operator_oprrest: u32 = 13; +pub const Anum_pg_operator_oprjoin: u32 = 14; +pub const Natts_pg_operator: u32 = 14; +pub const BooleanNotEqualOperator: u32 = 85; +pub const BooleanEqualOperator: u32 = 91; +pub const Int4EqualOperator: u32 = 96; +pub const Int4LessOperator: u32 = 97; +pub const TextEqualOperator: u32 = 98; +pub const TIDEqualOperator: u32 = 387; +pub const TIDLessOperator: u32 = 2799; +pub const Int8LessOperator: u32 = 412; +pub const OID_NAME_REGEXEQ_OP: u32 = 639; +pub const OID_TEXT_REGEXEQ_OP: u32 = 641; +pub const Float8LessOperator: u32 = 672; +pub const OID_BPCHAR_REGEXEQ_OP: u32 = 1055; +pub const ARRAY_EQ_OP: u32 = 1070; +pub const ARRAY_LT_OP: u32 = 1072; +pub const ARRAY_GT_OP: u32 = 1073; +pub const OID_NAME_LIKE_OP: u32 = 1207; +pub const OID_TEXT_LIKE_OP: u32 = 1209; +pub const OID_BPCHAR_LIKE_OP: u32 = 1211; +pub const OID_NAME_ICREGEXEQ_OP: u32 = 1226; +pub const OID_TEXT_ICREGEXEQ_OP: u32 = 1228; +pub const OID_BPCHAR_ICREGEXEQ_OP: u32 = 1234; +pub const OID_INET_SUB_OP: u32 = 931; +pub const OID_INET_SUBEQ_OP: u32 = 932; +pub const OID_INET_SUP_OP: u32 = 933; +pub const OID_INET_SUPEQ_OP: u32 = 934; +pub const OID_INET_OVERLAP_OP: u32 = 3552; +pub const OID_NAME_ICLIKE_OP: u32 = 1625; +pub const OID_TEXT_ICLIKE_OP: u32 = 1627; +pub const OID_BPCHAR_ICLIKE_OP: u32 = 1629; +pub const OID_BYTEA_LIKE_OP: u32 = 2016; +pub const OID_ARRAY_OVERLAP_OP: u32 = 2750; +pub const OID_ARRAY_CONTAINS_OP: u32 = 2751; +pub const OID_ARRAY_CONTAINED_OP: u32 = 2752; +pub const RECORD_EQ_OP: u32 = 2988; +pub const RECORD_LT_OP: u32 = 2990; +pub const RECORD_GT_OP: u32 = 2991; +pub const OID_RANGE_LESS_OP: u32 = 3884; +pub const OID_RANGE_LESS_EQUAL_OP: u32 = 3885; +pub const OID_RANGE_GREATER_EQUAL_OP: u32 = 3886; +pub const OID_RANGE_GREATER_OP: u32 = 3887; +pub const OID_RANGE_OVERLAP_OP: u32 = 3888; +pub const OID_RANGE_CONTAINS_ELEM_OP: u32 = 3889; +pub const OID_RANGE_CONTAINS_OP: u32 = 3890; +pub const OID_RANGE_ELEM_CONTAINED_OP: u32 = 3891; +pub const OID_RANGE_CONTAINED_OP: u32 = 3892; +pub const OID_RANGE_LEFT_OP: u32 = 3893; +pub const OID_RANGE_RIGHT_OP: u32 = 3894; +pub const OID_RANGE_OVERLAPS_LEFT_OP: u32 = 3895; +pub const OID_RANGE_OVERLAPS_RIGHT_OP: u32 = 3896; pub const ProcedureRelationId: u32 = 1255; pub const ProcedureRelation_Rowtype_Id: u32 = 81; pub const Anum_pg_proc_proname: u32 = 1; @@ -2808,6 +3378,7 @@ pub const PROCARRAY_FLAGS_DEFAULT: u32 = 16; pub const PROCARRAY_FLAGS_VACUUM: u32 = 18; pub const PROCARRAY_FLAGS_ANALYZE: u32 = 20; pub const PROCARRAY_FLAGS_VACUUM_ANALYZE: u32 = 22; +pub const MAX_KILOBYTES: u32 = 2147483647; pub const PG_AUTOCONF_FILENAME: &[u8; 21usize] = b"postgresql.auto.conf\0"; pub const GUC_QUALIFIER_SEPARATOR: u8 = 46u8; pub const GUC_LIST_INPUT: u32 = 1; @@ -2958,88 +3529,71 @@ pub const TYPECACHE_HASH_EXTENDED_PROC: u32 = 16384; pub const TYPECACHE_HASH_EXTENDED_PROC_FINFO: u32 = 32768; pub type Oid = ::std::os::raw::c_uint; pub type pg_int64 = ::std::os::raw::c_long; -pub type va_list = __builtin_va_list; -pub type __gnuc_va_list = __builtin_va_list; -pub type __u_char = ::std::os::raw::c_uchar; -pub type __u_short = ::std::os::raw::c_ushort; -pub type __u_int = ::std::os::raw::c_uint; -pub type __u_long = ::std::os::raw::c_ulong; pub type __int8_t = ::std::os::raw::c_schar; pub type __uint8_t = ::std::os::raw::c_uchar; pub type __int16_t = ::std::os::raw::c_short; pub type __uint16_t = ::std::os::raw::c_ushort; pub type __int32_t = ::std::os::raw::c_int; pub type __uint32_t = ::std::os::raw::c_uint; -pub type __int64_t = ::std::os::raw::c_long; -pub type __uint64_t = ::std::os::raw::c_ulong; -pub type __int_least8_t = __int8_t; -pub type __uint_least8_t = __uint8_t; -pub type __int_least16_t = __int16_t; -pub type __uint_least16_t = __uint16_t; -pub type __int_least32_t = __int32_t; -pub type __uint_least32_t = __uint32_t; -pub type __int_least64_t = __int64_t; -pub type __uint_least64_t = __uint64_t; -pub type __quad_t = ::std::os::raw::c_long; -pub type __u_quad_t = ::std::os::raw::c_ulong; -pub type __intmax_t = ::std::os::raw::c_long; -pub type __uintmax_t = ::std::os::raw::c_ulong; -pub type __dev_t = ::std::os::raw::c_ulong; -pub type __uid_t = ::std::os::raw::c_uint; -pub type __gid_t = ::std::os::raw::c_uint; -pub type __ino_t = ::std::os::raw::c_ulong; -pub type __ino64_t = ::std::os::raw::c_ulong; -pub type __mode_t = ::std::os::raw::c_uint; -pub type __nlink_t = ::std::os::raw::c_ulong; -pub type __off_t = ::std::os::raw::c_long; -pub type __off64_t = ::std::os::raw::c_long; -pub type __pid_t = ::std::os::raw::c_int; -#[repr(C)] -#[derive(Debug, Default, Copy, Clone)] -pub struct __fsid_t { - pub __val: [::std::os::raw::c_int; 2usize], -} -pub type __clock_t = ::std::os::raw::c_long; -pub type __rlim_t = ::std::os::raw::c_ulong; -pub type __rlim64_t = ::std::os::raw::c_ulong; -pub type __id_t = ::std::os::raw::c_uint; -pub type __time_t = ::std::os::raw::c_long; -pub type __useconds_t = ::std::os::raw::c_uint; -pub type __suseconds_t = ::std::os::raw::c_long; -pub type __suseconds64_t = ::std::os::raw::c_long; -pub type __daddr_t = ::std::os::raw::c_int; -pub type __key_t = ::std::os::raw::c_int; -pub type __clockid_t = ::std::os::raw::c_int; -pub type __timer_t = *mut ::std::os::raw::c_void; -pub type __blksize_t = ::std::os::raw::c_long; -pub type __blkcnt_t = ::std::os::raw::c_long; -pub type __blkcnt64_t = ::std::os::raw::c_long; -pub type __fsblkcnt_t = ::std::os::raw::c_ulong; -pub type __fsblkcnt64_t = ::std::os::raw::c_ulong; -pub type __fsfilcnt_t = ::std::os::raw::c_ulong; -pub type __fsfilcnt64_t = ::std::os::raw::c_ulong; -pub type __fsword_t = ::std::os::raw::c_long; -pub type __ssize_t = ::std::os::raw::c_long; -pub type __syscall_slong_t = ::std::os::raw::c_long; -pub type __syscall_ulong_t = ::std::os::raw::c_ulong; -pub type __loff_t = __off64_t; -pub type __caddr_t = *mut ::std::os::raw::c_char; -pub type __intptr_t = ::std::os::raw::c_long; -pub type __socklen_t = ::std::os::raw::c_uint; -pub type __sig_atomic_t = ::std::os::raw::c_int; +pub type __int64_t = ::std::os::raw::c_longlong; +pub type __uint64_t = ::std::os::raw::c_ulonglong; +pub type __darwin_intptr_t = ::std::os::raw::c_long; +pub type __darwin_natural_t = ::std::os::raw::c_uint; +pub type __darwin_ct_rune_t = ::std::os::raw::c_int; #[repr(C)] #[derive(Copy, Clone)] -pub struct __mbstate_t { - pub __count: ::std::os::raw::c_int, - pub __value: __mbstate_t__bindgen_ty_1, +pub union __mbstate_t { + pub __mbstate8: [::std::os::raw::c_char; 128usize], + pub _mbstateL: ::std::os::raw::c_longlong, } +impl Default for __mbstate_t { + fn default() -> Self { + let mut s = ::std::mem::MaybeUninit::::uninit(); + unsafe { + ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); + s.assume_init() + } + } +} +pub type __darwin_mbstate_t = __mbstate_t; +pub type __darwin_ptrdiff_t = ::std::os::raw::c_long; +pub type __darwin_size_t = ::std::os::raw::c_ulong; +pub type __darwin_va_list = __builtin_va_list; +pub type __darwin_wchar_t = ::std::os::raw::c_int; +pub type __darwin_rune_t = __darwin_wchar_t; +pub type __darwin_wint_t = ::std::os::raw::c_int; +pub type __darwin_clock_t = ::std::os::raw::c_ulong; +pub type __darwin_socklen_t = __uint32_t; +pub type __darwin_ssize_t = ::std::os::raw::c_long; +pub type __darwin_time_t = ::std::os::raw::c_long; +pub type __darwin_blkcnt_t = __int64_t; +pub type __darwin_blksize_t = __int32_t; +pub type __darwin_dev_t = __int32_t; +pub type __darwin_fsblkcnt_t = ::std::os::raw::c_uint; +pub type __darwin_fsfilcnt_t = ::std::os::raw::c_uint; +pub type __darwin_gid_t = __uint32_t; +pub type __darwin_id_t = __uint32_t; +pub type __darwin_ino64_t = __uint64_t; +pub type __darwin_ino_t = __darwin_ino64_t; +pub type __darwin_mach_port_name_t = __darwin_natural_t; +pub type __darwin_mach_port_t = __darwin_mach_port_name_t; +pub type __darwin_mode_t = __uint16_t; +pub type __darwin_off_t = __int64_t; +pub type __darwin_pid_t = __int32_t; +pub type __darwin_sigset_t = __uint32_t; +pub type __darwin_suseconds_t = __int32_t; +pub type __darwin_uid_t = __uint32_t; +pub type __darwin_useconds_t = __uint32_t; +pub type __darwin_uuid_t = [::std::os::raw::c_uchar; 16usize]; +pub type __darwin_uuid_string_t = [::std::os::raw::c_char; 37usize]; #[repr(C)] -#[derive(Copy, Clone)] -pub union __mbstate_t__bindgen_ty_1 { - pub __wch: ::std::os::raw::c_uint, - pub __wchb: [::std::os::raw::c_char; 4usize], +#[derive(Debug, Copy, Clone)] +pub struct __darwin_pthread_handler_rec { + pub __routine: ::std::option::Option, + pub __arg: *mut ::std::os::raw::c_void, + pub __next: *mut __darwin_pthread_handler_rec, } -impl Default for __mbstate_t__bindgen_ty_1 { +impl Default for __darwin_pthread_handler_rec { fn default() -> Self { let mut s = ::std::mem::MaybeUninit::::uninit(); unsafe { @@ -3048,7 +3602,13 @@ impl Default for __mbstate_t__bindgen_ty_1 { } } } -impl Default for __mbstate_t { +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _opaque_pthread_attr_t { + pub __sig: ::std::os::raw::c_long, + pub __opaque: [::std::os::raw::c_char; 56usize], +} +impl Default for _opaque_pthread_attr_t { fn default() -> Self { let mut s = ::std::mem::MaybeUninit::::uninit(); unsafe { @@ -3058,12 +3618,12 @@ impl Default for __mbstate_t { } } #[repr(C)] -#[derive(Copy, Clone)] -pub struct _G_fpos_t { - pub __pos: __off_t, - pub __state: __mbstate_t, +#[derive(Debug, Copy, Clone)] +pub struct _opaque_pthread_cond_t { + pub __sig: ::std::os::raw::c_long, + pub __opaque: [::std::os::raw::c_char; 40usize], } -impl Default for _G_fpos_t { +impl Default for _opaque_pthread_cond_t { fn default() -> Self { let mut s = ::std::mem::MaybeUninit::::uninit(); unsafe { @@ -3072,14 +3632,19 @@ impl Default for _G_fpos_t { } } } -pub type __fpos_t = _G_fpos_t; #[repr(C)] -#[derive(Copy, Clone)] -pub struct _G_fpos64_t { - pub __pos: __off64_t, - pub __state: __mbstate_t, +#[derive(Debug, Default, Copy, Clone)] +pub struct _opaque_pthread_condattr_t { + pub __sig: ::std::os::raw::c_long, + pub __opaque: [::std::os::raw::c_char; 8usize], } -impl Default for _G_fpos64_t { +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _opaque_pthread_mutex_t { + pub __sig: ::std::os::raw::c_long, + pub __opaque: [::std::os::raw::c_char; 56usize], +} +impl Default for _opaque_pthread_mutex_t { fn default() -> Self { let mut s = ::std::mem::MaybeUninit::::uninit(); unsafe { @@ -3088,59 +3653,175 @@ impl Default for _G_fpos64_t { } } } -pub type __fpos64_t = _G_fpos64_t; -pub type __FILE = _IO_FILE; -pub type FILE = _IO_FILE; +#[repr(C)] +#[derive(Debug, Default, Copy, Clone)] +pub struct _opaque_pthread_mutexattr_t { + pub __sig: ::std::os::raw::c_long, + pub __opaque: [::std::os::raw::c_char; 8usize], +} +#[repr(C)] +#[derive(Debug, Default, Copy, Clone)] +pub struct _opaque_pthread_once_t { + pub __sig: ::std::os::raw::c_long, + pub __opaque: [::std::os::raw::c_char; 8usize], +} #[repr(C)] #[derive(Debug, Copy, Clone)] -pub struct _IO_marker { - _unused: [u8; 0], +pub struct _opaque_pthread_rwlock_t { + pub __sig: ::std::os::raw::c_long, + pub __opaque: [::std::os::raw::c_char; 192usize], +} +impl Default for _opaque_pthread_rwlock_t { + fn default() -> Self { + let mut s = ::std::mem::MaybeUninit::::uninit(); + unsafe { + ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); + s.assume_init() + } + } +} +#[repr(C)] +#[derive(Debug, Default, Copy, Clone)] +pub struct _opaque_pthread_rwlockattr_t { + pub __sig: ::std::os::raw::c_long, + pub __opaque: [::std::os::raw::c_char; 16usize], } #[repr(C)] #[derive(Debug, Copy, Clone)] -pub struct _IO_codecvt { - _unused: [u8; 0], +pub struct _opaque_pthread_t { + pub __sig: ::std::os::raw::c_long, + pub __cleanup_stack: *mut __darwin_pthread_handler_rec, + pub __opaque: [::std::os::raw::c_char; 8176usize], +} +impl Default for _opaque_pthread_t { + fn default() -> Self { + let mut s = ::std::mem::MaybeUninit::::uninit(); + unsafe { + ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); + s.assume_init() + } + } +} +pub type __darwin_pthread_attr_t = _opaque_pthread_attr_t; +pub type __darwin_pthread_cond_t = _opaque_pthread_cond_t; +pub type __darwin_pthread_condattr_t = _opaque_pthread_condattr_t; +pub type __darwin_pthread_key_t = ::std::os::raw::c_ulong; +pub type __darwin_pthread_mutex_t = _opaque_pthread_mutex_t; +pub type __darwin_pthread_mutexattr_t = _opaque_pthread_mutexattr_t; +pub type __darwin_pthread_once_t = _opaque_pthread_once_t; +pub type __darwin_pthread_rwlock_t = _opaque_pthread_rwlock_t; +pub type __darwin_pthread_rwlockattr_t = _opaque_pthread_rwlockattr_t; +pub type __darwin_pthread_t = *mut _opaque_pthread_t; +pub type __darwin_nl_item = ::std::os::raw::c_int; +pub type __darwin_wctrans_t = ::std::os::raw::c_int; +pub type __darwin_wctype_t = __uint32_t; +pub type u_int8_t = ::std::os::raw::c_uchar; +pub type u_int16_t = ::std::os::raw::c_ushort; +pub type u_int32_t = ::std::os::raw::c_uint; +pub type u_int64_t = ::std::os::raw::c_ulonglong; +pub type register_t = i64; +pub type user_addr_t = u_int64_t; +pub type user_size_t = u_int64_t; +pub type user_ssize_t = i64; +pub type user_long_t = i64; +pub type user_ulong_t = u_int64_t; +pub type user_time_t = i64; +pub type user_off_t = i64; +pub type syscall_arg_t = u_int64_t; +pub type va_list = __darwin_va_list; +#[pg_guard] +extern "C" { + pub fn renameat( + arg1: ::std::os::raw::c_int, + arg2: *const ::std::os::raw::c_char, + arg3: ::std::os::raw::c_int, + arg4: *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; +} +#[pg_guard] +extern "C" { + pub fn renamex_np( + arg1: *const ::std::os::raw::c_char, + arg2: *const ::std::os::raw::c_char, + arg3: ::std::os::raw::c_uint, + ) -> ::std::os::raw::c_int; +} +#[pg_guard] +extern "C" { + pub fn renameatx_np( + arg1: ::std::os::raw::c_int, + arg2: *const ::std::os::raw::c_char, + arg3: ::std::os::raw::c_int, + arg4: *const ::std::os::raw::c_char, + arg5: ::std::os::raw::c_uint, + ) -> ::std::os::raw::c_int; +} +pub type fpos_t = __darwin_off_t; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct __sbuf { + pub _base: *mut ::std::os::raw::c_uchar, + pub _size: ::std::os::raw::c_int, +} +impl Default for __sbuf { + fn default() -> Self { + let mut s = ::std::mem::MaybeUninit::::uninit(); + unsafe { + ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); + s.assume_init() + } + } } #[repr(C)] #[derive(Debug, Copy, Clone)] -pub struct _IO_wide_data { +pub struct __sFILEX { _unused: [u8; 0], } -pub type _IO_lock_t = ::std::os::raw::c_void; #[repr(C)] #[derive(Debug, Copy, Clone)] -pub struct _IO_FILE { - pub _flags: ::std::os::raw::c_int, - pub _IO_read_ptr: *mut ::std::os::raw::c_char, - pub _IO_read_end: *mut ::std::os::raw::c_char, - pub _IO_read_base: *mut ::std::os::raw::c_char, - pub _IO_write_base: *mut ::std::os::raw::c_char, - pub _IO_write_ptr: *mut ::std::os::raw::c_char, - pub _IO_write_end: *mut ::std::os::raw::c_char, - pub _IO_buf_base: *mut ::std::os::raw::c_char, - pub _IO_buf_end: *mut ::std::os::raw::c_char, - pub _IO_save_base: *mut ::std::os::raw::c_char, - pub _IO_backup_base: *mut ::std::os::raw::c_char, - pub _IO_save_end: *mut ::std::os::raw::c_char, - pub _markers: *mut _IO_marker, - pub _chain: *mut _IO_FILE, - pub _fileno: ::std::os::raw::c_int, - pub _flags2: ::std::os::raw::c_int, - pub _old_offset: __off_t, - pub _cur_column: ::std::os::raw::c_ushort, - pub _vtable_offset: ::std::os::raw::c_schar, - pub _shortbuf: [::std::os::raw::c_char; 1usize], - pub _lock: *mut _IO_lock_t, - pub _offset: __off64_t, - pub _codecvt: *mut _IO_codecvt, - pub _wide_data: *mut _IO_wide_data, - pub _freeres_list: *mut _IO_FILE, - pub _freeres_buf: *mut ::std::os::raw::c_void, - pub __pad5: usize, - pub _mode: ::std::os::raw::c_int, - pub _unused2: [::std::os::raw::c_char; 20usize], +pub struct __sFILE { + pub _p: *mut ::std::os::raw::c_uchar, + pub _r: ::std::os::raw::c_int, + pub _w: ::std::os::raw::c_int, + pub _flags: ::std::os::raw::c_short, + pub _file: ::std::os::raw::c_short, + pub _bf: __sbuf, + pub _lbfsize: ::std::os::raw::c_int, + pub _cookie: *mut ::std::os::raw::c_void, + pub _close: ::std::option::Option< + unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int, + >, + pub _read: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut ::std::os::raw::c_void, + arg2: *mut ::std::os::raw::c_char, + arg3: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int, + >, + pub _seek: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut ::std::os::raw::c_void, + arg2: fpos_t, + arg3: ::std::os::raw::c_int, + ) -> fpos_t, + >, + pub _write: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut ::std::os::raw::c_void, + arg2: *const ::std::os::raw::c_char, + arg3: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int, + >, + pub _ub: __sbuf, + pub _extra: *mut __sFILEX, + pub _ur: ::std::os::raw::c_int, + pub _ubuf: [::std::os::raw::c_uchar; 3usize], + pub _nbuf: [::std::os::raw::c_uchar; 1usize], + pub _lb: __sbuf, + pub _blksize: ::std::os::raw::c_int, + pub _offset: fpos_t, } -impl Default for _IO_FILE { +impl Default for __sFILE { fn default() -> Self { let mut s = ::std::mem::MaybeUninit::::uninit(); unsafe { @@ -3149,766 +3830,602 @@ impl Default for _IO_FILE { } } } -pub type off_t = __off_t; -pub type fpos_t = __fpos_t; +pub type FILE = __sFILE; #[pg_guard] extern "C" { - pub static mut stdin: *mut FILE; + pub static mut __stdinp: *mut FILE; } #[pg_guard] extern "C" { - pub static mut stdout: *mut FILE; + pub static mut __stdoutp: *mut FILE; } #[pg_guard] extern "C" { - pub static mut stderr: *mut FILE; + pub static mut __stderrp: *mut FILE; } #[pg_guard] extern "C" { - pub fn remove(__filename: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; + pub fn clearerr(arg1: *mut FILE); } #[pg_guard] extern "C" { - pub fn rename( - __old: *const ::std::os::raw::c_char, - __new: *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; + pub fn fclose(arg1: *mut FILE) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn renameat( - __oldfd: ::std::os::raw::c_int, - __old: *const ::std::os::raw::c_char, - __newfd: ::std::os::raw::c_int, - __new: *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; + pub fn feof(arg1: *mut FILE) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn fclose(__stream: *mut FILE) -> ::std::os::raw::c_int; + pub fn ferror(arg1: *mut FILE) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn tmpfile() -> *mut FILE; + pub fn fflush(arg1: *mut FILE) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn tmpnam(arg1: *mut ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; + pub fn fgetc(arg1: *mut FILE) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn tmpnam_r(__s: *mut ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; + pub fn fgetpos(arg1: *mut FILE, arg2: *mut fpos_t) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn tempnam( - __dir: *const ::std::os::raw::c_char, - __pfx: *const ::std::os::raw::c_char, + pub fn fgets( + arg1: *mut ::std::os::raw::c_char, + arg2: ::std::os::raw::c_int, + arg3: *mut FILE, ) -> *mut ::std::os::raw::c_char; } #[pg_guard] -extern "C" { - pub fn fflush(__stream: *mut FILE) -> ::std::os::raw::c_int; -} -#[pg_guard] -extern "C" { - pub fn fflush_unlocked(__stream: *mut FILE) -> ::std::os::raw::c_int; -} -#[pg_guard] extern "C" { pub fn fopen( __filename: *const ::std::os::raw::c_char, - __modes: *const ::std::os::raw::c_char, - ) -> *mut FILE; -} -#[pg_guard] -extern "C" { - pub fn freopen( - __filename: *const ::std::os::raw::c_char, - __modes: *const ::std::os::raw::c_char, - __stream: *mut FILE, - ) -> *mut FILE; -} -#[pg_guard] -extern "C" { - pub fn fdopen(__fd: ::std::os::raw::c_int, __modes: *const ::std::os::raw::c_char) - -> *mut FILE; -} -#[pg_guard] -extern "C" { - pub fn fmemopen( - __s: *mut ::std::os::raw::c_void, - __len: usize, - __modes: *const ::std::os::raw::c_char, - ) -> *mut FILE; -} -#[pg_guard] -extern "C" { - pub fn open_memstream( - __bufloc: *mut *mut ::std::os::raw::c_char, - __sizeloc: *mut usize, + __mode: *const ::std::os::raw::c_char, ) -> *mut FILE; } #[pg_guard] extern "C" { - pub fn setbuf(__stream: *mut FILE, __buf: *mut ::std::os::raw::c_char); -} -#[pg_guard] -extern "C" { - pub fn setvbuf( - __stream: *mut FILE, - __buf: *mut ::std::os::raw::c_char, - __modes: ::std::os::raw::c_int, - __n: usize, + pub fn fprintf( + arg1: *mut FILE, + arg2: *const ::std::os::raw::c_char, + ... ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn setbuffer(__stream: *mut FILE, __buf: *mut ::std::os::raw::c_char, __size: usize); + pub fn fputc(arg1: ::std::os::raw::c_int, arg2: *mut FILE) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn setlinebuf(__stream: *mut FILE); + pub fn fputs(arg1: *const ::std::os::raw::c_char, arg2: *mut FILE) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn fprintf( + pub fn fread( + __ptr: *mut ::std::os::raw::c_void, + __size: ::std::os::raw::c_ulong, + __nitems: ::std::os::raw::c_ulong, __stream: *mut FILE, - __format: *const ::std::os::raw::c_char, - ... - ) -> ::std::os::raw::c_int; + ) -> ::std::os::raw::c_ulong; } #[pg_guard] extern "C" { - pub fn printf(__format: *const ::std::os::raw::c_char, ...) -> ::std::os::raw::c_int; + pub fn freopen( + arg1: *const ::std::os::raw::c_char, + arg2: *const ::std::os::raw::c_char, + arg3: *mut FILE, + ) -> *mut FILE; } #[pg_guard] extern "C" { - pub fn sprintf( - __s: *mut ::std::os::raw::c_char, - __format: *const ::std::os::raw::c_char, + pub fn fscanf( + arg1: *mut FILE, + arg2: *const ::std::os::raw::c_char, ... ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn vfprintf( - __s: *mut FILE, - __format: *const ::std::os::raw::c_char, - __arg: *mut __va_list_tag, + pub fn fseek( + arg1: *mut FILE, + arg2: ::std::os::raw::c_long, + arg3: ::std::os::raw::c_int, ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn vprintf( - __format: *const ::std::os::raw::c_char, - __arg: *mut __va_list_tag, - ) -> ::std::os::raw::c_int; + pub fn fsetpos(arg1: *mut FILE, arg2: *const fpos_t) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn vsprintf( - __s: *mut ::std::os::raw::c_char, - __format: *const ::std::os::raw::c_char, - __arg: *mut __va_list_tag, - ) -> ::std::os::raw::c_int; + pub fn ftell(arg1: *mut FILE) -> ::std::os::raw::c_long; } #[pg_guard] extern "C" { - pub fn snprintf( - __s: *mut ::std::os::raw::c_char, - __maxlen: ::std::os::raw::c_ulong, - __format: *const ::std::os::raw::c_char, - ... - ) -> ::std::os::raw::c_int; + pub fn fwrite( + __ptr: *const ::std::os::raw::c_void, + __size: ::std::os::raw::c_ulong, + __nitems: ::std::os::raw::c_ulong, + __stream: *mut FILE, + ) -> ::std::os::raw::c_ulong; } #[pg_guard] extern "C" { - pub fn vsnprintf( - __s: *mut ::std::os::raw::c_char, - __maxlen: ::std::os::raw::c_ulong, - __format: *const ::std::os::raw::c_char, - __arg: *mut __va_list_tag, - ) -> ::std::os::raw::c_int; + pub fn getc(arg1: *mut FILE) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn vdprintf( - __fd: ::std::os::raw::c_int, - __fmt: *const ::std::os::raw::c_char, - __arg: *mut __va_list_tag, - ) -> ::std::os::raw::c_int; + pub fn getchar() -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn dprintf( - __fd: ::std::os::raw::c_int, - __fmt: *const ::std::os::raw::c_char, - ... - ) -> ::std::os::raw::c_int; + pub fn gets(arg1: *mut ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; } #[pg_guard] extern "C" { - pub fn fscanf( - __stream: *mut FILE, - __format: *const ::std::os::raw::c_char, - ... - ) -> ::std::os::raw::c_int; + pub fn perror(arg1: *const ::std::os::raw::c_char); } #[pg_guard] extern "C" { - pub fn scanf(__format: *const ::std::os::raw::c_char, ...) -> ::std::os::raw::c_int; + pub fn printf(arg1: *const ::std::os::raw::c_char, ...) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn sscanf( - __s: *const ::std::os::raw::c_char, - __format: *const ::std::os::raw::c_char, - ... - ) -> ::std::os::raw::c_int; + pub fn putc(arg1: ::std::os::raw::c_int, arg2: *mut FILE) -> ::std::os::raw::c_int; } -pub type _Float32 = f32; -pub type _Float64 = f64; -pub type _Float32x = f64; -pub type _Float64x = u128; #[pg_guard] extern "C" { - #[link_name = "\u{1}__isoc99_fscanf"] - pub fn fscanf1( - __stream: *mut FILE, - __format: *const ::std::os::raw::c_char, - ... - ) -> ::std::os::raw::c_int; + pub fn putchar(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - #[link_name = "\u{1}__isoc99_scanf"] - pub fn scanf1(__format: *const ::std::os::raw::c_char, ...) -> ::std::os::raw::c_int; + pub fn puts(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - #[link_name = "\u{1}__isoc99_sscanf"] - pub fn sscanf1( - __s: *const ::std::os::raw::c_char, - __format: *const ::std::os::raw::c_char, - ... - ) -> ::std::os::raw::c_int; + pub fn remove(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn vfscanf( - __s: *mut FILE, - __format: *const ::std::os::raw::c_char, - __arg: *mut __va_list_tag, + pub fn rename( + __old: *const ::std::os::raw::c_char, + __new: *const ::std::os::raw::c_char, ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn vscanf( - __format: *const ::std::os::raw::c_char, - __arg: *mut __va_list_tag, - ) -> ::std::os::raw::c_int; + pub fn rewind(arg1: *mut FILE); } #[pg_guard] extern "C" { - pub fn vsscanf( - __s: *const ::std::os::raw::c_char, - __format: *const ::std::os::raw::c_char, - __arg: *mut __va_list_tag, - ) -> ::std::os::raw::c_int; + pub fn scanf(arg1: *const ::std::os::raw::c_char, ...) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - #[link_name = "\u{1}__isoc99_vfscanf"] - pub fn vfscanf1( - __s: *mut FILE, - __format: *const ::std::os::raw::c_char, - __arg: *mut __va_list_tag, - ) -> ::std::os::raw::c_int; + pub fn setbuf(arg1: *mut FILE, arg2: *mut ::std::os::raw::c_char); } #[pg_guard] extern "C" { - #[link_name = "\u{1}__isoc99_vscanf"] - pub fn vscanf1( - __format: *const ::std::os::raw::c_char, - __arg: *mut __va_list_tag, + pub fn setvbuf( + arg1: *mut FILE, + arg2: *mut ::std::os::raw::c_char, + arg3: ::std::os::raw::c_int, + arg4: usize, ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - #[link_name = "\u{1}__isoc99_vsscanf"] - pub fn vsscanf1( - __s: *const ::std::os::raw::c_char, - __format: *const ::std::os::raw::c_char, - __arg: *mut __va_list_tag, + pub fn sprintf( + arg1: *mut ::std::os::raw::c_char, + arg2: *const ::std::os::raw::c_char, + ... ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn fgetc(__stream: *mut FILE) -> ::std::os::raw::c_int; + pub fn sscanf( + arg1: *const ::std::os::raw::c_char, + arg2: *const ::std::os::raw::c_char, + ... + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn getc(__stream: *mut FILE) -> ::std::os::raw::c_int; + pub fn tmpfile() -> *mut FILE; } #[pg_guard] extern "C" { - pub fn getchar() -> ::std::os::raw::c_int; + pub fn tmpnam(arg1: *mut ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; } #[pg_guard] extern "C" { - pub fn getc_unlocked(__stream: *mut FILE) -> ::std::os::raw::c_int; + pub fn ungetc(arg1: ::std::os::raw::c_int, arg2: *mut FILE) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn getchar_unlocked() -> ::std::os::raw::c_int; + pub fn vfprintf( + arg1: *mut FILE, + arg2: *const ::std::os::raw::c_char, + arg3: __builtin_va_list, + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn fgetc_unlocked(__stream: *mut FILE) -> ::std::os::raw::c_int; + pub fn vprintf( + arg1: *const ::std::os::raw::c_char, + arg2: __builtin_va_list, + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn fputc(__c: ::std::os::raw::c_int, __stream: *mut FILE) -> ::std::os::raw::c_int; + pub fn vsprintf( + arg1: *mut ::std::os::raw::c_char, + arg2: *const ::std::os::raw::c_char, + arg3: __builtin_va_list, + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn putc(__c: ::std::os::raw::c_int, __stream: *mut FILE) -> ::std::os::raw::c_int; + pub fn ctermid(arg1: *mut ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; } #[pg_guard] extern "C" { - pub fn putchar(__c: ::std::os::raw::c_int) -> ::std::os::raw::c_int; + pub fn fdopen(arg1: ::std::os::raw::c_int, arg2: *const ::std::os::raw::c_char) -> *mut FILE; } #[pg_guard] extern "C" { - pub fn fputc_unlocked(__c: ::std::os::raw::c_int, __stream: *mut FILE) - -> ::std::os::raw::c_int; + pub fn fileno(arg1: *mut FILE) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn putc_unlocked(__c: ::std::os::raw::c_int, __stream: *mut FILE) -> ::std::os::raw::c_int; + pub fn pclose(arg1: *mut FILE) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn putchar_unlocked(__c: ::std::os::raw::c_int) -> ::std::os::raw::c_int; + pub fn popen( + arg1: *const ::std::os::raw::c_char, + arg2: *const ::std::os::raw::c_char, + ) -> *mut FILE; } #[pg_guard] extern "C" { - pub fn getw(__stream: *mut FILE) -> ::std::os::raw::c_int; + pub fn __srget(arg1: *mut FILE) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn putw(__w: ::std::os::raw::c_int, __stream: *mut FILE) -> ::std::os::raw::c_int; + pub fn __svfscanf( + arg1: *mut FILE, + arg2: *const ::std::os::raw::c_char, + arg3: va_list, + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn fgets( - __s: *mut ::std::os::raw::c_char, - __n: ::std::os::raw::c_int, - __stream: *mut FILE, - ) -> *mut ::std::os::raw::c_char; + pub fn __swbuf(arg1: ::std::os::raw::c_int, arg2: *mut FILE) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn __getdelim( - __lineptr: *mut *mut ::std::os::raw::c_char, - __n: *mut usize, - __delimiter: ::std::os::raw::c_int, - __stream: *mut FILE, - ) -> __ssize_t; + pub fn flockfile(arg1: *mut FILE); } #[pg_guard] extern "C" { - pub fn getdelim( - __lineptr: *mut *mut ::std::os::raw::c_char, - __n: *mut usize, - __delimiter: ::std::os::raw::c_int, - __stream: *mut FILE, - ) -> __ssize_t; + pub fn ftrylockfile(arg1: *mut FILE) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn getline( - __lineptr: *mut *mut ::std::os::raw::c_char, - __n: *mut usize, - __stream: *mut FILE, - ) -> __ssize_t; + pub fn funlockfile(arg1: *mut FILE); } #[pg_guard] extern "C" { - pub fn fputs(__s: *const ::std::os::raw::c_char, __stream: *mut FILE) -> ::std::os::raw::c_int; + pub fn getc_unlocked(arg1: *mut FILE) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn puts(__s: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; + pub fn getchar_unlocked() -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn ungetc(__c: ::std::os::raw::c_int, __stream: *mut FILE) -> ::std::os::raw::c_int; + pub fn putc_unlocked(arg1: ::std::os::raw::c_int, arg2: *mut FILE) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn fread( - __ptr: *mut ::std::os::raw::c_void, - __size: ::std::os::raw::c_ulong, - __n: ::std::os::raw::c_ulong, - __stream: *mut FILE, - ) -> ::std::os::raw::c_ulong; + pub fn putchar_unlocked(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn fwrite( - __ptr: *const ::std::os::raw::c_void, - __size: ::std::os::raw::c_ulong, - __n: ::std::os::raw::c_ulong, - __s: *mut FILE, - ) -> ::std::os::raw::c_ulong; + pub fn getw(arg1: *mut FILE) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn fread_unlocked( - __ptr: *mut ::std::os::raw::c_void, - __size: usize, - __n: usize, - __stream: *mut FILE, - ) -> usize; + pub fn putw(arg1: ::std::os::raw::c_int, arg2: *mut FILE) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn fwrite_unlocked( - __ptr: *const ::std::os::raw::c_void, - __size: usize, - __n: usize, - __stream: *mut FILE, - ) -> usize; + pub fn tempnam( + __dir: *const ::std::os::raw::c_char, + __prefix: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; } +pub type off_t = __darwin_off_t; #[pg_guard] extern "C" { - pub fn fseek( + pub fn fseeko( __stream: *mut FILE, - __off: ::std::os::raw::c_long, + __offset: off_t, __whence: ::std::os::raw::c_int, ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn ftell(__stream: *mut FILE) -> ::std::os::raw::c_long; + pub fn ftello(__stream: *mut FILE) -> off_t; } #[pg_guard] extern "C" { - pub fn rewind(__stream: *mut FILE); + pub fn snprintf( + __str: *mut ::std::os::raw::c_char, + __size: ::std::os::raw::c_ulong, + __format: *const ::std::os::raw::c_char, + ... + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn fseeko( + pub fn vfscanf( __stream: *mut FILE, - __off: __off_t, - __whence: ::std::os::raw::c_int, + __format: *const ::std::os::raw::c_char, + arg1: __builtin_va_list, ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn ftello(__stream: *mut FILE) -> __off_t; -} -#[pg_guard] -extern "C" { - pub fn fgetpos(__stream: *mut FILE, __pos: *mut fpos_t) -> ::std::os::raw::c_int; -} -#[pg_guard] -extern "C" { - pub fn fsetpos(__stream: *mut FILE, __pos: *const fpos_t) -> ::std::os::raw::c_int; -} -#[pg_guard] -extern "C" { - pub fn clearerr(__stream: *mut FILE); -} -#[pg_guard] -extern "C" { - pub fn feof(__stream: *mut FILE) -> ::std::os::raw::c_int; -} -#[pg_guard] -extern "C" { - pub fn ferror(__stream: *mut FILE) -> ::std::os::raw::c_int; -} -#[pg_guard] -extern "C" { - pub fn clearerr_unlocked(__stream: *mut FILE); + pub fn vscanf( + __format: *const ::std::os::raw::c_char, + arg1: __builtin_va_list, + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn feof_unlocked(__stream: *mut FILE) -> ::std::os::raw::c_int; + pub fn vsnprintf( + __str: *mut ::std::os::raw::c_char, + __size: ::std::os::raw::c_ulong, + __format: *const ::std::os::raw::c_char, + arg1: __builtin_va_list, + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn ferror_unlocked(__stream: *mut FILE) -> ::std::os::raw::c_int; + pub fn vsscanf( + __str: *const ::std::os::raw::c_char, + __format: *const ::std::os::raw::c_char, + arg1: __builtin_va_list, + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn perror(__s: *const ::std::os::raw::c_char); + pub fn dprintf( + arg1: ::std::os::raw::c_int, + arg2: *const ::std::os::raw::c_char, + ... + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn fileno(__stream: *mut FILE) -> ::std::os::raw::c_int; + pub fn vdprintf( + arg1: ::std::os::raw::c_int, + arg2: *const ::std::os::raw::c_char, + arg3: va_list, + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn fileno_unlocked(__stream: *mut FILE) -> ::std::os::raw::c_int; + pub fn getdelim( + __linep: *mut *mut ::std::os::raw::c_char, + __linecapp: *mut usize, + __delimiter: ::std::os::raw::c_int, + __stream: *mut FILE, + ) -> isize; } #[pg_guard] extern "C" { - pub fn pclose(__stream: *mut FILE) -> ::std::os::raw::c_int; + pub fn getline( + __linep: *mut *mut ::std::os::raw::c_char, + __linecapp: *mut usize, + __stream: *mut FILE, + ) -> isize; } #[pg_guard] extern "C" { - pub fn popen( - __command: *const ::std::os::raw::c_char, - __modes: *const ::std::os::raw::c_char, + pub fn fmemopen( + __buf: *mut ::std::os::raw::c_void, + __size: usize, + __mode: *const ::std::os::raw::c_char, ) -> *mut FILE; } #[pg_guard] extern "C" { - pub fn ctermid(__s: *mut ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; -} -#[pg_guard] -extern "C" { - pub fn flockfile(__stream: *mut FILE); -} -#[pg_guard] -extern "C" { - pub fn ftrylockfile(__stream: *mut FILE) -> ::std::os::raw::c_int; -} -#[pg_guard] -extern "C" { - pub fn funlockfile(__stream: *mut FILE); -} -#[pg_guard] -extern "C" { - pub fn __uflow(arg1: *mut FILE) -> ::std::os::raw::c_int; + pub fn open_memstream( + __bufp: *mut *mut ::std::os::raw::c_char, + __sizep: *mut usize, + ) -> *mut FILE; } #[pg_guard] extern "C" { - pub fn __overflow(arg1: *mut FILE, arg2: ::std::os::raw::c_int) -> ::std::os::raw::c_int; -} -pub type wchar_t = ::std::os::raw::c_int; -#[repr(C)] -#[derive(Debug, Default, Copy, Clone)] -pub struct div_t { - pub quot: ::std::os::raw::c_int, - pub rem: ::std::os::raw::c_int, -} -#[repr(C)] -#[derive(Debug, Default, Copy, Clone)] -pub struct ldiv_t { - pub quot: ::std::os::raw::c_long, - pub rem: ::std::os::raw::c_long, -} -#[repr(C)] -#[derive(Debug, Default, Copy, Clone)] -pub struct lldiv_t { - pub quot: ::std::os::raw::c_longlong, - pub rem: ::std::os::raw::c_longlong, + pub static sys_nerr: ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn __ctype_get_mb_cur_max() -> usize; + pub static mut sys_errlist: [*const ::std::os::raw::c_char; 0usize]; } #[pg_guard] extern "C" { - pub fn atof(__nptr: *const ::std::os::raw::c_char) -> f64; + pub fn asprintf( + arg1: *mut *mut ::std::os::raw::c_char, + arg2: *const ::std::os::raw::c_char, + ... + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn atoi(__nptr: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; + pub fn ctermid_r(arg1: *mut ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; } #[pg_guard] extern "C" { - pub fn atol(__nptr: *const ::std::os::raw::c_char) -> ::std::os::raw::c_long; + pub fn fgetln(arg1: *mut FILE, arg2: *mut usize) -> *mut ::std::os::raw::c_char; } #[pg_guard] extern "C" { - pub fn atoll(__nptr: *const ::std::os::raw::c_char) -> ::std::os::raw::c_longlong; + pub fn fmtcheck( + arg1: *const ::std::os::raw::c_char, + arg2: *const ::std::os::raw::c_char, + ) -> *const ::std::os::raw::c_char; } #[pg_guard] extern "C" { - pub fn strtod( - __nptr: *const ::std::os::raw::c_char, - __endptr: *mut *mut ::std::os::raw::c_char, - ) -> f64; + pub fn fpurge(arg1: *mut FILE) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn strtof( - __nptr: *const ::std::os::raw::c_char, - __endptr: *mut *mut ::std::os::raw::c_char, - ) -> f32; + pub fn setbuffer( + arg1: *mut FILE, + arg2: *mut ::std::os::raw::c_char, + arg3: ::std::os::raw::c_int, + ); } #[pg_guard] extern "C" { - pub fn strtold( - __nptr: *const ::std::os::raw::c_char, - __endptr: *mut *mut ::std::os::raw::c_char, - ) -> u128; + pub fn setlinebuf(arg1: *mut FILE) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn strtol( - __nptr: *const ::std::os::raw::c_char, - __endptr: *mut *mut ::std::os::raw::c_char, - __base: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_long; + pub fn vasprintf( + arg1: *mut *mut ::std::os::raw::c_char, + arg2: *const ::std::os::raw::c_char, + arg3: va_list, + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn strtoul( - __nptr: *const ::std::os::raw::c_char, - __endptr: *mut *mut ::std::os::raw::c_char, - __base: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_ulong; + pub fn funopen( + arg1: *const ::std::os::raw::c_void, + arg2: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut ::std::os::raw::c_void, + arg2: *mut ::std::os::raw::c_char, + arg3: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int, + >, + arg3: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut ::std::os::raw::c_void, + arg2: *const ::std::os::raw::c_char, + arg3: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int, + >, + arg4: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut ::std::os::raw::c_void, + arg2: fpos_t, + arg3: ::std::os::raw::c_int, + ) -> fpos_t, + >, + arg5: ::std::option::Option< + unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int, + >, + ) -> *mut FILE; } #[pg_guard] extern "C" { - pub fn strtoq( - __nptr: *const ::std::os::raw::c_char, - __endptr: *mut *mut ::std::os::raw::c_char, - __base: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_longlong; + pub fn __sprintf_chk( + arg1: *mut ::std::os::raw::c_char, + arg2: ::std::os::raw::c_int, + arg3: usize, + arg4: *const ::std::os::raw::c_char, + ... + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn strtouq( - __nptr: *const ::std::os::raw::c_char, - __endptr: *mut *mut ::std::os::raw::c_char, - __base: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_ulonglong; + pub fn __snprintf_chk( + arg1: *mut ::std::os::raw::c_char, + arg2: usize, + arg3: ::std::os::raw::c_int, + arg4: usize, + arg5: *const ::std::os::raw::c_char, + ... + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn strtoll( - __nptr: *const ::std::os::raw::c_char, - __endptr: *mut *mut ::std::os::raw::c_char, - __base: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_longlong; + pub fn __vsprintf_chk( + arg1: *mut ::std::os::raw::c_char, + arg2: ::std::os::raw::c_int, + arg3: usize, + arg4: *const ::std::os::raw::c_char, + arg5: va_list, + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn strtoull( - __nptr: *const ::std::os::raw::c_char, - __endptr: *mut *mut ::std::os::raw::c_char, - __base: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_ulonglong; + pub fn __vsnprintf_chk( + arg1: *mut ::std::os::raw::c_char, + arg2: usize, + arg3: ::std::os::raw::c_int, + arg4: usize, + arg5: *const ::std::os::raw::c_char, + arg6: va_list, + ) -> ::std::os::raw::c_int; } -#[pg_guard] -extern "C" { - pub fn l64a(__n: ::std::os::raw::c_long) -> *mut ::std::os::raw::c_char; -} -#[pg_guard] -extern "C" { - pub fn a64l(__s: *const ::std::os::raw::c_char) -> ::std::os::raw::c_long; -} -pub type u_char = __u_char; -pub type u_short = __u_short; -pub type u_int = __u_int; -pub type u_long = __u_long; -pub type quad_t = __quad_t; -pub type u_quad_t = __u_quad_t; -pub type fsid_t = __fsid_t; -pub type loff_t = __loff_t; -pub type ino_t = __ino_t; -pub type dev_t = __dev_t; -pub type gid_t = __gid_t; -pub type mode_t = __mode_t; -pub type nlink_t = __nlink_t; -pub type uid_t = __uid_t; -pub type pid_t = __pid_t; -pub type id_t = __id_t; -pub type daddr_t = __daddr_t; -pub type caddr_t = __caddr_t; -pub type key_t = __key_t; -pub type clock_t = __clock_t; -pub type clockid_t = __clockid_t; -pub type time_t = __time_t; -pub type timer_t = __timer_t; -pub type ulong = ::std::os::raw::c_ulong; -pub type ushort = ::std::os::raw::c_ushort; -pub type uint = ::std::os::raw::c_uint; -pub type u_int8_t = __uint8_t; -pub type u_int16_t = __uint16_t; -pub type u_int32_t = __uint32_t; -pub type u_int64_t = __uint64_t; -pub type register_t = ::std::os::raw::c_long; +pub const idtype_t_P_ALL: idtype_t = 0; +pub const idtype_t_P_PID: idtype_t = 1; +pub const idtype_t_P_PGID: idtype_t = 2; +pub type idtype_t = ::std::os::raw::c_uint; +pub type pid_t = __darwin_pid_t; +pub type id_t = __darwin_id_t; +pub type sig_atomic_t = ::std::os::raw::c_int; #[repr(C)] #[derive(Debug, Default, Copy, Clone)] -pub struct __sigset_t { - pub __val: [::std::os::raw::c_ulong; 16usize], +pub struct __darwin_arm_exception_state { + pub __exception: __uint32_t, + pub __fsr: __uint32_t, + pub __far: __uint32_t, } -pub type sigset_t = __sigset_t; #[repr(C)] #[derive(Debug, Default, Copy, Clone)] -pub struct timeval { - pub tv_sec: __time_t, - pub tv_usec: __suseconds_t, +pub struct __darwin_arm_exception_state64 { + pub __far: __uint64_t, + pub __esr: __uint32_t, + pub __exception: __uint32_t, } #[repr(C)] #[derive(Debug, Default, Copy, Clone)] -pub struct timespec { - pub tv_sec: __time_t, - pub tv_nsec: __syscall_slong_t, +pub struct __darwin_arm_thread_state { + pub __r: [__uint32_t; 13usize], + pub __sp: __uint32_t, + pub __lr: __uint32_t, + pub __pc: __uint32_t, + pub __cpsr: __uint32_t, } -pub type suseconds_t = __suseconds_t; -pub type __fd_mask = ::std::os::raw::c_long; #[repr(C)] #[derive(Debug, Default, Copy, Clone)] -pub struct fd_set { - pub __fds_bits: [__fd_mask; 16usize], -} -pub type fd_mask = __fd_mask; -#[pg_guard] -extern "C" { - pub fn select( - __nfds: ::std::os::raw::c_int, - __readfds: *mut fd_set, - __writefds: *mut fd_set, - __exceptfds: *mut fd_set, - __timeout: *mut timeval, - ) -> ::std::os::raw::c_int; -} -#[pg_guard] -extern "C" { - pub fn pselect( - __nfds: ::std::os::raw::c_int, - __readfds: *mut fd_set, - __writefds: *mut fd_set, - __exceptfds: *mut fd_set, - __timeout: *const timespec, - __sigmask: *const __sigset_t, - ) -> ::std::os::raw::c_int; -} -pub type blksize_t = __blksize_t; -pub type blkcnt_t = __blkcnt_t; -pub type fsblkcnt_t = __fsblkcnt_t; -pub type fsfilcnt_t = __fsfilcnt_t; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct __pthread_internal_list { - pub __prev: *mut __pthread_internal_list, - pub __next: *mut __pthread_internal_list, +pub struct __darwin_arm_thread_state64 { + pub __x: [__uint64_t; 29usize], + pub __fp: __uint64_t, + pub __lr: __uint64_t, + pub __sp: __uint64_t, + pub __pc: __uint64_t, + pub __cpsr: __uint32_t, + pub __pad: __uint32_t, } -impl Default for __pthread_internal_list { - fn default() -> Self { - let mut s = ::std::mem::MaybeUninit::::uninit(); - unsafe { - ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); - s.assume_init() - } - } -} -pub type __pthread_list_t = __pthread_internal_list; #[repr(C)] #[derive(Debug, Copy, Clone)] -pub struct __pthread_internal_slist { - pub __next: *mut __pthread_internal_slist, +pub struct __darwin_arm_vfp_state { + pub __r: [__uint32_t; 64usize], + pub __fpscr: __uint32_t, } -impl Default for __pthread_internal_slist { +impl Default for __darwin_arm_vfp_state { fn default() -> Self { let mut s = ::std::mem::MaybeUninit::::uninit(); unsafe { @@ -3917,98 +4434,66 @@ impl Default for __pthread_internal_slist { } } } -pub type __pthread_slist_t = __pthread_internal_slist; #[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct __pthread_mutex_s { - pub __lock: ::std::os::raw::c_int, - pub __count: ::std::os::raw::c_uint, - pub __owner: ::std::os::raw::c_int, - pub __nusers: ::std::os::raw::c_uint, - pub __kind: ::std::os::raw::c_int, - pub __spins: ::std::os::raw::c_short, - pub __elision: ::std::os::raw::c_short, - pub __list: __pthread_list_t, -} -impl Default for __pthread_mutex_s { - fn default() -> Self { - let mut s = ::std::mem::MaybeUninit::::uninit(); - unsafe { - ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); - s.assume_init() - } - } +#[repr(align(16))] +#[derive(Debug, Default, Copy, Clone)] +pub struct __darwin_arm_neon_state64 { + pub __v: [__uint128_t; 32usize], + pub __fpsr: __uint32_t, + pub __fpcr: __uint32_t, } #[repr(C)] +#[repr(align(16))] #[derive(Debug, Default, Copy, Clone)] -pub struct __pthread_rwlock_arch_t { - pub __readers: ::std::os::raw::c_uint, - pub __writers: ::std::os::raw::c_uint, - pub __wrphase_futex: ::std::os::raw::c_uint, - pub __writers_futex: ::std::os::raw::c_uint, - pub __pad3: ::std::os::raw::c_uint, - pub __pad4: ::std::os::raw::c_uint, - pub __cur_writer: ::std::os::raw::c_int, - pub __shared: ::std::os::raw::c_int, - pub __rwelision: ::std::os::raw::c_schar, - pub __pad1: [::std::os::raw::c_uchar; 7usize], - pub __pad2: ::std::os::raw::c_ulong, - pub __flags: ::std::os::raw::c_uint, +pub struct __darwin_arm_neon_state { + pub __v: [__uint128_t; 16usize], + pub __fpsr: __uint32_t, + pub __fpcr: __uint32_t, } #[repr(C)] -#[derive(Copy, Clone)] -pub struct __pthread_cond_s { - pub __bindgen_anon_1: __pthread_cond_s__bindgen_ty_1, - pub __bindgen_anon_2: __pthread_cond_s__bindgen_ty_2, - pub __g_refs: [::std::os::raw::c_uint; 2usize], - pub __g_size: [::std::os::raw::c_uint; 2usize], - pub __g1_orig_size: ::std::os::raw::c_uint, - pub __wrefs: ::std::os::raw::c_uint, - pub __g_signals: [::std::os::raw::c_uint; 2usize], +#[derive(Debug, Default, Copy, Clone)] +pub struct __arm_pagein_state { + pub __pagein_error: ::std::os::raw::c_int, } #[repr(C)] -#[derive(Copy, Clone)] -pub union __pthread_cond_s__bindgen_ty_1 { - pub __wseq: ::std::os::raw::c_ulonglong, - pub __wseq32: __pthread_cond_s__bindgen_ty_1__bindgen_ty_1, +#[derive(Debug, Default, Copy, Clone)] +pub struct __arm_legacy_debug_state { + pub __bvr: [__uint32_t; 16usize], + pub __bcr: [__uint32_t; 16usize], + pub __wvr: [__uint32_t; 16usize], + pub __wcr: [__uint32_t; 16usize], } #[repr(C)] #[derive(Debug, Default, Copy, Clone)] -pub struct __pthread_cond_s__bindgen_ty_1__bindgen_ty_1 { - pub __low: ::std::os::raw::c_uint, - pub __high: ::std::os::raw::c_uint, -} -impl Default for __pthread_cond_s__bindgen_ty_1 { - fn default() -> Self { - let mut s = ::std::mem::MaybeUninit::::uninit(); - unsafe { - ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); - s.assume_init() - } - } +pub struct __darwin_arm_debug_state32 { + pub __bvr: [__uint32_t; 16usize], + pub __bcr: [__uint32_t; 16usize], + pub __wvr: [__uint32_t; 16usize], + pub __wcr: [__uint32_t; 16usize], + pub __mdscr_el1: __uint64_t, } #[repr(C)] -#[derive(Copy, Clone)] -pub union __pthread_cond_s__bindgen_ty_2 { - pub __g1_start: ::std::os::raw::c_ulonglong, - pub __g1_start32: __pthread_cond_s__bindgen_ty_2__bindgen_ty_1, +#[derive(Debug, Default, Copy, Clone)] +pub struct __darwin_arm_debug_state64 { + pub __bvr: [__uint64_t; 16usize], + pub __bcr: [__uint64_t; 16usize], + pub __wvr: [__uint64_t; 16usize], + pub __wcr: [__uint64_t; 16usize], + pub __mdscr_el1: __uint64_t, } #[repr(C)] #[derive(Debug, Default, Copy, Clone)] -pub struct __pthread_cond_s__bindgen_ty_2__bindgen_ty_1 { - pub __low: ::std::os::raw::c_uint, - pub __high: ::std::os::raw::c_uint, +pub struct __darwin_arm_cpmu_state64 { + pub __ctrs: [__uint64_t; 16usize], } -impl Default for __pthread_cond_s__bindgen_ty_2 { - fn default() -> Self { - let mut s = ::std::mem::MaybeUninit::::uninit(); - unsafe { - ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); - s.assume_init() - } - } +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct __darwin_mcontext32 { + pub __es: __darwin_arm_exception_state, + pub __ss: __darwin_arm_thread_state, + pub __fs: __darwin_arm_vfp_state, } -impl Default for __pthread_cond_s { +impl Default for __darwin_mcontext32 { fn default() -> Self { let mut s = ::std::mem::MaybeUninit::::uninit(); unsafe { @@ -4017,21 +4502,24 @@ impl Default for __pthread_cond_s { } } } -pub type __tss_t = ::std::os::raw::c_uint; -pub type __thrd_t = ::std::os::raw::c_ulong; #[repr(C)] +#[repr(align(16))] #[derive(Debug, Default, Copy, Clone)] -pub struct __once_flag { - pub __data: ::std::os::raw::c_int, +pub struct __darwin_mcontext64 { + pub __es: __darwin_arm_exception_state64, + pub __ss: __darwin_arm_thread_state64, + pub __ns: __darwin_arm_neon_state64, } -pub type pthread_t = ::std::os::raw::c_ulong; +pub type mcontext_t = *mut __darwin_mcontext64; +pub type pthread_attr_t = __darwin_pthread_attr_t; #[repr(C)] -#[derive(Copy, Clone)] -pub union pthread_mutexattr_t { - pub __size: [::std::os::raw::c_char; 4usize], - pub __align: ::std::os::raw::c_int, +#[derive(Debug, Copy, Clone)] +pub struct __darwin_sigaltstack { + pub ss_sp: *mut ::std::os::raw::c_void, + pub ss_size: __darwin_size_t, + pub ss_flags: ::std::os::raw::c_int, } -impl Default for pthread_mutexattr_t { +impl Default for __darwin_sigaltstack { fn default() -> Self { let mut s = ::std::mem::MaybeUninit::::uninit(); unsafe { @@ -4040,13 +4528,18 @@ impl Default for pthread_mutexattr_t { } } } +pub type stack_t = __darwin_sigaltstack; #[repr(C)] -#[derive(Copy, Clone)] -pub union pthread_condattr_t { - pub __size: [::std::os::raw::c_char; 4usize], - pub __align: ::std::os::raw::c_int, +#[derive(Debug, Copy, Clone)] +pub struct __darwin_ucontext { + pub uc_onstack: ::std::os::raw::c_int, + pub uc_sigmask: __darwin_sigset_t, + pub uc_stack: __darwin_sigaltstack, + pub uc_link: *mut __darwin_ucontext, + pub uc_mcsize: __darwin_size_t, + pub uc_mcontext: *mut __darwin_mcontext64, } -impl Default for pthread_condattr_t { +impl Default for __darwin_ucontext { fn default() -> Self { let mut s = ::std::mem::MaybeUninit::::uninit(); unsafe { @@ -4055,15 +4548,16 @@ impl Default for pthread_condattr_t { } } } -pub type pthread_key_t = ::std::os::raw::c_uint; -pub type pthread_once_t = ::std::os::raw::c_int; +pub type ucontext_t = __darwin_ucontext; +pub type sigset_t = __darwin_sigset_t; +pub type uid_t = __darwin_uid_t; #[repr(C)] #[derive(Copy, Clone)] -pub union pthread_attr_t { - pub __size: [::std::os::raw::c_char; 56usize], - pub __align: ::std::os::raw::c_long, +pub union sigval { + pub sival_int: ::std::os::raw::c_int, + pub sival_ptr: *mut ::std::os::raw::c_void, } -impl Default for pthread_attr_t { +impl Default for sigval { fn default() -> Self { let mut s = ::std::mem::MaybeUninit::::uninit(); unsafe { @@ -4074,12 +4568,14 @@ impl Default for pthread_attr_t { } #[repr(C)] #[derive(Copy, Clone)] -pub union pthread_mutex_t { - pub __data: __pthread_mutex_s, - pub __size: [::std::os::raw::c_char; 40usize], - pub __align: ::std::os::raw::c_long, +pub struct sigevent { + pub sigev_notify: ::std::os::raw::c_int, + pub sigev_signo: ::std::os::raw::c_int, + pub sigev_value: sigval, + pub sigev_notify_function: ::std::option::Option, + pub sigev_notify_attributes: *mut pthread_attr_t, } -impl Default for pthread_mutex_t { +impl Default for sigevent { fn default() -> Self { let mut s = ::std::mem::MaybeUninit::::uninit(); unsafe { @@ -4090,12 +4586,19 @@ impl Default for pthread_mutex_t { } #[repr(C)] #[derive(Copy, Clone)] -pub union pthread_cond_t { - pub __data: __pthread_cond_s, - pub __size: [::std::os::raw::c_char; 48usize], - pub __align: ::std::os::raw::c_longlong, +pub struct __siginfo { + pub si_signo: ::std::os::raw::c_int, + pub si_errno: ::std::os::raw::c_int, + pub si_code: ::std::os::raw::c_int, + pub si_pid: pid_t, + pub si_uid: uid_t, + pub si_status: ::std::os::raw::c_int, + pub si_addr: *mut ::std::os::raw::c_void, + pub si_value: sigval, + pub si_band: ::std::os::raw::c_long, + pub __pad: [::std::os::raw::c_ulong; 7usize], } -impl Default for pthread_cond_t { +impl Default for __siginfo { fn default() -> Self { let mut s = ::std::mem::MaybeUninit::::uninit(); unsafe { @@ -4104,14 +4607,20 @@ impl Default for pthread_cond_t { } } } +pub type siginfo_t = __siginfo; #[repr(C)] #[derive(Copy, Clone)] -pub union pthread_rwlock_t { - pub __data: __pthread_rwlock_arch_t, - pub __size: [::std::os::raw::c_char; 56usize], - pub __align: ::std::os::raw::c_long, +pub union __sigaction_u { + pub __sa_handler: ::std::option::Option, + pub __sa_sigaction: ::std::option::Option< + unsafe extern "C" fn( + arg1: ::std::os::raw::c_int, + arg2: *mut __siginfo, + arg3: *mut ::std::os::raw::c_void, + ), + >, } -impl Default for pthread_rwlock_t { +impl Default for __sigaction_u { fn default() -> Self { let mut s = ::std::mem::MaybeUninit::::uninit(); unsafe { @@ -4122,11 +4631,21 @@ impl Default for pthread_rwlock_t { } #[repr(C)] #[derive(Copy, Clone)] -pub union pthread_rwlockattr_t { - pub __size: [::std::os::raw::c_char; 8usize], - pub __align: ::std::os::raw::c_long, +pub struct __sigaction { + pub __sigaction_u: __sigaction_u, + pub sa_tramp: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut ::std::os::raw::c_void, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + arg4: *mut siginfo_t, + arg5: *mut ::std::os::raw::c_void, + ), + >, + pub sa_mask: sigset_t, + pub sa_flags: ::std::os::raw::c_int, } -impl Default for pthread_rwlockattr_t { +impl Default for __sigaction { fn default() -> Self { let mut s = ::std::mem::MaybeUninit::::uninit(); unsafe { @@ -4135,14 +4654,14 @@ impl Default for pthread_rwlockattr_t { } } } -pub type pthread_spinlock_t = ::std::os::raw::c_int; #[repr(C)] #[derive(Copy, Clone)] -pub union pthread_barrier_t { - pub __size: [::std::os::raw::c_char; 32usize], - pub __align: ::std::os::raw::c_long, +pub struct sigaction { + pub __sigaction_u: __sigaction_u, + pub sa_mask: sigset_t, + pub sa_flags: ::std::os::raw::c_int, } -impl Default for pthread_barrier_t { +impl Default for sigaction { fn default() -> Self { let mut s = ::std::mem::MaybeUninit::::uninit(); unsafe { @@ -4151,53 +4670,21 @@ impl Default for pthread_barrier_t { } } } +pub type sig_t = ::std::option::Option; #[repr(C)] -#[derive(Copy, Clone)] -pub union pthread_barrierattr_t { - pub __size: [::std::os::raw::c_char; 4usize], - pub __align: ::std::os::raw::c_int, -} -impl Default for pthread_barrierattr_t { - fn default() -> Self { - let mut s = ::std::mem::MaybeUninit::::uninit(); - unsafe { - ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); - s.assume_init() - } - } -} -#[pg_guard] -extern "C" { - pub fn random() -> ::std::os::raw::c_long; -} -#[pg_guard] -extern "C" { - pub fn srandom(__seed: ::std::os::raw::c_uint); -} -#[pg_guard] -extern "C" { - pub fn initstate( - __seed: ::std::os::raw::c_uint, - __statebuf: *mut ::std::os::raw::c_char, - __statelen: usize, - ) -> *mut ::std::os::raw::c_char; -} -#[pg_guard] -extern "C" { - pub fn setstate(__statebuf: *mut ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; +#[derive(Debug, Default, Copy, Clone)] +pub struct sigvec { + pub sv_handler: ::std::option::Option, + pub sv_mask: ::std::os::raw::c_int, + pub sv_flags: ::std::os::raw::c_int, } #[repr(C)] #[derive(Debug, Copy, Clone)] -pub struct random_data { - pub fptr: *mut i32, - pub rptr: *mut i32, - pub state: *mut i32, - pub rand_type: ::std::os::raw::c_int, - pub rand_deg: ::std::os::raw::c_int, - pub rand_sep: ::std::os::raw::c_int, - pub end_ptr: *mut i32, +pub struct sigstack { + pub ss_sp: *mut ::std::os::raw::c_char, + pub ss_onstack: ::std::os::raw::c_int, } -impl Default for random_data { +impl Default for sigstack { fn default() -> Self { let mut s = ::std::mem::MaybeUninit::::uninit(); unsafe { @@ -4208,188 +4695,558 @@ impl Default for random_data { } #[pg_guard] extern "C" { - pub fn random_r(__buf: *mut random_data, __result: *mut i32) -> ::std::os::raw::c_int; + pub fn signal( + arg1: ::std::os::raw::c_int, + arg2: ::std::option::Option, + ) -> ::std::option::Option< + unsafe extern "C" fn( + arg1: ::std::os::raw::c_int, + arg2: ::std::option::Option, + ), + >; } -#[pg_guard] -extern "C" { - pub fn srandom_r( - __seed: ::std::os::raw::c_uint, - __buf: *mut random_data, - ) -> ::std::os::raw::c_int; +pub type int_least8_t = i8; +pub type int_least16_t = i16; +pub type int_least32_t = i32; +pub type int_least64_t = i64; +pub type uint_least8_t = u8; +pub type uint_least16_t = u16; +pub type uint_least32_t = u32; +pub type uint_least64_t = u64; +pub type int_fast8_t = i8; +pub type int_fast16_t = i16; +pub type int_fast32_t = i32; +pub type int_fast64_t = i64; +pub type uint_fast8_t = u8; +pub type uint_fast16_t = u16; +pub type uint_fast32_t = u32; +pub type uint_fast64_t = u64; +pub type intmax_t = ::std::os::raw::c_long; +pub type uintmax_t = ::std::os::raw::c_ulong; +#[repr(C)] +#[derive(Debug, Default, Copy, Clone)] +pub struct timeval { + pub tv_sec: __darwin_time_t, + pub tv_usec: __darwin_suseconds_t, } -#[pg_guard] -extern "C" { - pub fn initstate_r( - __seed: ::std::os::raw::c_uint, - __statebuf: *mut ::std::os::raw::c_char, - __statelen: usize, - __buf: *mut random_data, - ) -> ::std::os::raw::c_int; +pub type rlim_t = __uint64_t; +#[repr(C)] +#[derive(Debug, Default, Copy, Clone)] +pub struct rusage { + pub ru_utime: timeval, + pub ru_stime: timeval, + pub ru_maxrss: ::std::os::raw::c_long, + pub ru_ixrss: ::std::os::raw::c_long, + pub ru_idrss: ::std::os::raw::c_long, + pub ru_isrss: ::std::os::raw::c_long, + pub ru_minflt: ::std::os::raw::c_long, + pub ru_majflt: ::std::os::raw::c_long, + pub ru_nswap: ::std::os::raw::c_long, + pub ru_inblock: ::std::os::raw::c_long, + pub ru_oublock: ::std::os::raw::c_long, + pub ru_msgsnd: ::std::os::raw::c_long, + pub ru_msgrcv: ::std::os::raw::c_long, + pub ru_nsignals: ::std::os::raw::c_long, + pub ru_nvcsw: ::std::os::raw::c_long, + pub ru_nivcsw: ::std::os::raw::c_long, +} +pub type rusage_info_t = *mut ::std::os::raw::c_void; +#[repr(C)] +#[derive(Debug, Default, Copy, Clone)] +pub struct rusage_info_v0 { + pub ri_uuid: [u8; 16usize], + pub ri_user_time: u64, + pub ri_system_time: u64, + pub ri_pkg_idle_wkups: u64, + pub ri_interrupt_wkups: u64, + pub ri_pageins: u64, + pub ri_wired_size: u64, + pub ri_resident_size: u64, + pub ri_phys_footprint: u64, + pub ri_proc_start_abstime: u64, + pub ri_proc_exit_abstime: u64, } -#[pg_guard] -extern "C" { - pub fn setstate_r( - __statebuf: *mut ::std::os::raw::c_char, - __buf: *mut random_data, - ) -> ::std::os::raw::c_int; +#[repr(C)] +#[derive(Debug, Default, Copy, Clone)] +pub struct rusage_info_v1 { + pub ri_uuid: [u8; 16usize], + pub ri_user_time: u64, + pub ri_system_time: u64, + pub ri_pkg_idle_wkups: u64, + pub ri_interrupt_wkups: u64, + pub ri_pageins: u64, + pub ri_wired_size: u64, + pub ri_resident_size: u64, + pub ri_phys_footprint: u64, + pub ri_proc_start_abstime: u64, + pub ri_proc_exit_abstime: u64, + pub ri_child_user_time: u64, + pub ri_child_system_time: u64, + pub ri_child_pkg_idle_wkups: u64, + pub ri_child_interrupt_wkups: u64, + pub ri_child_pageins: u64, + pub ri_child_elapsed_abstime: u64, } -#[pg_guard] -extern "C" { - pub fn rand() -> ::std::os::raw::c_int; +#[repr(C)] +#[derive(Debug, Default, Copy, Clone)] +pub struct rusage_info_v2 { + pub ri_uuid: [u8; 16usize], + pub ri_user_time: u64, + pub ri_system_time: u64, + pub ri_pkg_idle_wkups: u64, + pub ri_interrupt_wkups: u64, + pub ri_pageins: u64, + pub ri_wired_size: u64, + pub ri_resident_size: u64, + pub ri_phys_footprint: u64, + pub ri_proc_start_abstime: u64, + pub ri_proc_exit_abstime: u64, + pub ri_child_user_time: u64, + pub ri_child_system_time: u64, + pub ri_child_pkg_idle_wkups: u64, + pub ri_child_interrupt_wkups: u64, + pub ri_child_pageins: u64, + pub ri_child_elapsed_abstime: u64, + pub ri_diskio_bytesread: u64, + pub ri_diskio_byteswritten: u64, } -#[pg_guard] -extern "C" { - pub fn srand(__seed: ::std::os::raw::c_uint); +#[repr(C)] +#[derive(Debug, Default, Copy, Clone)] +pub struct rusage_info_v3 { + pub ri_uuid: [u8; 16usize], + pub ri_user_time: u64, + pub ri_system_time: u64, + pub ri_pkg_idle_wkups: u64, + pub ri_interrupt_wkups: u64, + pub ri_pageins: u64, + pub ri_wired_size: u64, + pub ri_resident_size: u64, + pub ri_phys_footprint: u64, + pub ri_proc_start_abstime: u64, + pub ri_proc_exit_abstime: u64, + pub ri_child_user_time: u64, + pub ri_child_system_time: u64, + pub ri_child_pkg_idle_wkups: u64, + pub ri_child_interrupt_wkups: u64, + pub ri_child_pageins: u64, + pub ri_child_elapsed_abstime: u64, + pub ri_diskio_bytesread: u64, + pub ri_diskio_byteswritten: u64, + pub ri_cpu_time_qos_default: u64, + pub ri_cpu_time_qos_maintenance: u64, + pub ri_cpu_time_qos_background: u64, + pub ri_cpu_time_qos_utility: u64, + pub ri_cpu_time_qos_legacy: u64, + pub ri_cpu_time_qos_user_initiated: u64, + pub ri_cpu_time_qos_user_interactive: u64, + pub ri_billed_system_time: u64, + pub ri_serviced_system_time: u64, } -#[pg_guard] -extern "C" { - pub fn rand_r(__seed: *mut ::std::os::raw::c_uint) -> ::std::os::raw::c_int; +#[repr(C)] +#[derive(Debug, Default, Copy, Clone)] +pub struct rusage_info_v4 { + pub ri_uuid: [u8; 16usize], + pub ri_user_time: u64, + pub ri_system_time: u64, + pub ri_pkg_idle_wkups: u64, + pub ri_interrupt_wkups: u64, + pub ri_pageins: u64, + pub ri_wired_size: u64, + pub ri_resident_size: u64, + pub ri_phys_footprint: u64, + pub ri_proc_start_abstime: u64, + pub ri_proc_exit_abstime: u64, + pub ri_child_user_time: u64, + pub ri_child_system_time: u64, + pub ri_child_pkg_idle_wkups: u64, + pub ri_child_interrupt_wkups: u64, + pub ri_child_pageins: u64, + pub ri_child_elapsed_abstime: u64, + pub ri_diskio_bytesread: u64, + pub ri_diskio_byteswritten: u64, + pub ri_cpu_time_qos_default: u64, + pub ri_cpu_time_qos_maintenance: u64, + pub ri_cpu_time_qos_background: u64, + pub ri_cpu_time_qos_utility: u64, + pub ri_cpu_time_qos_legacy: u64, + pub ri_cpu_time_qos_user_initiated: u64, + pub ri_cpu_time_qos_user_interactive: u64, + pub ri_billed_system_time: u64, + pub ri_serviced_system_time: u64, + pub ri_logical_writes: u64, + pub ri_lifetime_max_phys_footprint: u64, + pub ri_instructions: u64, + pub ri_cycles: u64, + pub ri_billed_energy: u64, + pub ri_serviced_energy: u64, + pub ri_interval_max_phys_footprint: u64, + pub ri_runnable_time: u64, } -#[pg_guard] -extern "C" { - pub fn drand48() -> f64; +#[repr(C)] +#[derive(Debug, Default, Copy, Clone)] +pub struct rusage_info_v5 { + pub ri_uuid: [u8; 16usize], + pub ri_user_time: u64, + pub ri_system_time: u64, + pub ri_pkg_idle_wkups: u64, + pub ri_interrupt_wkups: u64, + pub ri_pageins: u64, + pub ri_wired_size: u64, + pub ri_resident_size: u64, + pub ri_phys_footprint: u64, + pub ri_proc_start_abstime: u64, + pub ri_proc_exit_abstime: u64, + pub ri_child_user_time: u64, + pub ri_child_system_time: u64, + pub ri_child_pkg_idle_wkups: u64, + pub ri_child_interrupt_wkups: u64, + pub ri_child_pageins: u64, + pub ri_child_elapsed_abstime: u64, + pub ri_diskio_bytesread: u64, + pub ri_diskio_byteswritten: u64, + pub ri_cpu_time_qos_default: u64, + pub ri_cpu_time_qos_maintenance: u64, + pub ri_cpu_time_qos_background: u64, + pub ri_cpu_time_qos_utility: u64, + pub ri_cpu_time_qos_legacy: u64, + pub ri_cpu_time_qos_user_initiated: u64, + pub ri_cpu_time_qos_user_interactive: u64, + pub ri_billed_system_time: u64, + pub ri_serviced_system_time: u64, + pub ri_logical_writes: u64, + pub ri_lifetime_max_phys_footprint: u64, + pub ri_instructions: u64, + pub ri_cycles: u64, + pub ri_billed_energy: u64, + pub ri_serviced_energy: u64, + pub ri_interval_max_phys_footprint: u64, + pub ri_runnable_time: u64, + pub ri_flags: u64, +} +pub type rusage_info_current = rusage_info_v5; +#[repr(C)] +#[derive(Debug, Default, Copy, Clone)] +pub struct rlimit { + pub rlim_cur: rlim_t, + pub rlim_max: rlim_t, } -#[pg_guard] -extern "C" { - pub fn erand48(__xsubi: *mut ::std::os::raw::c_ushort) -> f64; +#[repr(C)] +#[derive(Debug, Default, Copy, Clone)] +pub struct proc_rlimit_control_wakeupmon { + pub wm_flags: u32, + pub wm_rate: i32, } #[pg_guard] extern "C" { - pub fn lrand48() -> ::std::os::raw::c_long; + pub fn getpriority(arg1: ::std::os::raw::c_int, arg2: id_t) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn nrand48(__xsubi: *mut ::std::os::raw::c_ushort) -> ::std::os::raw::c_long; + pub fn getiopolicy_np( + arg1: ::std::os::raw::c_int, + arg2: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn mrand48() -> ::std::os::raw::c_long; + pub fn getrlimit(arg1: ::std::os::raw::c_int, arg2: *mut rlimit) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn jrand48(__xsubi: *mut ::std::os::raw::c_ushort) -> ::std::os::raw::c_long; + pub fn getrusage(arg1: ::std::os::raw::c_int, arg2: *mut rusage) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn srand48(__seedval: ::std::os::raw::c_long); + pub fn setpriority( + arg1: ::std::os::raw::c_int, + arg2: id_t, + arg3: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn seed48(__seed16v: *mut ::std::os::raw::c_ushort) -> *mut ::std::os::raw::c_ushort; + pub fn setiopolicy_np( + arg1: ::std::os::raw::c_int, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn lcong48(__param: *mut ::std::os::raw::c_ushort); + pub fn setrlimit(arg1: ::std::os::raw::c_int, arg2: *const rlimit) -> ::std::os::raw::c_int; } -#[repr(C)] +#[repr(C, packed)] #[derive(Debug, Default, Copy, Clone)] -pub struct drand48_data { - pub __x: [::std::os::raw::c_ushort; 3usize], - pub __old_x: [::std::os::raw::c_ushort; 3usize], - pub __c: ::std::os::raw::c_ushort, - pub __init: ::std::os::raw::c_ushort, - pub __a: ::std::os::raw::c_ulonglong, +pub struct _OSUnalignedU16 { + pub __val: u16, } -#[pg_guard] -extern "C" { - pub fn drand48_r(__buffer: *mut drand48_data, __result: *mut f64) -> ::std::os::raw::c_int; +#[repr(C, packed)] +#[derive(Debug, Default, Copy, Clone)] +pub struct _OSUnalignedU32 { + pub __val: u32, } -#[pg_guard] -extern "C" { - pub fn erand48_r( - __xsubi: *mut ::std::os::raw::c_ushort, - __buffer: *mut drand48_data, - __result: *mut f64, - ) -> ::std::os::raw::c_int; +#[repr(C, packed)] +#[derive(Debug, Default, Copy, Clone)] +pub struct _OSUnalignedU64 { + pub __val: u64, } -#[pg_guard] -extern "C" { - pub fn lrand48_r( - __buffer: *mut drand48_data, - __result: *mut ::std::os::raw::c_long, - ) -> ::std::os::raw::c_int; +#[repr(C)] +#[derive(Copy, Clone)] +pub union wait { + pub w_status: ::std::os::raw::c_int, + pub w_T: wait__bindgen_ty_1, + pub w_S: wait__bindgen_ty_2, } -#[pg_guard] -extern "C" { - pub fn nrand48_r( - __xsubi: *mut ::std::os::raw::c_ushort, - __buffer: *mut drand48_data, - __result: *mut ::std::os::raw::c_long, - ) -> ::std::os::raw::c_int; +#[repr(C)] +#[repr(align(4))] +#[derive(Debug, Default, Copy, Clone)] +pub struct wait__bindgen_ty_1 { + pub _bitfield_align_1: [u16; 0], + pub _bitfield_1: __BindgenBitfieldUnit<[u8; 4usize]>, +} +impl wait__bindgen_ty_1 { + #[inline] + pub fn w_Termsig(&self) -> ::std::os::raw::c_uint { + unsafe { ::std::mem::transmute(self._bitfield_1.get(0usize, 7u8) as u32) } + } + #[inline] + pub fn set_w_Termsig(&mut self, val: ::std::os::raw::c_uint) { + unsafe { + let val: u32 = ::std::mem::transmute(val); + self._bitfield_1.set(0usize, 7u8, val as u64) + } + } + #[inline] + pub fn w_Coredump(&self) -> ::std::os::raw::c_uint { + unsafe { ::std::mem::transmute(self._bitfield_1.get(7usize, 1u8) as u32) } + } + #[inline] + pub fn set_w_Coredump(&mut self, val: ::std::os::raw::c_uint) { + unsafe { + let val: u32 = ::std::mem::transmute(val); + self._bitfield_1.set(7usize, 1u8, val as u64) + } + } + #[inline] + pub fn w_Retcode(&self) -> ::std::os::raw::c_uint { + unsafe { ::std::mem::transmute(self._bitfield_1.get(8usize, 8u8) as u32) } + } + #[inline] + pub fn set_w_Retcode(&mut self, val: ::std::os::raw::c_uint) { + unsafe { + let val: u32 = ::std::mem::transmute(val); + self._bitfield_1.set(8usize, 8u8, val as u64) + } + } + #[inline] + pub fn w_Filler(&self) -> ::std::os::raw::c_uint { + unsafe { ::std::mem::transmute(self._bitfield_1.get(16usize, 16u8) as u32) } + } + #[inline] + pub fn set_w_Filler(&mut self, val: ::std::os::raw::c_uint) { + unsafe { + let val: u32 = ::std::mem::transmute(val); + self._bitfield_1.set(16usize, 16u8, val as u64) + } + } + #[inline] + pub fn new_bitfield_1( + w_Termsig: ::std::os::raw::c_uint, + w_Coredump: ::std::os::raw::c_uint, + w_Retcode: ::std::os::raw::c_uint, + w_Filler: ::std::os::raw::c_uint, + ) -> __BindgenBitfieldUnit<[u8; 4usize]> { + let mut __bindgen_bitfield_unit: __BindgenBitfieldUnit<[u8; 4usize]> = Default::default(); + __bindgen_bitfield_unit.set(0usize, 7u8, { + let w_Termsig: u32 = unsafe { ::std::mem::transmute(w_Termsig) }; + w_Termsig as u64 + }); + __bindgen_bitfield_unit.set(7usize, 1u8, { + let w_Coredump: u32 = unsafe { ::std::mem::transmute(w_Coredump) }; + w_Coredump as u64 + }); + __bindgen_bitfield_unit.set(8usize, 8u8, { + let w_Retcode: u32 = unsafe { ::std::mem::transmute(w_Retcode) }; + w_Retcode as u64 + }); + __bindgen_bitfield_unit.set(16usize, 16u8, { + let w_Filler: u32 = unsafe { ::std::mem::transmute(w_Filler) }; + w_Filler as u64 + }); + __bindgen_bitfield_unit + } +} +#[repr(C)] +#[repr(align(4))] +#[derive(Debug, Default, Copy, Clone)] +pub struct wait__bindgen_ty_2 { + pub _bitfield_align_1: [u16; 0], + pub _bitfield_1: __BindgenBitfieldUnit<[u8; 4usize]>, +} +impl wait__bindgen_ty_2 { + #[inline] + pub fn w_Stopval(&self) -> ::std::os::raw::c_uint { + unsafe { ::std::mem::transmute(self._bitfield_1.get(0usize, 8u8) as u32) } + } + #[inline] + pub fn set_w_Stopval(&mut self, val: ::std::os::raw::c_uint) { + unsafe { + let val: u32 = ::std::mem::transmute(val); + self._bitfield_1.set(0usize, 8u8, val as u64) + } + } + #[inline] + pub fn w_Stopsig(&self) -> ::std::os::raw::c_uint { + unsafe { ::std::mem::transmute(self._bitfield_1.get(8usize, 8u8) as u32) } + } + #[inline] + pub fn set_w_Stopsig(&mut self, val: ::std::os::raw::c_uint) { + unsafe { + let val: u32 = ::std::mem::transmute(val); + self._bitfield_1.set(8usize, 8u8, val as u64) + } + } + #[inline] + pub fn w_Filler(&self) -> ::std::os::raw::c_uint { + unsafe { ::std::mem::transmute(self._bitfield_1.get(16usize, 16u8) as u32) } + } + #[inline] + pub fn set_w_Filler(&mut self, val: ::std::os::raw::c_uint) { + unsafe { + let val: u32 = ::std::mem::transmute(val); + self._bitfield_1.set(16usize, 16u8, val as u64) + } + } + #[inline] + pub fn new_bitfield_1( + w_Stopval: ::std::os::raw::c_uint, + w_Stopsig: ::std::os::raw::c_uint, + w_Filler: ::std::os::raw::c_uint, + ) -> __BindgenBitfieldUnit<[u8; 4usize]> { + let mut __bindgen_bitfield_unit: __BindgenBitfieldUnit<[u8; 4usize]> = Default::default(); + __bindgen_bitfield_unit.set(0usize, 8u8, { + let w_Stopval: u32 = unsafe { ::std::mem::transmute(w_Stopval) }; + w_Stopval as u64 + }); + __bindgen_bitfield_unit.set(8usize, 8u8, { + let w_Stopsig: u32 = unsafe { ::std::mem::transmute(w_Stopsig) }; + w_Stopsig as u64 + }); + __bindgen_bitfield_unit.set(16usize, 16u8, { + let w_Filler: u32 = unsafe { ::std::mem::transmute(w_Filler) }; + w_Filler as u64 + }); + __bindgen_bitfield_unit + } +} +impl Default for wait { + fn default() -> Self { + let mut s = ::std::mem::MaybeUninit::::uninit(); + unsafe { + ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); + s.assume_init() + } + } } #[pg_guard] extern "C" { - pub fn mrand48_r( - __buffer: *mut drand48_data, - __result: *mut ::std::os::raw::c_long, - ) -> ::std::os::raw::c_int; + pub fn wait(arg1: *mut ::std::os::raw::c_int) -> pid_t; } #[pg_guard] extern "C" { - pub fn jrand48_r( - __xsubi: *mut ::std::os::raw::c_ushort, - __buffer: *mut drand48_data, - __result: *mut ::std::os::raw::c_long, - ) -> ::std::os::raw::c_int; + pub fn waitpid( + arg1: pid_t, + arg2: *mut ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ) -> pid_t; } #[pg_guard] extern "C" { - pub fn srand48_r( - __seedval: ::std::os::raw::c_long, - __buffer: *mut drand48_data, + pub fn waitid( + arg1: idtype_t, + arg2: id_t, + arg3: *mut siginfo_t, + arg4: ::std::os::raw::c_int, ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn seed48_r( - __seed16v: *mut ::std::os::raw::c_ushort, - __buffer: *mut drand48_data, - ) -> ::std::os::raw::c_int; + pub fn wait3( + arg1: *mut ::std::os::raw::c_int, + arg2: ::std::os::raw::c_int, + arg3: *mut rusage, + ) -> pid_t; } #[pg_guard] extern "C" { - pub fn lcong48_r( - __param: *mut ::std::os::raw::c_ushort, - __buffer: *mut drand48_data, - ) -> ::std::os::raw::c_int; + pub fn wait4( + arg1: pid_t, + arg2: *mut ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + arg4: *mut rusage, + ) -> pid_t; } #[pg_guard] extern "C" { - pub fn malloc(__size: ::std::os::raw::c_ulong) -> *mut ::std::os::raw::c_void; + pub fn alloca(arg1: ::std::os::raw::c_ulong) -> *mut ::std::os::raw::c_void; +} +pub type ct_rune_t = __darwin_ct_rune_t; +pub type rune_t = __darwin_rune_t; +pub type wchar_t = __darwin_wchar_t; +#[repr(C)] +#[derive(Debug, Default, Copy, Clone)] +pub struct div_t { + pub quot: ::std::os::raw::c_int, + pub rem: ::std::os::raw::c_int, +} +#[repr(C)] +#[derive(Debug, Default, Copy, Clone)] +pub struct ldiv_t { + pub quot: ::std::os::raw::c_long, + pub rem: ::std::os::raw::c_long, +} +#[repr(C)] +#[derive(Debug, Default, Copy, Clone)] +pub struct lldiv_t { + pub quot: ::std::os::raw::c_longlong, + pub rem: ::std::os::raw::c_longlong, } #[pg_guard] extern "C" { - pub fn calloc( - __nmemb: ::std::os::raw::c_ulong, - __size: ::std::os::raw::c_ulong, - ) -> *mut ::std::os::raw::c_void; + pub static mut __mb_cur_max: ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn realloc( - __ptr: *mut ::std::os::raw::c_void, + pub fn malloc(__size: ::std::os::raw::c_ulong) -> *mut ::std::os::raw::c_void; +} +#[pg_guard] +extern "C" { + pub fn calloc( + __count: ::std::os::raw::c_ulong, __size: ::std::os::raw::c_ulong, ) -> *mut ::std::os::raw::c_void; } #[pg_guard] extern "C" { - pub fn free(__ptr: *mut ::std::os::raw::c_void); + pub fn free(arg1: *mut ::std::os::raw::c_void); } #[pg_guard] extern "C" { - pub fn reallocarray( + pub fn realloc( __ptr: *mut ::std::os::raw::c_void, - __nmemb: usize, - __size: usize, + __size: ::std::os::raw::c_ulong, ) -> *mut ::std::os::raw::c_void; } #[pg_guard] extern "C" { - pub fn alloca(__size: ::std::os::raw::c_ulong) -> *mut ::std::os::raw::c_void; + pub fn valloc(arg1: usize) -> *mut ::std::os::raw::c_void; } #[pg_guard] extern "C" { - pub fn valloc(__size: usize) -> *mut ::std::os::raw::c_void; + pub fn aligned_alloc( + __alignment: ::std::os::raw::c_ulong, + __size: ::std::os::raw::c_ulong, + ) -> *mut ::std::os::raw::c_void; } #[pg_guard] extern "C" { @@ -4401,4346 +5258,3721 @@ extern "C" { } #[pg_guard] extern "C" { - pub fn aligned_alloc( - __alignment: ::std::os::raw::c_ulong, - __size: ::std::os::raw::c_ulong, - ) -> *mut ::std::os::raw::c_void; + pub fn abort(); } #[pg_guard] extern "C" { - pub fn abort(); + pub fn abs(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn atexit(__func: ::std::option::Option) -> ::std::os::raw::c_int; + pub fn atexit(arg1: ::std::option::Option) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn at_quick_exit( - __func: ::std::option::Option, - ) -> ::std::os::raw::c_int; + pub fn atof(arg1: *const ::std::os::raw::c_char) -> f64; } #[pg_guard] extern "C" { - pub fn on_exit( - __func: ::std::option::Option< - unsafe extern "C" fn( - __status: ::std::os::raw::c_int, - __arg: *mut ::std::os::raw::c_void, - ), - >, - __arg: *mut ::std::os::raw::c_void, - ) -> ::std::os::raw::c_int; + pub fn atoi(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn exit(__status: ::std::os::raw::c_int); + pub fn atol(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_long; } #[pg_guard] extern "C" { - pub fn quick_exit(__status: ::std::os::raw::c_int); + pub fn atoll(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_longlong; } #[pg_guard] extern "C" { - pub fn _Exit(__status: ::std::os::raw::c_int); + pub fn bsearch( + __key: *const ::std::os::raw::c_void, + __base: *const ::std::os::raw::c_void, + __nel: usize, + __width: usize, + __compar: ::std::option::Option< + unsafe extern "C" fn( + arg1: *const ::std::os::raw::c_void, + arg2: *const ::std::os::raw::c_void, + ) -> ::std::os::raw::c_int, + >, + ) -> *mut ::std::os::raw::c_void; } #[pg_guard] extern "C" { - pub fn getenv(__name: *const ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; + pub fn div(arg1: ::std::os::raw::c_int, arg2: ::std::os::raw::c_int) -> div_t; } #[pg_guard] extern "C" { - pub fn putenv(__string: *mut ::std::os::raw::c_char) -> ::std::os::raw::c_int; + pub fn exit(arg1: ::std::os::raw::c_int); } #[pg_guard] extern "C" { - pub fn setenv( - __name: *const ::std::os::raw::c_char, - __value: *const ::std::os::raw::c_char, - __replace: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; + pub fn getenv(arg1: *const ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; +} +#[pg_guard] +extern "C" { + pub fn labs(arg1: ::std::os::raw::c_long) -> ::std::os::raw::c_long; +} +#[pg_guard] +extern "C" { + pub fn ldiv(arg1: ::std::os::raw::c_long, arg2: ::std::os::raw::c_long) -> ldiv_t; } #[pg_guard] extern "C" { - pub fn unsetenv(__name: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; + pub fn llabs(arg1: ::std::os::raw::c_longlong) -> ::std::os::raw::c_longlong; } #[pg_guard] extern "C" { - pub fn clearenv() -> ::std::os::raw::c_int; + pub fn lldiv(arg1: ::std::os::raw::c_longlong, arg2: ::std::os::raw::c_longlong) -> lldiv_t; } #[pg_guard] extern "C" { - pub fn mktemp(__template: *mut ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; + pub fn mblen(__s: *const ::std::os::raw::c_char, __n: usize) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn mkstemp(__template: *mut ::std::os::raw::c_char) -> ::std::os::raw::c_int; + pub fn mbstowcs(arg1: *mut wchar_t, arg2: *const ::std::os::raw::c_char, arg3: usize) -> usize; } #[pg_guard] extern "C" { - pub fn mkstemps( - __template: *mut ::std::os::raw::c_char, - __suffixlen: ::std::os::raw::c_int, + pub fn mbtowc( + arg1: *mut wchar_t, + arg2: *const ::std::os::raw::c_char, + arg3: usize, ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn mkdtemp(__template: *mut ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; + pub fn qsort( + __base: *mut ::std::os::raw::c_void, + __nel: usize, + __width: usize, + __compar: ::std::option::Option< + unsafe extern "C" fn( + arg1: *const ::std::os::raw::c_void, + arg2: *const ::std::os::raw::c_void, + ) -> ::std::os::raw::c_int, + >, + ); } #[pg_guard] extern "C" { - pub fn system(__command: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; + pub fn rand() -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn realpath( - __name: *const ::std::os::raw::c_char, - __resolved: *mut ::std::os::raw::c_char, - ) -> *mut ::std::os::raw::c_char; + pub fn srand(arg1: ::std::os::raw::c_uint); } -pub type __compar_fn_t = ::std::option::Option< - unsafe extern "C" fn( - arg1: *const ::std::os::raw::c_void, - arg2: *const ::std::os::raw::c_void, - ) -> ::std::os::raw::c_int, ->; #[pg_guard] extern "C" { - pub fn bsearch( - __key: *const ::std::os::raw::c_void, - __base: *const ::std::os::raw::c_void, - __nmemb: usize, - __size: usize, - __compar: __compar_fn_t, - ) -> *mut ::std::os::raw::c_void; + pub fn strtod( + arg1: *const ::std::os::raw::c_char, + arg2: *mut *mut ::std::os::raw::c_char, + ) -> f64; } #[pg_guard] extern "C" { - pub fn qsort( - __base: *mut ::std::os::raw::c_void, - __nmemb: usize, - __size: usize, - __compar: __compar_fn_t, - ); + pub fn strtof( + arg1: *const ::std::os::raw::c_char, + arg2: *mut *mut ::std::os::raw::c_char, + ) -> f32; } #[pg_guard] extern "C" { - pub fn abs(__x: ::std::os::raw::c_int) -> ::std::os::raw::c_int; + pub fn strtol( + __str: *const ::std::os::raw::c_char, + __endptr: *mut *mut ::std::os::raw::c_char, + __base: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_long; } #[pg_guard] extern "C" { - pub fn labs(__x: ::std::os::raw::c_long) -> ::std::os::raw::c_long; + pub fn strtold( + arg1: *const ::std::os::raw::c_char, + arg2: *mut *mut ::std::os::raw::c_char, + ) -> f64; } #[pg_guard] extern "C" { - pub fn llabs(__x: ::std::os::raw::c_longlong) -> ::std::os::raw::c_longlong; + pub fn strtoll( + __str: *const ::std::os::raw::c_char, + __endptr: *mut *mut ::std::os::raw::c_char, + __base: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_longlong; } #[pg_guard] extern "C" { - pub fn div(__numer: ::std::os::raw::c_int, __denom: ::std::os::raw::c_int) -> div_t; + pub fn strtoul( + __str: *const ::std::os::raw::c_char, + __endptr: *mut *mut ::std::os::raw::c_char, + __base: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_ulong; } #[pg_guard] extern "C" { - pub fn ldiv(__numer: ::std::os::raw::c_long, __denom: ::std::os::raw::c_long) -> ldiv_t; + pub fn strtoull( + __str: *const ::std::os::raw::c_char, + __endptr: *mut *mut ::std::os::raw::c_char, + __base: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_ulonglong; } #[pg_guard] extern "C" { - pub fn lldiv( - __numer: ::std::os::raw::c_longlong, - __denom: ::std::os::raw::c_longlong, - ) -> lldiv_t; + pub fn system(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn ecvt( - __value: f64, - __ndigit: ::std::os::raw::c_int, - __decpt: *mut ::std::os::raw::c_int, - __sign: *mut ::std::os::raw::c_int, - ) -> *mut ::std::os::raw::c_char; + pub fn wcstombs(arg1: *mut ::std::os::raw::c_char, arg2: *const wchar_t, arg3: usize) -> usize; } #[pg_guard] extern "C" { - pub fn fcvt( - __value: f64, - __ndigit: ::std::os::raw::c_int, - __decpt: *mut ::std::os::raw::c_int, - __sign: *mut ::std::os::raw::c_int, - ) -> *mut ::std::os::raw::c_char; + pub fn wctomb(arg1: *mut ::std::os::raw::c_char, arg2: wchar_t) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn gcvt( - __value: f64, - __ndigit: ::std::os::raw::c_int, - __buf: *mut ::std::os::raw::c_char, - ) -> *mut ::std::os::raw::c_char; + pub fn _Exit(arg1: ::std::os::raw::c_int); } #[pg_guard] extern "C" { - pub fn qecvt( - __value: u128, - __ndigit: ::std::os::raw::c_int, - __decpt: *mut ::std::os::raw::c_int, - __sign: *mut ::std::os::raw::c_int, - ) -> *mut ::std::os::raw::c_char; + pub fn a64l(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_long; } #[pg_guard] extern "C" { - pub fn qfcvt( - __value: u128, - __ndigit: ::std::os::raw::c_int, - __decpt: *mut ::std::os::raw::c_int, - __sign: *mut ::std::os::raw::c_int, - ) -> *mut ::std::os::raw::c_char; + pub fn drand48() -> f64; } #[pg_guard] extern "C" { - pub fn qgcvt( - __value: u128, - __ndigit: ::std::os::raw::c_int, - __buf: *mut ::std::os::raw::c_char, + pub fn ecvt( + arg1: f64, + arg2: ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, ) -> *mut ::std::os::raw::c_char; } #[pg_guard] extern "C" { - pub fn ecvt_r( - __value: f64, - __ndigit: ::std::os::raw::c_int, - __decpt: *mut ::std::os::raw::c_int, - __sign: *mut ::std::os::raw::c_int, - __buf: *mut ::std::os::raw::c_char, - __len: usize, - ) -> ::std::os::raw::c_int; + pub fn erand48(arg1: *mut ::std::os::raw::c_ushort) -> f64; } #[pg_guard] extern "C" { - pub fn fcvt_r( - __value: f64, - __ndigit: ::std::os::raw::c_int, - __decpt: *mut ::std::os::raw::c_int, - __sign: *mut ::std::os::raw::c_int, - __buf: *mut ::std::os::raw::c_char, - __len: usize, - ) -> ::std::os::raw::c_int; + pub fn fcvt( + arg1: f64, + arg2: ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + ) -> *mut ::std::os::raw::c_char; } #[pg_guard] extern "C" { - pub fn qecvt_r( - __value: u128, - __ndigit: ::std::os::raw::c_int, - __decpt: *mut ::std::os::raw::c_int, - __sign: *mut ::std::os::raw::c_int, - __buf: *mut ::std::os::raw::c_char, - __len: usize, - ) -> ::std::os::raw::c_int; + pub fn gcvt( + arg1: f64, + arg2: ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; } #[pg_guard] extern "C" { - pub fn qfcvt_r( - __value: u128, - __ndigit: ::std::os::raw::c_int, - __decpt: *mut ::std::os::raw::c_int, - __sign: *mut ::std::os::raw::c_int, - __buf: *mut ::std::os::raw::c_char, - __len: usize, + pub fn getsubopt( + arg1: *mut *mut ::std::os::raw::c_char, + arg2: *const *mut ::std::os::raw::c_char, + arg3: *mut *mut ::std::os::raw::c_char, ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn mblen(__s: *const ::std::os::raw::c_char, __n: usize) -> ::std::os::raw::c_int; + pub fn grantpt(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn mbtowc( - __pwc: *mut wchar_t, - __s: *const ::std::os::raw::c_char, - __n: usize, - ) -> ::std::os::raw::c_int; + pub fn initstate( + arg1: ::std::os::raw::c_uint, + arg2: *mut ::std::os::raw::c_char, + arg3: usize, + ) -> *mut ::std::os::raw::c_char; } #[pg_guard] extern "C" { - pub fn wctomb(__s: *mut ::std::os::raw::c_char, __wchar: wchar_t) -> ::std::os::raw::c_int; + pub fn jrand48(arg1: *mut ::std::os::raw::c_ushort) -> ::std::os::raw::c_long; } #[pg_guard] extern "C" { - pub fn mbstowcs(__pwcs: *mut wchar_t, __s: *const ::std::os::raw::c_char, __n: usize) -> usize; + pub fn l64a(arg1: ::std::os::raw::c_long) -> *mut ::std::os::raw::c_char; } #[pg_guard] extern "C" { - pub fn wcstombs(__s: *mut ::std::os::raw::c_char, __pwcs: *const wchar_t, __n: usize) -> usize; + pub fn lcong48(arg1: *mut ::std::os::raw::c_ushort); } #[pg_guard] extern "C" { - pub fn rpmatch(__response: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; + pub fn lrand48() -> ::std::os::raw::c_long; } #[pg_guard] extern "C" { - pub fn getsubopt( - __optionp: *mut *mut ::std::os::raw::c_char, - __tokens: *const *mut ::std::os::raw::c_char, - __valuep: *mut *mut ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; + pub fn mktemp(arg1: *mut ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; } #[pg_guard] extern "C" { - pub fn getloadavg(__loadavg: *mut f64, __nelem: ::std::os::raw::c_int) - -> ::std::os::raw::c_int; + pub fn mkstemp(arg1: *mut ::std::os::raw::c_char) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn memcpy( - __dest: *mut ::std::os::raw::c_void, - __src: *const ::std::os::raw::c_void, - __n: ::std::os::raw::c_ulong, - ) -> *mut ::std::os::raw::c_void; + pub fn mrand48() -> ::std::os::raw::c_long; } #[pg_guard] extern "C" { - pub fn memmove( - __dest: *mut ::std::os::raw::c_void, - __src: *const ::std::os::raw::c_void, - __n: ::std::os::raw::c_ulong, - ) -> *mut ::std::os::raw::c_void; + pub fn nrand48(arg1: *mut ::std::os::raw::c_ushort) -> ::std::os::raw::c_long; } #[pg_guard] extern "C" { - pub fn memccpy( - __dest: *mut ::std::os::raw::c_void, - __src: *const ::std::os::raw::c_void, - __c: ::std::os::raw::c_int, - __n: ::std::os::raw::c_ulong, - ) -> *mut ::std::os::raw::c_void; + pub fn posix_openpt(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn memset( - __s: *mut ::std::os::raw::c_void, - __c: ::std::os::raw::c_int, - __n: ::std::os::raw::c_ulong, - ) -> *mut ::std::os::raw::c_void; + pub fn ptsname(arg1: ::std::os::raw::c_int) -> *mut ::std::os::raw::c_char; } #[pg_guard] extern "C" { - pub fn memcmp( - __s1: *const ::std::os::raw::c_void, - __s2: *const ::std::os::raw::c_void, - __n: ::std::os::raw::c_ulong, + pub fn ptsname_r( + fildes: ::std::os::raw::c_int, + buffer: *mut ::std::os::raw::c_char, + buflen: usize, ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn memchr( - __s: *const ::std::os::raw::c_void, - __c: ::std::os::raw::c_int, - __n: ::std::os::raw::c_ulong, - ) -> *mut ::std::os::raw::c_void; + pub fn putenv(arg1: *mut ::std::os::raw::c_char) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn strcpy( - __dest: *mut ::std::os::raw::c_char, - __src: *const ::std::os::raw::c_char, - ) -> *mut ::std::os::raw::c_char; + pub fn random() -> ::std::os::raw::c_long; } #[pg_guard] extern "C" { - pub fn strncpy( - __dest: *mut ::std::os::raw::c_char, - __src: *const ::std::os::raw::c_char, - __n: ::std::os::raw::c_ulong, - ) -> *mut ::std::os::raw::c_char; + pub fn rand_r(arg1: *mut ::std::os::raw::c_uint) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn strcat( - __dest: *mut ::std::os::raw::c_char, - __src: *const ::std::os::raw::c_char, + #[link_name = "\u{1}_realpath$DARWIN_EXTSN"] + pub fn realpath( + arg1: *const ::std::os::raw::c_char, + arg2: *mut ::std::os::raw::c_char, ) -> *mut ::std::os::raw::c_char; } #[pg_guard] extern "C" { - pub fn strncat( - __dest: *mut ::std::os::raw::c_char, - __src: *const ::std::os::raw::c_char, - __n: ::std::os::raw::c_ulong, - ) -> *mut ::std::os::raw::c_char; + pub fn seed48(arg1: *mut ::std::os::raw::c_ushort) -> *mut ::std::os::raw::c_ushort; } #[pg_guard] extern "C" { - pub fn strcmp( - __s1: *const ::std::os::raw::c_char, - __s2: *const ::std::os::raw::c_char, + pub fn setenv( + __name: *const ::std::os::raw::c_char, + __value: *const ::std::os::raw::c_char, + __overwrite: ::std::os::raw::c_int, ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn strncmp( - __s1: *const ::std::os::raw::c_char, - __s2: *const ::std::os::raw::c_char, - __n: ::std::os::raw::c_ulong, - ) -> ::std::os::raw::c_int; + pub fn setkey(arg1: *const ::std::os::raw::c_char); } #[pg_guard] extern "C" { - pub fn strcoll( - __s1: *const ::std::os::raw::c_char, - __s2: *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; + pub fn setstate(arg1: *const ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; } #[pg_guard] extern "C" { - pub fn strxfrm( - __dest: *mut ::std::os::raw::c_char, - __src: *const ::std::os::raw::c_char, - __n: ::std::os::raw::c_ulong, - ) -> ::std::os::raw::c_ulong; -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct __locale_struct { - pub __locales: [*mut __locale_data; 13usize], - pub __ctype_b: *const ::std::os::raw::c_ushort, - pub __ctype_tolower: *const ::std::os::raw::c_int, - pub __ctype_toupper: *const ::std::os::raw::c_int, - pub __names: [*const ::std::os::raw::c_char; 13usize], -} -impl Default for __locale_struct { - fn default() -> Self { - let mut s = ::std::mem::MaybeUninit::::uninit(); - unsafe { - ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); - s.assume_init() - } - } + pub fn srand48(arg1: ::std::os::raw::c_long); } -pub type __locale_t = *mut __locale_struct; -pub type locale_t = __locale_t; #[pg_guard] extern "C" { - pub fn strcoll_l( - __s1: *const ::std::os::raw::c_char, - __s2: *const ::std::os::raw::c_char, - __l: locale_t, - ) -> ::std::os::raw::c_int; + pub fn srandom(arg1: ::std::os::raw::c_uint); } #[pg_guard] extern "C" { - pub fn strxfrm_l( - __dest: *mut ::std::os::raw::c_char, - __src: *const ::std::os::raw::c_char, - __n: usize, - __l: locale_t, - ) -> usize; + pub fn unlockpt(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn strdup(__s: *const ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; + pub fn unsetenv(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; } +pub type dev_t = __darwin_dev_t; +pub type mode_t = __darwin_mode_t; #[pg_guard] extern "C" { - pub fn strndup( - __string: *const ::std::os::raw::c_char, - __n: ::std::os::raw::c_ulong, - ) -> *mut ::std::os::raw::c_char; + pub fn arc4random() -> u32; } #[pg_guard] extern "C" { - pub fn strchr( - __s: *const ::std::os::raw::c_char, - __c: ::std::os::raw::c_int, - ) -> *mut ::std::os::raw::c_char; + pub fn arc4random_addrandom(arg1: *mut ::std::os::raw::c_uchar, arg2: ::std::os::raw::c_int); } #[pg_guard] extern "C" { - pub fn strrchr( - __s: *const ::std::os::raw::c_char, - __c: ::std::os::raw::c_int, - ) -> *mut ::std::os::raw::c_char; + pub fn arc4random_buf(__buf: *mut ::std::os::raw::c_void, __nbytes: usize); } #[pg_guard] extern "C" { - pub fn strcspn( - __s: *const ::std::os::raw::c_char, - __reject: *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_ulong; + pub fn arc4random_stir(); } #[pg_guard] extern "C" { - pub fn strspn( - __s: *const ::std::os::raw::c_char, - __accept: *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_ulong; + pub fn arc4random_uniform(__upper_bound: u32) -> u32; } #[pg_guard] extern "C" { - pub fn strpbrk( - __s: *const ::std::os::raw::c_char, - __accept: *const ::std::os::raw::c_char, - ) -> *mut ::std::os::raw::c_char; + pub fn atexit_b(arg1: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn strstr( - __haystack: *const ::std::os::raw::c_char, - __needle: *const ::std::os::raw::c_char, - ) -> *mut ::std::os::raw::c_char; + pub fn bsearch_b( + __key: *const ::std::os::raw::c_void, + __base: *const ::std::os::raw::c_void, + __nel: usize, + __width: usize, + __compar: *mut ::std::os::raw::c_void, + ) -> *mut ::std::os::raw::c_void; } #[pg_guard] extern "C" { - pub fn strtok( - __s: *mut ::std::os::raw::c_char, - __delim: *const ::std::os::raw::c_char, + pub fn cgetcap( + arg1: *mut ::std::os::raw::c_char, + arg2: *const ::std::os::raw::c_char, + arg3: ::std::os::raw::c_int, ) -> *mut ::std::os::raw::c_char; } #[pg_guard] extern "C" { - pub fn __strtok_r( - __s: *mut ::std::os::raw::c_char, - __delim: *const ::std::os::raw::c_char, - __save_ptr: *mut *mut ::std::os::raw::c_char, - ) -> *mut ::std::os::raw::c_char; + pub fn cgetclose() -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn strtok_r( - __s: *mut ::std::os::raw::c_char, - __delim: *const ::std::os::raw::c_char, - __save_ptr: *mut *mut ::std::os::raw::c_char, - ) -> *mut ::std::os::raw::c_char; + pub fn cgetent( + arg1: *mut *mut ::std::os::raw::c_char, + arg2: *mut *mut ::std::os::raw::c_char, + arg3: *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn strlen(__s: *const ::std::os::raw::c_char) -> ::std::os::raw::c_ulong; + pub fn cgetfirst( + arg1: *mut *mut ::std::os::raw::c_char, + arg2: *mut *mut ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn strnlen(__string: *const ::std::os::raw::c_char, __maxlen: usize) -> usize; + pub fn cgetmatch( + arg1: *const ::std::os::raw::c_char, + arg2: *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn strerror(__errnum: ::std::os::raw::c_int) -> *mut ::std::os::raw::c_char; + pub fn cgetnext( + arg1: *mut *mut ::std::os::raw::c_char, + arg2: *mut *mut ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - #[link_name = "\u{1}__xpg_strerror_r"] - pub fn strerror_r( - __errnum: ::std::os::raw::c_int, - __buf: *mut ::std::os::raw::c_char, - __buflen: usize, + pub fn cgetnum( + arg1: *mut ::std::os::raw::c_char, + arg2: *const ::std::os::raw::c_char, + arg3: *mut ::std::os::raw::c_long, ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn strerror_l( - __errnum: ::std::os::raw::c_int, - __l: locale_t, - ) -> *mut ::std::os::raw::c_char; + pub fn cgetset(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn bcmp( - __s1: *const ::std::os::raw::c_void, - __s2: *const ::std::os::raw::c_void, - __n: ::std::os::raw::c_ulong, + pub fn cgetstr( + arg1: *mut ::std::os::raw::c_char, + arg2: *const ::std::os::raw::c_char, + arg3: *mut *mut ::std::os::raw::c_char, ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn bcopy( - __src: *const ::std::os::raw::c_void, - __dest: *mut ::std::os::raw::c_void, - __n: usize, - ); + pub fn cgetustr( + arg1: *mut ::std::os::raw::c_char, + arg2: *const ::std::os::raw::c_char, + arg3: *mut *mut ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn bzero(__s: *mut ::std::os::raw::c_void, __n: ::std::os::raw::c_ulong); + pub fn daemon( + arg1: ::std::os::raw::c_int, + arg2: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn index( - __s: *const ::std::os::raw::c_char, - __c: ::std::os::raw::c_int, + pub fn devname(arg1: dev_t, arg2: mode_t) -> *mut ::std::os::raw::c_char; +} +#[pg_guard] +extern "C" { + pub fn devname_r( + arg1: dev_t, + arg2: mode_t, + buf: *mut ::std::os::raw::c_char, + len: ::std::os::raw::c_int, ) -> *mut ::std::os::raw::c_char; } #[pg_guard] extern "C" { - pub fn rindex( - __s: *const ::std::os::raw::c_char, - __c: ::std::os::raw::c_int, + pub fn getbsize( + arg1: *mut ::std::os::raw::c_int, + arg2: *mut ::std::os::raw::c_long, ) -> *mut ::std::os::raw::c_char; } #[pg_guard] extern "C" { - pub fn ffs(__i: ::std::os::raw::c_int) -> ::std::os::raw::c_int; + pub fn getloadavg(arg1: *mut f64, arg2: ::std::os::raw::c_int) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn ffsl(__l: ::std::os::raw::c_long) -> ::std::os::raw::c_int; + pub fn getprogname() -> *const ::std::os::raw::c_char; } #[pg_guard] extern "C" { - pub fn ffsll(__ll: ::std::os::raw::c_longlong) -> ::std::os::raw::c_int; + pub fn setprogname(arg1: *const ::std::os::raw::c_char); } #[pg_guard] extern "C" { - pub fn strcasecmp( - __s1: *const ::std::os::raw::c_char, - __s2: *const ::std::os::raw::c_char, + pub fn heapsort( + __base: *mut ::std::os::raw::c_void, + __nel: usize, + __width: usize, + __compar: ::std::option::Option< + unsafe extern "C" fn( + arg1: *const ::std::os::raw::c_void, + arg2: *const ::std::os::raw::c_void, + ) -> ::std::os::raw::c_int, + >, ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn strncasecmp( - __s1: *const ::std::os::raw::c_char, - __s2: *const ::std::os::raw::c_char, - __n: ::std::os::raw::c_ulong, + pub fn heapsort_b( + __base: *mut ::std::os::raw::c_void, + __nel: usize, + __width: usize, + __compar: *mut ::std::os::raw::c_void, ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn strcasecmp_l( - __s1: *const ::std::os::raw::c_char, - __s2: *const ::std::os::raw::c_char, - __loc: locale_t, + pub fn mergesort( + __base: *mut ::std::os::raw::c_void, + __nel: usize, + __width: usize, + __compar: ::std::option::Option< + unsafe extern "C" fn( + arg1: *const ::std::os::raw::c_void, + arg2: *const ::std::os::raw::c_void, + ) -> ::std::os::raw::c_int, + >, ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn strncasecmp_l( - __s1: *const ::std::os::raw::c_char, - __s2: *const ::std::os::raw::c_char, - __n: usize, - __loc: locale_t, + pub fn mergesort_b( + __base: *mut ::std::os::raw::c_void, + __nel: usize, + __width: usize, + __compar: *mut ::std::os::raw::c_void, ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn explicit_bzero(__s: *mut ::std::os::raw::c_void, __n: usize); + pub fn psort( + __base: *mut ::std::os::raw::c_void, + __nel: usize, + __width: usize, + __compar: ::std::option::Option< + unsafe extern "C" fn( + arg1: *const ::std::os::raw::c_void, + arg2: *const ::std::os::raw::c_void, + ) -> ::std::os::raw::c_int, + >, + ); } #[pg_guard] extern "C" { - pub fn strsep( - __stringp: *mut *mut ::std::os::raw::c_char, - __delim: *const ::std::os::raw::c_char, - ) -> *mut ::std::os::raw::c_char; + pub fn psort_b( + __base: *mut ::std::os::raw::c_void, + __nel: usize, + __width: usize, + __compar: *mut ::std::os::raw::c_void, + ); } #[pg_guard] extern "C" { - pub fn strsignal(__sig: ::std::os::raw::c_int) -> *mut ::std::os::raw::c_char; + pub fn psort_r( + __base: *mut ::std::os::raw::c_void, + __nel: usize, + __width: usize, + arg1: *mut ::std::os::raw::c_void, + __compar: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut ::std::os::raw::c_void, + arg2: *const ::std::os::raw::c_void, + arg3: *const ::std::os::raw::c_void, + ) -> ::std::os::raw::c_int, + >, + ); } #[pg_guard] extern "C" { - pub fn __stpcpy( - __dest: *mut ::std::os::raw::c_char, - __src: *const ::std::os::raw::c_char, - ) -> *mut ::std::os::raw::c_char; + pub fn qsort_b( + __base: *mut ::std::os::raw::c_void, + __nel: usize, + __width: usize, + __compar: *mut ::std::os::raw::c_void, + ); } #[pg_guard] extern "C" { - pub fn stpcpy( - __dest: *mut ::std::os::raw::c_char, - __src: *const ::std::os::raw::c_char, - ) -> *mut ::std::os::raw::c_char; + pub fn qsort_r( + __base: *mut ::std::os::raw::c_void, + __nel: usize, + __width: usize, + arg1: *mut ::std::os::raw::c_void, + __compar: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut ::std::os::raw::c_void, + arg2: *const ::std::os::raw::c_void, + arg3: *const ::std::os::raw::c_void, + ) -> ::std::os::raw::c_int, + >, + ); } #[pg_guard] extern "C" { - pub fn __stpncpy( - __dest: *mut ::std::os::raw::c_char, - __src: *const ::std::os::raw::c_char, - __n: usize, - ) -> *mut ::std::os::raw::c_char; + pub fn radixsort( + __base: *mut *const ::std::os::raw::c_uchar, + __nel: ::std::os::raw::c_int, + __table: *const ::std::os::raw::c_uchar, + __endbyte: ::std::os::raw::c_uint, + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn stpncpy( - __dest: *mut ::std::os::raw::c_char, - __src: *const ::std::os::raw::c_char, - __n: ::std::os::raw::c_ulong, - ) -> *mut ::std::os::raw::c_char; -} -#[repr(C)] -#[repr(align(16))] -#[derive(Debug, Default, Copy, Clone)] -pub struct max_align_t { - pub __clang_max_align_nonce1: ::std::os::raw::c_longlong, - pub __bindgen_padding_0: u64, - pub __clang_max_align_nonce2: u128, -} -pub type int_least8_t = __int_least8_t; -pub type int_least16_t = __int_least16_t; -pub type int_least32_t = __int_least32_t; -pub type int_least64_t = __int_least64_t; -pub type uint_least8_t = __uint_least8_t; -pub type uint_least16_t = __uint_least16_t; -pub type uint_least32_t = __uint_least32_t; -pub type uint_least64_t = __uint_least64_t; -pub type int_fast8_t = ::std::os::raw::c_schar; -pub type int_fast16_t = ::std::os::raw::c_long; -pub type int_fast32_t = ::std::os::raw::c_long; -pub type int_fast64_t = ::std::os::raw::c_long; -pub type uint_fast8_t = ::std::os::raw::c_uchar; -pub type uint_fast16_t = ::std::os::raw::c_ulong; -pub type uint_fast32_t = ::std::os::raw::c_ulong; -pub type uint_fast64_t = ::std::os::raw::c_ulong; -pub type intmax_t = __intmax_t; -pub type uintmax_t = __uintmax_t; -#[pg_guard] -extern "C" { - pub fn __errno_location() -> *mut ::std::os::raw::c_int; -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct lconv { - pub decimal_point: *mut ::std::os::raw::c_char, - pub thousands_sep: *mut ::std::os::raw::c_char, - pub grouping: *mut ::std::os::raw::c_char, - pub int_curr_symbol: *mut ::std::os::raw::c_char, - pub currency_symbol: *mut ::std::os::raw::c_char, - pub mon_decimal_point: *mut ::std::os::raw::c_char, - pub mon_thousands_sep: *mut ::std::os::raw::c_char, - pub mon_grouping: *mut ::std::os::raw::c_char, - pub positive_sign: *mut ::std::os::raw::c_char, - pub negative_sign: *mut ::std::os::raw::c_char, - pub int_frac_digits: ::std::os::raw::c_char, - pub frac_digits: ::std::os::raw::c_char, - pub p_cs_precedes: ::std::os::raw::c_char, - pub p_sep_by_space: ::std::os::raw::c_char, - pub n_cs_precedes: ::std::os::raw::c_char, - pub n_sep_by_space: ::std::os::raw::c_char, - pub p_sign_posn: ::std::os::raw::c_char, - pub n_sign_posn: ::std::os::raw::c_char, - pub int_p_cs_precedes: ::std::os::raw::c_char, - pub int_p_sep_by_space: ::std::os::raw::c_char, - pub int_n_cs_precedes: ::std::os::raw::c_char, - pub int_n_sep_by_space: ::std::os::raw::c_char, - pub int_p_sign_posn: ::std::os::raw::c_char, - pub int_n_sign_posn: ::std::os::raw::c_char, -} -impl Default for lconv { - fn default() -> Self { - let mut s = ::std::mem::MaybeUninit::::uninit(); - unsafe { - ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); - s.assume_init() - } - } + pub fn rpmatch(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn setlocale( - __category: ::std::os::raw::c_int, - __locale: *const ::std::os::raw::c_char, - ) -> *mut ::std::os::raw::c_char; + pub fn sradixsort( + __base: *mut *const ::std::os::raw::c_uchar, + __nel: ::std::os::raw::c_int, + __table: *const ::std::os::raw::c_uchar, + __endbyte: ::std::os::raw::c_uint, + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn localeconv() -> *mut lconv; + pub fn sranddev(); } #[pg_guard] extern "C" { - pub fn newlocale( - __category_mask: ::std::os::raw::c_int, - __locale: *const ::std::os::raw::c_char, - __base: locale_t, - ) -> locale_t; + pub fn srandomdev(); } #[pg_guard] extern "C" { - pub fn duplocale(__dataset: locale_t) -> locale_t; + pub fn reallocf( + __ptr: *mut ::std::os::raw::c_void, + __size: usize, + ) -> *mut ::std::os::raw::c_void; } #[pg_guard] extern "C" { - pub fn freelocale(__dataset: locale_t); + pub fn strtonum( + __numstr: *const ::std::os::raw::c_char, + __minval: ::std::os::raw::c_longlong, + __maxval: ::std::os::raw::c_longlong, + __errstrp: *mut *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_longlong; } #[pg_guard] extern "C" { - pub fn uselocale(__dataset: locale_t) -> locale_t; -} -pub type Pointer = *mut ::std::os::raw::c_char; -pub type int8 = ::std::os::raw::c_schar; -pub type int16 = ::std::os::raw::c_short; -pub type int32 = ::std::os::raw::c_int; -pub type uint8 = ::std::os::raw::c_uchar; -pub type uint16 = ::std::os::raw::c_ushort; -pub type uint32 = ::std::os::raw::c_uint; -pub type bits8 = uint8; -pub type bits16 = uint16; -pub type bits32 = uint32; -pub type int64 = ::std::os::raw::c_long; -pub type uint64 = ::std::os::raw::c_ulong; -pub type int128 = i128; -pub type uint128 = u128; -pub type Size = usize; -pub type Index = ::std::os::raw::c_uint; -pub type Offset = ::std::os::raw::c_int; -pub type float4 = f32; -pub type float8 = f64; -pub type regproc = Oid; -pub type RegProcedure = regproc; -pub type TransactionId = uint32; -pub type LocalTransactionId = uint32; -pub type SubTransactionId = uint32; -pub type MultiXactId = TransactionId; -pub type MultiXactOffset = uint32; -pub type CommandId = uint32; -#[repr(C)] -#[derive(Debug, Default, Copy, Clone)] -pub struct IntArray { - pub indx: [::std::os::raw::c_int; 6usize], -} -#[repr(C)] -#[derive(Debug, Default)] -pub struct varlena { - pub vl_len_: [::std::os::raw::c_char; 4usize], - pub vl_dat: __IncompleteArrayField<::std::os::raw::c_char>, -} -pub type bytea = varlena; -pub type text = varlena; -pub type BpChar = varlena; -pub type VarChar = varlena; -#[repr(C)] -#[derive(Debug, Default)] -pub struct int2vector { - pub vl_len_: int32, - pub ndim: ::std::os::raw::c_int, - pub dataoffset: int32, - pub elemtype: Oid, - pub dim1: ::std::os::raw::c_int, - pub lbound1: ::std::os::raw::c_int, - pub values: __IncompleteArrayField, -} -#[repr(C)] -#[derive(Debug, Default)] -pub struct oidvector { - pub vl_len_: int32, - pub ndim: ::std::os::raw::c_int, - pub dataoffset: int32, - pub elemtype: Oid, - pub dim1: ::std::os::raw::c_int, - pub lbound1: ::std::os::raw::c_int, - pub values: __IncompleteArrayField, -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct nameData { - pub data: [::std::os::raw::c_char; 64usize], -} -impl Default for nameData { - fn default() -> Self { - let mut s = ::std::mem::MaybeUninit::::uninit(); - unsafe { - ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); - s.assume_init() - } - } -} -pub type NameData = nameData; -pub type Name = *mut NameData; -#[pg_guard] -extern "C" { - pub fn ExceptionalCondition( - conditionName: *const ::std::os::raw::c_char, - errorType: *const ::std::os::raw::c_char, - fileName: *const ::std::os::raw::c_char, - lineNumber: ::std::os::raw::c_int, - ); -} -#[repr(C)] -#[derive(Copy, Clone)] -pub union PGAlignedBlock { - pub data: [::std::os::raw::c_char; 8192usize], - pub force_align_d: f64, - pub force_align_i64: int64, -} -impl Default for PGAlignedBlock { - fn default() -> Self { - let mut s = ::std::mem::MaybeUninit::::uninit(); - unsafe { - ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); - s.assume_init() - } - } -} -#[repr(C)] -#[derive(Copy, Clone)] -pub union PGAlignedXLogBlock { - pub data: [::std::os::raw::c_char; 8192usize], - pub force_align_d: f64, - pub force_align_i64: int64, -} -impl Default for PGAlignedXLogBlock { - fn default() -> Self { - let mut s = ::std::mem::MaybeUninit::::uninit(); - unsafe { - ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); - s.assume_init() - } - } -} -pub const _ISupper: ::std::os::raw::c_uint = 256; -pub const _ISlower: ::std::os::raw::c_uint = 512; -pub const _ISalpha: ::std::os::raw::c_uint = 1024; -pub const _ISdigit: ::std::os::raw::c_uint = 2048; -pub const _ISxdigit: ::std::os::raw::c_uint = 4096; -pub const _ISspace: ::std::os::raw::c_uint = 8192; -pub const _ISprint: ::std::os::raw::c_uint = 16384; -pub const _ISgraph: ::std::os::raw::c_uint = 32768; -pub const _ISblank: ::std::os::raw::c_uint = 1; -pub const _IScntrl: ::std::os::raw::c_uint = 2; -pub const _ISpunct: ::std::os::raw::c_uint = 4; -pub const _ISalnum: ::std::os::raw::c_uint = 8; -pub type _bindgen_ty_1 = ::std::os::raw::c_uint; -#[pg_guard] -extern "C" { - pub fn __ctype_b_loc() -> *mut *const ::std::os::raw::c_ushort; -} -#[pg_guard] -extern "C" { - pub fn __ctype_tolower_loc() -> *mut *const __int32_t; -} -#[pg_guard] -extern "C" { - pub fn __ctype_toupper_loc() -> *mut *const __int32_t; -} -#[pg_guard] -extern "C" { - pub fn isalnum(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; -} -#[pg_guard] -extern "C" { - pub fn isalpha(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; -} -#[pg_guard] -extern "C" { - pub fn iscntrl(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; -} -#[pg_guard] -extern "C" { - pub fn isdigit(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; -} -#[pg_guard] -extern "C" { - pub fn islower(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; -} -#[pg_guard] -extern "C" { - pub fn isgraph(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; -} -#[pg_guard] -extern "C" { - pub fn isprint(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; -} -#[pg_guard] -extern "C" { - pub fn ispunct(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; -} -#[pg_guard] -extern "C" { - pub fn isspace(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; -} -#[pg_guard] -extern "C" { - pub fn isupper(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; -} -#[pg_guard] -extern "C" { - pub fn isxdigit(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; -} -#[pg_guard] -extern "C" { - pub fn tolower(__c: ::std::os::raw::c_int) -> ::std::os::raw::c_int; -} -#[pg_guard] -extern "C" { - pub fn toupper(__c: ::std::os::raw::c_int) -> ::std::os::raw::c_int; -} -#[pg_guard] -extern "C" { - pub fn isblank(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; -} -#[pg_guard] -extern "C" { - pub fn isascii(__c: ::std::os::raw::c_int) -> ::std::os::raw::c_int; -} -#[pg_guard] -extern "C" { - pub fn toascii(__c: ::std::os::raw::c_int) -> ::std::os::raw::c_int; -} -#[pg_guard] -extern "C" { - pub fn _toupper(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; -} -#[pg_guard] -extern "C" { - pub fn _tolower(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; -} -#[pg_guard] -extern "C" { - pub fn isalnum_l(arg1: ::std::os::raw::c_int, arg2: locale_t) -> ::std::os::raw::c_int; -} -#[pg_guard] -extern "C" { - pub fn isalpha_l(arg1: ::std::os::raw::c_int, arg2: locale_t) -> ::std::os::raw::c_int; -} -#[pg_guard] -extern "C" { - pub fn iscntrl_l(arg1: ::std::os::raw::c_int, arg2: locale_t) -> ::std::os::raw::c_int; -} -#[pg_guard] -extern "C" { - pub fn isdigit_l(arg1: ::std::os::raw::c_int, arg2: locale_t) -> ::std::os::raw::c_int; -} -#[pg_guard] -extern "C" { - pub fn islower_l(arg1: ::std::os::raw::c_int, arg2: locale_t) -> ::std::os::raw::c_int; -} -#[pg_guard] -extern "C" { - pub fn isgraph_l(arg1: ::std::os::raw::c_int, arg2: locale_t) -> ::std::os::raw::c_int; -} -#[pg_guard] -extern "C" { - pub fn isprint_l(arg1: ::std::os::raw::c_int, arg2: locale_t) -> ::std::os::raw::c_int; -} -#[pg_guard] -extern "C" { - pub fn ispunct_l(arg1: ::std::os::raw::c_int, arg2: locale_t) -> ::std::os::raw::c_int; -} -#[pg_guard] -extern "C" { - pub fn isspace_l(arg1: ::std::os::raw::c_int, arg2: locale_t) -> ::std::os::raw::c_int; -} -#[pg_guard] -extern "C" { - pub fn isupper_l(arg1: ::std::os::raw::c_int, arg2: locale_t) -> ::std::os::raw::c_int; -} -#[pg_guard] -extern "C" { - pub fn isxdigit_l(arg1: ::std::os::raw::c_int, arg2: locale_t) -> ::std::os::raw::c_int; -} -#[pg_guard] -extern "C" { - pub fn isblank_l(arg1: ::std::os::raw::c_int, arg2: locale_t) -> ::std::os::raw::c_int; -} -#[pg_guard] -extern "C" { - pub fn __tolower_l(__c: ::std::os::raw::c_int, __l: locale_t) -> ::std::os::raw::c_int; -} -#[pg_guard] -extern "C" { - pub fn tolower_l(__c: ::std::os::raw::c_int, __l: locale_t) -> ::std::os::raw::c_int; -} -#[pg_guard] -extern "C" { - pub fn __toupper_l(__c: ::std::os::raw::c_int, __l: locale_t) -> ::std::os::raw::c_int; -} -#[pg_guard] -extern "C" { - pub fn toupper_l(__c: ::std::os::raw::c_int, __l: locale_t) -> ::std::os::raw::c_int; -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct iovec { - pub iov_base: *mut ::std::os::raw::c_void, - pub iov_len: usize, -} -impl Default for iovec { - fn default() -> Self { - let mut s = ::std::mem::MaybeUninit::::uninit(); - unsafe { - ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); - s.assume_init() - } - } -} -pub type socklen_t = __socklen_t; -pub const __socket_type_SOCK_STREAM: __socket_type = 1; -pub const __socket_type_SOCK_DGRAM: __socket_type = 2; -pub const __socket_type_SOCK_RAW: __socket_type = 3; -pub const __socket_type_SOCK_RDM: __socket_type = 4; -pub const __socket_type_SOCK_SEQPACKET: __socket_type = 5; -pub const __socket_type_SOCK_DCCP: __socket_type = 6; -pub const __socket_type_SOCK_PACKET: __socket_type = 10; -pub const __socket_type_SOCK_CLOEXEC: __socket_type = 524288; -pub const __socket_type_SOCK_NONBLOCK: __socket_type = 2048; -pub type __socket_type = ::std::os::raw::c_uint; -pub type sa_family_t = ::std::os::raw::c_ushort; -#[repr(C)] -#[derive(Debug, Default, Copy, Clone)] -pub struct sockaddr { - pub sa_family: sa_family_t, - pub sa_data: [::std::os::raw::c_char; 14usize], -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct sockaddr_storage { - pub ss_family: sa_family_t, - pub __ss_padding: [::std::os::raw::c_char; 118usize], - pub __ss_align: ::std::os::raw::c_ulong, -} -impl Default for sockaddr_storage { - fn default() -> Self { - let mut s = ::std::mem::MaybeUninit::::uninit(); - unsafe { - ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); - s.assume_init() - } - } -} -pub const MSG_OOB: ::std::os::raw::c_uint = 1; -pub const MSG_PEEK: ::std::os::raw::c_uint = 2; -pub const MSG_DONTROUTE: ::std::os::raw::c_uint = 4; -pub const MSG_CTRUNC: ::std::os::raw::c_uint = 8; -pub const MSG_PROXY: ::std::os::raw::c_uint = 16; -pub const MSG_TRUNC: ::std::os::raw::c_uint = 32; -pub const MSG_DONTWAIT: ::std::os::raw::c_uint = 64; -pub const MSG_EOR: ::std::os::raw::c_uint = 128; -pub const MSG_WAITALL: ::std::os::raw::c_uint = 256; -pub const MSG_FIN: ::std::os::raw::c_uint = 512; -pub const MSG_SYN: ::std::os::raw::c_uint = 1024; -pub const MSG_CONFIRM: ::std::os::raw::c_uint = 2048; -pub const MSG_RST: ::std::os::raw::c_uint = 4096; -pub const MSG_ERRQUEUE: ::std::os::raw::c_uint = 8192; -pub const MSG_NOSIGNAL: ::std::os::raw::c_uint = 16384; -pub const MSG_MORE: ::std::os::raw::c_uint = 32768; -pub const MSG_WAITFORONE: ::std::os::raw::c_uint = 65536; -pub const MSG_BATCH: ::std::os::raw::c_uint = 262144; -pub const MSG_ZEROCOPY: ::std::os::raw::c_uint = 67108864; -pub const MSG_FASTOPEN: ::std::os::raw::c_uint = 536870912; -pub const MSG_CMSG_CLOEXEC: ::std::os::raw::c_uint = 1073741824; -pub type _bindgen_ty_2 = ::std::os::raw::c_uint; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct msghdr { - pub msg_name: *mut ::std::os::raw::c_void, - pub msg_namelen: socklen_t, - pub msg_iov: *mut iovec, - pub msg_iovlen: usize, - pub msg_control: *mut ::std::os::raw::c_void, - pub msg_controllen: usize, - pub msg_flags: ::std::os::raw::c_int, -} -impl Default for msghdr { - fn default() -> Self { - let mut s = ::std::mem::MaybeUninit::::uninit(); - unsafe { - ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); - s.assume_init() - } - } -} -#[repr(C)] -#[derive(Debug, Default)] -pub struct cmsghdr { - pub cmsg_len: usize, - pub cmsg_level: ::std::os::raw::c_int, - pub cmsg_type: ::std::os::raw::c_int, - pub __cmsg_data: __IncompleteArrayField<::std::os::raw::c_uchar>, -} -#[pg_guard] -extern "C" { - pub fn __cmsg_nxthdr(__mhdr: *mut msghdr, __cmsg: *mut cmsghdr) -> *mut cmsghdr; -} -pub const SCM_RIGHTS: ::std::os::raw::c_uint = 1; -pub type _bindgen_ty_3 = ::std::os::raw::c_uint; -#[repr(C)] -#[derive(Debug, Default, Copy, Clone)] -pub struct __kernel_fd_set { - pub fds_bits: [::std::os::raw::c_ulong; 16usize], -} -pub type __kernel_sighandler_t = - ::std::option::Option; -pub type __kernel_key_t = ::std::os::raw::c_int; -pub type __kernel_mqd_t = ::std::os::raw::c_int; -pub type __kernel_old_uid_t = ::std::os::raw::c_ushort; -pub type __kernel_old_gid_t = ::std::os::raw::c_ushort; -pub type __kernel_old_dev_t = ::std::os::raw::c_ulong; -pub type __kernel_long_t = ::std::os::raw::c_long; -pub type __kernel_ulong_t = ::std::os::raw::c_ulong; -pub type __kernel_ino_t = __kernel_ulong_t; -pub type __kernel_mode_t = ::std::os::raw::c_uint; -pub type __kernel_pid_t = ::std::os::raw::c_int; -pub type __kernel_ipc_pid_t = ::std::os::raw::c_int; -pub type __kernel_uid_t = ::std::os::raw::c_uint; -pub type __kernel_gid_t = ::std::os::raw::c_uint; -pub type __kernel_suseconds_t = __kernel_long_t; -pub type __kernel_daddr_t = ::std::os::raw::c_int; -pub type __kernel_uid32_t = ::std::os::raw::c_uint; -pub type __kernel_gid32_t = ::std::os::raw::c_uint; -pub type __kernel_size_t = __kernel_ulong_t; -pub type __kernel_ssize_t = __kernel_long_t; -pub type __kernel_ptrdiff_t = __kernel_long_t; -#[repr(C)] -#[derive(Debug, Default, Copy, Clone)] -pub struct __kernel_fsid_t { - pub val: [::std::os::raw::c_int; 2usize], -} -pub type __kernel_off_t = __kernel_long_t; -pub type __kernel_loff_t = ::std::os::raw::c_longlong; -pub type __kernel_old_time_t = __kernel_long_t; -pub type __kernel_time_t = __kernel_long_t; -pub type __kernel_time64_t = ::std::os::raw::c_longlong; -pub type __kernel_clock_t = __kernel_long_t; -pub type __kernel_timer_t = ::std::os::raw::c_int; -pub type __kernel_clockid_t = ::std::os::raw::c_int; -pub type __kernel_caddr_t = *mut ::std::os::raw::c_char; -pub type __kernel_uid16_t = ::std::os::raw::c_ushort; -pub type __kernel_gid16_t = ::std::os::raw::c_ushort; -#[repr(C)] -#[derive(Debug, Default, Copy, Clone)] -pub struct linger { - pub l_onoff: ::std::os::raw::c_int, - pub l_linger: ::std::os::raw::c_int, -} -#[repr(C)] -#[derive(Debug, Default, Copy, Clone)] -pub struct osockaddr { - pub sa_family: ::std::os::raw::c_ushort, - pub sa_data: [::std::os::raw::c_uchar; 14usize], -} -pub const SHUT_RD: ::std::os::raw::c_uint = 0; -pub const SHUT_WR: ::std::os::raw::c_uint = 1; -pub const SHUT_RDWR: ::std::os::raw::c_uint = 2; -pub type _bindgen_ty_4 = ::std::os::raw::c_uint; -#[pg_guard] -extern "C" { - pub fn socket( - __domain: ::std::os::raw::c_int, - __type: ::std::os::raw::c_int, - __protocol: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; -} -#[pg_guard] -extern "C" { - pub fn socketpair( - __domain: ::std::os::raw::c_int, - __type: ::std::os::raw::c_int, - __protocol: ::std::os::raw::c_int, - __fds: *mut ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; -} -#[pg_guard] -extern "C" { - pub fn bind( - __fd: ::std::os::raw::c_int, - __addr: *const sockaddr, - __len: socklen_t, - ) -> ::std::os::raw::c_int; -} -#[pg_guard] -extern "C" { - pub fn getsockname( - __fd: ::std::os::raw::c_int, - __addr: *mut sockaddr, - __len: *mut socklen_t, - ) -> ::std::os::raw::c_int; -} -#[pg_guard] -extern "C" { - pub fn connect( - __fd: ::std::os::raw::c_int, - __addr: *const sockaddr, - __len: socklen_t, - ) -> ::std::os::raw::c_int; -} -#[pg_guard] -extern "C" { - pub fn getpeername( - __fd: ::std::os::raw::c_int, - __addr: *mut sockaddr, - __len: *mut socklen_t, - ) -> ::std::os::raw::c_int; -} -#[pg_guard] -extern "C" { - pub fn send( - __fd: ::std::os::raw::c_int, - __buf: *const ::std::os::raw::c_void, - __n: usize, - __flags: ::std::os::raw::c_int, - ) -> isize; -} -#[pg_guard] -extern "C" { - pub fn recv( - __fd: ::std::os::raw::c_int, - __buf: *mut ::std::os::raw::c_void, - __n: usize, - __flags: ::std::os::raw::c_int, - ) -> isize; -} -#[pg_guard] -extern "C" { - pub fn sendto( - __fd: ::std::os::raw::c_int, - __buf: *const ::std::os::raw::c_void, - __n: usize, - __flags: ::std::os::raw::c_int, - __addr: *const sockaddr, - __addr_len: socklen_t, - ) -> isize; -} -#[pg_guard] -extern "C" { - pub fn recvfrom( - __fd: ::std::os::raw::c_int, - __buf: *mut ::std::os::raw::c_void, - __n: usize, - __flags: ::std::os::raw::c_int, - __addr: *mut sockaddr, - __addr_len: *mut socklen_t, - ) -> isize; -} -#[pg_guard] -extern "C" { - pub fn sendmsg( - __fd: ::std::os::raw::c_int, - __message: *const msghdr, - __flags: ::std::os::raw::c_int, - ) -> isize; -} -#[pg_guard] -extern "C" { - pub fn recvmsg( - __fd: ::std::os::raw::c_int, - __message: *mut msghdr, - __flags: ::std::os::raw::c_int, - ) -> isize; -} -#[pg_guard] -extern "C" { - pub fn getsockopt( - __fd: ::std::os::raw::c_int, - __level: ::std::os::raw::c_int, - __optname: ::std::os::raw::c_int, - __optval: *mut ::std::os::raw::c_void, - __optlen: *mut socklen_t, - ) -> ::std::os::raw::c_int; -} -#[pg_guard] -extern "C" { - pub fn setsockopt( - __fd: ::std::os::raw::c_int, - __level: ::std::os::raw::c_int, - __optname: ::std::os::raw::c_int, - __optval: *const ::std::os::raw::c_void, - __optlen: socklen_t, - ) -> ::std::os::raw::c_int; -} -#[pg_guard] -extern "C" { - pub fn listen(__fd: ::std::os::raw::c_int, __n: ::std::os::raw::c_int) - -> ::std::os::raw::c_int; + pub fn strtoq( + __str: *const ::std::os::raw::c_char, + __endptr: *mut *mut ::std::os::raw::c_char, + __base: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_longlong; } #[pg_guard] extern "C" { - pub fn accept( - __fd: ::std::os::raw::c_int, - __addr: *mut sockaddr, - __addr_len: *mut socklen_t, - ) -> ::std::os::raw::c_int; -} -#[pg_guard] -extern "C" { - pub fn shutdown( - __fd: ::std::os::raw::c_int, - __how: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; -} -#[pg_guard] -extern "C" { - pub fn sockatmark(__fd: ::std::os::raw::c_int) -> ::std::os::raw::c_int; -} -#[pg_guard] -extern "C" { - pub fn isfdtype( - __fd: ::std::os::raw::c_int, - __fdtype: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; -} -pub type in_addr_t = u32; -#[repr(C)] -#[derive(Debug, Default, Copy, Clone)] -pub struct in_addr { - pub s_addr: in_addr_t, -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct ip_opts { - pub ip_dst: in_addr, - pub ip_opts: [::std::os::raw::c_char; 40usize], -} -impl Default for ip_opts { - fn default() -> Self { - let mut s = ::std::mem::MaybeUninit::::uninit(); - unsafe { - ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); - s.assume_init() - } - } -} -#[repr(C)] -#[derive(Debug, Default, Copy, Clone)] -pub struct ip_mreqn { - pub imr_multiaddr: in_addr, - pub imr_address: in_addr, - pub imr_ifindex: ::std::os::raw::c_int, -} -#[repr(C)] -#[derive(Debug, Default, Copy, Clone)] -pub struct in_pktinfo { - pub ipi_ifindex: ::std::os::raw::c_int, - pub ipi_spec_dst: in_addr, - pub ipi_addr: in_addr, -} -pub const IPPROTO_IP: ::std::os::raw::c_uint = 0; -pub const IPPROTO_ICMP: ::std::os::raw::c_uint = 1; -pub const IPPROTO_IGMP: ::std::os::raw::c_uint = 2; -pub const IPPROTO_IPIP: ::std::os::raw::c_uint = 4; -pub const IPPROTO_TCP: ::std::os::raw::c_uint = 6; -pub const IPPROTO_EGP: ::std::os::raw::c_uint = 8; -pub const IPPROTO_PUP: ::std::os::raw::c_uint = 12; -pub const IPPROTO_UDP: ::std::os::raw::c_uint = 17; -pub const IPPROTO_IDP: ::std::os::raw::c_uint = 22; -pub const IPPROTO_TP: ::std::os::raw::c_uint = 29; -pub const IPPROTO_DCCP: ::std::os::raw::c_uint = 33; -pub const IPPROTO_IPV6: ::std::os::raw::c_uint = 41; -pub const IPPROTO_RSVP: ::std::os::raw::c_uint = 46; -pub const IPPROTO_GRE: ::std::os::raw::c_uint = 47; -pub const IPPROTO_ESP: ::std::os::raw::c_uint = 50; -pub const IPPROTO_AH: ::std::os::raw::c_uint = 51; -pub const IPPROTO_MTP: ::std::os::raw::c_uint = 92; -pub const IPPROTO_BEETPH: ::std::os::raw::c_uint = 94; -pub const IPPROTO_ENCAP: ::std::os::raw::c_uint = 98; -pub const IPPROTO_PIM: ::std::os::raw::c_uint = 103; -pub const IPPROTO_COMP: ::std::os::raw::c_uint = 108; -pub const IPPROTO_SCTP: ::std::os::raw::c_uint = 132; -pub const IPPROTO_UDPLITE: ::std::os::raw::c_uint = 136; -pub const IPPROTO_MPLS: ::std::os::raw::c_uint = 137; -pub const IPPROTO_ETHERNET: ::std::os::raw::c_uint = 143; -pub const IPPROTO_RAW: ::std::os::raw::c_uint = 255; -pub const IPPROTO_MPTCP: ::std::os::raw::c_uint = 262; -pub const IPPROTO_MAX: ::std::os::raw::c_uint = 263; -pub type _bindgen_ty_5 = ::std::os::raw::c_uint; -pub const IPPROTO_HOPOPTS: ::std::os::raw::c_uint = 0; -pub const IPPROTO_ROUTING: ::std::os::raw::c_uint = 43; -pub const IPPROTO_FRAGMENT: ::std::os::raw::c_uint = 44; -pub const IPPROTO_ICMPV6: ::std::os::raw::c_uint = 58; -pub const IPPROTO_NONE: ::std::os::raw::c_uint = 59; -pub const IPPROTO_DSTOPTS: ::std::os::raw::c_uint = 60; -pub const IPPROTO_MH: ::std::os::raw::c_uint = 135; -pub type _bindgen_ty_6 = ::std::os::raw::c_uint; -pub type in_port_t = u16; -pub const IPPORT_ECHO: ::std::os::raw::c_uint = 7; -pub const IPPORT_DISCARD: ::std::os::raw::c_uint = 9; -pub const IPPORT_SYSTAT: ::std::os::raw::c_uint = 11; -pub const IPPORT_DAYTIME: ::std::os::raw::c_uint = 13; -pub const IPPORT_NETSTAT: ::std::os::raw::c_uint = 15; -pub const IPPORT_FTP: ::std::os::raw::c_uint = 21; -pub const IPPORT_TELNET: ::std::os::raw::c_uint = 23; -pub const IPPORT_SMTP: ::std::os::raw::c_uint = 25; -pub const IPPORT_TIMESERVER: ::std::os::raw::c_uint = 37; -pub const IPPORT_NAMESERVER: ::std::os::raw::c_uint = 42; -pub const IPPORT_WHOIS: ::std::os::raw::c_uint = 43; -pub const IPPORT_MTP: ::std::os::raw::c_uint = 57; -pub const IPPORT_TFTP: ::std::os::raw::c_uint = 69; -pub const IPPORT_RJE: ::std::os::raw::c_uint = 77; -pub const IPPORT_FINGER: ::std::os::raw::c_uint = 79; -pub const IPPORT_TTYLINK: ::std::os::raw::c_uint = 87; -pub const IPPORT_SUPDUP: ::std::os::raw::c_uint = 95; -pub const IPPORT_EXECSERVER: ::std::os::raw::c_uint = 512; -pub const IPPORT_LOGINSERVER: ::std::os::raw::c_uint = 513; -pub const IPPORT_CMDSERVER: ::std::os::raw::c_uint = 514; -pub const IPPORT_EFSSERVER: ::std::os::raw::c_uint = 520; -pub const IPPORT_BIFFUDP: ::std::os::raw::c_uint = 512; -pub const IPPORT_WHOSERVER: ::std::os::raw::c_uint = 513; -pub const IPPORT_ROUTESERVER: ::std::os::raw::c_uint = 520; -pub const IPPORT_RESERVED: ::std::os::raw::c_uint = 1024; -pub const IPPORT_USERRESERVED: ::std::os::raw::c_uint = 5000; -pub type _bindgen_ty_7 = ::std::os::raw::c_uint; -#[repr(C)] -#[derive(Copy, Clone)] -pub struct in6_addr { - pub __in6_u: in6_addr__bindgen_ty_1, -} -#[repr(C)] -#[derive(Copy, Clone)] -pub union in6_addr__bindgen_ty_1 { - pub __u6_addr8: [u8; 16usize], - pub __u6_addr16: [u16; 8usize], - pub __u6_addr32: [u32; 4usize], -} -impl Default for in6_addr__bindgen_ty_1 { - fn default() -> Self { - let mut s = ::std::mem::MaybeUninit::::uninit(); - unsafe { - ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); - s.assume_init() - } - } -} -impl Default for in6_addr { - fn default() -> Self { - let mut s = ::std::mem::MaybeUninit::::uninit(); - unsafe { - ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); - s.assume_init() - } - } -} -#[pg_guard] -extern "C" { - pub static in6addr_any: in6_addr; -} -#[pg_guard] -extern "C" { - pub static in6addr_loopback: in6_addr; -} -#[repr(C)] -#[derive(Debug, Default, Copy, Clone)] -pub struct sockaddr_in { - pub sin_family: sa_family_t, - pub sin_port: in_port_t, - pub sin_addr: in_addr, - pub sin_zero: [::std::os::raw::c_uchar; 8usize], -} -#[repr(C)] -#[derive(Copy, Clone)] -pub struct sockaddr_in6 { - pub sin6_family: sa_family_t, - pub sin6_port: in_port_t, - pub sin6_flowinfo: u32, - pub sin6_addr: in6_addr, - pub sin6_scope_id: u32, -} -impl Default for sockaddr_in6 { - fn default() -> Self { - let mut s = ::std::mem::MaybeUninit::::uninit(); - unsafe { - ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); - s.assume_init() - } - } -} -#[repr(C)] -#[derive(Debug, Default, Copy, Clone)] -pub struct ip_mreq { - pub imr_multiaddr: in_addr, - pub imr_interface: in_addr, -} -#[repr(C)] -#[derive(Debug, Default, Copy, Clone)] -pub struct ip_mreq_source { - pub imr_multiaddr: in_addr, - pub imr_interface: in_addr, - pub imr_sourceaddr: in_addr, -} -#[repr(C)] -#[derive(Copy, Clone)] -pub struct ipv6_mreq { - pub ipv6mr_multiaddr: in6_addr, - pub ipv6mr_interface: ::std::os::raw::c_uint, -} -impl Default for ipv6_mreq { - fn default() -> Self { - let mut s = ::std::mem::MaybeUninit::::uninit(); - unsafe { - ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); - s.assume_init() - } - } -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct group_req { - pub gr_interface: u32, - pub gr_group: sockaddr_storage, -} -impl Default for group_req { - fn default() -> Self { - let mut s = ::std::mem::MaybeUninit::::uninit(); - unsafe { - ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); - s.assume_init() - } - } -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct group_source_req { - pub gsr_interface: u32, - pub gsr_group: sockaddr_storage, - pub gsr_source: sockaddr_storage, -} -impl Default for group_source_req { - fn default() -> Self { - let mut s = ::std::mem::MaybeUninit::::uninit(); - unsafe { - ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); - s.assume_init() - } - } -} -#[repr(C)] -#[derive(Debug, Default, Copy, Clone)] -pub struct ip_msfilter { - pub imsf_multiaddr: in_addr, - pub imsf_interface: in_addr, - pub imsf_fmode: u32, - pub imsf_numsrc: u32, - pub imsf_slist: [in_addr; 1usize], -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct group_filter { - pub gf_interface: u32, - pub gf_group: sockaddr_storage, - pub gf_fmode: u32, - pub gf_numsrc: u32, - pub gf_slist: [sockaddr_storage; 1usize], -} -impl Default for group_filter { - fn default() -> Self { - let mut s = ::std::mem::MaybeUninit::::uninit(); - unsafe { - ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); - s.assume_init() - } - } -} -#[pg_guard] -extern "C" { - pub fn ntohl(__netlong: u32) -> u32; -} -#[pg_guard] -extern "C" { - pub fn ntohs(__netshort: u16) -> u16; -} -#[pg_guard] -extern "C" { - pub fn htonl(__hostlong: u32) -> u32; -} -#[pg_guard] -extern "C" { - pub fn htons(__hostshort: u16) -> u16; -} -#[pg_guard] -extern "C" { - pub fn bindresvport( - __sockfd: ::std::os::raw::c_int, - __sock_in: *mut sockaddr_in, - ) -> ::std::os::raw::c_int; -} -#[pg_guard] -extern "C" { - pub fn bindresvport6( - __sockfd: ::std::os::raw::c_int, - __sock_in: *mut sockaddr_in6, - ) -> ::std::os::raw::c_int; -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct rpcent { - pub r_name: *mut ::std::os::raw::c_char, - pub r_aliases: *mut *mut ::std::os::raw::c_char, - pub r_number: ::std::os::raw::c_int, -} -impl Default for rpcent { - fn default() -> Self { - let mut s = ::std::mem::MaybeUninit::::uninit(); - unsafe { - ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); - s.assume_init() - } - } -} -#[pg_guard] -extern "C" { - pub fn setrpcent(__stayopen: ::std::os::raw::c_int); -} -#[pg_guard] -extern "C" { - pub fn endrpcent(); -} -#[pg_guard] -extern "C" { - pub fn getrpcbyname(__name: *const ::std::os::raw::c_char) -> *mut rpcent; -} -#[pg_guard] -extern "C" { - pub fn getrpcbynumber(__number: ::std::os::raw::c_int) -> *mut rpcent; -} -#[pg_guard] -extern "C" { - pub fn getrpcent() -> *mut rpcent; -} -#[pg_guard] -extern "C" { - pub fn getrpcbyname_r( - __name: *const ::std::os::raw::c_char, - __result_buf: *mut rpcent, - __buffer: *mut ::std::os::raw::c_char, - __buflen: usize, - __result: *mut *mut rpcent, - ) -> ::std::os::raw::c_int; -} -#[pg_guard] -extern "C" { - pub fn getrpcbynumber_r( - __number: ::std::os::raw::c_int, - __result_buf: *mut rpcent, - __buffer: *mut ::std::os::raw::c_char, - __buflen: usize, - __result: *mut *mut rpcent, - ) -> ::std::os::raw::c_int; -} -#[pg_guard] -extern "C" { - pub fn getrpcent_r( - __result_buf: *mut rpcent, - __buffer: *mut ::std::os::raw::c_char, - __buflen: usize, - __result: *mut *mut rpcent, - ) -> ::std::os::raw::c_int; -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct netent { - pub n_name: *mut ::std::os::raw::c_char, - pub n_aliases: *mut *mut ::std::os::raw::c_char, - pub n_addrtype: ::std::os::raw::c_int, - pub n_net: u32, -} -impl Default for netent { - fn default() -> Self { - let mut s = ::std::mem::MaybeUninit::::uninit(); - unsafe { - ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); - s.assume_init() - } - } -} -#[pg_guard] -extern "C" { - pub fn __h_errno_location() -> *mut ::std::os::raw::c_int; -} -#[pg_guard] -extern "C" { - pub fn herror(__str: *const ::std::os::raw::c_char); -} -#[pg_guard] -extern "C" { - pub fn hstrerror(__err_num: ::std::os::raw::c_int) -> *const ::std::os::raw::c_char; -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct hostent { - pub h_name: *mut ::std::os::raw::c_char, - pub h_aliases: *mut *mut ::std::os::raw::c_char, - pub h_addrtype: ::std::os::raw::c_int, - pub h_length: ::std::os::raw::c_int, - pub h_addr_list: *mut *mut ::std::os::raw::c_char, -} -impl Default for hostent { - fn default() -> Self { - let mut s = ::std::mem::MaybeUninit::::uninit(); - unsafe { - ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); - s.assume_init() - } - } -} -#[pg_guard] -extern "C" { - pub fn sethostent(__stay_open: ::std::os::raw::c_int); -} -#[pg_guard] -extern "C" { - pub fn endhostent(); -} -#[pg_guard] -extern "C" { - pub fn gethostent() -> *mut hostent; -} -#[pg_guard] -extern "C" { - pub fn gethostbyaddr( - __addr: *const ::std::os::raw::c_void, - __len: __socklen_t, - __type: ::std::os::raw::c_int, - ) -> *mut hostent; -} -#[pg_guard] -extern "C" { - pub fn gethostbyname(__name: *const ::std::os::raw::c_char) -> *mut hostent; -} -#[pg_guard] -extern "C" { - pub fn gethostbyname2( - __name: *const ::std::os::raw::c_char, - __af: ::std::os::raw::c_int, - ) -> *mut hostent; -} -#[pg_guard] -extern "C" { - pub fn gethostent_r( - __result_buf: *mut hostent, - __buf: *mut ::std::os::raw::c_char, - __buflen: usize, - __result: *mut *mut hostent, - __h_errnop: *mut ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; -} -#[pg_guard] -extern "C" { - pub fn gethostbyaddr_r( - __addr: *const ::std::os::raw::c_void, - __len: __socklen_t, - __type: ::std::os::raw::c_int, - __result_buf: *mut hostent, - __buf: *mut ::std::os::raw::c_char, - __buflen: usize, - __result: *mut *mut hostent, - __h_errnop: *mut ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; -} -#[pg_guard] -extern "C" { - pub fn gethostbyname_r( - __name: *const ::std::os::raw::c_char, - __result_buf: *mut hostent, - __buf: *mut ::std::os::raw::c_char, - __buflen: usize, - __result: *mut *mut hostent, - __h_errnop: *mut ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; -} -#[pg_guard] -extern "C" { - pub fn gethostbyname2_r( - __name: *const ::std::os::raw::c_char, - __af: ::std::os::raw::c_int, - __result_buf: *mut hostent, - __buf: *mut ::std::os::raw::c_char, - __buflen: usize, - __result: *mut *mut hostent, - __h_errnop: *mut ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; -} -#[pg_guard] -extern "C" { - pub fn setnetent(__stay_open: ::std::os::raw::c_int); -} -#[pg_guard] -extern "C" { - pub fn endnetent(); -} -#[pg_guard] -extern "C" { - pub fn getnetent() -> *mut netent; -} -#[pg_guard] -extern "C" { - pub fn getnetbyaddr(__net: u32, __type: ::std::os::raw::c_int) -> *mut netent; -} -#[pg_guard] -extern "C" { - pub fn getnetbyname(__name: *const ::std::os::raw::c_char) -> *mut netent; -} -#[pg_guard] -extern "C" { - pub fn getnetent_r( - __result_buf: *mut netent, - __buf: *mut ::std::os::raw::c_char, - __buflen: usize, - __result: *mut *mut netent, - __h_errnop: *mut ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; -} -#[pg_guard] -extern "C" { - pub fn getnetbyaddr_r( - __net: u32, - __type: ::std::os::raw::c_int, - __result_buf: *mut netent, - __buf: *mut ::std::os::raw::c_char, - __buflen: usize, - __result: *mut *mut netent, - __h_errnop: *mut ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; -} -#[pg_guard] -extern "C" { - pub fn getnetbyname_r( - __name: *const ::std::os::raw::c_char, - __result_buf: *mut netent, - __buf: *mut ::std::os::raw::c_char, - __buflen: usize, - __result: *mut *mut netent, - __h_errnop: *mut ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct servent { - pub s_name: *mut ::std::os::raw::c_char, - pub s_aliases: *mut *mut ::std::os::raw::c_char, - pub s_port: ::std::os::raw::c_int, - pub s_proto: *mut ::std::os::raw::c_char, -} -impl Default for servent { - fn default() -> Self { - let mut s = ::std::mem::MaybeUninit::::uninit(); - unsafe { - ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); - s.assume_init() - } - } -} -#[pg_guard] -extern "C" { - pub fn setservent(__stay_open: ::std::os::raw::c_int); -} -#[pg_guard] -extern "C" { - pub fn endservent(); -} -#[pg_guard] -extern "C" { - pub fn getservent() -> *mut servent; -} -#[pg_guard] -extern "C" { - pub fn getservbyname( - __name: *const ::std::os::raw::c_char, - __proto: *const ::std::os::raw::c_char, - ) -> *mut servent; -} -#[pg_guard] -extern "C" { - pub fn getservbyport( - __port: ::std::os::raw::c_int, - __proto: *const ::std::os::raw::c_char, - ) -> *mut servent; -} -#[pg_guard] -extern "C" { - pub fn getservent_r( - __result_buf: *mut servent, - __buf: *mut ::std::os::raw::c_char, - __buflen: usize, - __result: *mut *mut servent, - ) -> ::std::os::raw::c_int; -} -#[pg_guard] -extern "C" { - pub fn getservbyname_r( - __name: *const ::std::os::raw::c_char, - __proto: *const ::std::os::raw::c_char, - __result_buf: *mut servent, - __buf: *mut ::std::os::raw::c_char, - __buflen: usize, - __result: *mut *mut servent, - ) -> ::std::os::raw::c_int; -} -#[pg_guard] -extern "C" { - pub fn getservbyport_r( - __port: ::std::os::raw::c_int, - __proto: *const ::std::os::raw::c_char, - __result_buf: *mut servent, - __buf: *mut ::std::os::raw::c_char, - __buflen: usize, - __result: *mut *mut servent, - ) -> ::std::os::raw::c_int; -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct protoent { - pub p_name: *mut ::std::os::raw::c_char, - pub p_aliases: *mut *mut ::std::os::raw::c_char, - pub p_proto: ::std::os::raw::c_int, -} -impl Default for protoent { - fn default() -> Self { - let mut s = ::std::mem::MaybeUninit::::uninit(); - unsafe { - ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); - s.assume_init() - } - } -} -#[pg_guard] -extern "C" { - pub fn setprotoent(__stay_open: ::std::os::raw::c_int); -} -#[pg_guard] -extern "C" { - pub fn endprotoent(); -} -#[pg_guard] -extern "C" { - pub fn getprotoent() -> *mut protoent; -} -#[pg_guard] -extern "C" { - pub fn getprotobyname(__name: *const ::std::os::raw::c_char) -> *mut protoent; -} -#[pg_guard] -extern "C" { - pub fn getprotobynumber(__proto: ::std::os::raw::c_int) -> *mut protoent; -} -#[pg_guard] -extern "C" { - pub fn getprotoent_r( - __result_buf: *mut protoent, - __buf: *mut ::std::os::raw::c_char, - __buflen: usize, - __result: *mut *mut protoent, - ) -> ::std::os::raw::c_int; -} -#[pg_guard] -extern "C" { - pub fn getprotobyname_r( - __name: *const ::std::os::raw::c_char, - __result_buf: *mut protoent, - __buf: *mut ::std::os::raw::c_char, - __buflen: usize, - __result: *mut *mut protoent, - ) -> ::std::os::raw::c_int; -} -#[pg_guard] -extern "C" { - pub fn getprotobynumber_r( - __proto: ::std::os::raw::c_int, - __result_buf: *mut protoent, - __buf: *mut ::std::os::raw::c_char, - __buflen: usize, - __result: *mut *mut protoent, - ) -> ::std::os::raw::c_int; -} -#[pg_guard] -extern "C" { - pub fn setnetgrent(__netgroup: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; -} -#[pg_guard] -extern "C" { - pub fn endnetgrent(); -} -#[pg_guard] -extern "C" { - pub fn getnetgrent( - __hostp: *mut *mut ::std::os::raw::c_char, - __userp: *mut *mut ::std::os::raw::c_char, - __domainp: *mut *mut ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; -} -#[pg_guard] -extern "C" { - pub fn innetgr( - __netgroup: *const ::std::os::raw::c_char, - __host: *const ::std::os::raw::c_char, - __user: *const ::std::os::raw::c_char, - __domain: *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; -} -#[pg_guard] -extern "C" { - pub fn getnetgrent_r( - __hostp: *mut *mut ::std::os::raw::c_char, - __userp: *mut *mut ::std::os::raw::c_char, - __domainp: *mut *mut ::std::os::raw::c_char, - __buffer: *mut ::std::os::raw::c_char, - __buflen: usize, - ) -> ::std::os::raw::c_int; -} -#[pg_guard] -extern "C" { - pub fn rcmd( - __ahost: *mut *mut ::std::os::raw::c_char, - __rport: ::std::os::raw::c_ushort, - __locuser: *const ::std::os::raw::c_char, - __remuser: *const ::std::os::raw::c_char, - __cmd: *const ::std::os::raw::c_char, - __fd2p: *mut ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; -} -#[pg_guard] -extern "C" { - pub fn rcmd_af( - __ahost: *mut *mut ::std::os::raw::c_char, - __rport: ::std::os::raw::c_ushort, - __locuser: *const ::std::os::raw::c_char, - __remuser: *const ::std::os::raw::c_char, - __cmd: *const ::std::os::raw::c_char, - __fd2p: *mut ::std::os::raw::c_int, - __af: sa_family_t, - ) -> ::std::os::raw::c_int; -} -#[pg_guard] -extern "C" { - pub fn rexec( - __ahost: *mut *mut ::std::os::raw::c_char, - __rport: ::std::os::raw::c_int, - __name: *const ::std::os::raw::c_char, - __pass: *const ::std::os::raw::c_char, - __cmd: *const ::std::os::raw::c_char, - __fd2p: *mut ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; -} -#[pg_guard] -extern "C" { - pub fn rexec_af( - __ahost: *mut *mut ::std::os::raw::c_char, - __rport: ::std::os::raw::c_int, - __name: *const ::std::os::raw::c_char, - __pass: *const ::std::os::raw::c_char, - __cmd: *const ::std::os::raw::c_char, - __fd2p: *mut ::std::os::raw::c_int, - __af: sa_family_t, - ) -> ::std::os::raw::c_int; -} -#[pg_guard] -extern "C" { - pub fn ruserok( - __rhost: *const ::std::os::raw::c_char, - __suser: ::std::os::raw::c_int, - __remuser: *const ::std::os::raw::c_char, - __locuser: *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; -} -#[pg_guard] -extern "C" { - pub fn ruserok_af( - __rhost: *const ::std::os::raw::c_char, - __suser: ::std::os::raw::c_int, - __remuser: *const ::std::os::raw::c_char, - __locuser: *const ::std::os::raw::c_char, - __af: sa_family_t, - ) -> ::std::os::raw::c_int; -} -#[pg_guard] -extern "C" { - pub fn iruserok( - __raddr: u32, - __suser: ::std::os::raw::c_int, - __remuser: *const ::std::os::raw::c_char, - __locuser: *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; -} -#[pg_guard] -extern "C" { - pub fn iruserok_af( - __raddr: *const ::std::os::raw::c_void, - __suser: ::std::os::raw::c_int, - __remuser: *const ::std::os::raw::c_char, - __locuser: *const ::std::os::raw::c_char, - __af: sa_family_t, - ) -> ::std::os::raw::c_int; -} -#[pg_guard] -extern "C" { - pub fn rresvport(__alport: *mut ::std::os::raw::c_int) -> ::std::os::raw::c_int; -} -#[pg_guard] -extern "C" { - pub fn rresvport_af( - __alport: *mut ::std::os::raw::c_int, - __af: sa_family_t, - ) -> ::std::os::raw::c_int; -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct addrinfo { - pub ai_flags: ::std::os::raw::c_int, - pub ai_family: ::std::os::raw::c_int, - pub ai_socktype: ::std::os::raw::c_int, - pub ai_protocol: ::std::os::raw::c_int, - pub ai_addrlen: socklen_t, - pub ai_addr: *mut sockaddr, - pub ai_canonname: *mut ::std::os::raw::c_char, - pub ai_next: *mut addrinfo, -} -impl Default for addrinfo { - fn default() -> Self { - let mut s = ::std::mem::MaybeUninit::::uninit(); - unsafe { - ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); - s.assume_init() - } - } -} -#[pg_guard] -extern "C" { - pub fn getaddrinfo( - __name: *const ::std::os::raw::c_char, - __service: *const ::std::os::raw::c_char, - __req: *const addrinfo, - __pai: *mut *mut addrinfo, - ) -> ::std::os::raw::c_int; -} -#[pg_guard] -extern "C" { - pub fn freeaddrinfo(__ai: *mut addrinfo); -} -#[pg_guard] -extern "C" { - pub fn gai_strerror(__ecode: ::std::os::raw::c_int) -> *const ::std::os::raw::c_char; + pub fn strtouq( + __str: *const ::std::os::raw::c_char, + __endptr: *mut *mut ::std::os::raw::c_char, + __base: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_ulonglong; } #[pg_guard] extern "C" { - pub fn getnameinfo( - __sa: *const sockaddr, - __salen: socklen_t, - __host: *mut ::std::os::raw::c_char, - __hostlen: socklen_t, - __serv: *mut ::std::os::raw::c_char, - __servlen: socklen_t, - __flags: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct passwd { - pub pw_name: *mut ::std::os::raw::c_char, - pub pw_passwd: *mut ::std::os::raw::c_char, - pub pw_uid: __uid_t, - pub pw_gid: __gid_t, - pub pw_gecos: *mut ::std::os::raw::c_char, - pub pw_dir: *mut ::std::os::raw::c_char, - pub pw_shell: *mut ::std::os::raw::c_char, -} -impl Default for passwd { - fn default() -> Self { - let mut s = ::std::mem::MaybeUninit::::uninit(); - unsafe { - ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); - s.assume_init() - } - } + pub static mut suboptarg: *mut ::std::os::raw::c_char; } #[pg_guard] extern "C" { - pub fn setpwent(); + pub fn memchr( + __s: *const ::std::os::raw::c_void, + __c: ::std::os::raw::c_int, + __n: ::std::os::raw::c_ulong, + ) -> *mut ::std::os::raw::c_void; } #[pg_guard] extern "C" { - pub fn endpwent(); + pub fn memcmp( + __s1: *const ::std::os::raw::c_void, + __s2: *const ::std::os::raw::c_void, + __n: ::std::os::raw::c_ulong, + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn getpwent() -> *mut passwd; + pub fn memcpy( + __dst: *mut ::std::os::raw::c_void, + __src: *const ::std::os::raw::c_void, + __n: ::std::os::raw::c_ulong, + ) -> *mut ::std::os::raw::c_void; } #[pg_guard] extern "C" { - pub fn fgetpwent(__stream: *mut FILE) -> *mut passwd; + pub fn memmove( + __dst: *mut ::std::os::raw::c_void, + __src: *const ::std::os::raw::c_void, + __len: ::std::os::raw::c_ulong, + ) -> *mut ::std::os::raw::c_void; } #[pg_guard] extern "C" { - pub fn putpwent(__p: *const passwd, __f: *mut FILE) -> ::std::os::raw::c_int; + pub fn memset( + __b: *mut ::std::os::raw::c_void, + __c: ::std::os::raw::c_int, + __len: ::std::os::raw::c_ulong, + ) -> *mut ::std::os::raw::c_void; } #[pg_guard] extern "C" { - pub fn getpwuid(__uid: __uid_t) -> *mut passwd; + pub fn strcat( + __s1: *mut ::std::os::raw::c_char, + __s2: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; } #[pg_guard] extern "C" { - pub fn getpwnam(__name: *const ::std::os::raw::c_char) -> *mut passwd; + pub fn strchr( + __s: *const ::std::os::raw::c_char, + __c: ::std::os::raw::c_int, + ) -> *mut ::std::os::raw::c_char; } #[pg_guard] extern "C" { - pub fn getpwent_r( - __resultbuf: *mut passwd, - __buffer: *mut ::std::os::raw::c_char, - __buflen: usize, - __result: *mut *mut passwd, + pub fn strcmp( + __s1: *const ::std::os::raw::c_char, + __s2: *const ::std::os::raw::c_char, ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn getpwuid_r( - __uid: __uid_t, - __resultbuf: *mut passwd, - __buffer: *mut ::std::os::raw::c_char, - __buflen: usize, - __result: *mut *mut passwd, + pub fn strcoll( + __s1: *const ::std::os::raw::c_char, + __s2: *const ::std::os::raw::c_char, ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn getpwnam_r( - __name: *const ::std::os::raw::c_char, - __resultbuf: *mut passwd, - __buffer: *mut ::std::os::raw::c_char, - __buflen: usize, - __result: *mut *mut passwd, - ) -> ::std::os::raw::c_int; + pub fn strcpy( + __dst: *mut ::std::os::raw::c_char, + __src: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; } #[pg_guard] extern "C" { - pub fn fgetpwent_r( - __stream: *mut FILE, - __resultbuf: *mut passwd, - __buffer: *mut ::std::os::raw::c_char, - __buflen: usize, - __result: *mut *mut passwd, - ) -> ::std::os::raw::c_int; + pub fn strcspn( + __s: *const ::std::os::raw::c_char, + __charset: *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_ulong; } -pub type pgsocket = ::std::os::raw::c_int; #[pg_guard] extern "C" { - pub fn pg_set_noblock(sock: pgsocket) -> bool; + pub fn strerror(__errnum: ::std::os::raw::c_int) -> *mut ::std::os::raw::c_char; } #[pg_guard] extern "C" { - pub fn pg_set_block(sock: pgsocket) -> bool; + pub fn strlen(__s: *const ::std::os::raw::c_char) -> ::std::os::raw::c_ulong; } #[pg_guard] extern "C" { - pub fn has_drive_prefix(filename: *const ::std::os::raw::c_char) -> bool; + pub fn strncat( + __s1: *mut ::std::os::raw::c_char, + __s2: *const ::std::os::raw::c_char, + __n: ::std::os::raw::c_ulong, + ) -> *mut ::std::os::raw::c_char; } #[pg_guard] extern "C" { - pub fn first_dir_separator( - filename: *const ::std::os::raw::c_char, - ) -> *mut ::std::os::raw::c_char; + pub fn strncmp( + __s1: *const ::std::os::raw::c_char, + __s2: *const ::std::os::raw::c_char, + __n: ::std::os::raw::c_ulong, + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn last_dir_separator( - filename: *const ::std::os::raw::c_char, + pub fn strncpy( + __dst: *mut ::std::os::raw::c_char, + __src: *const ::std::os::raw::c_char, + __n: ::std::os::raw::c_ulong, ) -> *mut ::std::os::raw::c_char; } #[pg_guard] extern "C" { - pub fn first_path_var_separator( - pathlist: *const ::std::os::raw::c_char, + pub fn strpbrk( + __s: *const ::std::os::raw::c_char, + __charset: *const ::std::os::raw::c_char, ) -> *mut ::std::os::raw::c_char; } #[pg_guard] extern "C" { - pub fn join_path_components( - ret_path: *mut ::std::os::raw::c_char, - head: *const ::std::os::raw::c_char, - tail: *const ::std::os::raw::c_char, - ); + pub fn strrchr( + __s: *const ::std::os::raw::c_char, + __c: ::std::os::raw::c_int, + ) -> *mut ::std::os::raw::c_char; } #[pg_guard] extern "C" { - pub fn canonicalize_path(path: *mut ::std::os::raw::c_char); + pub fn strspn( + __s: *const ::std::os::raw::c_char, + __charset: *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_ulong; } #[pg_guard] extern "C" { - pub fn make_native_path(path: *mut ::std::os::raw::c_char); + pub fn strstr( + __big: *const ::std::os::raw::c_char, + __little: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; } #[pg_guard] extern "C" { - pub fn cleanup_path(path: *mut ::std::os::raw::c_char); + pub fn strtok( + __str: *mut ::std::os::raw::c_char, + __sep: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; } #[pg_guard] extern "C" { - pub fn path_contains_parent_reference(path: *const ::std::os::raw::c_char) -> bool; + pub fn strxfrm( + __s1: *mut ::std::os::raw::c_char, + __s2: *const ::std::os::raw::c_char, + __n: ::std::os::raw::c_ulong, + ) -> ::std::os::raw::c_ulong; } #[pg_guard] extern "C" { - pub fn path_is_relative_and_below_cwd(path: *const ::std::os::raw::c_char) -> bool; + pub fn strtok_r( + __str: *mut ::std::os::raw::c_char, + __sep: *const ::std::os::raw::c_char, + __lasts: *mut *mut ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; } #[pg_guard] extern "C" { - pub fn path_is_prefix_of_path( - path1: *const ::std::os::raw::c_char, - path2: *const ::std::os::raw::c_char, - ) -> bool; + pub fn strerror_r( + __errnum: ::std::os::raw::c_int, + __strerrbuf: *mut ::std::os::raw::c_char, + __buflen: usize, + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn make_absolute_path(path: *const ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; + pub fn strdup(__s1: *const ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; } #[pg_guard] extern "C" { - pub fn get_progname(argv0: *const ::std::os::raw::c_char) -> *const ::std::os::raw::c_char; + pub fn memccpy( + __dst: *mut ::std::os::raw::c_void, + __src: *const ::std::os::raw::c_void, + __c: ::std::os::raw::c_int, + __n: ::std::os::raw::c_ulong, + ) -> *mut ::std::os::raw::c_void; } #[pg_guard] extern "C" { - pub fn get_share_path( - my_exec_path: *const ::std::os::raw::c_char, - ret_path: *mut ::std::os::raw::c_char, - ); + pub fn stpcpy( + __dst: *mut ::std::os::raw::c_char, + __src: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; } #[pg_guard] extern "C" { - pub fn get_etc_path( - my_exec_path: *const ::std::os::raw::c_char, - ret_path: *mut ::std::os::raw::c_char, - ); + pub fn stpncpy( + __dst: *mut ::std::os::raw::c_char, + __src: *const ::std::os::raw::c_char, + __n: ::std::os::raw::c_ulong, + ) -> *mut ::std::os::raw::c_char; } #[pg_guard] extern "C" { - pub fn get_include_path( - my_exec_path: *const ::std::os::raw::c_char, - ret_path: *mut ::std::os::raw::c_char, - ); + pub fn strndup( + __s1: *const ::std::os::raw::c_char, + __n: ::std::os::raw::c_ulong, + ) -> *mut ::std::os::raw::c_char; } #[pg_guard] extern "C" { - pub fn get_pkginclude_path( - my_exec_path: *const ::std::os::raw::c_char, - ret_path: *mut ::std::os::raw::c_char, - ); + pub fn strnlen(__s1: *const ::std::os::raw::c_char, __n: usize) -> usize; } #[pg_guard] extern "C" { - pub fn get_includeserver_path( - my_exec_path: *const ::std::os::raw::c_char, - ret_path: *mut ::std::os::raw::c_char, - ); + pub fn strsignal(__sig: ::std::os::raw::c_int) -> *mut ::std::os::raw::c_char; } +pub type rsize_t = __darwin_size_t; +pub type errno_t = ::std::os::raw::c_int; #[pg_guard] extern "C" { - pub fn get_lib_path( - my_exec_path: *const ::std::os::raw::c_char, - ret_path: *mut ::std::os::raw::c_char, - ); + pub fn memset_s( + __s: *mut ::std::os::raw::c_void, + __smax: rsize_t, + __c: ::std::os::raw::c_int, + __n: rsize_t, + ) -> errno_t; } #[pg_guard] extern "C" { - pub fn get_pkglib_path( - my_exec_path: *const ::std::os::raw::c_char, - ret_path: *mut ::std::os::raw::c_char, - ); + pub fn memmem( + __big: *const ::std::os::raw::c_void, + __big_len: usize, + __little: *const ::std::os::raw::c_void, + __little_len: usize, + ) -> *mut ::std::os::raw::c_void; } #[pg_guard] extern "C" { - pub fn get_locale_path( - my_exec_path: *const ::std::os::raw::c_char, - ret_path: *mut ::std::os::raw::c_char, + pub fn memset_pattern4( + __b: *mut ::std::os::raw::c_void, + __pattern4: *const ::std::os::raw::c_void, + __len: usize, ); } #[pg_guard] extern "C" { - pub fn get_doc_path( - my_exec_path: *const ::std::os::raw::c_char, - ret_path: *mut ::std::os::raw::c_char, + pub fn memset_pattern8( + __b: *mut ::std::os::raw::c_void, + __pattern8: *const ::std::os::raw::c_void, + __len: usize, ); } #[pg_guard] extern "C" { - pub fn get_html_path( - my_exec_path: *const ::std::os::raw::c_char, - ret_path: *mut ::std::os::raw::c_char, + pub fn memset_pattern16( + __b: *mut ::std::os::raw::c_void, + __pattern16: *const ::std::os::raw::c_void, + __len: usize, ); } #[pg_guard] extern "C" { - pub fn get_man_path( - my_exec_path: *const ::std::os::raw::c_char, - ret_path: *mut ::std::os::raw::c_char, - ); + pub fn strcasestr( + __big: *const ::std::os::raw::c_char, + __little: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; } #[pg_guard] extern "C" { - pub fn get_home_path(ret_path: *mut ::std::os::raw::c_char) -> bool; + pub fn strnstr( + __big: *const ::std::os::raw::c_char, + __little: *const ::std::os::raw::c_char, + __len: usize, + ) -> *mut ::std::os::raw::c_char; } #[pg_guard] extern "C" { - pub fn get_parent_directory(path: *mut ::std::os::raw::c_char); + pub fn strlcat( + __dst: *mut ::std::os::raw::c_char, + __source: *const ::std::os::raw::c_char, + __size: ::std::os::raw::c_ulong, + ) -> ::std::os::raw::c_ulong; } #[pg_guard] extern "C" { - pub fn pgfnames(path: *const ::std::os::raw::c_char) -> *mut *mut ::std::os::raw::c_char; + pub fn strlcpy( + __dst: *mut ::std::os::raw::c_char, + __source: *const ::std::os::raw::c_char, + __size: ::std::os::raw::c_ulong, + ) -> ::std::os::raw::c_ulong; } #[pg_guard] extern "C" { - pub fn pgfnames_cleanup(filenames: *mut *mut ::std::os::raw::c_char); + pub fn strmode(__mode: ::std::os::raw::c_int, __bp: *mut ::std::os::raw::c_char); } #[pg_guard] extern "C" { - pub fn set_pglocale_pgservice( - argv0: *const ::std::os::raw::c_char, - app: *const ::std::os::raw::c_char, - ); + pub fn strsep( + __stringp: *mut *mut ::std::os::raw::c_char, + __delim: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; } #[pg_guard] extern "C" { - pub fn find_my_exec( - argv0: *const ::std::os::raw::c_char, - retpath: *mut ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; + pub fn swab( + arg1: *const ::std::os::raw::c_void, + arg2: *mut ::std::os::raw::c_void, + arg3: isize, + ); } #[pg_guard] extern "C" { - pub fn find_other_exec( - argv0: *const ::std::os::raw::c_char, - target: *const ::std::os::raw::c_char, - versionstr: *const ::std::os::raw::c_char, - retpath: *mut ::std::os::raw::c_char, + pub fn timingsafe_bcmp( + __b1: *const ::std::os::raw::c_void, + __b2: *const ::std::os::raw::c_void, + __len: usize, ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn pg_usleep(microsec: ::std::os::raw::c_long); -} -#[pg_guard] -extern "C" { - pub fn pg_strcasecmp( - s1: *const ::std::os::raw::c_char, - s2: *const ::std::os::raw::c_char, + pub fn strsignal_r( + __sig: ::std::os::raw::c_int, + __strsignalbuf: *mut ::std::os::raw::c_char, + __buflen: usize, ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn pg_strncasecmp( - s1: *const ::std::os::raw::c_char, - s2: *const ::std::os::raw::c_char, - n: usize, + pub fn bcmp( + arg1: *const ::std::os::raw::c_void, + arg2: *const ::std::os::raw::c_void, + arg3: ::std::os::raw::c_ulong, ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn pg_toupper(ch: ::std::os::raw::c_uchar) -> ::std::os::raw::c_uchar; + pub fn bcopy( + arg1: *const ::std::os::raw::c_void, + arg2: *mut ::std::os::raw::c_void, + arg3: usize, + ); } #[pg_guard] extern "C" { - pub fn pg_tolower(ch: ::std::os::raw::c_uchar) -> ::std::os::raw::c_uchar; + pub fn bzero(arg1: *mut ::std::os::raw::c_void, arg2: ::std::os::raw::c_ulong); } #[pg_guard] extern "C" { - pub fn pg_ascii_toupper(ch: ::std::os::raw::c_uchar) -> ::std::os::raw::c_uchar; + pub fn index( + arg1: *const ::std::os::raw::c_char, + arg2: ::std::os::raw::c_int, + ) -> *mut ::std::os::raw::c_char; } #[pg_guard] extern "C" { - pub fn pg_ascii_tolower(ch: ::std::os::raw::c_uchar) -> ::std::os::raw::c_uchar; + pub fn rindex( + arg1: *const ::std::os::raw::c_char, + arg2: ::std::os::raw::c_int, + ) -> *mut ::std::os::raw::c_char; } #[pg_guard] extern "C" { - pub fn pg_strsignal(signum: ::std::os::raw::c_int) -> *const ::std::os::raw::c_char; + pub fn ffs(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn simple_prompt( - prompt: *const ::std::os::raw::c_char, - destination: *mut ::std::os::raw::c_char, - destlen: usize, - echo: bool, - ); + pub fn strcasecmp( + arg1: *const ::std::os::raw::c_char, + arg2: *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn pclose_check(stream: *mut FILE) -> ::std::os::raw::c_int; + pub fn strncasecmp( + arg1: *const ::std::os::raw::c_char, + arg2: *const ::std::os::raw::c_char, + arg3: ::std::os::raw::c_ulong, + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn rmtree(path: *const ::std::os::raw::c_char, rmtopdir: bool) -> bool; + pub fn ffsl(arg1: ::std::os::raw::c_long) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn pg_erand48(xseed: *mut ::std::os::raw::c_ushort) -> f64; + pub fn ffsll(arg1: ::std::os::raw::c_longlong) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn pg_lrand48() -> ::std::os::raw::c_long; + pub fn fls(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn pg_jrand48(xseed: *mut ::std::os::raw::c_ushort) -> ::std::os::raw::c_long; + pub fn flsl(arg1: ::std::os::raw::c_long) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn pg_srand48(seed: ::std::os::raw::c_long); + pub fn flsll(arg1: ::std::os::raw::c_longlong) -> ::std::os::raw::c_int; } -#[pg_guard] -extern "C" { - pub fn fls(mask: ::std::os::raw::c_int) -> ::std::os::raw::c_int; +pub type max_align_t = f64; +pub type __gnuc_va_list = __builtin_va_list; +pub type u_char = ::std::os::raw::c_uchar; +pub type u_short = ::std::os::raw::c_ushort; +pub type u_int = ::std::os::raw::c_uint; +pub type u_long = ::std::os::raw::c_ulong; +pub type ushort = ::std::os::raw::c_ushort; +pub type uint = ::std::os::raw::c_uint; +pub type u_quad_t = u_int64_t; +pub type quad_t = i64; +pub type qaddr_t = *mut quad_t; +pub type caddr_t = *mut ::std::os::raw::c_char; +pub type daddr_t = i32; +pub type fixpt_t = u_int32_t; +pub type blkcnt_t = __darwin_blkcnt_t; +pub type blksize_t = __darwin_blksize_t; +pub type gid_t = __darwin_gid_t; +pub type in_addr_t = __uint32_t; +pub type in_port_t = __uint16_t; +pub type ino_t = __darwin_ino_t; +pub type ino64_t = __darwin_ino64_t; +pub type key_t = __int32_t; +pub type nlink_t = __uint16_t; +pub type segsz_t = i32; +pub type swblk_t = i32; +pub type clock_t = __darwin_clock_t; +pub type time_t = __darwin_time_t; +pub type useconds_t = __darwin_useconds_t; +pub type suseconds_t = __darwin_suseconds_t; +#[repr(C)] +#[derive(Debug, Default, Copy, Clone)] +pub struct fd_set { + pub fds_bits: [__int32_t; 32usize], } #[pg_guard] extern "C" { - pub fn getpeereid( - sock: ::std::os::raw::c_int, - uid: *mut uid_t, - gid: *mut gid_t, + pub fn __darwin_check_fd_set_overflow( + arg1: ::std::os::raw::c_int, + arg2: *const ::std::os::raw::c_void, + arg3: ::std::os::raw::c_int, ) -> ::std::os::raw::c_int; } -pub type float_t = f32; -pub type double_t = f64; +pub type fd_mask = __int32_t; +pub type pthread_cond_t = __darwin_pthread_cond_t; +pub type pthread_condattr_t = __darwin_pthread_condattr_t; +pub type pthread_mutex_t = __darwin_pthread_mutex_t; +pub type pthread_mutexattr_t = __darwin_pthread_mutexattr_t; +pub type pthread_once_t = __darwin_pthread_once_t; +pub type pthread_rwlock_t = __darwin_pthread_rwlock_t; +pub type pthread_rwlockattr_t = __darwin_pthread_rwlockattr_t; +pub type pthread_t = __darwin_pthread_t; +pub type pthread_key_t = __darwin_pthread_key_t; +pub type fsblkcnt_t = __darwin_fsblkcnt_t; +pub type fsfilcnt_t = __darwin_fsfilcnt_t; #[pg_guard] extern "C" { - pub fn __fpclassify(__value: f64) -> ::std::os::raw::c_int; + pub fn __error() -> *mut ::std::os::raw::c_int; } -#[pg_guard] -extern "C" { - pub fn __signbit(__value: f64) -> ::std::os::raw::c_int; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct lconv { + pub decimal_point: *mut ::std::os::raw::c_char, + pub thousands_sep: *mut ::std::os::raw::c_char, + pub grouping: *mut ::std::os::raw::c_char, + pub int_curr_symbol: *mut ::std::os::raw::c_char, + pub currency_symbol: *mut ::std::os::raw::c_char, + pub mon_decimal_point: *mut ::std::os::raw::c_char, + pub mon_thousands_sep: *mut ::std::os::raw::c_char, + pub mon_grouping: *mut ::std::os::raw::c_char, + pub positive_sign: *mut ::std::os::raw::c_char, + pub negative_sign: *mut ::std::os::raw::c_char, + pub int_frac_digits: ::std::os::raw::c_char, + pub frac_digits: ::std::os::raw::c_char, + pub p_cs_precedes: ::std::os::raw::c_char, + pub p_sep_by_space: ::std::os::raw::c_char, + pub n_cs_precedes: ::std::os::raw::c_char, + pub n_sep_by_space: ::std::os::raw::c_char, + pub p_sign_posn: ::std::os::raw::c_char, + pub n_sign_posn: ::std::os::raw::c_char, + pub int_p_cs_precedes: ::std::os::raw::c_char, + pub int_n_cs_precedes: ::std::os::raw::c_char, + pub int_p_sep_by_space: ::std::os::raw::c_char, + pub int_n_sep_by_space: ::std::os::raw::c_char, + pub int_p_sign_posn: ::std::os::raw::c_char, + pub int_n_sign_posn: ::std::os::raw::c_char, } -#[pg_guard] -extern "C" { - pub fn __isinf(__value: f64) -> ::std::os::raw::c_int; +impl Default for lconv { + fn default() -> Self { + let mut s = ::std::mem::MaybeUninit::::uninit(); + unsafe { + ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); + s.assume_init() + } + } } #[pg_guard] extern "C" { - pub fn __finite(__value: f64) -> ::std::os::raw::c_int; + pub fn localeconv() -> *mut lconv; } #[pg_guard] extern "C" { - pub fn __isnan(__value: f64) -> ::std::os::raw::c_int; + pub fn setlocale( + arg1: ::std::os::raw::c_int, + arg2: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; } -#[pg_guard] -extern "C" { - pub fn __iseqsig(__x: f64, __y: f64) -> ::std::os::raw::c_int; +pub type Pointer = *mut ::std::os::raw::c_char; +pub type int8 = ::std::os::raw::c_schar; +pub type int16 = ::std::os::raw::c_short; +pub type int32 = ::std::os::raw::c_int; +pub type uint8 = ::std::os::raw::c_uchar; +pub type uint16 = ::std::os::raw::c_ushort; +pub type uint32 = ::std::os::raw::c_uint; +pub type bits8 = uint8; +pub type bits16 = uint16; +pub type bits32 = uint32; +pub type int64 = ::std::os::raw::c_long; +pub type uint64 = ::std::os::raw::c_ulong; +pub type int128 = i128; +pub type uint128 = u128; +pub type Size = usize; +pub type Index = ::std::os::raw::c_uint; +pub type Offset = ::std::os::raw::c_int; +pub type float4 = f32; +pub type float8 = f64; +pub type regproc = Oid; +pub type RegProcedure = regproc; +pub type TransactionId = uint32; +pub type LocalTransactionId = uint32; +pub type SubTransactionId = uint32; +pub type MultiXactId = TransactionId; +pub type MultiXactOffset = uint32; +pub type CommandId = uint32; +#[repr(C)] +#[derive(Debug, Default, Copy, Clone)] +pub struct IntArray { + pub indx: [::std::os::raw::c_int; 6usize], } -#[pg_guard] -extern "C" { - pub fn __issignaling(__value: f64) -> ::std::os::raw::c_int; +#[repr(C)] +#[derive(Debug, Default)] +pub struct varlena { + pub vl_len_: [::std::os::raw::c_char; 4usize], + pub vl_dat: __IncompleteArrayField<::std::os::raw::c_char>, } -#[pg_guard] -extern "C" { - pub fn acos(__x: f64) -> f64; +pub type bytea = varlena; +pub type text = varlena; +pub type BpChar = varlena; +pub type VarChar = varlena; +#[repr(C)] +#[derive(Debug, Default)] +pub struct int2vector { + pub vl_len_: int32, + pub ndim: ::std::os::raw::c_int, + pub dataoffset: int32, + pub elemtype: Oid, + pub dim1: ::std::os::raw::c_int, + pub lbound1: ::std::os::raw::c_int, + pub values: __IncompleteArrayField, } -#[pg_guard] -extern "C" { - pub fn __acos(__x: f64) -> f64; +#[repr(C)] +#[derive(Debug, Default)] +pub struct oidvector { + pub vl_len_: int32, + pub ndim: ::std::os::raw::c_int, + pub dataoffset: int32, + pub elemtype: Oid, + pub dim1: ::std::os::raw::c_int, + pub lbound1: ::std::os::raw::c_int, + pub values: __IncompleteArrayField, } -#[pg_guard] -extern "C" { - pub fn asin(__x: f64) -> f64; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct nameData { + pub data: [::std::os::raw::c_char; 64usize], } -#[pg_guard] -extern "C" { - pub fn __asin(__x: f64) -> f64; +impl Default for nameData { + fn default() -> Self { + let mut s = ::std::mem::MaybeUninit::::uninit(); + unsafe { + ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); + s.assume_init() + } + } } +pub type NameData = nameData; +pub type Name = *mut NameData; #[pg_guard] extern "C" { - pub fn atan(__x: f64) -> f64; + pub fn ExceptionalCondition( + conditionName: *const ::std::os::raw::c_char, + errorType: *const ::std::os::raw::c_char, + fileName: *const ::std::os::raw::c_char, + lineNumber: ::std::os::raw::c_int, + ); } -#[pg_guard] -extern "C" { - pub fn __atan(__x: f64) -> f64; +#[repr(C)] +#[derive(Copy, Clone)] +pub union PGAlignedBlock { + pub data: [::std::os::raw::c_char; 8192usize], + pub force_align_d: f64, + pub force_align_i64: int64, } -#[pg_guard] -extern "C" { - pub fn atan2(__y: f64, __x: f64) -> f64; +impl Default for PGAlignedBlock { + fn default() -> Self { + let mut s = ::std::mem::MaybeUninit::::uninit(); + unsafe { + ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); + s.assume_init() + } + } } -#[pg_guard] -extern "C" { - pub fn __atan2(__y: f64, __x: f64) -> f64; +#[repr(C)] +#[derive(Copy, Clone)] +pub union PGAlignedXLogBlock { + pub data: [::std::os::raw::c_char; 8192usize], + pub force_align_d: f64, + pub force_align_i64: int64, } -#[pg_guard] -extern "C" { - pub fn cos(__x: f64) -> f64; +impl Default for PGAlignedXLogBlock { + fn default() -> Self { + let mut s = ::std::mem::MaybeUninit::::uninit(); + unsafe { + ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); + s.assume_init() + } + } } #[pg_guard] extern "C" { - pub fn __cos(__x: f64) -> f64; + pub fn fdatasync(fildes: ::std::os::raw::c_int) -> ::std::os::raw::c_int; +} +pub type wint_t = __darwin_wint_t; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _RuneEntry { + pub __min: __darwin_rune_t, + pub __max: __darwin_rune_t, + pub __map: __darwin_rune_t, + pub __types: *mut __uint32_t, +} +impl Default for _RuneEntry { + fn default() -> Self { + let mut s = ::std::mem::MaybeUninit::::uninit(); + unsafe { + ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); + s.assume_init() + } + } +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _RuneRange { + pub __nranges: ::std::os::raw::c_int, + pub __ranges: *mut _RuneEntry, +} +impl Default for _RuneRange { + fn default() -> Self { + let mut s = ::std::mem::MaybeUninit::::uninit(); + unsafe { + ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); + s.assume_init() + } + } +} +#[repr(C)] +#[derive(Debug, Default, Copy, Clone)] +pub struct _RuneCharClass { + pub __name: [::std::os::raw::c_char; 14usize], + pub __mask: __uint32_t, +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _RuneLocale { + pub __magic: [::std::os::raw::c_char; 8usize], + pub __encoding: [::std::os::raw::c_char; 32usize], + pub __sgetrune: ::std::option::Option< + unsafe extern "C" fn( + arg1: *const ::std::os::raw::c_char, + arg2: __darwin_size_t, + arg3: *mut *const ::std::os::raw::c_char, + ) -> __darwin_rune_t, + >, + pub __sputrune: ::std::option::Option< + unsafe extern "C" fn( + arg1: __darwin_rune_t, + arg2: *mut ::std::os::raw::c_char, + arg3: __darwin_size_t, + arg4: *mut *mut ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int, + >, + pub __invalid_rune: __darwin_rune_t, + pub __runetype: [__uint32_t; 256usize], + pub __maplower: [__darwin_rune_t; 256usize], + pub __mapupper: [__darwin_rune_t; 256usize], + pub __runetype_ext: _RuneRange, + pub __maplower_ext: _RuneRange, + pub __mapupper_ext: _RuneRange, + pub __variable: *mut ::std::os::raw::c_void, + pub __variable_len: ::std::os::raw::c_int, + pub __ncharclasses: ::std::os::raw::c_int, + pub __charclasses: *mut _RuneCharClass, +} +impl Default for _RuneLocale { + fn default() -> Self { + let mut s = ::std::mem::MaybeUninit::::uninit(); + unsafe { + ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); + s.assume_init() + } + } } #[pg_guard] extern "C" { - pub fn sin(__x: f64) -> f64; + pub static mut _DefaultRuneLocale: _RuneLocale; } #[pg_guard] extern "C" { - pub fn __sin(__x: f64) -> f64; + pub static mut _CurrentRuneLocale: *mut _RuneLocale; } #[pg_guard] extern "C" { - pub fn tan(__x: f64) -> f64; + pub fn ___runetype(arg1: __darwin_ct_rune_t) -> ::std::os::raw::c_ulong; } #[pg_guard] extern "C" { - pub fn __tan(__x: f64) -> f64; + pub fn ___tolower(arg1: __darwin_ct_rune_t) -> __darwin_ct_rune_t; } #[pg_guard] extern "C" { - pub fn cosh(__x: f64) -> f64; + pub fn ___toupper(arg1: __darwin_ct_rune_t) -> __darwin_ct_rune_t; } #[pg_guard] extern "C" { - pub fn __cosh(__x: f64) -> f64; + pub fn __maskrune( + arg1: __darwin_ct_rune_t, + arg2: ::std::os::raw::c_ulong, + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn sinh(__x: f64) -> f64; + pub fn __toupper(arg1: __darwin_ct_rune_t) -> __darwin_ct_rune_t; } #[pg_guard] extern "C" { - pub fn __sinh(__x: f64) -> f64; + pub fn __tolower(arg1: __darwin_ct_rune_t) -> __darwin_ct_rune_t; +} +pub type socklen_t = __darwin_socklen_t; +pub type sa_family_t = __uint8_t; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct iovec { + pub iov_base: *mut ::std::os::raw::c_void, + pub iov_len: usize, +} +impl Default for iovec { + fn default() -> Self { + let mut s = ::std::mem::MaybeUninit::::uninit(); + unsafe { + ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); + s.assume_init() + } + } +} +pub type sae_associd_t = __uint32_t; +pub type sae_connid_t = __uint32_t; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct sa_endpoints { + pub sae_srcif: ::std::os::raw::c_uint, + pub sae_srcaddr: *const sockaddr, + pub sae_srcaddrlen: socklen_t, + pub sae_dstaddr: *const sockaddr, + pub sae_dstaddrlen: socklen_t, +} +impl Default for sa_endpoints { + fn default() -> Self { + let mut s = ::std::mem::MaybeUninit::::uninit(); + unsafe { + ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); + s.assume_init() + } + } +} +pub type sa_endpoints_t = sa_endpoints; +#[repr(C)] +#[derive(Debug, Default, Copy, Clone)] +pub struct linger { + pub l_onoff: ::std::os::raw::c_int, + pub l_linger: ::std::os::raw::c_int, +} +#[repr(C)] +#[derive(Debug, Default, Copy, Clone)] +pub struct so_np_extensions { + pub npx_flags: u_int32_t, + pub npx_mask: u_int32_t, +} +#[repr(C)] +#[derive(Debug, Default, Copy, Clone)] +pub struct sockaddr { + pub sa_len: __uint8_t, + pub sa_family: sa_family_t, + pub sa_data: [::std::os::raw::c_char; 14usize], } -#[pg_guard] -extern "C" { - pub fn tanh(__x: f64) -> f64; +#[repr(C)] +#[derive(Debug, Default, Copy, Clone)] +pub struct sockproto { + pub sp_family: __uint16_t, + pub sp_protocol: __uint16_t, } -#[pg_guard] -extern "C" { - pub fn __tanh(__x: f64) -> f64; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct sockaddr_storage { + pub ss_len: __uint8_t, + pub ss_family: sa_family_t, + pub __ss_pad1: [::std::os::raw::c_char; 6usize], + pub __ss_align: __int64_t, + pub __ss_pad2: [::std::os::raw::c_char; 112usize], } -#[pg_guard] -extern "C" { - pub fn acosh(__x: f64) -> f64; +impl Default for sockaddr_storage { + fn default() -> Self { + let mut s = ::std::mem::MaybeUninit::::uninit(); + unsafe { + ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); + s.assume_init() + } + } } -#[pg_guard] -extern "C" { - pub fn __acosh(__x: f64) -> f64; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct msghdr { + pub msg_name: *mut ::std::os::raw::c_void, + pub msg_namelen: socklen_t, + pub msg_iov: *mut iovec, + pub msg_iovlen: ::std::os::raw::c_int, + pub msg_control: *mut ::std::os::raw::c_void, + pub msg_controllen: socklen_t, + pub msg_flags: ::std::os::raw::c_int, } -#[pg_guard] -extern "C" { - pub fn asinh(__x: f64) -> f64; +impl Default for msghdr { + fn default() -> Self { + let mut s = ::std::mem::MaybeUninit::::uninit(); + unsafe { + ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); + s.assume_init() + } + } } -#[pg_guard] -extern "C" { - pub fn __asinh(__x: f64) -> f64; +#[repr(C)] +#[derive(Debug, Default, Copy, Clone)] +pub struct cmsghdr { + pub cmsg_len: socklen_t, + pub cmsg_level: ::std::os::raw::c_int, + pub cmsg_type: ::std::os::raw::c_int, } -#[pg_guard] -extern "C" { - pub fn atanh(__x: f64) -> f64; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct sf_hdtr { + pub headers: *mut iovec, + pub hdr_cnt: ::std::os::raw::c_int, + pub trailers: *mut iovec, + pub trl_cnt: ::std::os::raw::c_int, } -#[pg_guard] -extern "C" { - pub fn __atanh(__x: f64) -> f64; +impl Default for sf_hdtr { + fn default() -> Self { + let mut s = ::std::mem::MaybeUninit::::uninit(); + unsafe { + ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); + s.assume_init() + } + } } #[pg_guard] extern "C" { - pub fn exp(__x: f64) -> f64; + pub fn accept( + arg1: ::std::os::raw::c_int, + arg2: *mut sockaddr, + arg3: *mut socklen_t, + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn __exp(__x: f64) -> f64; + pub fn bind( + arg1: ::std::os::raw::c_int, + arg2: *const sockaddr, + arg3: socklen_t, + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn frexp(__x: f64, __exponent: *mut ::std::os::raw::c_int) -> f64; + pub fn connect( + arg1: ::std::os::raw::c_int, + arg2: *const sockaddr, + arg3: socklen_t, + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn __frexp(__x: f64, __exponent: *mut ::std::os::raw::c_int) -> f64; + pub fn getpeername( + arg1: ::std::os::raw::c_int, + arg2: *mut sockaddr, + arg3: *mut socklen_t, + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn ldexp(__x: f64, __exponent: ::std::os::raw::c_int) -> f64; + pub fn getsockname( + arg1: ::std::os::raw::c_int, + arg2: *mut sockaddr, + arg3: *mut socklen_t, + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn __ldexp(__x: f64, __exponent: ::std::os::raw::c_int) -> f64; + pub fn getsockopt( + arg1: ::std::os::raw::c_int, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_void, + arg5: *mut socklen_t, + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn log(__x: f64) -> f64; + pub fn listen( + arg1: ::std::os::raw::c_int, + arg2: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn __log(__x: f64) -> f64; + pub fn recv( + arg1: ::std::os::raw::c_int, + arg2: *mut ::std::os::raw::c_void, + arg3: usize, + arg4: ::std::os::raw::c_int, + ) -> isize; } #[pg_guard] extern "C" { - pub fn log10(__x: f64) -> f64; + pub fn recvfrom( + arg1: ::std::os::raw::c_int, + arg2: *mut ::std::os::raw::c_void, + arg3: usize, + arg4: ::std::os::raw::c_int, + arg5: *mut sockaddr, + arg6: *mut socklen_t, + ) -> isize; } #[pg_guard] extern "C" { - pub fn __log10(__x: f64) -> f64; + pub fn recvmsg( + arg1: ::std::os::raw::c_int, + arg2: *mut msghdr, + arg3: ::std::os::raw::c_int, + ) -> isize; } #[pg_guard] extern "C" { - pub fn modf(__x: f64, __iptr: *mut f64) -> f64; + pub fn send( + arg1: ::std::os::raw::c_int, + arg2: *const ::std::os::raw::c_void, + arg3: usize, + arg4: ::std::os::raw::c_int, + ) -> isize; } #[pg_guard] extern "C" { - pub fn __modf(__x: f64, __iptr: *mut f64) -> f64; + pub fn sendmsg( + arg1: ::std::os::raw::c_int, + arg2: *const msghdr, + arg3: ::std::os::raw::c_int, + ) -> isize; } #[pg_guard] extern "C" { - pub fn expm1(__x: f64) -> f64; + pub fn sendto( + arg1: ::std::os::raw::c_int, + arg2: *const ::std::os::raw::c_void, + arg3: usize, + arg4: ::std::os::raw::c_int, + arg5: *const sockaddr, + arg6: socklen_t, + ) -> isize; } #[pg_guard] extern "C" { - pub fn __expm1(__x: f64) -> f64; + pub fn setsockopt( + arg1: ::std::os::raw::c_int, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + arg4: *const ::std::os::raw::c_void, + arg5: socklen_t, + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn log1p(__x: f64) -> f64; + pub fn shutdown( + arg1: ::std::os::raw::c_int, + arg2: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn __log1p(__x: f64) -> f64; + pub fn sockatmark(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn logb(__x: f64) -> f64; + pub fn socket( + arg1: ::std::os::raw::c_int, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn __logb(__x: f64) -> f64; + pub fn socketpair( + arg1: ::std::os::raw::c_int, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn exp2(__x: f64) -> f64; + pub fn sendfile( + arg1: ::std::os::raw::c_int, + arg2: ::std::os::raw::c_int, + arg3: off_t, + arg4: *mut off_t, + arg5: *mut sf_hdtr, + arg6: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn __exp2(__x: f64) -> f64; + pub fn pfctlinput(arg1: ::std::os::raw::c_int, arg2: *mut sockaddr); } #[pg_guard] extern "C" { - pub fn log2(__x: f64) -> f64; + pub fn connectx( + arg1: ::std::os::raw::c_int, + arg2: *const sa_endpoints_t, + arg3: sae_associd_t, + arg4: ::std::os::raw::c_uint, + arg5: *const iovec, + arg6: ::std::os::raw::c_uint, + arg7: *mut usize, + arg8: *mut sae_connid_t, + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn __log2(__x: f64) -> f64; + pub fn disconnectx( + arg1: ::std::os::raw::c_int, + arg2: sae_associd_t, + arg3: sae_connid_t, + ) -> ::std::os::raw::c_int; } -#[pg_guard] -extern "C" { - pub fn pow(__x: f64, __y: f64) -> f64; +#[repr(C)] +#[derive(Debug, Default, Copy, Clone)] +pub struct in_addr { + pub s_addr: in_addr_t, } -#[pg_guard] -extern "C" { - pub fn __pow(__x: f64, __y: f64) -> f64; +#[repr(C)] +#[derive(Debug, Default, Copy, Clone)] +pub struct sockaddr_in { + pub sin_len: __uint8_t, + pub sin_family: sa_family_t, + pub sin_port: in_port_t, + pub sin_addr: in_addr, + pub sin_zero: [::std::os::raw::c_char; 8usize], } -#[pg_guard] -extern "C" { - pub fn sqrt(__x: f64) -> f64; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct ip_opts { + pub ip_dst: in_addr, + pub ip_opts: [::std::os::raw::c_char; 40usize], } -#[pg_guard] -extern "C" { - pub fn __sqrt(__x: f64) -> f64; +impl Default for ip_opts { + fn default() -> Self { + let mut s = ::std::mem::MaybeUninit::::uninit(); + unsafe { + ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); + s.assume_init() + } + } } -#[pg_guard] -extern "C" { - pub fn hypot(__x: f64, __y: f64) -> f64; +#[repr(C)] +#[derive(Debug, Default, Copy, Clone)] +pub struct ip_mreq { + pub imr_multiaddr: in_addr, + pub imr_interface: in_addr, } -#[pg_guard] -extern "C" { - pub fn __hypot(__x: f64, __y: f64) -> f64; +#[repr(C)] +#[derive(Debug, Default, Copy, Clone)] +pub struct ip_mreqn { + pub imr_multiaddr: in_addr, + pub imr_address: in_addr, + pub imr_ifindex: ::std::os::raw::c_int, } -#[pg_guard] -extern "C" { - pub fn cbrt(__x: f64) -> f64; +#[repr(C)] +#[derive(Debug, Default, Copy, Clone)] +pub struct ip_mreq_source { + pub imr_multiaddr: in_addr, + pub imr_sourceaddr: in_addr, + pub imr_interface: in_addr, } -#[pg_guard] -extern "C" { - pub fn __cbrt(__x: f64) -> f64; +#[repr(C, packed(4))] +#[derive(Debug, Copy, Clone)] +pub struct group_req { + pub gr_interface: u32, + pub gr_group: sockaddr_storage, } -#[pg_guard] -extern "C" { - pub fn ceil(__x: f64) -> f64; +impl Default for group_req { + fn default() -> Self { + let mut s = ::std::mem::MaybeUninit::::uninit(); + unsafe { + ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); + s.assume_init() + } + } } -#[pg_guard] -extern "C" { - pub fn __ceil(__x: f64) -> f64; +#[repr(C, packed(4))] +#[derive(Debug, Copy, Clone)] +pub struct group_source_req { + pub gsr_interface: u32, + pub gsr_group: sockaddr_storage, + pub gsr_source: sockaddr_storage, } -#[pg_guard] -extern "C" { - pub fn fabs(__x: f64) -> f64; +impl Default for group_source_req { + fn default() -> Self { + let mut s = ::std::mem::MaybeUninit::::uninit(); + unsafe { + ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); + s.assume_init() + } + } } -#[pg_guard] -extern "C" { - pub fn __fabs(__x: f64) -> f64; +#[repr(C, packed(4))] +#[derive(Debug, Copy, Clone)] +pub struct __msfilterreq { + pub msfr_ifindex: u32, + pub msfr_fmode: u32, + pub msfr_nsrcs: u32, + pub __msfr_align: u32, + pub msfr_group: sockaddr_storage, + pub msfr_srcs: *mut sockaddr_storage, } -#[pg_guard] -extern "C" { - pub fn floor(__x: f64) -> f64; +impl Default for __msfilterreq { + fn default() -> Self { + let mut s = ::std::mem::MaybeUninit::::uninit(); + unsafe { + ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); + s.assume_init() + } + } } #[pg_guard] extern "C" { - pub fn __floor(__x: f64) -> f64; + pub fn setipv4sourcefilter( + arg1: ::std::os::raw::c_int, + arg2: in_addr, + arg3: in_addr, + arg4: u32, + arg5: u32, + arg6: *mut in_addr, + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn fmod(__x: f64, __y: f64) -> f64; + pub fn getipv4sourcefilter( + arg1: ::std::os::raw::c_int, + arg2: in_addr, + arg3: in_addr, + arg4: *mut u32, + arg5: *mut u32, + arg6: *mut in_addr, + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn __fmod(__x: f64, __y: f64) -> f64; + pub fn setsourcefilter( + arg1: ::std::os::raw::c_int, + arg2: u32, + arg3: *mut sockaddr, + arg4: socklen_t, + arg5: u32, + arg6: u32, + arg7: *mut sockaddr_storage, + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn isinf(__value: f64) -> ::std::os::raw::c_int; + pub fn getsourcefilter( + arg1: ::std::os::raw::c_int, + arg2: u32, + arg3: *mut sockaddr, + arg4: socklen_t, + arg5: *mut u32, + arg6: *mut u32, + arg7: *mut sockaddr_storage, + ) -> ::std::os::raw::c_int; } -#[pg_guard] -extern "C" { - pub fn finite(__value: f64) -> ::std::os::raw::c_int; +#[repr(C)] +#[derive(Debug, Default, Copy, Clone)] +pub struct in_pktinfo { + pub ipi_ifindex: ::std::os::raw::c_uint, + pub ipi_spec_dst: in_addr, + pub ipi_addr: in_addr, } -#[pg_guard] -extern "C" { - pub fn drem(__x: f64, __y: f64) -> f64; +#[repr(C)] +#[derive(Copy, Clone)] +pub struct in6_addr { + pub __u6_addr: in6_addr__bindgen_ty_1, } -#[pg_guard] -extern "C" { - pub fn __drem(__x: f64, __y: f64) -> f64; +#[repr(C)] +#[derive(Copy, Clone)] +pub union in6_addr__bindgen_ty_1 { + pub __u6_addr8: [__uint8_t; 16usize], + pub __u6_addr16: [__uint16_t; 8usize], + pub __u6_addr32: [__uint32_t; 4usize], } -#[pg_guard] -extern "C" { - pub fn significand(__x: f64) -> f64; +impl Default for in6_addr__bindgen_ty_1 { + fn default() -> Self { + let mut s = ::std::mem::MaybeUninit::::uninit(); + unsafe { + ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); + s.assume_init() + } + } } -#[pg_guard] -extern "C" { - pub fn __significand(__x: f64) -> f64; +impl Default for in6_addr { + fn default() -> Self { + let mut s = ::std::mem::MaybeUninit::::uninit(); + unsafe { + ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); + s.assume_init() + } + } } -#[pg_guard] -extern "C" { - pub fn copysign(__x: f64, __y: f64) -> f64; +pub type in6_addr_t = in6_addr; +#[repr(C)] +#[derive(Copy, Clone)] +pub struct sockaddr_in6 { + pub sin6_len: __uint8_t, + pub sin6_family: sa_family_t, + pub sin6_port: in_port_t, + pub sin6_flowinfo: __uint32_t, + pub sin6_addr: in6_addr, + pub sin6_scope_id: __uint32_t, } -#[pg_guard] -extern "C" { - pub fn __copysign(__x: f64, __y: f64) -> f64; +impl Default for sockaddr_in6 { + fn default() -> Self { + let mut s = ::std::mem::MaybeUninit::::uninit(); + unsafe { + ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); + s.assume_init() + } + } } #[pg_guard] extern "C" { - pub fn nan(__tagb: *const ::std::os::raw::c_char) -> f64; + pub static in6addr_any: in6_addr; } #[pg_guard] extern "C" { - pub fn __nan(__tagb: *const ::std::os::raw::c_char) -> f64; + pub static in6addr_loopback: in6_addr; } #[pg_guard] extern "C" { - pub fn isnan(__value: f64) -> ::std::os::raw::c_int; + pub static in6addr_nodelocal_allnodes: in6_addr; } #[pg_guard] extern "C" { - pub fn j0(arg1: f64) -> f64; + pub static in6addr_linklocal_allnodes: in6_addr; } #[pg_guard] extern "C" { - pub fn __j0(arg1: f64) -> f64; + pub static in6addr_linklocal_allrouters: in6_addr; } #[pg_guard] extern "C" { - pub fn j1(arg1: f64) -> f64; + pub static in6addr_linklocal_allv2routers: in6_addr; } -#[pg_guard] -extern "C" { - pub fn __j1(arg1: f64) -> f64; +#[repr(C)] +#[derive(Copy, Clone)] +pub struct ipv6_mreq { + pub ipv6mr_multiaddr: in6_addr, + pub ipv6mr_interface: ::std::os::raw::c_uint, } -#[pg_guard] -extern "C" { - pub fn jn(arg1: ::std::os::raw::c_int, arg2: f64) -> f64; +impl Default for ipv6_mreq { + fn default() -> Self { + let mut s = ::std::mem::MaybeUninit::::uninit(); + unsafe { + ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); + s.assume_init() + } + } } -#[pg_guard] -extern "C" { - pub fn __jn(arg1: ::std::os::raw::c_int, arg2: f64) -> f64; +#[repr(C)] +#[derive(Copy, Clone)] +pub struct in6_pktinfo { + pub ipi6_addr: in6_addr, + pub ipi6_ifindex: ::std::os::raw::c_uint, } -#[pg_guard] -extern "C" { - pub fn y0(arg1: f64) -> f64; +impl Default for in6_pktinfo { + fn default() -> Self { + let mut s = ::std::mem::MaybeUninit::::uninit(); + unsafe { + ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); + s.assume_init() + } + } } -#[pg_guard] -extern "C" { - pub fn __y0(arg1: f64) -> f64; +#[repr(C)] +#[derive(Copy, Clone)] +pub struct ip6_mtuinfo { + pub ip6m_addr: sockaddr_in6, + pub ip6m_mtu: u32, } -#[pg_guard] -extern "C" { - pub fn y1(arg1: f64) -> f64; +impl Default for ip6_mtuinfo { + fn default() -> Self { + let mut s = ::std::mem::MaybeUninit::::uninit(); + unsafe { + ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); + s.assume_init() + } + } } #[pg_guard] extern "C" { - pub fn __y1(arg1: f64) -> f64; + pub fn inet6_option_space(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn yn(arg1: ::std::os::raw::c_int, arg2: f64) -> f64; + pub fn inet6_option_init( + arg1: *mut ::std::os::raw::c_void, + arg2: *mut *mut cmsghdr, + arg3: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn __yn(arg1: ::std::os::raw::c_int, arg2: f64) -> f64; + pub fn inet6_option_append( + arg1: *mut cmsghdr, + arg2: *const __uint8_t, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn erf(arg1: f64) -> f64; + pub fn inet6_option_alloc( + arg1: *mut cmsghdr, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> *mut __uint8_t; } #[pg_guard] extern "C" { - pub fn __erf(arg1: f64) -> f64; + pub fn inet6_option_next( + arg1: *const cmsghdr, + arg2: *mut *mut __uint8_t, + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn erfc(arg1: f64) -> f64; + pub fn inet6_option_find( + arg1: *const cmsghdr, + arg2: *mut *mut __uint8_t, + arg3: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn __erfc(arg1: f64) -> f64; + pub fn inet6_rthdr_space(arg1: ::std::os::raw::c_int, arg2: ::std::os::raw::c_int) -> usize; } #[pg_guard] extern "C" { - pub fn lgamma(arg1: f64) -> f64; + pub fn inet6_rthdr_init( + arg1: *mut ::std::os::raw::c_void, + arg2: ::std::os::raw::c_int, + ) -> *mut cmsghdr; } #[pg_guard] extern "C" { - pub fn __lgamma(arg1: f64) -> f64; + pub fn inet6_rthdr_add( + arg1: *mut cmsghdr, + arg2: *const in6_addr, + arg3: ::std::os::raw::c_uint, + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn tgamma(arg1: f64) -> f64; + pub fn inet6_rthdr_lasthop( + arg1: *mut cmsghdr, + arg2: ::std::os::raw::c_uint, + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn __tgamma(arg1: f64) -> f64; + pub fn inet6_rthdr_segments(arg1: *const cmsghdr) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn gamma(arg1: f64) -> f64; + pub fn inet6_rthdr_getaddr(arg1: *mut cmsghdr, arg2: ::std::os::raw::c_int) -> *mut in6_addr; } #[pg_guard] extern "C" { - pub fn __gamma(arg1: f64) -> f64; + pub fn inet6_rthdr_getflags( + arg1: *const cmsghdr, + arg2: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn lgamma_r(arg1: f64, __signgamp: *mut ::std::os::raw::c_int) -> f64; + pub fn inet6_opt_init( + arg1: *mut ::std::os::raw::c_void, + arg2: socklen_t, + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn __lgamma_r(arg1: f64, __signgamp: *mut ::std::os::raw::c_int) -> f64; + pub fn inet6_opt_append( + arg1: *mut ::std::os::raw::c_void, + arg2: socklen_t, + arg3: ::std::os::raw::c_int, + arg4: __uint8_t, + arg5: socklen_t, + arg6: __uint8_t, + arg7: *mut *mut ::std::os::raw::c_void, + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn rint(__x: f64) -> f64; + pub fn inet6_opt_finish( + arg1: *mut ::std::os::raw::c_void, + arg2: socklen_t, + arg3: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn __rint(__x: f64) -> f64; + pub fn inet6_opt_set_val( + arg1: *mut ::std::os::raw::c_void, + arg2: ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_void, + arg4: socklen_t, + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn nextafter(__x: f64, __y: f64) -> f64; + pub fn inet6_opt_next( + arg1: *mut ::std::os::raw::c_void, + arg2: socklen_t, + arg3: ::std::os::raw::c_int, + arg4: *mut __uint8_t, + arg5: *mut socklen_t, + arg6: *mut *mut ::std::os::raw::c_void, + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn __nextafter(__x: f64, __y: f64) -> f64; + pub fn inet6_opt_find( + arg1: *mut ::std::os::raw::c_void, + arg2: socklen_t, + arg3: ::std::os::raw::c_int, + arg4: __uint8_t, + arg5: *mut socklen_t, + arg6: *mut *mut ::std::os::raw::c_void, + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn nexttoward(__x: f64, __y: u128) -> f64; + pub fn inet6_opt_get_val( + arg1: *mut ::std::os::raw::c_void, + arg2: ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_void, + arg4: socklen_t, + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn __nexttoward(__x: f64, __y: u128) -> f64; + pub fn inet6_rth_space(arg1: ::std::os::raw::c_int, arg2: ::std::os::raw::c_int) -> socklen_t; } #[pg_guard] extern "C" { - pub fn remainder(__x: f64, __y: f64) -> f64; + pub fn inet6_rth_init( + arg1: *mut ::std::os::raw::c_void, + arg2: socklen_t, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> *mut ::std::os::raw::c_void; } #[pg_guard] extern "C" { - pub fn __remainder(__x: f64, __y: f64) -> f64; + pub fn inet6_rth_add( + arg1: *mut ::std::os::raw::c_void, + arg2: *const in6_addr, + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn scalbn(__x: f64, __n: ::std::os::raw::c_int) -> f64; + pub fn inet6_rth_reverse( + arg1: *const ::std::os::raw::c_void, + arg2: *mut ::std::os::raw::c_void, + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn __scalbn(__x: f64, __n: ::std::os::raw::c_int) -> f64; + pub fn inet6_rth_segments(arg1: *const ::std::os::raw::c_void) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn ilogb(__x: f64) -> ::std::os::raw::c_int; + pub fn inet6_rth_getaddr( + arg1: *const ::std::os::raw::c_void, + arg2: ::std::os::raw::c_int, + ) -> *mut in6_addr; } #[pg_guard] extern "C" { - pub fn __ilogb(__x: f64) -> ::std::os::raw::c_int; + pub fn bindresvport( + arg1: ::std::os::raw::c_int, + arg2: *mut sockaddr_in, + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn scalbln(__x: f64, __n: ::std::os::raw::c_long) -> f64; + pub fn bindresvport_sa( + arg1: ::std::os::raw::c_int, + arg2: *mut sockaddr, + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn __scalbln(__x: f64, __n: ::std::os::raw::c_long) -> f64; + pub static mut h_errno: ::std::os::raw::c_int; } -#[pg_guard] -extern "C" { - pub fn nearbyint(__x: f64) -> f64; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct hostent { + pub h_name: *mut ::std::os::raw::c_char, + pub h_aliases: *mut *mut ::std::os::raw::c_char, + pub h_addrtype: ::std::os::raw::c_int, + pub h_length: ::std::os::raw::c_int, + pub h_addr_list: *mut *mut ::std::os::raw::c_char, } -#[pg_guard] -extern "C" { - pub fn __nearbyint(__x: f64) -> f64; +impl Default for hostent { + fn default() -> Self { + let mut s = ::std::mem::MaybeUninit::::uninit(); + unsafe { + ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); + s.assume_init() + } + } } -#[pg_guard] -extern "C" { - pub fn round(__x: f64) -> f64; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct netent { + pub n_name: *mut ::std::os::raw::c_char, + pub n_aliases: *mut *mut ::std::os::raw::c_char, + pub n_addrtype: ::std::os::raw::c_int, + pub n_net: u32, } -#[pg_guard] -extern "C" { - pub fn __round(__x: f64) -> f64; +impl Default for netent { + fn default() -> Self { + let mut s = ::std::mem::MaybeUninit::::uninit(); + unsafe { + ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); + s.assume_init() + } + } } -#[pg_guard] -extern "C" { - pub fn trunc(__x: f64) -> f64; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct servent { + pub s_name: *mut ::std::os::raw::c_char, + pub s_aliases: *mut *mut ::std::os::raw::c_char, + pub s_port: ::std::os::raw::c_int, + pub s_proto: *mut ::std::os::raw::c_char, } -#[pg_guard] -extern "C" { - pub fn __trunc(__x: f64) -> f64; +impl Default for servent { + fn default() -> Self { + let mut s = ::std::mem::MaybeUninit::::uninit(); + unsafe { + ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); + s.assume_init() + } + } } -#[pg_guard] -extern "C" { - pub fn remquo(__x: f64, __y: f64, __quo: *mut ::std::os::raw::c_int) -> f64; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct protoent { + pub p_name: *mut ::std::os::raw::c_char, + pub p_aliases: *mut *mut ::std::os::raw::c_char, + pub p_proto: ::std::os::raw::c_int, } -#[pg_guard] -extern "C" { - pub fn __remquo(__x: f64, __y: f64, __quo: *mut ::std::os::raw::c_int) -> f64; +impl Default for protoent { + fn default() -> Self { + let mut s = ::std::mem::MaybeUninit::::uninit(); + unsafe { + ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); + s.assume_init() + } + } } -#[pg_guard] -extern "C" { - pub fn lrint(__x: f64) -> ::std::os::raw::c_long; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct addrinfo { + pub ai_flags: ::std::os::raw::c_int, + pub ai_family: ::std::os::raw::c_int, + pub ai_socktype: ::std::os::raw::c_int, + pub ai_protocol: ::std::os::raw::c_int, + pub ai_addrlen: socklen_t, + pub ai_canonname: *mut ::std::os::raw::c_char, + pub ai_addr: *mut sockaddr, + pub ai_next: *mut addrinfo, } -#[pg_guard] -extern "C" { - pub fn __lrint(__x: f64) -> ::std::os::raw::c_long; +impl Default for addrinfo { + fn default() -> Self { + let mut s = ::std::mem::MaybeUninit::::uninit(); + unsafe { + ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); + s.assume_init() + } + } } -#[pg_guard] -extern "C" { - pub fn llrint(__x: f64) -> ::std::os::raw::c_longlong; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct rpcent { + pub r_name: *mut ::std::os::raw::c_char, + pub r_aliases: *mut *mut ::std::os::raw::c_char, + pub r_number: ::std::os::raw::c_int, } -#[pg_guard] -extern "C" { - pub fn __llrint(__x: f64) -> ::std::os::raw::c_longlong; +impl Default for rpcent { + fn default() -> Self { + let mut s = ::std::mem::MaybeUninit::::uninit(); + unsafe { + ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); + s.assume_init() + } + } } #[pg_guard] extern "C" { - pub fn lround(__x: f64) -> ::std::os::raw::c_long; + pub fn endhostent(); } #[pg_guard] extern "C" { - pub fn __lround(__x: f64) -> ::std::os::raw::c_long; + pub fn endnetent(); } #[pg_guard] extern "C" { - pub fn llround(__x: f64) -> ::std::os::raw::c_longlong; + pub fn endprotoent(); } #[pg_guard] extern "C" { - pub fn __llround(__x: f64) -> ::std::os::raw::c_longlong; + pub fn endservent(); } #[pg_guard] extern "C" { - pub fn fdim(__x: f64, __y: f64) -> f64; + pub fn freeaddrinfo(arg1: *mut addrinfo); } #[pg_guard] extern "C" { - pub fn __fdim(__x: f64, __y: f64) -> f64; + pub fn gai_strerror(arg1: ::std::os::raw::c_int) -> *const ::std::os::raw::c_char; } #[pg_guard] extern "C" { - pub fn fmax(__x: f64, __y: f64) -> f64; + pub fn getaddrinfo( + arg1: *const ::std::os::raw::c_char, + arg2: *const ::std::os::raw::c_char, + arg3: *const addrinfo, + arg4: *mut *mut addrinfo, + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn __fmax(__x: f64, __y: f64) -> f64; + pub fn gethostbyaddr( + arg1: *const ::std::os::raw::c_void, + arg2: socklen_t, + arg3: ::std::os::raw::c_int, + ) -> *mut hostent; } #[pg_guard] extern "C" { - pub fn fmin(__x: f64, __y: f64) -> f64; + pub fn gethostbyname(arg1: *const ::std::os::raw::c_char) -> *mut hostent; } #[pg_guard] extern "C" { - pub fn __fmin(__x: f64, __y: f64) -> f64; + pub fn gethostent() -> *mut hostent; } #[pg_guard] extern "C" { - pub fn fma(__x: f64, __y: f64, __z: f64) -> f64; + pub fn getnameinfo( + arg1: *const sockaddr, + arg2: socklen_t, + arg3: *mut ::std::os::raw::c_char, + arg4: socklen_t, + arg5: *mut ::std::os::raw::c_char, + arg6: socklen_t, + arg7: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn __fma(__x: f64, __y: f64, __z: f64) -> f64; + pub fn getnetbyaddr(arg1: u32, arg2: ::std::os::raw::c_int) -> *mut netent; } #[pg_guard] extern "C" { - pub fn scalb(__x: f64, __n: f64) -> f64; + pub fn getnetbyname(arg1: *const ::std::os::raw::c_char) -> *mut netent; } #[pg_guard] extern "C" { - pub fn __scalb(__x: f64, __n: f64) -> f64; + pub fn getnetent() -> *mut netent; } #[pg_guard] extern "C" { - pub fn __fpclassifyf(__value: f32) -> ::std::os::raw::c_int; + pub fn getprotobyname(arg1: *const ::std::os::raw::c_char) -> *mut protoent; } #[pg_guard] extern "C" { - pub fn __signbitf(__value: f32) -> ::std::os::raw::c_int; + pub fn getprotobynumber(arg1: ::std::os::raw::c_int) -> *mut protoent; } #[pg_guard] extern "C" { - pub fn __isinff(__value: f32) -> ::std::os::raw::c_int; + pub fn getprotoent() -> *mut protoent; } #[pg_guard] extern "C" { - pub fn __finitef(__value: f32) -> ::std::os::raw::c_int; + pub fn getservbyname( + arg1: *const ::std::os::raw::c_char, + arg2: *const ::std::os::raw::c_char, + ) -> *mut servent; } #[pg_guard] extern "C" { - pub fn __isnanf(__value: f32) -> ::std::os::raw::c_int; + pub fn getservbyport( + arg1: ::std::os::raw::c_int, + arg2: *const ::std::os::raw::c_char, + ) -> *mut servent; } #[pg_guard] extern "C" { - pub fn __iseqsigf(__x: f32, __y: f32) -> ::std::os::raw::c_int; + pub fn getservent() -> *mut servent; } #[pg_guard] extern "C" { - pub fn __issignalingf(__value: f32) -> ::std::os::raw::c_int; + pub fn sethostent(arg1: ::std::os::raw::c_int); } #[pg_guard] extern "C" { - pub fn acosf(__x: f32) -> f32; + pub fn setnetent(arg1: ::std::os::raw::c_int); } #[pg_guard] extern "C" { - pub fn __acosf(__x: f32) -> f32; + pub fn setprotoent(arg1: ::std::os::raw::c_int); } #[pg_guard] extern "C" { - pub fn asinf(__x: f32) -> f32; + pub fn setservent(arg1: ::std::os::raw::c_int); } #[pg_guard] extern "C" { - pub fn __asinf(__x: f32) -> f32; + pub fn freehostent(arg1: *mut hostent); } #[pg_guard] extern "C" { - pub fn atanf(__x: f32) -> f32; + pub fn gethostbyname2( + arg1: *const ::std::os::raw::c_char, + arg2: ::std::os::raw::c_int, + ) -> *mut hostent; } #[pg_guard] extern "C" { - pub fn __atanf(__x: f32) -> f32; + pub fn getipnodebyaddr( + arg1: *const ::std::os::raw::c_void, + arg2: usize, + arg3: ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + ) -> *mut hostent; } #[pg_guard] extern "C" { - pub fn atan2f(__y: f32, __x: f32) -> f32; + pub fn getipnodebyname( + arg1: *const ::std::os::raw::c_char, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + ) -> *mut hostent; } #[pg_guard] extern "C" { - pub fn __atan2f(__y: f32, __x: f32) -> f32; + pub fn getrpcbyname(name: *const ::std::os::raw::c_char) -> *mut rpcent; } #[pg_guard] extern "C" { - pub fn cosf(__x: f32) -> f32; + pub fn getrpcbynumber(number: ::std::os::raw::c_int) -> *mut rpcent; } #[pg_guard] extern "C" { - pub fn __cosf(__x: f32) -> f32; + pub fn getrpcent() -> *mut rpcent; } #[pg_guard] extern "C" { - pub fn sinf(__x: f32) -> f32; + pub fn setrpcent(stayopen: ::std::os::raw::c_int); } #[pg_guard] extern "C" { - pub fn __sinf(__x: f32) -> f32; + pub fn endrpcent(); } #[pg_guard] extern "C" { - pub fn tanf(__x: f32) -> f32; + pub fn herror(arg1: *const ::std::os::raw::c_char); } #[pg_guard] extern "C" { - pub fn __tanf(__x: f32) -> f32; + pub fn hstrerror(arg1: ::std::os::raw::c_int) -> *const ::std::os::raw::c_char; } #[pg_guard] extern "C" { - pub fn coshf(__x: f32) -> f32; + pub fn innetgr( + arg1: *const ::std::os::raw::c_char, + arg2: *const ::std::os::raw::c_char, + arg3: *const ::std::os::raw::c_char, + arg4: *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn __coshf(__x: f32) -> f32; + pub fn getnetgrent( + arg1: *mut *mut ::std::os::raw::c_char, + arg2: *mut *mut ::std::os::raw::c_char, + arg3: *mut *mut ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn sinhf(__x: f32) -> f32; + pub fn endnetgrent(); } #[pg_guard] extern "C" { - pub fn __sinhf(__x: f32) -> f32; + pub fn setnetgrent(arg1: *const ::std::os::raw::c_char); } -#[pg_guard] -extern "C" { - pub fn tanhf(__x: f32) -> f32; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct passwd { + pub pw_name: *mut ::std::os::raw::c_char, + pub pw_passwd: *mut ::std::os::raw::c_char, + pub pw_uid: uid_t, + pub pw_gid: gid_t, + pub pw_change: __darwin_time_t, + pub pw_class: *mut ::std::os::raw::c_char, + pub pw_gecos: *mut ::std::os::raw::c_char, + pub pw_dir: *mut ::std::os::raw::c_char, + pub pw_shell: *mut ::std::os::raw::c_char, + pub pw_expire: __darwin_time_t, } -#[pg_guard] -extern "C" { - pub fn __tanhf(__x: f32) -> f32; +impl Default for passwd { + fn default() -> Self { + let mut s = ::std::mem::MaybeUninit::::uninit(); + unsafe { + ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); + s.assume_init() + } + } } #[pg_guard] extern "C" { - pub fn acoshf(__x: f32) -> f32; + pub fn getpwuid(arg1: uid_t) -> *mut passwd; } #[pg_guard] extern "C" { - pub fn __acoshf(__x: f32) -> f32; + pub fn getpwnam(arg1: *const ::std::os::raw::c_char) -> *mut passwd; } #[pg_guard] extern "C" { - pub fn asinhf(__x: f32) -> f32; + pub fn getpwuid_r( + arg1: uid_t, + arg2: *mut passwd, + arg3: *mut ::std::os::raw::c_char, + arg4: usize, + arg5: *mut *mut passwd, + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn __asinhf(__x: f32) -> f32; + pub fn getpwnam_r( + arg1: *const ::std::os::raw::c_char, + arg2: *mut passwd, + arg3: *mut ::std::os::raw::c_char, + arg4: usize, + arg5: *mut *mut passwd, + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn atanhf(__x: f32) -> f32; + pub fn getpwent() -> *mut passwd; } #[pg_guard] extern "C" { - pub fn __atanhf(__x: f32) -> f32; + pub fn setpwent(); } #[pg_guard] extern "C" { - pub fn expf(__x: f32) -> f32; + pub fn endpwent(); } +pub type uuid_t = __darwin_uuid_t; +pub type uuid_string_t = __darwin_uuid_string_t; #[pg_guard] extern "C" { - pub fn __expf(__x: f32) -> f32; + pub static UUID_NULL: uuid_t; } #[pg_guard] extern "C" { - pub fn frexpf(__x: f32, __exponent: *mut ::std::os::raw::c_int) -> f32; + pub fn uuid_clear(uu: *mut ::std::os::raw::c_uchar); } #[pg_guard] extern "C" { - pub fn __frexpf(__x: f32, __exponent: *mut ::std::os::raw::c_int) -> f32; + pub fn uuid_compare( + uu1: *mut ::std::os::raw::c_uchar, + uu2: *mut ::std::os::raw::c_uchar, + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn ldexpf(__x: f32, __exponent: ::std::os::raw::c_int) -> f32; + pub fn uuid_copy(dst: *mut ::std::os::raw::c_uchar, src: *mut ::std::os::raw::c_uchar); } #[pg_guard] extern "C" { - pub fn __ldexpf(__x: f32, __exponent: ::std::os::raw::c_int) -> f32; + pub fn uuid_generate(out: *mut ::std::os::raw::c_uchar); } #[pg_guard] extern "C" { - pub fn logf(__x: f32) -> f32; + pub fn uuid_generate_random(out: *mut ::std::os::raw::c_uchar); } #[pg_guard] extern "C" { - pub fn __logf(__x: f32) -> f32; + pub fn uuid_generate_time(out: *mut ::std::os::raw::c_uchar); } #[pg_guard] extern "C" { - pub fn log10f(__x: f32) -> f32; + pub fn uuid_is_null(uu: *mut ::std::os::raw::c_uchar) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn __log10f(__x: f32) -> f32; + pub fn uuid_parse( + in_: *mut ::std::os::raw::c_char, + uu: *mut ::std::os::raw::c_uchar, + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn modff(__x: f32, __iptr: *mut f32) -> f32; + pub fn uuid_unparse(uu: *mut ::std::os::raw::c_uchar, out: *mut ::std::os::raw::c_char); } #[pg_guard] extern "C" { - pub fn __modff(__x: f32, __iptr: *mut f32) -> f32; + pub fn uuid_unparse_lower(uu: *mut ::std::os::raw::c_uchar, out: *mut ::std::os::raw::c_char); } #[pg_guard] extern "C" { - pub fn expm1f(__x: f32) -> f32; + pub fn uuid_unparse_upper(uu: *mut ::std::os::raw::c_uchar, out: *mut ::std::os::raw::c_char); } #[pg_guard] extern "C" { - pub fn __expm1f(__x: f32) -> f32; + pub fn setpassent(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn log1pf(__x: f32) -> f32; + pub fn user_from_uid(arg1: uid_t, arg2: ::std::os::raw::c_int) -> *mut ::std::os::raw::c_char; } #[pg_guard] extern "C" { - pub fn __log1pf(__x: f32) -> f32; + pub fn getpwuuid(arg1: *mut ::std::os::raw::c_uchar) -> *mut passwd; } #[pg_guard] extern "C" { - pub fn logbf(__x: f32) -> f32; + pub fn getpwuuid_r( + arg1: *mut ::std::os::raw::c_uchar, + arg2: *mut passwd, + arg3: *mut ::std::os::raw::c_char, + arg4: usize, + arg5: *mut *mut passwd, + ) -> ::std::os::raw::c_int; } +pub type pgsocket = ::std::os::raw::c_int; #[pg_guard] extern "C" { - pub fn __logbf(__x: f32) -> f32; + pub fn pg_set_noblock(sock: pgsocket) -> bool; } #[pg_guard] extern "C" { - pub fn exp2f(__x: f32) -> f32; + pub fn pg_set_block(sock: pgsocket) -> bool; } #[pg_guard] extern "C" { - pub fn __exp2f(__x: f32) -> f32; + pub fn has_drive_prefix(filename: *const ::std::os::raw::c_char) -> bool; } #[pg_guard] extern "C" { - pub fn log2f(__x: f32) -> f32; + pub fn first_dir_separator( + filename: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; } #[pg_guard] extern "C" { - pub fn __log2f(__x: f32) -> f32; + pub fn last_dir_separator( + filename: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; } #[pg_guard] extern "C" { - pub fn powf(__x: f32, __y: f32) -> f32; + pub fn first_path_var_separator( + pathlist: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; } #[pg_guard] extern "C" { - pub fn __powf(__x: f32, __y: f32) -> f32; + pub fn join_path_components( + ret_path: *mut ::std::os::raw::c_char, + head: *const ::std::os::raw::c_char, + tail: *const ::std::os::raw::c_char, + ); } #[pg_guard] extern "C" { - pub fn sqrtf(__x: f32) -> f32; + pub fn canonicalize_path(path: *mut ::std::os::raw::c_char); } #[pg_guard] extern "C" { - pub fn __sqrtf(__x: f32) -> f32; + pub fn make_native_path(path: *mut ::std::os::raw::c_char); } #[pg_guard] extern "C" { - pub fn hypotf(__x: f32, __y: f32) -> f32; + pub fn cleanup_path(path: *mut ::std::os::raw::c_char); } #[pg_guard] extern "C" { - pub fn __hypotf(__x: f32, __y: f32) -> f32; + pub fn path_contains_parent_reference(path: *const ::std::os::raw::c_char) -> bool; } #[pg_guard] extern "C" { - pub fn cbrtf(__x: f32) -> f32; + pub fn path_is_relative_and_below_cwd(path: *const ::std::os::raw::c_char) -> bool; } #[pg_guard] extern "C" { - pub fn __cbrtf(__x: f32) -> f32; + pub fn path_is_prefix_of_path( + path1: *const ::std::os::raw::c_char, + path2: *const ::std::os::raw::c_char, + ) -> bool; } #[pg_guard] extern "C" { - pub fn ceilf(__x: f32) -> f32; + pub fn make_absolute_path(path: *const ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; } #[pg_guard] extern "C" { - pub fn __ceilf(__x: f32) -> f32; + pub fn get_progname(argv0: *const ::std::os::raw::c_char) -> *const ::std::os::raw::c_char; } #[pg_guard] extern "C" { - pub fn fabsf(__x: f32) -> f32; + pub fn get_share_path( + my_exec_path: *const ::std::os::raw::c_char, + ret_path: *mut ::std::os::raw::c_char, + ); } #[pg_guard] extern "C" { - pub fn __fabsf(__x: f32) -> f32; + pub fn get_etc_path( + my_exec_path: *const ::std::os::raw::c_char, + ret_path: *mut ::std::os::raw::c_char, + ); } #[pg_guard] extern "C" { - pub fn floorf(__x: f32) -> f32; + pub fn get_include_path( + my_exec_path: *const ::std::os::raw::c_char, + ret_path: *mut ::std::os::raw::c_char, + ); } #[pg_guard] extern "C" { - pub fn __floorf(__x: f32) -> f32; + pub fn get_pkginclude_path( + my_exec_path: *const ::std::os::raw::c_char, + ret_path: *mut ::std::os::raw::c_char, + ); } #[pg_guard] extern "C" { - pub fn fmodf(__x: f32, __y: f32) -> f32; + pub fn get_includeserver_path( + my_exec_path: *const ::std::os::raw::c_char, + ret_path: *mut ::std::os::raw::c_char, + ); } #[pg_guard] extern "C" { - pub fn __fmodf(__x: f32, __y: f32) -> f32; + pub fn get_lib_path( + my_exec_path: *const ::std::os::raw::c_char, + ret_path: *mut ::std::os::raw::c_char, + ); } #[pg_guard] extern "C" { - pub fn isinff(__value: f32) -> ::std::os::raw::c_int; + pub fn get_pkglib_path( + my_exec_path: *const ::std::os::raw::c_char, + ret_path: *mut ::std::os::raw::c_char, + ); } #[pg_guard] extern "C" { - pub fn finitef(__value: f32) -> ::std::os::raw::c_int; + pub fn get_locale_path( + my_exec_path: *const ::std::os::raw::c_char, + ret_path: *mut ::std::os::raw::c_char, + ); } #[pg_guard] extern "C" { - pub fn dremf(__x: f32, __y: f32) -> f32; + pub fn get_doc_path( + my_exec_path: *const ::std::os::raw::c_char, + ret_path: *mut ::std::os::raw::c_char, + ); } #[pg_guard] extern "C" { - pub fn __dremf(__x: f32, __y: f32) -> f32; + pub fn get_html_path( + my_exec_path: *const ::std::os::raw::c_char, + ret_path: *mut ::std::os::raw::c_char, + ); } #[pg_guard] extern "C" { - pub fn significandf(__x: f32) -> f32; + pub fn get_man_path( + my_exec_path: *const ::std::os::raw::c_char, + ret_path: *mut ::std::os::raw::c_char, + ); } #[pg_guard] extern "C" { - pub fn __significandf(__x: f32) -> f32; + pub fn get_home_path(ret_path: *mut ::std::os::raw::c_char) -> bool; } #[pg_guard] extern "C" { - pub fn copysignf(__x: f32, __y: f32) -> f32; + pub fn get_parent_directory(path: *mut ::std::os::raw::c_char); } #[pg_guard] extern "C" { - pub fn __copysignf(__x: f32, __y: f32) -> f32; + pub fn pgfnames(path: *const ::std::os::raw::c_char) -> *mut *mut ::std::os::raw::c_char; } #[pg_guard] extern "C" { - pub fn nanf(__tagb: *const ::std::os::raw::c_char) -> f32; + pub fn pgfnames_cleanup(filenames: *mut *mut ::std::os::raw::c_char); } #[pg_guard] extern "C" { - pub fn __nanf(__tagb: *const ::std::os::raw::c_char) -> f32; + pub fn set_pglocale_pgservice( + argv0: *const ::std::os::raw::c_char, + app: *const ::std::os::raw::c_char, + ); } #[pg_guard] extern "C" { - pub fn isnanf(__value: f32) -> ::std::os::raw::c_int; + pub fn find_my_exec( + argv0: *const ::std::os::raw::c_char, + retpath: *mut ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn j0f(arg1: f32) -> f32; + pub fn find_other_exec( + argv0: *const ::std::os::raw::c_char, + target: *const ::std::os::raw::c_char, + versionstr: *const ::std::os::raw::c_char, + retpath: *mut ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn __j0f(arg1: f32) -> f32; + pub fn pg_usleep(microsec: ::std::os::raw::c_long); } #[pg_guard] extern "C" { - pub fn j1f(arg1: f32) -> f32; + pub fn pg_strcasecmp( + s1: *const ::std::os::raw::c_char, + s2: *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn __j1f(arg1: f32) -> f32; + pub fn pg_strncasecmp( + s1: *const ::std::os::raw::c_char, + s2: *const ::std::os::raw::c_char, + n: usize, + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn jnf(arg1: ::std::os::raw::c_int, arg2: f32) -> f32; + pub fn pg_toupper(ch: ::std::os::raw::c_uchar) -> ::std::os::raw::c_uchar; } #[pg_guard] extern "C" { - pub fn __jnf(arg1: ::std::os::raw::c_int, arg2: f32) -> f32; + pub fn pg_tolower(ch: ::std::os::raw::c_uchar) -> ::std::os::raw::c_uchar; } #[pg_guard] extern "C" { - pub fn y0f(arg1: f32) -> f32; + pub fn pg_ascii_toupper(ch: ::std::os::raw::c_uchar) -> ::std::os::raw::c_uchar; } #[pg_guard] extern "C" { - pub fn __y0f(arg1: f32) -> f32; + pub fn pg_ascii_tolower(ch: ::std::os::raw::c_uchar) -> ::std::os::raw::c_uchar; } #[pg_guard] extern "C" { - pub fn y1f(arg1: f32) -> f32; + pub fn pg_strsignal(signum: ::std::os::raw::c_int) -> *const ::std::os::raw::c_char; } #[pg_guard] extern "C" { - pub fn __y1f(arg1: f32) -> f32; + pub fn simple_prompt( + prompt: *const ::std::os::raw::c_char, + destination: *mut ::std::os::raw::c_char, + destlen: usize, + echo: bool, + ); } #[pg_guard] extern "C" { - pub fn ynf(arg1: ::std::os::raw::c_int, arg2: f32) -> f32; + pub fn pclose_check(stream: *mut FILE) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn __ynf(arg1: ::std::os::raw::c_int, arg2: f32) -> f32; + pub fn rmtree(path: *const ::std::os::raw::c_char, rmtopdir: bool) -> bool; } #[pg_guard] extern "C" { - pub fn erff(arg1: f32) -> f32; + pub fn pg_erand48(xseed: *mut ::std::os::raw::c_ushort) -> f64; } #[pg_guard] extern "C" { - pub fn __erff(arg1: f32) -> f32; + pub fn pg_lrand48() -> ::std::os::raw::c_long; } #[pg_guard] extern "C" { - pub fn erfcf(arg1: f32) -> f32; + pub fn pg_jrand48(xseed: *mut ::std::os::raw::c_ushort) -> ::std::os::raw::c_long; } #[pg_guard] extern "C" { - pub fn __erfcf(arg1: f32) -> f32; + pub fn pg_srand48(seed: ::std::os::raw::c_long); } +pub type float_t = f32; +pub type double_t = f64; #[pg_guard] extern "C" { - pub fn lgammaf(arg1: f32) -> f32; + pub fn __math_errhandling() -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn __lgammaf(arg1: f32) -> f32; + pub fn __fpclassifyf(arg1: f32) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn tgammaf(arg1: f32) -> f32; + pub fn __fpclassifyd(arg1: f64) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn __tgammaf(arg1: f32) -> f32; + pub fn __fpclassifyl(arg1: f64) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn gammaf(arg1: f32) -> f32; + pub fn acosf(arg1: f32) -> f32; } #[pg_guard] extern "C" { - pub fn __gammaf(arg1: f32) -> f32; + pub fn acos(arg1: f64) -> f64; } #[pg_guard] extern "C" { - pub fn lgammaf_r(arg1: f32, __signgamp: *mut ::std::os::raw::c_int) -> f32; + pub fn acosl(arg1: f64) -> f64; } #[pg_guard] extern "C" { - pub fn __lgammaf_r(arg1: f32, __signgamp: *mut ::std::os::raw::c_int) -> f32; + pub fn asinf(arg1: f32) -> f32; } #[pg_guard] extern "C" { - pub fn rintf(__x: f32) -> f32; + pub fn asin(arg1: f64) -> f64; } #[pg_guard] extern "C" { - pub fn __rintf(__x: f32) -> f32; + pub fn asinl(arg1: f64) -> f64; } #[pg_guard] extern "C" { - pub fn nextafterf(__x: f32, __y: f32) -> f32; + pub fn atanf(arg1: f32) -> f32; } #[pg_guard] extern "C" { - pub fn __nextafterf(__x: f32, __y: f32) -> f32; + pub fn atan(arg1: f64) -> f64; } #[pg_guard] extern "C" { - pub fn nexttowardf(__x: f32, __y: u128) -> f32; + pub fn atanl(arg1: f64) -> f64; } #[pg_guard] extern "C" { - pub fn __nexttowardf(__x: f32, __y: u128) -> f32; + pub fn atan2f(arg1: f32, arg2: f32) -> f32; } #[pg_guard] extern "C" { - pub fn remainderf(__x: f32, __y: f32) -> f32; + pub fn atan2(arg1: f64, arg2: f64) -> f64; } #[pg_guard] extern "C" { - pub fn __remainderf(__x: f32, __y: f32) -> f32; + pub fn atan2l(arg1: f64, arg2: f64) -> f64; } #[pg_guard] extern "C" { - pub fn scalbnf(__x: f32, __n: ::std::os::raw::c_int) -> f32; + pub fn cosf(arg1: f32) -> f32; } #[pg_guard] extern "C" { - pub fn __scalbnf(__x: f32, __n: ::std::os::raw::c_int) -> f32; + pub fn cos(arg1: f64) -> f64; } #[pg_guard] extern "C" { - pub fn ilogbf(__x: f32) -> ::std::os::raw::c_int; + pub fn cosl(arg1: f64) -> f64; } #[pg_guard] extern "C" { - pub fn __ilogbf(__x: f32) -> ::std::os::raw::c_int; + pub fn sinf(arg1: f32) -> f32; } #[pg_guard] extern "C" { - pub fn scalblnf(__x: f32, __n: ::std::os::raw::c_long) -> f32; + pub fn sin(arg1: f64) -> f64; } #[pg_guard] extern "C" { - pub fn __scalblnf(__x: f32, __n: ::std::os::raw::c_long) -> f32; + pub fn sinl(arg1: f64) -> f64; } #[pg_guard] extern "C" { - pub fn nearbyintf(__x: f32) -> f32; + pub fn tanf(arg1: f32) -> f32; } #[pg_guard] extern "C" { - pub fn __nearbyintf(__x: f32) -> f32; + pub fn tan(arg1: f64) -> f64; } #[pg_guard] extern "C" { - pub fn roundf(__x: f32) -> f32; + pub fn tanl(arg1: f64) -> f64; } #[pg_guard] extern "C" { - pub fn __roundf(__x: f32) -> f32; + pub fn acoshf(arg1: f32) -> f32; } #[pg_guard] extern "C" { - pub fn truncf(__x: f32) -> f32; + pub fn acosh(arg1: f64) -> f64; } #[pg_guard] extern "C" { - pub fn __truncf(__x: f32) -> f32; + pub fn acoshl(arg1: f64) -> f64; } #[pg_guard] extern "C" { - pub fn remquof(__x: f32, __y: f32, __quo: *mut ::std::os::raw::c_int) -> f32; + pub fn asinhf(arg1: f32) -> f32; } #[pg_guard] extern "C" { - pub fn __remquof(__x: f32, __y: f32, __quo: *mut ::std::os::raw::c_int) -> f32; + pub fn asinh(arg1: f64) -> f64; } #[pg_guard] extern "C" { - pub fn lrintf(__x: f32) -> ::std::os::raw::c_long; + pub fn asinhl(arg1: f64) -> f64; } #[pg_guard] extern "C" { - pub fn __lrintf(__x: f32) -> ::std::os::raw::c_long; + pub fn atanhf(arg1: f32) -> f32; } #[pg_guard] extern "C" { - pub fn llrintf(__x: f32) -> ::std::os::raw::c_longlong; + pub fn atanh(arg1: f64) -> f64; } #[pg_guard] extern "C" { - pub fn __llrintf(__x: f32) -> ::std::os::raw::c_longlong; + pub fn atanhl(arg1: f64) -> f64; } #[pg_guard] extern "C" { - pub fn lroundf(__x: f32) -> ::std::os::raw::c_long; + pub fn coshf(arg1: f32) -> f32; } #[pg_guard] extern "C" { - pub fn __lroundf(__x: f32) -> ::std::os::raw::c_long; + pub fn cosh(arg1: f64) -> f64; } #[pg_guard] extern "C" { - pub fn llroundf(__x: f32) -> ::std::os::raw::c_longlong; + pub fn coshl(arg1: f64) -> f64; } #[pg_guard] extern "C" { - pub fn __llroundf(__x: f32) -> ::std::os::raw::c_longlong; + pub fn sinhf(arg1: f32) -> f32; } #[pg_guard] extern "C" { - pub fn fdimf(__x: f32, __y: f32) -> f32; + pub fn sinh(arg1: f64) -> f64; } #[pg_guard] extern "C" { - pub fn __fdimf(__x: f32, __y: f32) -> f32; + pub fn sinhl(arg1: f64) -> f64; } #[pg_guard] extern "C" { - pub fn fmaxf(__x: f32, __y: f32) -> f32; + pub fn tanhf(arg1: f32) -> f32; } #[pg_guard] extern "C" { - pub fn __fmaxf(__x: f32, __y: f32) -> f32; + pub fn tanh(arg1: f64) -> f64; } #[pg_guard] extern "C" { - pub fn fminf(__x: f32, __y: f32) -> f32; + pub fn tanhl(arg1: f64) -> f64; } #[pg_guard] extern "C" { - pub fn __fminf(__x: f32, __y: f32) -> f32; + pub fn expf(arg1: f32) -> f32; } #[pg_guard] extern "C" { - pub fn fmaf(__x: f32, __y: f32, __z: f32) -> f32; + pub fn exp(arg1: f64) -> f64; } #[pg_guard] extern "C" { - pub fn __fmaf(__x: f32, __y: f32, __z: f32) -> f32; + pub fn expl(arg1: f64) -> f64; } #[pg_guard] extern "C" { - pub fn scalbf(__x: f32, __n: f32) -> f32; + pub fn exp2f(arg1: f32) -> f32; } #[pg_guard] extern "C" { - pub fn __scalbf(__x: f32, __n: f32) -> f32; + pub fn exp2(arg1: f64) -> f64; } #[pg_guard] extern "C" { - pub fn __fpclassifyl(__value: u128) -> ::std::os::raw::c_int; + pub fn exp2l(arg1: f64) -> f64; } #[pg_guard] extern "C" { - pub fn __signbitl(__value: u128) -> ::std::os::raw::c_int; + pub fn expm1f(arg1: f32) -> f32; } #[pg_guard] extern "C" { - pub fn __isinfl(__value: u128) -> ::std::os::raw::c_int; + pub fn expm1(arg1: f64) -> f64; } #[pg_guard] extern "C" { - pub fn __finitel(__value: u128) -> ::std::os::raw::c_int; + pub fn expm1l(arg1: f64) -> f64; } #[pg_guard] extern "C" { - pub fn __isnanl(__value: u128) -> ::std::os::raw::c_int; + pub fn logf(arg1: f32) -> f32; } #[pg_guard] extern "C" { - pub fn __iseqsigl(__x: u128, __y: u128) -> ::std::os::raw::c_int; + pub fn log(arg1: f64) -> f64; } #[pg_guard] extern "C" { - pub fn __issignalingl(__value: u128) -> ::std::os::raw::c_int; + pub fn logl(arg1: f64) -> f64; } #[pg_guard] extern "C" { - pub fn acosl(__x: u128) -> u128; + pub fn log10f(arg1: f32) -> f32; } #[pg_guard] extern "C" { - pub fn __acosl(__x: u128) -> u128; + pub fn log10(arg1: f64) -> f64; } #[pg_guard] extern "C" { - pub fn asinl(__x: u128) -> u128; + pub fn log10l(arg1: f64) -> f64; } #[pg_guard] extern "C" { - pub fn __asinl(__x: u128) -> u128; + pub fn log2f(arg1: f32) -> f32; } #[pg_guard] extern "C" { - pub fn atanl(__x: u128) -> u128; + pub fn log2(arg1: f64) -> f64; } #[pg_guard] extern "C" { - pub fn __atanl(__x: u128) -> u128; + pub fn log2l(arg1: f64) -> f64; } #[pg_guard] extern "C" { - pub fn atan2l(__y: u128, __x: u128) -> u128; + pub fn log1pf(arg1: f32) -> f32; } #[pg_guard] extern "C" { - pub fn __atan2l(__y: u128, __x: u128) -> u128; + pub fn log1p(arg1: f64) -> f64; } #[pg_guard] extern "C" { - pub fn cosl(__x: u128) -> u128; + pub fn log1pl(arg1: f64) -> f64; } #[pg_guard] extern "C" { - pub fn __cosl(__x: u128) -> u128; + pub fn logbf(arg1: f32) -> f32; } #[pg_guard] extern "C" { - pub fn sinl(__x: u128) -> u128; + pub fn logb(arg1: f64) -> f64; } #[pg_guard] extern "C" { - pub fn __sinl(__x: u128) -> u128; + pub fn logbl(arg1: f64) -> f64; } #[pg_guard] extern "C" { - pub fn tanl(__x: u128) -> u128; + pub fn modff(arg1: f32, arg2: *mut f32) -> f32; } #[pg_guard] extern "C" { - pub fn __tanl(__x: u128) -> u128; + pub fn modf(arg1: f64, arg2: *mut f64) -> f64; } #[pg_guard] extern "C" { - pub fn coshl(__x: u128) -> u128; + pub fn modfl(arg1: f64, arg2: *mut f64) -> f64; } #[pg_guard] extern "C" { - pub fn __coshl(__x: u128) -> u128; + pub fn ldexpf(arg1: f32, arg2: ::std::os::raw::c_int) -> f32; } #[pg_guard] extern "C" { - pub fn sinhl(__x: u128) -> u128; + pub fn ldexp(arg1: f64, arg2: ::std::os::raw::c_int) -> f64; } #[pg_guard] extern "C" { - pub fn __sinhl(__x: u128) -> u128; + pub fn ldexpl(arg1: f64, arg2: ::std::os::raw::c_int) -> f64; } #[pg_guard] extern "C" { - pub fn tanhl(__x: u128) -> u128; + pub fn frexpf(arg1: f32, arg2: *mut ::std::os::raw::c_int) -> f32; } #[pg_guard] extern "C" { - pub fn __tanhl(__x: u128) -> u128; + pub fn frexp(arg1: f64, arg2: *mut ::std::os::raw::c_int) -> f64; } #[pg_guard] extern "C" { - pub fn acoshl(__x: u128) -> u128; + pub fn frexpl(arg1: f64, arg2: *mut ::std::os::raw::c_int) -> f64; } #[pg_guard] extern "C" { - pub fn __acoshl(__x: u128) -> u128; + pub fn ilogbf(arg1: f32) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn asinhl(__x: u128) -> u128; + pub fn ilogb(arg1: f64) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn __asinhl(__x: u128) -> u128; + pub fn ilogbl(arg1: f64) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn atanhl(__x: u128) -> u128; + pub fn scalbnf(arg1: f32, arg2: ::std::os::raw::c_int) -> f32; } #[pg_guard] extern "C" { - pub fn __atanhl(__x: u128) -> u128; + pub fn scalbn(arg1: f64, arg2: ::std::os::raw::c_int) -> f64; } #[pg_guard] extern "C" { - pub fn expl(__x: u128) -> u128; + pub fn scalbnl(arg1: f64, arg2: ::std::os::raw::c_int) -> f64; } #[pg_guard] extern "C" { - pub fn __expl(__x: u128) -> u128; + pub fn scalblnf(arg1: f32, arg2: ::std::os::raw::c_long) -> f32; } #[pg_guard] extern "C" { - pub fn frexpl(__x: u128, __exponent: *mut ::std::os::raw::c_int) -> u128; + pub fn scalbln(arg1: f64, arg2: ::std::os::raw::c_long) -> f64; } #[pg_guard] extern "C" { - pub fn __frexpl(__x: u128, __exponent: *mut ::std::os::raw::c_int) -> u128; + pub fn scalblnl(arg1: f64, arg2: ::std::os::raw::c_long) -> f64; } #[pg_guard] extern "C" { - pub fn ldexpl(__x: u128, __exponent: ::std::os::raw::c_int) -> u128; + pub fn fabsf(arg1: f32) -> f32; } #[pg_guard] extern "C" { - pub fn __ldexpl(__x: u128, __exponent: ::std::os::raw::c_int) -> u128; + pub fn fabs(arg1: f64) -> f64; } #[pg_guard] extern "C" { - pub fn logl(__x: u128) -> u128; + pub fn fabsl(arg1: f64) -> f64; } #[pg_guard] extern "C" { - pub fn __logl(__x: u128) -> u128; + pub fn cbrtf(arg1: f32) -> f32; } #[pg_guard] extern "C" { - pub fn log10l(__x: u128) -> u128; + pub fn cbrt(arg1: f64) -> f64; } #[pg_guard] extern "C" { - pub fn __log10l(__x: u128) -> u128; + pub fn cbrtl(arg1: f64) -> f64; } #[pg_guard] extern "C" { - pub fn modfl(__x: u128, __iptr: *mut u128) -> u128; + pub fn hypotf(arg1: f32, arg2: f32) -> f32; } #[pg_guard] extern "C" { - pub fn __modfl(__x: u128, __iptr: *mut u128) -> u128; + pub fn hypot(arg1: f64, arg2: f64) -> f64; } #[pg_guard] extern "C" { - pub fn expm1l(__x: u128) -> u128; + pub fn hypotl(arg1: f64, arg2: f64) -> f64; } #[pg_guard] extern "C" { - pub fn __expm1l(__x: u128) -> u128; + pub fn powf(arg1: f32, arg2: f32) -> f32; } #[pg_guard] extern "C" { - pub fn log1pl(__x: u128) -> u128; + pub fn pow(arg1: f64, arg2: f64) -> f64; } #[pg_guard] extern "C" { - pub fn __log1pl(__x: u128) -> u128; + pub fn powl(arg1: f64, arg2: f64) -> f64; } #[pg_guard] extern "C" { - pub fn logbl(__x: u128) -> u128; + pub fn sqrtf(arg1: f32) -> f32; } #[pg_guard] extern "C" { - pub fn __logbl(__x: u128) -> u128; + pub fn sqrt(arg1: f64) -> f64; } #[pg_guard] extern "C" { - pub fn exp2l(__x: u128) -> u128; + pub fn sqrtl(arg1: f64) -> f64; } #[pg_guard] extern "C" { - pub fn __exp2l(__x: u128) -> u128; + pub fn erff(arg1: f32) -> f32; } #[pg_guard] extern "C" { - pub fn log2l(__x: u128) -> u128; + pub fn erf(arg1: f64) -> f64; } #[pg_guard] extern "C" { - pub fn __log2l(__x: u128) -> u128; + pub fn erfl(arg1: f64) -> f64; } #[pg_guard] extern "C" { - pub fn powl(__x: u128, __y: u128) -> u128; + pub fn erfcf(arg1: f32) -> f32; } #[pg_guard] extern "C" { - pub fn __powl(__x: u128, __y: u128) -> u128; + pub fn erfc(arg1: f64) -> f64; } #[pg_guard] extern "C" { - pub fn sqrtl(__x: u128) -> u128; + pub fn erfcl(arg1: f64) -> f64; } #[pg_guard] extern "C" { - pub fn __sqrtl(__x: u128) -> u128; + pub fn lgammaf(arg1: f32) -> f32; } #[pg_guard] extern "C" { - pub fn hypotl(__x: u128, __y: u128) -> u128; + pub fn lgamma(arg1: f64) -> f64; } #[pg_guard] extern "C" { - pub fn __hypotl(__x: u128, __y: u128) -> u128; + pub fn lgammal(arg1: f64) -> f64; } #[pg_guard] extern "C" { - pub fn cbrtl(__x: u128) -> u128; + pub fn tgammaf(arg1: f32) -> f32; } #[pg_guard] extern "C" { - pub fn __cbrtl(__x: u128) -> u128; + pub fn tgamma(arg1: f64) -> f64; } #[pg_guard] extern "C" { - pub fn ceill(__x: u128) -> u128; + pub fn tgammal(arg1: f64) -> f64; } #[pg_guard] extern "C" { - pub fn __ceill(__x: u128) -> u128; + pub fn ceilf(arg1: f32) -> f32; } #[pg_guard] extern "C" { - pub fn fabsl(__x: u128) -> u128; + pub fn ceil(arg1: f64) -> f64; } #[pg_guard] extern "C" { - pub fn __fabsl(__x: u128) -> u128; + pub fn ceill(arg1: f64) -> f64; } #[pg_guard] extern "C" { - pub fn floorl(__x: u128) -> u128; + pub fn floorf(arg1: f32) -> f32; } #[pg_guard] extern "C" { - pub fn __floorl(__x: u128) -> u128; + pub fn floor(arg1: f64) -> f64; } #[pg_guard] extern "C" { - pub fn fmodl(__x: u128, __y: u128) -> u128; + pub fn floorl(arg1: f64) -> f64; } #[pg_guard] extern "C" { - pub fn __fmodl(__x: u128, __y: u128) -> u128; + pub fn nearbyintf(arg1: f32) -> f32; } #[pg_guard] extern "C" { - pub fn isinfl(__value: u128) -> ::std::os::raw::c_int; + pub fn nearbyint(arg1: f64) -> f64; } #[pg_guard] extern "C" { - pub fn finitel(__value: u128) -> ::std::os::raw::c_int; + pub fn nearbyintl(arg1: f64) -> f64; } #[pg_guard] extern "C" { - pub fn dreml(__x: u128, __y: u128) -> u128; + pub fn rintf(arg1: f32) -> f32; } #[pg_guard] extern "C" { - pub fn __dreml(__x: u128, __y: u128) -> u128; + pub fn rint(arg1: f64) -> f64; } #[pg_guard] extern "C" { - pub fn significandl(__x: u128) -> u128; + pub fn rintl(arg1: f64) -> f64; } #[pg_guard] extern "C" { - pub fn __significandl(__x: u128) -> u128; + pub fn lrintf(arg1: f32) -> ::std::os::raw::c_long; } #[pg_guard] extern "C" { - pub fn copysignl(__x: u128, __y: u128) -> u128; + pub fn lrint(arg1: f64) -> ::std::os::raw::c_long; } #[pg_guard] extern "C" { - pub fn __copysignl(__x: u128, __y: u128) -> u128; + pub fn lrintl(arg1: f64) -> ::std::os::raw::c_long; } #[pg_guard] extern "C" { - pub fn nanl(__tagb: *const ::std::os::raw::c_char) -> u128; + pub fn roundf(arg1: f32) -> f32; } #[pg_guard] extern "C" { - pub fn __nanl(__tagb: *const ::std::os::raw::c_char) -> u128; + pub fn round(arg1: f64) -> f64; } #[pg_guard] extern "C" { - pub fn isnanl(__value: u128) -> ::std::os::raw::c_int; + pub fn roundl(arg1: f64) -> f64; } #[pg_guard] extern "C" { - pub fn j0l(arg1: u128) -> u128; + pub fn lroundf(arg1: f32) -> ::std::os::raw::c_long; } #[pg_guard] extern "C" { - pub fn __j0l(arg1: u128) -> u128; + pub fn lround(arg1: f64) -> ::std::os::raw::c_long; } #[pg_guard] extern "C" { - pub fn j1l(arg1: u128) -> u128; + pub fn lroundl(arg1: f64) -> ::std::os::raw::c_long; } #[pg_guard] extern "C" { - pub fn __j1l(arg1: u128) -> u128; + pub fn llrintf(arg1: f32) -> ::std::os::raw::c_longlong; } #[pg_guard] extern "C" { - pub fn jnl(arg1: ::std::os::raw::c_int, arg2: u128) -> u128; + pub fn llrint(arg1: f64) -> ::std::os::raw::c_longlong; } #[pg_guard] extern "C" { - pub fn __jnl(arg1: ::std::os::raw::c_int, arg2: u128) -> u128; + pub fn llrintl(arg1: f64) -> ::std::os::raw::c_longlong; } #[pg_guard] extern "C" { - pub fn y0l(arg1: u128) -> u128; + pub fn llroundf(arg1: f32) -> ::std::os::raw::c_longlong; } #[pg_guard] extern "C" { - pub fn __y0l(arg1: u128) -> u128; + pub fn llround(arg1: f64) -> ::std::os::raw::c_longlong; } #[pg_guard] extern "C" { - pub fn y1l(arg1: u128) -> u128; + pub fn llroundl(arg1: f64) -> ::std::os::raw::c_longlong; } #[pg_guard] extern "C" { - pub fn __y1l(arg1: u128) -> u128; + pub fn truncf(arg1: f32) -> f32; } #[pg_guard] extern "C" { - pub fn ynl(arg1: ::std::os::raw::c_int, arg2: u128) -> u128; + pub fn trunc(arg1: f64) -> f64; } #[pg_guard] extern "C" { - pub fn __ynl(arg1: ::std::os::raw::c_int, arg2: u128) -> u128; + pub fn truncl(arg1: f64) -> f64; } #[pg_guard] extern "C" { - pub fn erfl(arg1: u128) -> u128; + pub fn fmodf(arg1: f32, arg2: f32) -> f32; } #[pg_guard] extern "C" { - pub fn __erfl(arg1: u128) -> u128; + pub fn fmod(arg1: f64, arg2: f64) -> f64; } #[pg_guard] extern "C" { - pub fn erfcl(arg1: u128) -> u128; + pub fn fmodl(arg1: f64, arg2: f64) -> f64; } #[pg_guard] extern "C" { - pub fn __erfcl(arg1: u128) -> u128; + pub fn remainderf(arg1: f32, arg2: f32) -> f32; } #[pg_guard] extern "C" { - pub fn lgammal(arg1: u128) -> u128; + pub fn remainder(arg1: f64, arg2: f64) -> f64; } #[pg_guard] extern "C" { - pub fn __lgammal(arg1: u128) -> u128; + pub fn remainderl(arg1: f64, arg2: f64) -> f64; } #[pg_guard] extern "C" { - pub fn tgammal(arg1: u128) -> u128; + pub fn remquof(arg1: f32, arg2: f32, arg3: *mut ::std::os::raw::c_int) -> f32; } #[pg_guard] extern "C" { - pub fn __tgammal(arg1: u128) -> u128; + pub fn remquo(arg1: f64, arg2: f64, arg3: *mut ::std::os::raw::c_int) -> f64; } #[pg_guard] extern "C" { - pub fn gammal(arg1: u128) -> u128; + pub fn remquol(arg1: f64, arg2: f64, arg3: *mut ::std::os::raw::c_int) -> f64; } #[pg_guard] extern "C" { - pub fn __gammal(arg1: u128) -> u128; + pub fn copysignf(arg1: f32, arg2: f32) -> f32; } #[pg_guard] extern "C" { - pub fn lgammal_r(arg1: u128, __signgamp: *mut ::std::os::raw::c_int) -> u128; + pub fn copysign(arg1: f64, arg2: f64) -> f64; } #[pg_guard] extern "C" { - pub fn __lgammal_r(arg1: u128, __signgamp: *mut ::std::os::raw::c_int) -> u128; + pub fn copysignl(arg1: f64, arg2: f64) -> f64; } #[pg_guard] extern "C" { - pub fn rintl(__x: u128) -> u128; + pub fn nanf(arg1: *const ::std::os::raw::c_char) -> f32; } #[pg_guard] extern "C" { - pub fn __rintl(__x: u128) -> u128; + pub fn nan(arg1: *const ::std::os::raw::c_char) -> f64; } #[pg_guard] extern "C" { - pub fn nextafterl(__x: u128, __y: u128) -> u128; + pub fn nanl(arg1: *const ::std::os::raw::c_char) -> f64; } #[pg_guard] extern "C" { - pub fn __nextafterl(__x: u128, __y: u128) -> u128; + pub fn nextafterf(arg1: f32, arg2: f32) -> f32; } #[pg_guard] extern "C" { - pub fn nexttowardl(__x: u128, __y: u128) -> u128; + pub fn nextafter(arg1: f64, arg2: f64) -> f64; } #[pg_guard] extern "C" { - pub fn __nexttowardl(__x: u128, __y: u128) -> u128; + pub fn nextafterl(arg1: f64, arg2: f64) -> f64; } #[pg_guard] extern "C" { - pub fn remainderl(__x: u128, __y: u128) -> u128; + pub fn nexttoward(arg1: f64, arg2: f64) -> f64; } #[pg_guard] extern "C" { - pub fn __remainderl(__x: u128, __y: u128) -> u128; + pub fn nexttowardf(arg1: f32, arg2: f64) -> f32; } #[pg_guard] extern "C" { - pub fn scalbnl(__x: u128, __n: ::std::os::raw::c_int) -> u128; + pub fn nexttowardl(arg1: f64, arg2: f64) -> f64; } #[pg_guard] extern "C" { - pub fn __scalbnl(__x: u128, __n: ::std::os::raw::c_int) -> u128; + pub fn fdimf(arg1: f32, arg2: f32) -> f32; } #[pg_guard] extern "C" { - pub fn ilogbl(__x: u128) -> ::std::os::raw::c_int; + pub fn fdim(arg1: f64, arg2: f64) -> f64; } #[pg_guard] extern "C" { - pub fn __ilogbl(__x: u128) -> ::std::os::raw::c_int; + pub fn fdiml(arg1: f64, arg2: f64) -> f64; } #[pg_guard] extern "C" { - pub fn scalblnl(__x: u128, __n: ::std::os::raw::c_long) -> u128; + pub fn fmaxf(arg1: f32, arg2: f32) -> f32; } #[pg_guard] extern "C" { - pub fn __scalblnl(__x: u128, __n: ::std::os::raw::c_long) -> u128; + pub fn fmax(arg1: f64, arg2: f64) -> f64; } #[pg_guard] extern "C" { - pub fn nearbyintl(__x: u128) -> u128; + pub fn fmaxl(arg1: f64, arg2: f64) -> f64; } #[pg_guard] extern "C" { - pub fn __nearbyintl(__x: u128) -> u128; + pub fn fminf(arg1: f32, arg2: f32) -> f32; } #[pg_guard] extern "C" { - pub fn roundl(__x: u128) -> u128; + pub fn fmin(arg1: f64, arg2: f64) -> f64; } #[pg_guard] extern "C" { - pub fn __roundl(__x: u128) -> u128; + pub fn fminl(arg1: f64, arg2: f64) -> f64; } #[pg_guard] extern "C" { - pub fn truncl(__x: u128) -> u128; + pub fn fmaf(arg1: f32, arg2: f32, arg3: f32) -> f32; } #[pg_guard] extern "C" { - pub fn __truncl(__x: u128) -> u128; + pub fn fma(arg1: f64, arg2: f64, arg3: f64) -> f64; } #[pg_guard] extern "C" { - pub fn remquol(__x: u128, __y: u128, __quo: *mut ::std::os::raw::c_int) -> u128; + pub fn fmal(arg1: f64, arg2: f64, arg3: f64) -> f64; } #[pg_guard] extern "C" { - pub fn __remquol(__x: u128, __y: u128, __quo: *mut ::std::os::raw::c_int) -> u128; + pub fn __exp10f(arg1: f32) -> f32; } #[pg_guard] extern "C" { - pub fn lrintl(__x: u128) -> ::std::os::raw::c_long; + pub fn __exp10(arg1: f64) -> f64; } #[pg_guard] extern "C" { - pub fn __lrintl(__x: u128) -> ::std::os::raw::c_long; + pub fn __cospif(arg1: f32) -> f32; } #[pg_guard] extern "C" { - pub fn llrintl(__x: u128) -> ::std::os::raw::c_longlong; + pub fn __cospi(arg1: f64) -> f64; } #[pg_guard] extern "C" { - pub fn __llrintl(__x: u128) -> ::std::os::raw::c_longlong; + pub fn __sinpif(arg1: f32) -> f32; } #[pg_guard] extern "C" { - pub fn lroundl(__x: u128) -> ::std::os::raw::c_long; + pub fn __sinpi(arg1: f64) -> f64; } #[pg_guard] extern "C" { - pub fn __lroundl(__x: u128) -> ::std::os::raw::c_long; + pub fn __tanpif(arg1: f32) -> f32; } #[pg_guard] extern "C" { - pub fn llroundl(__x: u128) -> ::std::os::raw::c_longlong; + pub fn __tanpi(arg1: f64) -> f64; +} +#[repr(C)] +#[derive(Debug, Default, Copy, Clone)] +pub struct __float2 { + pub __sinval: f32, + pub __cosval: f32, +} +#[repr(C)] +#[derive(Debug, Default, Copy, Clone)] +pub struct __double2 { + pub __sinval: f64, + pub __cosval: f64, } #[pg_guard] extern "C" { - pub fn __llroundl(__x: u128) -> ::std::os::raw::c_longlong; + pub fn __sincosf_stret(arg1: f32) -> __float2; } #[pg_guard] extern "C" { - pub fn fdiml(__x: u128, __y: u128) -> u128; + pub fn __sincos_stret(arg1: f64) -> __double2; } #[pg_guard] extern "C" { - pub fn __fdiml(__x: u128, __y: u128) -> u128; + pub fn __sincospif_stret(arg1: f32) -> __float2; } #[pg_guard] extern "C" { - pub fn fmaxl(__x: u128, __y: u128) -> u128; + pub fn __sincospi_stret(arg1: f64) -> __double2; } #[pg_guard] extern "C" { - pub fn __fmaxl(__x: u128, __y: u128) -> u128; + pub fn j0(arg1: f64) -> f64; } #[pg_guard] extern "C" { - pub fn fminl(__x: u128, __y: u128) -> u128; + pub fn j1(arg1: f64) -> f64; } #[pg_guard] extern "C" { - pub fn __fminl(__x: u128, __y: u128) -> u128; + pub fn jn(arg1: ::std::os::raw::c_int, arg2: f64) -> f64; } #[pg_guard] extern "C" { - pub fn fmal(__x: u128, __y: u128, __z: u128) -> u128; + pub fn y0(arg1: f64) -> f64; } #[pg_guard] extern "C" { - pub fn __fmal(__x: u128, __y: u128, __z: u128) -> u128; + pub fn y1(arg1: f64) -> f64; } #[pg_guard] extern "C" { - pub fn scalbl(__x: u128, __n: u128) -> u128; + pub fn yn(arg1: ::std::os::raw::c_int, arg2: f64) -> f64; } #[pg_guard] extern "C" { - pub fn __scalbl(__x: u128, __n: u128) -> u128; + pub fn scalb(arg1: f64, arg2: f64) -> f64; } #[pg_guard] extern "C" { pub static mut signgam: ::std::os::raw::c_int; } -pub const FP_NAN: ::std::os::raw::c_uint = 0; -pub const FP_INFINITE: ::std::os::raw::c_uint = 1; -pub const FP_ZERO: ::std::os::raw::c_uint = 2; -pub const FP_SUBNORMAL: ::std::os::raw::c_uint = 3; -pub const FP_NORMAL: ::std::os::raw::c_uint = 4; -pub type _bindgen_ty_8 = ::std::os::raw::c_uint; -#[pg_guard] -extern "C" { - pub fn strlcat( - dst: *mut ::std::os::raw::c_char, - src: *const ::std::os::raw::c_char, - siz: usize, - ) -> usize; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct exception { + pub type_: ::std::os::raw::c_int, + pub name: *mut ::std::os::raw::c_char, + pub arg1: f64, + pub arg2: f64, + pub retval: f64, } -#[pg_guard] -extern "C" { - pub fn strlcpy( - dst: *mut ::std::os::raw::c_char, - src: *const ::std::os::raw::c_char, - siz: usize, - ) -> usize; +impl Default for exception { + fn default() -> Self { + let mut s = ::std::mem::MaybeUninit::::uninit(); + unsafe { + ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); + s.assume_init() + } + } } #[pg_guard] extern "C" { @@ -8870,39 +9102,28 @@ extern "C" { include_command_not_found: bool, ) -> bool; } -pub type __jmp_buf = [::std::os::raw::c_long; 8usize]; -#[repr(C)] -#[derive(Debug, Default, Copy, Clone)] -pub struct __jmp_buf_tag { - pub __jmpbuf: __jmp_buf, - pub __mask_was_saved: ::std::os::raw::c_int, - pub __saved_mask: __sigset_t, -} -pub type jmp_buf = [__jmp_buf_tag; 1usize]; +pub type jmp_buf = [::std::os::raw::c_int; 48usize]; +pub type sigjmp_buf = [::std::os::raw::c_int; 49usize]; #[pg_guard] extern "C" { - pub fn setjmp(__env: *mut __jmp_buf_tag) -> ::std::os::raw::c_int; + pub fn setjmp(arg1: *mut ::std::os::raw::c_int) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn __sigsetjmp( - __env: *mut __jmp_buf_tag, - __savemask: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; + pub fn longjmp(arg1: *mut ::std::os::raw::c_int, arg2: ::std::os::raw::c_int); } #[pg_guard] extern "C" { - pub fn _setjmp(__env: *mut __jmp_buf_tag) -> ::std::os::raw::c_int; + pub fn _setjmp(arg1: *mut ::std::os::raw::c_int) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn longjmp(__env: *mut __jmp_buf_tag, __val: ::std::os::raw::c_int); + pub fn _longjmp(arg1: *mut ::std::os::raw::c_int, arg2: ::std::os::raw::c_int); } #[pg_guard] extern "C" { - pub fn _longjmp(__env: *mut __jmp_buf_tag, __val: ::std::os::raw::c_int); + pub fn longjmperror(); } -pub type sigjmp_buf = [__jmp_buf_tag; 1usize]; #[pg_guard] extern "C" { pub fn errstart( @@ -9329,7 +9550,7 @@ extern "C" { buf: *mut ::std::os::raw::c_char, len: usize, fmt: *const ::std::os::raw::c_char, - args: *mut __va_list_tag, + args: va_list, ) -> usize; } #[repr(C)] @@ -11184,7 +11405,7 @@ extern "C" { #[repr(C)] #[derive(Debug, Default, Copy, Clone)] pub struct pg_atomic_flag { - pub value: ::std::os::raw::c_char, + pub value: ::std::os::raw::c_int, } #[repr(C)] #[derive(Debug, Default, Copy, Clone)] @@ -11919,83 +12140,251 @@ extern "C" { #[repr(C)] #[derive(Debug, Default, Copy, Clone)] pub struct flock { + pub l_start: off_t, + pub l_len: off_t, + pub l_pid: pid_t, pub l_type: ::std::os::raw::c_short, pub l_whence: ::std::os::raw::c_short, - pub l_start: __off_t, - pub l_len: __off_t, - pub l_pid: __pid_t, } #[repr(C)] #[derive(Debug, Default, Copy, Clone)] -pub struct stat { - pub st_dev: __dev_t, - pub st_ino: __ino_t, - pub st_nlink: __nlink_t, - pub st_mode: __mode_t, - pub st_uid: __uid_t, - pub st_gid: __gid_t, - pub __pad0: ::std::os::raw::c_int, - pub st_rdev: __dev_t, - pub st_size: __off_t, - pub st_blksize: __blksize_t, - pub st_blocks: __blkcnt_t, - pub st_atim: timespec, - pub st_mtim: timespec, - pub st_ctim: timespec, - pub __glibc_reserved: [__syscall_slong_t; 3usize], +pub struct timespec { + pub tv_sec: __darwin_time_t, + pub tv_nsec: ::std::os::raw::c_long, +} +#[repr(C)] +#[derive(Debug, Default, Copy, Clone)] +pub struct flocktimeout { + pub fl: flock, + pub timeout: timespec, +} +#[repr(C)] +#[derive(Debug, Default, Copy, Clone)] +pub struct radvisory { + pub ra_offset: off_t, + pub ra_count: ::std::os::raw::c_int, +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct fsignatures { + pub fs_file_start: off_t, + pub fs_blob_start: *mut ::std::os::raw::c_void, + pub fs_blob_size: usize, + pub fs_fsignatures_size: usize, + pub fs_cdhash: [::std::os::raw::c_char; 20usize], + pub fs_hash_type: ::std::os::raw::c_int, +} +impl Default for fsignatures { + fn default() -> Self { + let mut s = ::std::mem::MaybeUninit::::uninit(); + unsafe { + ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); + s.assume_init() + } + } +} +pub type fsignatures_t = fsignatures; +#[repr(C)] +#[derive(Debug, Default, Copy, Clone)] +pub struct fsupplement { + pub fs_file_start: off_t, + pub fs_blob_start: off_t, + pub fs_blob_size: usize, + pub fs_orig_fd: ::std::os::raw::c_int, +} +pub type fsupplement_t = fsupplement; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct fchecklv { + pub lv_file_start: off_t, + pub lv_error_message_size: usize, + pub lv_error_message: *mut ::std::os::raw::c_void, +} +impl Default for fchecklv { + fn default() -> Self { + let mut s = ::std::mem::MaybeUninit::::uninit(); + unsafe { + ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); + s.assume_init() + } + } +} +pub type fchecklv_t = fchecklv; +#[repr(C)] +#[derive(Debug, Default, Copy, Clone)] +pub struct fgetsigsinfo { + pub fg_file_start: off_t, + pub fg_info_request: ::std::os::raw::c_int, + pub fg_sig_is_platform: ::std::os::raw::c_int, +} +pub type fgetsigsinfo_t = fgetsigsinfo; +#[repr(C)] +#[derive(Debug, Default, Copy, Clone)] +pub struct fstore { + pub fst_flags: ::std::os::raw::c_uint, + pub fst_posmode: ::std::os::raw::c_int, + pub fst_offset: off_t, + pub fst_length: off_t, + pub fst_bytesalloc: off_t, +} +pub type fstore_t = fstore; +#[repr(C)] +#[derive(Debug, Default, Copy, Clone)] +pub struct fpunchhole { + pub fp_flags: ::std::os::raw::c_uint, + pub reserved: ::std::os::raw::c_uint, + pub fp_offset: off_t, + pub fp_length: off_t, +} +pub type fpunchhole_t = fpunchhole; +#[repr(C)] +#[derive(Debug, Default, Copy, Clone)] +pub struct ftrimactivefile { + pub fta_offset: off_t, + pub fta_length: off_t, } +pub type ftrimactivefile_t = ftrimactivefile; +#[repr(C)] +#[derive(Debug, Default, Copy, Clone)] +pub struct fspecread { + pub fsr_flags: ::std::os::raw::c_uint, + pub reserved: ::std::os::raw::c_uint, + pub fsr_offset: off_t, + pub fsr_length: off_t, +} +pub type fspecread_t = fspecread; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct fbootstraptransfer { + pub fbt_offset: off_t, + pub fbt_length: usize, + pub fbt_buffer: *mut ::std::os::raw::c_void, +} +impl Default for fbootstraptransfer { + fn default() -> Self { + let mut s = ::std::mem::MaybeUninit::::uninit(); + unsafe { + ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); + s.assume_init() + } + } +} +pub type fbootstraptransfer_t = fbootstraptransfer; +#[repr(C, packed(4))] +#[derive(Debug, Default, Copy, Clone)] +pub struct log2phys { + pub l2p_flags: ::std::os::raw::c_uint, + pub l2p_contigbytes: off_t, + pub l2p_devoffset: off_t, +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _filesec { + _unused: [u8; 0], +} +pub type filesec_t = *mut _filesec; +pub const filesec_property_t_FILESEC_OWNER: filesec_property_t = 1; +pub const filesec_property_t_FILESEC_GROUP: filesec_property_t = 2; +pub const filesec_property_t_FILESEC_UUID: filesec_property_t = 3; +pub const filesec_property_t_FILESEC_MODE: filesec_property_t = 4; +pub const filesec_property_t_FILESEC_ACL: filesec_property_t = 5; +pub const filesec_property_t_FILESEC_GRPUUID: filesec_property_t = 6; +pub const filesec_property_t_FILESEC_ACL_RAW: filesec_property_t = 100; +pub const filesec_property_t_FILESEC_ACL_ALLOCSIZE: filesec_property_t = 101; +pub type filesec_property_t = ::std::os::raw::c_uint; #[pg_guard] extern "C" { - pub fn fcntl( - __fd: ::std::os::raw::c_int, - __cmd: ::std::os::raw::c_int, + pub fn open( + arg1: *const ::std::os::raw::c_char, + arg2: ::std::os::raw::c_int, ... ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn open( - __file: *const ::std::os::raw::c_char, - __oflag: ::std::os::raw::c_int, + pub fn openat( + arg1: ::std::os::raw::c_int, + arg2: *const ::std::os::raw::c_char, + arg3: ::std::os::raw::c_int, ... ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn openat( - __fd: ::std::os::raw::c_int, - __file: *const ::std::os::raw::c_char, - __oflag: ::std::os::raw::c_int, + pub fn creat(arg1: *const ::std::os::raw::c_char, arg2: mode_t) -> ::std::os::raw::c_int; +} +#[pg_guard] +extern "C" { + pub fn fcntl( + arg1: ::std::os::raw::c_int, + arg2: ::std::os::raw::c_int, ... ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn creat(__file: *const ::std::os::raw::c_char, __mode: mode_t) -> ::std::os::raw::c_int; + pub fn openx_np( + arg1: *const ::std::os::raw::c_char, + arg2: ::std::os::raw::c_int, + arg3: filesec_t, + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn lockf( - __fd: ::std::os::raw::c_int, - __cmd: ::std::os::raw::c_int, - __len: off_t, + pub fn open_dprotected_np( + arg1: *const ::std::os::raw::c_char, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ... ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn posix_fadvise( - __fd: ::std::os::raw::c_int, - __offset: off_t, - __len: off_t, - __advise: ::std::os::raw::c_int, + pub fn flock(arg1: ::std::os::raw::c_int, arg2: ::std::os::raw::c_int) + -> ::std::os::raw::c_int; +} +#[pg_guard] +extern "C" { + pub fn filesec_init() -> filesec_t; +} +#[pg_guard] +extern "C" { + pub fn filesec_dup(arg1: filesec_t) -> filesec_t; +} +#[pg_guard] +extern "C" { + pub fn filesec_free(arg1: filesec_t); +} +#[pg_guard] +extern "C" { + pub fn filesec_get_property( + arg1: filesec_t, + arg2: filesec_property_t, + arg3: *mut ::std::os::raw::c_void, ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn posix_fallocate( - __fd: ::std::os::raw::c_int, - __offset: off_t, - __len: off_t, + pub fn filesec_query_property( + arg1: filesec_t, + arg2: filesec_property_t, + arg3: *mut ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; +} +#[pg_guard] +extern "C" { + pub fn filesec_set_property( + arg1: filesec_t, + arg2: filesec_property_t, + arg3: *const ::std::os::raw::c_void, + ) -> ::std::os::raw::c_int; +} +#[pg_guard] +extern "C" { + pub fn filesec_unset_property( + arg1: filesec_t, + arg2: filesec_property_t, ) -> ::std::os::raw::c_int; } pub type XLogRecPtr = uint64; @@ -12052,7 +12441,7 @@ extern "C" { pub fn appendStringInfoVA( str_: StringInfo, fmt: *const ::std::os::raw::c_char, - args: *mut __va_list_tag, + args: va_list, ) -> ::std::os::raw::c_int; } #[pg_guard] @@ -14084,7 +14473,7 @@ pub struct tm { pub tm_yday: ::std::os::raw::c_int, pub tm_isdst: ::std::os::raw::c_int, pub tm_gmtoff: ::std::os::raw::c_long, - pub tm_zone: *const ::std::os::raw::c_char, + pub tm_zone: *mut ::std::os::raw::c_char, } impl Default for tm { fn default() -> Self { @@ -14095,100 +14484,74 @@ impl Default for tm { } } } -#[repr(C)] -#[derive(Debug, Default, Copy, Clone)] -pub struct itimerspec { - pub it_interval: timespec, - pub it_value: timespec, -} #[pg_guard] extern "C" { - pub fn clock() -> clock_t; + pub static mut tzname: [*mut ::std::os::raw::c_char; 0usize]; } #[pg_guard] extern "C" { - pub fn time(__timer: *mut time_t) -> time_t; + pub static mut getdate_err: ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn difftime(__time1: time_t, __time0: time_t) -> f64; + pub static mut timezone: ::std::os::raw::c_long; } #[pg_guard] extern "C" { - pub fn mktime(__tp: *mut tm) -> time_t; + pub static mut daylight: ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn strftime( - __s: *mut ::std::os::raw::c_char, - __maxsize: usize, - __format: *const ::std::os::raw::c_char, - __tp: *const tm, - ) -> usize; + pub fn asctime(arg1: *const tm) -> *mut ::std::os::raw::c_char; } #[pg_guard] extern "C" { - pub fn strftime_l( - __s: *mut ::std::os::raw::c_char, - __maxsize: usize, - __format: *const ::std::os::raw::c_char, - __tp: *const tm, - __loc: locale_t, - ) -> usize; + pub fn clock() -> clock_t; } #[pg_guard] extern "C" { - pub fn gmtime(__timer: *const time_t) -> *mut tm; + pub fn ctime(arg1: *const time_t) -> *mut ::std::os::raw::c_char; } #[pg_guard] extern "C" { - pub fn localtime(__timer: *const time_t) -> *mut tm; + pub fn difftime(arg1: time_t, arg2: time_t) -> f64; } #[pg_guard] extern "C" { - pub fn gmtime_r(__timer: *const time_t, __tp: *mut tm) -> *mut tm; + pub fn getdate(arg1: *const ::std::os::raw::c_char) -> *mut tm; } #[pg_guard] extern "C" { - pub fn localtime_r(__timer: *const time_t, __tp: *mut tm) -> *mut tm; + pub fn gmtime(arg1: *const time_t) -> *mut tm; } #[pg_guard] extern "C" { - pub fn asctime(__tp: *const tm) -> *mut ::std::os::raw::c_char; + pub fn localtime(arg1: *const time_t) -> *mut tm; } #[pg_guard] extern "C" { - pub fn ctime(__timer: *const time_t) -> *mut ::std::os::raw::c_char; + pub fn mktime(arg1: *mut tm) -> time_t; } #[pg_guard] extern "C" { - pub fn asctime_r( - __tp: *const tm, - __buf: *mut ::std::os::raw::c_char, - ) -> *mut ::std::os::raw::c_char; + pub fn strftime( + arg1: *mut ::std::os::raw::c_char, + arg2: usize, + arg3: *const ::std::os::raw::c_char, + arg4: *const tm, + ) -> usize; } #[pg_guard] extern "C" { - pub fn ctime_r( - __timer: *const time_t, - __buf: *mut ::std::os::raw::c_char, + pub fn strptime( + arg1: *const ::std::os::raw::c_char, + arg2: *const ::std::os::raw::c_char, + arg3: *mut tm, ) -> *mut ::std::os::raw::c_char; } #[pg_guard] extern "C" { - pub static mut __tzname: [*mut ::std::os::raw::c_char; 2usize]; -} -#[pg_guard] -extern "C" { - pub static mut __daylight: ::std::os::raw::c_int; -} -#[pg_guard] -extern "C" { - pub static mut __timezone: ::std::os::raw::c_long; -} -#[pg_guard] -extern "C" { - pub static mut tzname: [*mut ::std::os::raw::c_char; 2usize]; + pub fn time(arg1: *mut time_t) -> time_t; } #[pg_guard] extern "C" { @@ -14196,91 +14559,78 @@ extern "C" { } #[pg_guard] extern "C" { - pub static mut daylight: ::std::os::raw::c_int; -} -#[pg_guard] -extern "C" { - pub static mut timezone: ::std::os::raw::c_long; -} -#[pg_guard] -extern "C" { - pub fn timegm(__tp: *mut tm) -> time_t; + pub fn asctime_r( + arg1: *const tm, + arg2: *mut ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; } #[pg_guard] extern "C" { - pub fn timelocal(__tp: *mut tm) -> time_t; + pub fn ctime_r( + arg1: *const time_t, + arg2: *mut ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; } #[pg_guard] extern "C" { - pub fn dysize(__year: ::std::os::raw::c_int) -> ::std::os::raw::c_int; + pub fn gmtime_r(arg1: *const time_t, arg2: *mut tm) -> *mut tm; } #[pg_guard] extern "C" { - pub fn nanosleep( - __requested_time: *const timespec, - __remaining: *mut timespec, - ) -> ::std::os::raw::c_int; + pub fn localtime_r(arg1: *const time_t, arg2: *mut tm) -> *mut tm; } #[pg_guard] extern "C" { - pub fn clock_getres(__clock_id: clockid_t, __res: *mut timespec) -> ::std::os::raw::c_int; + pub fn posix2time(arg1: time_t) -> time_t; } #[pg_guard] extern "C" { - pub fn clock_gettime(__clock_id: clockid_t, __tp: *mut timespec) -> ::std::os::raw::c_int; + pub fn tzsetwall(); } #[pg_guard] extern "C" { - pub fn clock_settime(__clock_id: clockid_t, __tp: *const timespec) -> ::std::os::raw::c_int; + pub fn time2posix(arg1: time_t) -> time_t; } #[pg_guard] extern "C" { - pub fn clock_nanosleep( - __clock_id: clockid_t, - __flags: ::std::os::raw::c_int, - __req: *const timespec, - __rem: *mut timespec, - ) -> ::std::os::raw::c_int; + pub fn timelocal(arg1: *mut tm) -> time_t; } #[pg_guard] extern "C" { - pub fn clock_getcpuclockid(__pid: pid_t, __clock_id: *mut clockid_t) -> ::std::os::raw::c_int; + pub fn timegm(arg1: *mut tm) -> time_t; } #[pg_guard] extern "C" { - pub fn timer_create( - __clock_id: clockid_t, - __evp: *mut sigevent, - __timerid: *mut timer_t, - ) -> ::std::os::raw::c_int; + pub fn nanosleep(__rqtp: *const timespec, __rmtp: *mut timespec) -> ::std::os::raw::c_int; } +pub const clockid_t__CLOCK_REALTIME: clockid_t = 0; +pub const clockid_t__CLOCK_MONOTONIC: clockid_t = 6; +pub const clockid_t__CLOCK_MONOTONIC_RAW: clockid_t = 4; +pub const clockid_t__CLOCK_MONOTONIC_RAW_APPROX: clockid_t = 5; +pub const clockid_t__CLOCK_UPTIME_RAW: clockid_t = 8; +pub const clockid_t__CLOCK_UPTIME_RAW_APPROX: clockid_t = 9; +pub const clockid_t__CLOCK_PROCESS_CPUTIME_ID: clockid_t = 12; +pub const clockid_t__CLOCK_THREAD_CPUTIME_ID: clockid_t = 16; +pub type clockid_t = ::std::os::raw::c_uint; #[pg_guard] extern "C" { - pub fn timer_delete(__timerid: timer_t) -> ::std::os::raw::c_int; + pub fn clock_getres(__clock_id: clockid_t, __res: *mut timespec) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn timer_settime( - __timerid: timer_t, - __flags: ::std::os::raw::c_int, - __value: *const itimerspec, - __ovalue: *mut itimerspec, - ) -> ::std::os::raw::c_int; + pub fn clock_gettime(__clock_id: clockid_t, __tp: *mut timespec) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn timer_gettime(__timerid: timer_t, __value: *mut itimerspec) -> ::std::os::raw::c_int; + pub fn clock_gettime_nsec_np(__clock_id: clockid_t) -> __uint64_t; } #[pg_guard] extern "C" { - pub fn timer_getoverrun(__timerid: timer_t) -> ::std::os::raw::c_int; + pub fn clock_settime(__clock_id: clockid_t, __tp: *const timespec) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn timespec_get( - __ts: *mut timespec, - __base: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; + pub fn timespec_get(ts: *mut timespec, base: ::std::os::raw::c_int) -> ::std::os::raw::c_int; } pub type instr_time = timespec; #[repr(C)] @@ -14737,7 +15087,6 @@ pub struct IndexOnlyScan { pub indexorderby: *mut List, pub indextlist: *mut List, pub indexorderdir: ScanDirection, - pub recheckqual: *mut List, } impl Default for IndexOnlyScan { fn default() -> Self { @@ -15746,11 +16095,12 @@ impl Default for TriggerDesc { #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct dirent { - pub d_ino: __ino_t, - pub d_off: __off_t, - pub d_reclen: ::std::os::raw::c_ushort, - pub d_type: ::std::os::raw::c_uchar, - pub d_name: [::std::os::raw::c_char; 256usize], + pub d_ino: __uint64_t, + pub d_seekoff: __uint64_t, + pub d_reclen: __uint16_t, + pub d_namlen: __uint16_t, + pub d_type: __uint8_t, + pub d_name: [::std::os::raw::c_char; 1024usize], } impl Default for dirent { fn default() -> Self { @@ -15761,71 +16111,87 @@ impl Default for dirent { } } } -pub const DT_UNKNOWN: ::std::os::raw::c_uint = 0; -pub const DT_FIFO: ::std::os::raw::c_uint = 1; -pub const DT_CHR: ::std::os::raw::c_uint = 2; -pub const DT_DIR: ::std::os::raw::c_uint = 4; -pub const DT_BLK: ::std::os::raw::c_uint = 6; -pub const DT_REG: ::std::os::raw::c_uint = 8; -pub const DT_LNK: ::std::os::raw::c_uint = 10; -pub const DT_SOCK: ::std::os::raw::c_uint = 12; -pub const DT_WHT: ::std::os::raw::c_uint = 14; -pub type _bindgen_ty_9 = ::std::os::raw::c_uint; #[repr(C)] #[derive(Debug, Copy, Clone)] -pub struct __dirstream { +pub struct _telldir { _unused: [u8; 0], } -pub type DIR = __dirstream; -#[pg_guard] -extern "C" { - pub fn opendir(__name: *const ::std::os::raw::c_char) -> *mut DIR; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct DIR { + pub __dd_fd: ::std::os::raw::c_int, + pub __dd_loc: ::std::os::raw::c_long, + pub __dd_size: ::std::os::raw::c_long, + pub __dd_buf: *mut ::std::os::raw::c_char, + pub __dd_len: ::std::os::raw::c_int, + pub __dd_seek: ::std::os::raw::c_long, + pub __padding: ::std::os::raw::c_long, + pub __dd_flags: ::std::os::raw::c_int, + pub __dd_lock: __darwin_pthread_mutex_t, + pub __dd_td: *mut _telldir, +} +impl Default for DIR { + fn default() -> Self { + let mut s = ::std::mem::MaybeUninit::::uninit(); + unsafe { + ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); + s.assume_init() + } + } } #[pg_guard] extern "C" { - pub fn fdopendir(__fd: ::std::os::raw::c_int) -> *mut DIR; + pub fn closedir(arg1: *mut DIR) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn closedir(__dirp: *mut DIR) -> ::std::os::raw::c_int; + pub fn opendir(arg1: *const ::std::os::raw::c_char) -> *mut DIR; } #[pg_guard] extern "C" { - pub fn readdir(__dirp: *mut DIR) -> *mut dirent; + pub fn readdir(arg1: *mut DIR) -> *mut dirent; } #[pg_guard] extern "C" { pub fn readdir_r( - __dirp: *mut DIR, - __entry: *mut dirent, - __result: *mut *mut dirent, + arg1: *mut DIR, + arg2: *mut dirent, + arg3: *mut *mut dirent, ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn rewinddir(__dirp: *mut DIR); + pub fn rewinddir(arg1: *mut DIR); } #[pg_guard] extern "C" { - pub fn seekdir(__dirp: *mut DIR, __pos: ::std::os::raw::c_long); + pub fn seekdir(arg1: *mut DIR, arg2: ::std::os::raw::c_long); } #[pg_guard] extern "C" { - pub fn telldir(__dirp: *mut DIR) -> ::std::os::raw::c_long; + pub fn telldir(arg1: *mut DIR) -> ::std::os::raw::c_long; } #[pg_guard] extern "C" { - pub fn dirfd(__dirp: *mut DIR) -> ::std::os::raw::c_int; + pub fn fdopendir(arg1: ::std::os::raw::c_int) -> *mut DIR; +} +#[pg_guard] +extern "C" { + pub fn alphasort(arg1: *mut *const dirent, arg2: *mut *const dirent) -> ::std::os::raw::c_int; +} +#[pg_guard] +extern "C" { + pub fn dirfd(dirp: *mut DIR) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { pub fn scandir( - __dir: *const ::std::os::raw::c_char, - __namelist: *mut *mut *mut dirent, - __selector: ::std::option::Option< + arg1: *const ::std::os::raw::c_char, + arg2: *mut *mut *mut dirent, + arg3: ::std::option::Option< unsafe extern "C" fn(arg1: *const dirent) -> ::std::os::raw::c_int, >, - __cmp: ::std::option::Option< + arg4: ::std::option::Option< unsafe extern "C" fn( arg1: *mut *const dirent, arg2: *mut *const dirent, @@ -15835,16 +16201,27 @@ extern "C" { } #[pg_guard] extern "C" { - pub fn alphasort(__e1: *mut *const dirent, __e2: *mut *const dirent) -> ::std::os::raw::c_int; + pub fn scandir_b( + arg1: *const ::std::os::raw::c_char, + arg2: *mut *mut *mut dirent, + arg3: *mut ::std::os::raw::c_void, + arg4: *mut ::std::os::raw::c_void, + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { + #[link_name = "\u{1}_getdirentries_is_not_available_when_64_bit_inodes_are_in_effect"] pub fn getdirentries( - __fd: ::std::os::raw::c_int, - __buf: *mut ::std::os::raw::c_char, - __nbytes: usize, - __basep: *mut __off_t, - ) -> __ssize_t; + arg1: ::std::os::raw::c_int, + arg2: *mut ::std::os::raw::c_char, + arg3: ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_long, + ) -> ::std::os::raw::c_int; +} +#[pg_guard] +extern "C" { + pub fn __opendir2(arg1: *const ::std::os::raw::c_char, arg2: ::std::os::raw::c_int) + -> *mut DIR; } pub type File = ::std::os::raw::c_int; #[pg_guard] @@ -16164,7 +16541,7 @@ extern "C" { extern "C" { pub fn data_sync_elevel(elevel: ::std::os::raw::c_int) -> ::std::os::raw::c_int; } -pub type slock_t = ::std::os::raw::c_uchar; +pub type slock_t = ::std::os::raw::c_int; #[pg_guard] extern "C" { pub static mut dummy_spinlock: slock_t; @@ -17917,7 +18294,7 @@ impl Default for IndexScanState { #[derive(Debug, Copy, Clone)] pub struct IndexOnlyScanState { pub ss: ScanState, - pub recheckqual: *mut ExprState, + pub indexqual: *mut ExprState, pub ioss_ScanKeys: ScanKey, pub ioss_NumScanKeys: ::std::os::raw::c_int, pub ioss_OrderByKeys: ScanKey, @@ -25111,736 +25488,161 @@ extern "C" { nulls: *mut *mut bool, ) -> ::std::os::raw::c_int; } -pub type sig_atomic_t = __sig_atomic_t; -#[repr(C)] -#[derive(Copy, Clone)] -pub union sigval { - pub sival_int: ::std::os::raw::c_int, - pub sival_ptr: *mut ::std::os::raw::c_void, -} -impl Default for sigval { - fn default() -> Self { - let mut s = ::std::mem::MaybeUninit::::uninit(); - unsafe { - ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); - s.assume_init() - } - } -} -pub type __sigval_t = sigval; -#[repr(C)] -#[derive(Copy, Clone)] -pub struct siginfo_t { - pub si_signo: ::std::os::raw::c_int, - pub si_errno: ::std::os::raw::c_int, - pub si_code: ::std::os::raw::c_int, - pub __pad0: ::std::os::raw::c_int, - pub _sifields: siginfo_t__bindgen_ty_1, -} -#[repr(C)] -#[derive(Copy, Clone)] -pub union siginfo_t__bindgen_ty_1 { - pub _pad: [::std::os::raw::c_int; 28usize], - pub _kill: siginfo_t__bindgen_ty_1__bindgen_ty_1, - pub _timer: siginfo_t__bindgen_ty_1__bindgen_ty_2, - pub _rt: siginfo_t__bindgen_ty_1__bindgen_ty_3, - pub _sigchld: siginfo_t__bindgen_ty_1__bindgen_ty_4, - pub _sigfault: siginfo_t__bindgen_ty_1__bindgen_ty_5, - pub _sigpoll: siginfo_t__bindgen_ty_1__bindgen_ty_6, - pub _sigsys: siginfo_t__bindgen_ty_1__bindgen_ty_7, -} -#[repr(C)] -#[derive(Debug, Default, Copy, Clone)] -pub struct siginfo_t__bindgen_ty_1__bindgen_ty_1 { - pub si_pid: __pid_t, - pub si_uid: __uid_t, -} -#[repr(C)] -#[derive(Copy, Clone)] -pub struct siginfo_t__bindgen_ty_1__bindgen_ty_2 { - pub si_tid: ::std::os::raw::c_int, - pub si_overrun: ::std::os::raw::c_int, - pub si_sigval: __sigval_t, -} -impl Default for siginfo_t__bindgen_ty_1__bindgen_ty_2 { - fn default() -> Self { - let mut s = ::std::mem::MaybeUninit::::uninit(); - unsafe { - ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); - s.assume_init() - } - } -} -#[repr(C)] -#[derive(Copy, Clone)] -pub struct siginfo_t__bindgen_ty_1__bindgen_ty_3 { - pub si_pid: __pid_t, - pub si_uid: __uid_t, - pub si_sigval: __sigval_t, -} -impl Default for siginfo_t__bindgen_ty_1__bindgen_ty_3 { - fn default() -> Self { - let mut s = ::std::mem::MaybeUninit::::uninit(); - unsafe { - ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); - s.assume_init() - } - } -} -#[repr(C)] -#[derive(Debug, Default, Copy, Clone)] -pub struct siginfo_t__bindgen_ty_1__bindgen_ty_4 { - pub si_pid: __pid_t, - pub si_uid: __uid_t, - pub si_status: ::std::os::raw::c_int, - pub si_utime: __clock_t, - pub si_stime: __clock_t, -} -#[repr(C)] -#[derive(Copy, Clone)] -pub struct siginfo_t__bindgen_ty_1__bindgen_ty_5 { - pub si_addr: *mut ::std::os::raw::c_void, - pub si_addr_lsb: ::std::os::raw::c_short, - pub _bounds: siginfo_t__bindgen_ty_1__bindgen_ty_5__bindgen_ty_1, -} -#[repr(C)] -#[derive(Copy, Clone)] -pub union siginfo_t__bindgen_ty_1__bindgen_ty_5__bindgen_ty_1 { - pub _addr_bnd: siginfo_t__bindgen_ty_1__bindgen_ty_5__bindgen_ty_1__bindgen_ty_1, - pub _pkey: __uint32_t, -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct siginfo_t__bindgen_ty_1__bindgen_ty_5__bindgen_ty_1__bindgen_ty_1 { - pub _lower: *mut ::std::os::raw::c_void, - pub _upper: *mut ::std::os::raw::c_void, -} -impl Default for siginfo_t__bindgen_ty_1__bindgen_ty_5__bindgen_ty_1__bindgen_ty_1 { - fn default() -> Self { - let mut s = ::std::mem::MaybeUninit::::uninit(); - unsafe { - ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); - s.assume_init() - } - } -} -impl Default for siginfo_t__bindgen_ty_1__bindgen_ty_5__bindgen_ty_1 { - fn default() -> Self { - let mut s = ::std::mem::MaybeUninit::::uninit(); - unsafe { - ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); - s.assume_init() - } - } -} -impl Default for siginfo_t__bindgen_ty_1__bindgen_ty_5 { - fn default() -> Self { - let mut s = ::std::mem::MaybeUninit::::uninit(); - unsafe { - ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); - s.assume_init() - } - } -} -#[repr(C)] -#[derive(Debug, Default, Copy, Clone)] -pub struct siginfo_t__bindgen_ty_1__bindgen_ty_6 { - pub si_band: ::std::os::raw::c_long, - pub si_fd: ::std::os::raw::c_int, -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct siginfo_t__bindgen_ty_1__bindgen_ty_7 { - pub _call_addr: *mut ::std::os::raw::c_void, - pub _syscall: ::std::os::raw::c_int, - pub _arch: ::std::os::raw::c_uint, -} -impl Default for siginfo_t__bindgen_ty_1__bindgen_ty_7 { - fn default() -> Self { - let mut s = ::std::mem::MaybeUninit::::uninit(); - unsafe { - ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); - s.assume_init() - } - } -} -impl Default for siginfo_t__bindgen_ty_1 { - fn default() -> Self { - let mut s = ::std::mem::MaybeUninit::::uninit(); - unsafe { - ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); - s.assume_init() - } - } -} -impl Default for siginfo_t { - fn default() -> Self { - let mut s = ::std::mem::MaybeUninit::::uninit(); - unsafe { - ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); - s.assume_init() - } - } -} -pub const SI_ASYNCNL: ::std::os::raw::c_int = -60; -pub const SI_DETHREAD: ::std::os::raw::c_int = -7; -pub const SI_TKILL: ::std::os::raw::c_int = -6; -pub const SI_SIGIO: ::std::os::raw::c_int = -5; -pub const SI_ASYNCIO: ::std::os::raw::c_int = -4; -pub const SI_MESGQ: ::std::os::raw::c_int = -3; -pub const SI_TIMER: ::std::os::raw::c_int = -2; -pub const SI_QUEUE: ::std::os::raw::c_int = -1; -pub const SI_USER: ::std::os::raw::c_int = 0; -pub const SI_KERNEL: ::std::os::raw::c_int = 128; -pub type _bindgen_ty_10 = ::std::os::raw::c_int; -pub const ILL_ILLOPC: ::std::os::raw::c_uint = 1; -pub const ILL_ILLOPN: ::std::os::raw::c_uint = 2; -pub const ILL_ILLADR: ::std::os::raw::c_uint = 3; -pub const ILL_ILLTRP: ::std::os::raw::c_uint = 4; -pub const ILL_PRVOPC: ::std::os::raw::c_uint = 5; -pub const ILL_PRVREG: ::std::os::raw::c_uint = 6; -pub const ILL_COPROC: ::std::os::raw::c_uint = 7; -pub const ILL_BADSTK: ::std::os::raw::c_uint = 8; -pub const ILL_BADIADDR: ::std::os::raw::c_uint = 9; -pub type _bindgen_ty_11 = ::std::os::raw::c_uint; -pub const FPE_INTDIV: ::std::os::raw::c_uint = 1; -pub const FPE_INTOVF: ::std::os::raw::c_uint = 2; -pub const FPE_FLTDIV: ::std::os::raw::c_uint = 3; -pub const FPE_FLTOVF: ::std::os::raw::c_uint = 4; -pub const FPE_FLTUND: ::std::os::raw::c_uint = 5; -pub const FPE_FLTRES: ::std::os::raw::c_uint = 6; -pub const FPE_FLTINV: ::std::os::raw::c_uint = 7; -pub const FPE_FLTSUB: ::std::os::raw::c_uint = 8; -pub const FPE_FLTUNK: ::std::os::raw::c_uint = 14; -pub const FPE_CONDTRAP: ::std::os::raw::c_uint = 15; -pub type _bindgen_ty_12 = ::std::os::raw::c_uint; -pub const SEGV_MAPERR: ::std::os::raw::c_uint = 1; -pub const SEGV_ACCERR: ::std::os::raw::c_uint = 2; -pub const SEGV_BNDERR: ::std::os::raw::c_uint = 3; -pub const SEGV_PKUERR: ::std::os::raw::c_uint = 4; -pub const SEGV_ACCADI: ::std::os::raw::c_uint = 5; -pub const SEGV_ADIDERR: ::std::os::raw::c_uint = 6; -pub const SEGV_ADIPERR: ::std::os::raw::c_uint = 7; -pub const SEGV_MTEAERR: ::std::os::raw::c_uint = 8; -pub const SEGV_MTESERR: ::std::os::raw::c_uint = 9; -pub type _bindgen_ty_13 = ::std::os::raw::c_uint; -pub const BUS_ADRALN: ::std::os::raw::c_uint = 1; -pub const BUS_ADRERR: ::std::os::raw::c_uint = 2; -pub const BUS_OBJERR: ::std::os::raw::c_uint = 3; -pub const BUS_MCEERR_AR: ::std::os::raw::c_uint = 4; -pub const BUS_MCEERR_AO: ::std::os::raw::c_uint = 5; -pub type _bindgen_ty_14 = ::std::os::raw::c_uint; -pub const CLD_EXITED: ::std::os::raw::c_uint = 1; -pub const CLD_KILLED: ::std::os::raw::c_uint = 2; -pub const CLD_DUMPED: ::std::os::raw::c_uint = 3; -pub const CLD_TRAPPED: ::std::os::raw::c_uint = 4; -pub const CLD_STOPPED: ::std::os::raw::c_uint = 5; -pub const CLD_CONTINUED: ::std::os::raw::c_uint = 6; -pub type _bindgen_ty_15 = ::std::os::raw::c_uint; -pub const POLL_IN: ::std::os::raw::c_uint = 1; -pub const POLL_OUT: ::std::os::raw::c_uint = 2; -pub const POLL_MSG: ::std::os::raw::c_uint = 3; -pub const POLL_ERR: ::std::os::raw::c_uint = 4; -pub const POLL_PRI: ::std::os::raw::c_uint = 5; -pub const POLL_HUP: ::std::os::raw::c_uint = 6; -pub type _bindgen_ty_16 = ::std::os::raw::c_uint; -pub type sigval_t = __sigval_t; -#[repr(C)] -#[derive(Copy, Clone)] -pub struct sigevent { - pub sigev_value: __sigval_t, - pub sigev_signo: ::std::os::raw::c_int, - pub sigev_notify: ::std::os::raw::c_int, - pub _sigev_un: sigevent__bindgen_ty_1, -} -#[repr(C)] -#[derive(Copy, Clone)] -pub union sigevent__bindgen_ty_1 { - pub _pad: [::std::os::raw::c_int; 12usize], - pub _tid: __pid_t, - pub _sigev_thread: sigevent__bindgen_ty_1__bindgen_ty_1, -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct sigevent__bindgen_ty_1__bindgen_ty_1 { - pub _function: ::std::option::Option, - pub _attribute: *mut pthread_attr_t, -} -impl Default for sigevent__bindgen_ty_1__bindgen_ty_1 { - fn default() -> Self { - let mut s = ::std::mem::MaybeUninit::::uninit(); - unsafe { - ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); - s.assume_init() - } - } -} -impl Default for sigevent__bindgen_ty_1 { - fn default() -> Self { - let mut s = ::std::mem::MaybeUninit::::uninit(); - unsafe { - ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); - s.assume_init() - } - } -} -impl Default for sigevent { - fn default() -> Self { - let mut s = ::std::mem::MaybeUninit::::uninit(); - unsafe { - ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); - s.assume_init() - } - } -} -pub type sigevent_t = sigevent; -pub const SIGEV_SIGNAL: ::std::os::raw::c_uint = 0; -pub const SIGEV_NONE: ::std::os::raw::c_uint = 1; -pub const SIGEV_THREAD: ::std::os::raw::c_uint = 2; -pub const SIGEV_THREAD_ID: ::std::os::raw::c_uint = 4; -pub type _bindgen_ty_17 = ::std::os::raw::c_uint; -pub type __sighandler_t = ::std::option::Option; #[pg_guard] extern "C" { - pub fn __sysv_signal(__sig: ::std::os::raw::c_int, __handler: __sighandler_t) - -> __sighandler_t; + pub static sys_signame: [*const ::std::os::raw::c_char; 32usize]; } #[pg_guard] extern "C" { - pub fn signal(__sig: ::std::os::raw::c_int, __handler: __sighandler_t) -> __sighandler_t; + pub static sys_siglist: [*const ::std::os::raw::c_char; 32usize]; } #[pg_guard] extern "C" { - pub fn kill(__pid: __pid_t, __sig: ::std::os::raw::c_int) -> ::std::os::raw::c_int; + pub fn raise(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn killpg(__pgrp: __pid_t, __sig: ::std::os::raw::c_int) -> ::std::os::raw::c_int; + pub fn bsd_signal( + arg1: ::std::os::raw::c_int, + arg2: ::std::option::Option, + ) -> ::std::option::Option< + unsafe extern "C" fn( + arg1: ::std::os::raw::c_int, + arg2: ::std::option::Option, + ), + >; } #[pg_guard] extern "C" { - pub fn raise(__sig: ::std::os::raw::c_int) -> ::std::os::raw::c_int; + pub fn kill(arg1: pid_t, arg2: ::std::os::raw::c_int) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn ssignal(__sig: ::std::os::raw::c_int, __handler: __sighandler_t) -> __sighandler_t; + pub fn killpg(arg1: pid_t, arg2: ::std::os::raw::c_int) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn gsignal(__sig: ::std::os::raw::c_int) -> ::std::os::raw::c_int; + pub fn pthread_kill(arg1: pthread_t, arg2: ::std::os::raw::c_int) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn psignal(__sig: ::std::os::raw::c_int, __s: *const ::std::os::raw::c_char); + pub fn pthread_sigmask( + arg1: ::std::os::raw::c_int, + arg2: *const sigset_t, + arg3: *mut sigset_t, + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn psiginfo(__pinfo: *const siginfo_t, __s: *const ::std::os::raw::c_char); + pub fn sigaction( + arg1: ::std::os::raw::c_int, + arg2: *const sigaction, + arg3: *mut sigaction, + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn sigblock(__mask: ::std::os::raw::c_int) -> ::std::os::raw::c_int; + pub fn sigaddset(arg1: *mut sigset_t, arg2: ::std::os::raw::c_int) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn sigsetmask(__mask: ::std::os::raw::c_int) -> ::std::os::raw::c_int; + pub fn sigaltstack(arg1: *const stack_t, arg2: *mut stack_t) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn siggetmask() -> ::std::os::raw::c_int; + pub fn sigdelset(arg1: *mut sigset_t, arg2: ::std::os::raw::c_int) -> ::std::os::raw::c_int; } -pub type sig_t = __sighandler_t; #[pg_guard] extern "C" { - pub fn sigemptyset(__set: *mut sigset_t) -> ::std::os::raw::c_int; + pub fn sigemptyset(arg1: *mut sigset_t) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn sigfillset(__set: *mut sigset_t) -> ::std::os::raw::c_int; + pub fn sigfillset(arg1: *mut sigset_t) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn sigaddset(__set: *mut sigset_t, __signo: ::std::os::raw::c_int) - -> ::std::os::raw::c_int; + pub fn sighold(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn sigdelset(__set: *mut sigset_t, __signo: ::std::os::raw::c_int) - -> ::std::os::raw::c_int; + pub fn sigignore(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn sigismember( - __set: *const sigset_t, - __signo: ::std::os::raw::c_int, + pub fn siginterrupt( + arg1: ::std::os::raw::c_int, + arg2: ::std::os::raw::c_int, ) -> ::std::os::raw::c_int; } -#[repr(C)] -#[derive(Copy, Clone)] -pub struct sigaction { - pub __sigaction_handler: sigaction__bindgen_ty_1, - pub sa_mask: __sigset_t, - pub sa_flags: ::std::os::raw::c_int, - pub sa_restorer: ::std::option::Option, -} -#[repr(C)] -#[derive(Copy, Clone)] -pub union sigaction__bindgen_ty_1 { - pub sa_handler: __sighandler_t, - pub sa_sigaction: ::std::option::Option< - unsafe extern "C" fn( - arg1: ::std::os::raw::c_int, - arg2: *mut siginfo_t, - arg3: *mut ::std::os::raw::c_void, - ), - >, -} -impl Default for sigaction__bindgen_ty_1 { - fn default() -> Self { - let mut s = ::std::mem::MaybeUninit::::uninit(); - unsafe { - ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); - s.assume_init() - } - } -} -impl Default for sigaction { - fn default() -> Self { - let mut s = ::std::mem::MaybeUninit::::uninit(); - unsafe { - ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); - s.assume_init() - } - } -} #[pg_guard] extern "C" { - pub fn sigprocmask( - __how: ::std::os::raw::c_int, - __set: *const sigset_t, - __oset: *mut sigset_t, - ) -> ::std::os::raw::c_int; + pub fn sigismember(arg1: *const sigset_t, arg2: ::std::os::raw::c_int) + -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn sigsuspend(__set: *const sigset_t) -> ::std::os::raw::c_int; + pub fn sigpause(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn sigaction( - __sig: ::std::os::raw::c_int, - __act: *const sigaction, - __oact: *mut sigaction, - ) -> ::std::os::raw::c_int; + pub fn sigpending(arg1: *mut sigset_t) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn sigpending(__set: *mut sigset_t) -> ::std::os::raw::c_int; -} -#[pg_guard] -extern "C" { - pub fn sigwait( - __set: *const sigset_t, - __sig: *mut ::std::os::raw::c_int, + pub fn sigprocmask( + arg1: ::std::os::raw::c_int, + arg2: *const sigset_t, + arg3: *mut sigset_t, ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn sigwaitinfo(__set: *const sigset_t, __info: *mut siginfo_t) -> ::std::os::raw::c_int; + pub fn sigrelse(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn sigtimedwait( - __set: *const sigset_t, - __info: *mut siginfo_t, - __timeout: *const timespec, - ) -> ::std::os::raw::c_int; + pub fn sigset( + arg1: ::std::os::raw::c_int, + arg2: ::std::option::Option, + ) -> ::std::option::Option< + unsafe extern "C" fn( + arg1: ::std::os::raw::c_int, + arg2: ::std::option::Option, + ), + >; } #[pg_guard] extern "C" { - pub fn sigqueue( - __pid: __pid_t, - __sig: ::std::os::raw::c_int, - __val: sigval, - ) -> ::std::os::raw::c_int; -} -#[repr(C)] -#[derive(Debug, Default, Copy, Clone)] -pub struct _fpx_sw_bytes { - pub magic1: __uint32_t, - pub extended_size: __uint32_t, - pub xstate_bv: __uint64_t, - pub xstate_size: __uint32_t, - pub __glibc_reserved1: [__uint32_t; 7usize], -} -#[repr(C)] -#[derive(Debug, Default, Copy, Clone)] -pub struct _fpreg { - pub significand: [::std::os::raw::c_ushort; 4usize], - pub exponent: ::std::os::raw::c_ushort, -} -#[repr(C)] -#[derive(Debug, Default, Copy, Clone)] -pub struct _fpxreg { - pub significand: [::std::os::raw::c_ushort; 4usize], - pub exponent: ::std::os::raw::c_ushort, - pub __glibc_reserved1: [::std::os::raw::c_ushort; 3usize], -} -#[repr(C)] -#[derive(Debug, Default, Copy, Clone)] -pub struct _xmmreg { - pub element: [__uint32_t; 4usize], -} -#[repr(C)] -#[derive(Debug, Default, Copy, Clone)] -pub struct _fpstate { - pub cwd: __uint16_t, - pub swd: __uint16_t, - pub ftw: __uint16_t, - pub fop: __uint16_t, - pub rip: __uint64_t, - pub rdp: __uint64_t, - pub mxcsr: __uint32_t, - pub mxcr_mask: __uint32_t, - pub _st: [_fpxreg; 8usize], - pub _xmm: [_xmmreg; 16usize], - pub __glibc_reserved1: [__uint32_t; 24usize], -} -#[repr(C)] -#[derive(Copy, Clone)] -pub struct sigcontext { - pub r8: __uint64_t, - pub r9: __uint64_t, - pub r10: __uint64_t, - pub r11: __uint64_t, - pub r12: __uint64_t, - pub r13: __uint64_t, - pub r14: __uint64_t, - pub r15: __uint64_t, - pub rdi: __uint64_t, - pub rsi: __uint64_t, - pub rbp: __uint64_t, - pub rbx: __uint64_t, - pub rdx: __uint64_t, - pub rax: __uint64_t, - pub rcx: __uint64_t, - pub rsp: __uint64_t, - pub rip: __uint64_t, - pub eflags: __uint64_t, - pub cs: ::std::os::raw::c_ushort, - pub gs: ::std::os::raw::c_ushort, - pub fs: ::std::os::raw::c_ushort, - pub __pad0: ::std::os::raw::c_ushort, - pub err: __uint64_t, - pub trapno: __uint64_t, - pub oldmask: __uint64_t, - pub cr2: __uint64_t, - pub __bindgen_anon_1: sigcontext__bindgen_ty_1, - pub __reserved1: [__uint64_t; 8usize], -} -#[repr(C)] -#[derive(Copy, Clone)] -pub union sigcontext__bindgen_ty_1 { - pub fpstate: *mut _fpstate, - pub __fpstate_word: __uint64_t, -} -impl Default for sigcontext__bindgen_ty_1 { - fn default() -> Self { - let mut s = ::std::mem::MaybeUninit::::uninit(); - unsafe { - ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); - s.assume_init() - } - } -} -impl Default for sigcontext { - fn default() -> Self { - let mut s = ::std::mem::MaybeUninit::::uninit(); - unsafe { - ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); - s.assume_init() - } - } -} -#[repr(C)] -#[derive(Debug, Default, Copy, Clone)] -pub struct _xsave_hdr { - pub xstate_bv: __uint64_t, - pub __glibc_reserved1: [__uint64_t; 2usize], - pub __glibc_reserved2: [__uint64_t; 5usize], -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _ymmh_state { - pub ymmh_space: [__uint32_t; 64usize], -} -impl Default for _ymmh_state { - fn default() -> Self { - let mut s = ::std::mem::MaybeUninit::::uninit(); - unsafe { - ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); - s.assume_init() - } - } -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _xstate { - pub fpstate: _fpstate, - pub xstate_hdr: _xsave_hdr, - pub ymmh: _ymmh_state, -} -impl Default for _xstate { - fn default() -> Self { - let mut s = ::std::mem::MaybeUninit::::uninit(); - unsafe { - ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); - s.assume_init() - } - } + pub fn sigsuspend(arg1: *const sigset_t) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn sigreturn(__scp: *mut sigcontext) -> ::std::os::raw::c_int; -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct stack_t { - pub ss_sp: *mut ::std::os::raw::c_void, - pub ss_flags: ::std::os::raw::c_int, - pub ss_size: usize, -} -impl Default for stack_t { - fn default() -> Self { - let mut s = ::std::mem::MaybeUninit::::uninit(); - unsafe { - ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); - s.assume_init() - } - } -} -pub type greg_t = ::std::os::raw::c_longlong; -pub type gregset_t = [greg_t; 23usize]; -#[repr(C)] -#[derive(Debug, Default, Copy, Clone)] -pub struct _libc_fpxreg { - pub significand: [::std::os::raw::c_ushort; 4usize], - pub exponent: ::std::os::raw::c_ushort, - pub __glibc_reserved1: [::std::os::raw::c_ushort; 3usize], -} -#[repr(C)] -#[derive(Debug, Default, Copy, Clone)] -pub struct _libc_xmmreg { - pub element: [__uint32_t; 4usize], -} -#[repr(C)] -#[derive(Debug, Default, Copy, Clone)] -pub struct _libc_fpstate { - pub cwd: __uint16_t, - pub swd: __uint16_t, - pub ftw: __uint16_t, - pub fop: __uint16_t, - pub rip: __uint64_t, - pub rdp: __uint64_t, - pub mxcsr: __uint32_t, - pub mxcr_mask: __uint32_t, - pub _st: [_libc_fpxreg; 8usize], - pub _xmm: [_libc_xmmreg; 16usize], - pub __glibc_reserved1: [__uint32_t; 24usize], -} -pub type fpregset_t = *mut _libc_fpstate; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct mcontext_t { - pub gregs: gregset_t, - pub fpregs: fpregset_t, - pub __reserved1: [::std::os::raw::c_ulonglong; 8usize], -} -impl Default for mcontext_t { - fn default() -> Self { - let mut s = ::std::mem::MaybeUninit::::uninit(); - unsafe { - ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); - s.assume_init() - } - } -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct ucontext_t { - pub uc_flags: ::std::os::raw::c_ulong, - pub uc_link: *mut ucontext_t, - pub uc_stack: stack_t, - pub uc_mcontext: mcontext_t, - pub uc_sigmask: sigset_t, - pub __fpregs_mem: _libc_fpstate, - pub __ssp: [::std::os::raw::c_ulonglong; 4usize], -} -impl Default for ucontext_t { - fn default() -> Self { - let mut s = ::std::mem::MaybeUninit::::uninit(); - unsafe { - ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); - s.assume_init() - } - } -} -#[pg_guard] -extern "C" { - pub fn siginterrupt( - __sig: ::std::os::raw::c_int, - __interrupt: ::std::os::raw::c_int, + pub fn sigwait( + arg1: *const sigset_t, + arg2: *mut ::std::os::raw::c_int, ) -> ::std::os::raw::c_int; } -pub const SS_ONSTACK: ::std::os::raw::c_uint = 1; -pub const SS_DISABLE: ::std::os::raw::c_uint = 2; -pub type _bindgen_ty_18 = ::std::os::raw::c_uint; #[pg_guard] extern "C" { - pub fn sigaltstack(__ss: *const stack_t, __oss: *mut stack_t) -> ::std::os::raw::c_int; -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct sigstack { - pub ss_sp: *mut ::std::os::raw::c_void, - pub ss_onstack: ::std::os::raw::c_int, -} -impl Default for sigstack { - fn default() -> Self { - let mut s = ::std::mem::MaybeUninit::::uninit(); - unsafe { - ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); - s.assume_init() - } - } + pub fn psignal(arg1: ::std::os::raw::c_uint, arg2: *const ::std::os::raw::c_char); } #[pg_guard] extern "C" { - pub fn sigstack(__ss: *mut sigstack, __oss: *mut sigstack) -> ::std::os::raw::c_int; + pub fn sigblock(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn pthread_sigmask( - __how: ::std::os::raw::c_int, - __newmask: *const __sigset_t, - __oldmask: *mut __sigset_t, - ) -> ::std::os::raw::c_int; + pub fn sigsetmask(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn pthread_kill( - __threadid: pthread_t, - __signo: ::std::os::raw::c_int, + pub fn sigvec( + arg1: ::std::os::raw::c_int, + arg2: *mut sigvec, + arg3: *mut sigvec, ) -> ::std::os::raw::c_int; } -#[pg_guard] -extern "C" { - pub fn __libc_current_sigrtmin() -> ::std::os::raw::c_int; -} -#[pg_guard] -extern "C" { - pub fn __libc_current_sigrtmax() -> ::std::os::raw::c_int; -} pub type pg_time_t = int64; #[repr(C)] #[derive(Debug, Copy, Clone)] @@ -26511,8 +26313,9 @@ extern "C" { #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct sockaddr_un { + pub sun_len: ::std::os::raw::c_uchar, pub sun_family: sa_family_t, - pub sun_path: [::std::os::raw::c_char; 108usize], + pub sun_path: [::std::os::raw::c_char; 104usize], } impl Default for sockaddr_un { fn default() -> Self { @@ -26604,25 +26407,7 @@ pub type RmgrIds = ::std::os::raw::c_uint; pub type pg_crc32c = uint32; #[pg_guard] extern "C" { - pub fn pg_comp_crc32c_sb8( - crc: pg_crc32c, - data: *const ::std::os::raw::c_void, - len: usize, - ) -> pg_crc32c; -} -#[pg_guard] -extern "C" { - pub static mut pg_comp_crc32c: ::std::option::Option< - unsafe extern "C" fn( - crc: pg_crc32c, - data: *const ::std::os::raw::c_void, - len: usize, - ) -> pg_crc32c, - >; -} -#[pg_guard] -extern "C" { - pub fn pg_comp_crc32c_sse42( + pub fn pg_comp_crc32c_armv8( crc: pg_crc32c, data: *const ::std::os::raw::c_void, len: usize, @@ -34184,6 +33969,58 @@ extern "C" { ); } #[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct FormData_pg_operator { + pub oprname: NameData, + pub oprnamespace: Oid, + pub oprowner: Oid, + pub oprkind: ::std::os::raw::c_char, + pub oprcanmerge: bool, + pub oprcanhash: bool, + pub oprleft: Oid, + pub oprright: Oid, + pub oprresult: Oid, + pub oprcom: Oid, + pub oprnegate: Oid, + pub oprcode: regproc, + pub oprrest: regproc, + pub oprjoin: regproc, +} +impl Default for FormData_pg_operator { + fn default() -> Self { + let mut s = ::std::mem::MaybeUninit::::uninit(); + unsafe { + ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); + s.assume_init() + } + } +} +pub type Form_pg_operator = *mut FormData_pg_operator; +#[pg_guard] +extern "C" { + pub fn OperatorCreate( + operatorName: *const ::std::os::raw::c_char, + operatorNamespace: Oid, + leftTypeId: Oid, + rightTypeId: Oid, + procedureId: Oid, + commutatorName: *mut List, + negatorName: *mut List, + restrictionId: Oid, + joinId: Oid, + canMerge: bool, + canHash: bool, + ) -> ObjectAddress; +} +#[pg_guard] +extern "C" { + pub fn makeOperatorDependencies(tuple: HeapTuple, isUpdate: bool) -> ObjectAddress; +} +#[pg_guard] +extern "C" { + pub fn OperatorUpd(baseId: Oid, commId: Oid, negId: Oid, isDelete: bool); +} +#[repr(C)] #[derive(Debug)] pub struct FormData_pg_proc { pub proname: NameData, @@ -55432,13 +55269,6 @@ extern "C" { ) -> ::std::os::raw::c_int; } #[pg_guard] -extern "C" { - pub fn xidLogicalComparator( - arg1: *const ::std::os::raw::c_void, - arg2: *const ::std::os::raw::c_void, - ) -> ::std::os::raw::c_int; -} -#[pg_guard] extern "C" { pub fn inet_cidr_ntop( af: ::std::os::raw::c_int, @@ -57453,29 +57283,8 @@ extern "C" { extern "C" { pub fn SharedRecordTypmodRegistryAttach(arg1: *mut SharedRecordTypmodRegistry); } -pub type __builtin_va_list = [__va_list_tag; 1usize]; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct __va_list_tag { - pub gp_offset: ::std::os::raw::c_uint, - pub fp_offset: ::std::os::raw::c_uint, - pub overflow_arg_area: *mut ::std::os::raw::c_void, - pub reg_save_area: *mut ::std::os::raw::c_void, -} -impl Default for __va_list_tag { - fn default() -> Self { - let mut s = ::std::mem::MaybeUninit::::uninit(); - unsafe { - ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); - s.assume_init() - } - } -} -#[repr(C)] -#[derive(Debug, Default, Copy, Clone)] -pub struct __locale_data { - pub _address: u8, -} +pub type __builtin_va_list = *mut ::std::os::raw::c_char; +pub type __uint128_t = u128; #[repr(C)] #[derive(Debug, Default, Copy, Clone)] pub struct JitContext { diff --git a/pgx-pg-sys/src/pg12.rs b/pgx-pg-sys/src/pg12.rs index 1c47ee350..426610b41 100644 --- a/pgx-pg-sys/src/pg12.rs +++ b/pgx-pg-sys/src/pg12.rs @@ -181,25 +181,26 @@ pub const BLCKSZ: u32 = 8192; pub const DEF_PGPORT: u32 = 28812; pub const DEF_PGPORT_STR: &[u8; 6usize] = b"28812\0"; pub const ENABLE_THREAD_SAFETY: u32 = 1; -pub const HAVE_APPEND_HISTORY: u32 = 1; pub const HAVE_ATOMICS: u32 = 1; pub const HAVE_CBRT: u32 = 1; pub const HAVE_CLOCK_GETTIME: u32 = 1; pub const HAVE_COMPUTED_GOTO: u32 = 1; +pub const HAVE_COPYFILE: u32 = 1; +pub const HAVE_COPYFILE_H: u32 = 1; pub const HAVE_CRYPT: u32 = 1; -pub const HAVE_CRYPT_H: u32 = 1; -pub const HAVE_DECL_FDATASYNC: u32 = 1; -pub const HAVE_DECL_F_FULLFSYNC: u32 = 0; -pub const HAVE_DECL_POSIX_FADVISE: u32 = 1; +pub const HAVE_DECL_FDATASYNC: u32 = 0; +pub const HAVE_DECL_F_FULLFSYNC: u32 = 1; +pub const HAVE_DECL_POSIX_FADVISE: u32 = 0; pub const HAVE_DECL_RTLD_GLOBAL: u32 = 1; pub const HAVE_DECL_RTLD_NOW: u32 = 1; -pub const HAVE_DECL_STRLCAT: u32 = 0; -pub const HAVE_DECL_STRLCPY: u32 = 0; +pub const HAVE_DECL_STRLCAT: u32 = 1; +pub const HAVE_DECL_STRLCPY: u32 = 1; pub const HAVE_DECL_STRNLEN: u32 = 1; pub const HAVE_DECL_STRTOLL: u32 = 1; pub const HAVE_DECL_STRTOULL: u32 = 1; pub const HAVE_DLOPEN: u32 = 1; pub const HAVE_FDATASYNC: u32 = 1; +pub const HAVE_FLS: u32 = 1; pub const HAVE_FSEEKO: u32 = 1; pub const HAVE_FUNCNAME__FUNC: u32 = 1; pub const HAVE_GCC__ATOMIC_INT32_CAS: u32 = 1; @@ -209,11 +210,11 @@ pub const HAVE_GCC__SYNC_INT32_CAS: u32 = 1; pub const HAVE_GCC__SYNC_INT32_TAS: u32 = 1; pub const HAVE_GCC__SYNC_INT64_CAS: u32 = 1; pub const HAVE_GETADDRINFO: u32 = 1; -pub const HAVE_GETHOSTBYNAME_R: u32 = 1; pub const HAVE_GETIFADDRS: u32 = 1; pub const HAVE_GETOPT: u32 = 1; pub const HAVE_GETOPT_H: u32 = 1; pub const HAVE_GETOPT_LONG: u32 = 1; +pub const HAVE_GETPEEREID: u32 = 1; pub const HAVE_GETPWUID_R: u32 = 1; pub const HAVE_GETRLIMIT: u32 = 1; pub const HAVE_GETRUSAGE: u32 = 1; @@ -223,6 +224,7 @@ pub const HAVE_INET_ATON: u32 = 1; pub const HAVE_INTPTR_T: u32 = 1; pub const HAVE_INTTYPES_H: u32 = 1; pub const HAVE_INT_OPTERR: u32 = 1; +pub const HAVE_INT_OPTRESET: u32 = 1; pub const HAVE_INT_TIMEZONE: u32 = 1; pub const HAVE_IPV6: u32 = 1; pub const HAVE_ISINF: u32 = 1; @@ -233,6 +235,7 @@ pub const HAVE_LIBZ: u32 = 1; pub const HAVE_LOCALE_T: u32 = 1; pub const HAVE_LONG_INT_64: u32 = 1; pub const HAVE_LONG_LONG_INT: u32 = 1; +pub const HAVE_MBSTOWCS_L: u32 = 1; pub const HAVE_MEMMOVE: u32 = 1; pub const HAVE_MEMORY_H: u32 = 1; pub const HAVE_MKDTEMP: u32 = 1; @@ -240,11 +243,9 @@ pub const HAVE_NETINET_TCP_H: u32 = 1; pub const HAVE_NET_IF_H: u32 = 1; pub const HAVE_POLL: u32 = 1; pub const HAVE_POLL_H: u32 = 1; -pub const HAVE_POSIX_FADVISE: u32 = 1; -pub const HAVE_POSIX_FALLOCATE: u32 = 1; -pub const HAVE_PPOLL: u32 = 1; pub const HAVE_PREAD: u32 = 1; pub const HAVE_PTHREAD: u32 = 1; +pub const HAVE_PTHREAD_IS_THREADED_NP: u32 = 1; pub const HAVE_PTHREAD_PRIO_INHERIT: u32 = 1; pub const HAVE_PWRITE: u32 = 1; pub const HAVE_RANDOM: u32 = 1; @@ -255,7 +256,6 @@ pub const HAVE_RINT: u32 = 1; pub const HAVE_RL_COMPLETION_APPEND_CHARACTER: u32 = 1; pub const HAVE_RL_COMPLETION_MATCHES: u32 = 1; pub const HAVE_RL_FILENAME_COMPLETION_FUNCTION: u32 = 1; -pub const HAVE_RL_RESET_SCREEN_SIZE: u32 = 1; pub const HAVE_SETENV: u32 = 1; pub const HAVE_SETSID: u32 = 1; pub const HAVE_SHM_OPEN: u32 = 1; @@ -264,10 +264,11 @@ pub const HAVE_SRANDOM: u32 = 1; pub const HAVE_STDBOOL_H: u32 = 1; pub const HAVE_STDINT_H: u32 = 1; pub const HAVE_STDLIB_H: u32 = 1; -pub const HAVE_STRCHRNUL: u32 = 1; pub const HAVE_STRERROR_R: u32 = 1; pub const HAVE_STRINGS_H: u32 = 1; pub const HAVE_STRING_H: u32 = 1; +pub const HAVE_STRLCAT: u32 = 1; +pub const HAVE_STRLCPY: u32 = 1; pub const HAVE_STRNLEN: u32 = 1; pub const HAVE_STRSIGNAL: u32 = 1; pub const HAVE_STRTOF: u32 = 1; @@ -275,27 +276,29 @@ pub const HAVE_STRTOLL: u32 = 1; pub const HAVE_STRTOULL: u32 = 1; pub const HAVE_STRUCT_ADDRINFO: u32 = 1; pub const HAVE_STRUCT_OPTION: u32 = 1; +pub const HAVE_STRUCT_SOCKADDR_SA_LEN: u32 = 1; pub const HAVE_STRUCT_SOCKADDR_STORAGE: u32 = 1; pub const HAVE_STRUCT_SOCKADDR_STORAGE_SS_FAMILY: u32 = 1; +pub const HAVE_STRUCT_SOCKADDR_STORAGE_SS_LEN: u32 = 1; pub const HAVE_STRUCT_TM_TM_ZONE: u32 = 1; pub const HAVE_SYMLINK: u32 = 1; -pub const HAVE_SYNC_FILE_RANGE: u32 = 1; pub const HAVE_SYSLOG: u32 = 1; -pub const HAVE_SYS_EPOLL_H: u32 = 1; pub const HAVE_SYS_IPC_H: u32 = 1; -pub const HAVE_SYS_PRCTL_H: u32 = 1; pub const HAVE_SYS_RESOURCE_H: u32 = 1; pub const HAVE_SYS_SELECT_H: u32 = 1; pub const HAVE_SYS_SEM_H: u32 = 1; pub const HAVE_SYS_SHM_H: u32 = 1; +pub const HAVE_SYS_SOCKIO_H: u32 = 1; pub const HAVE_SYS_STAT_H: u32 = 1; pub const HAVE_SYS_TYPES_H: u32 = 1; +pub const HAVE_SYS_UCRED_H: u32 = 1; pub const HAVE_SYS_UN_H: u32 = 1; pub const HAVE_TERMIOS_H: u32 = 1; pub const HAVE_TM_ZONE: u32 = 1; pub const HAVE_TYPEOF: u32 = 1; pub const HAVE_TZNAME: u32 = 1; pub const HAVE_UINTPTR_T: u32 = 1; +pub const HAVE_UNION_SEMUN: u32 = 1; pub const HAVE_UNISTD_H: u32 = 1; pub const HAVE_UNIX_SOCKETS: u32 = 1; pub const HAVE_UNSETENV: u32 = 1; @@ -305,8 +308,8 @@ pub const HAVE_UTIME: u32 = 1; pub const HAVE_UTIMES: u32 = 1; pub const HAVE_UTIME_H: u32 = 1; pub const HAVE_WCHAR_H: u32 = 1; +pub const HAVE_WCSTOMBS_L: u32 = 1; pub const HAVE_WCTYPE_H: u32 = 1; -pub const HAVE_X86_64_POPCNTQ: u32 = 1; pub const HAVE__BOOL: u32 = 1; pub const HAVE__BUILTIN_BSWAP16: u32 = 1; pub const HAVE__BUILTIN_BSWAP32: u32 = 1; @@ -318,22 +321,22 @@ pub const HAVE__BUILTIN_OP_OVERFLOW: u32 = 1; pub const HAVE__BUILTIN_POPCOUNT: u32 = 1; pub const HAVE__BUILTIN_TYPES_COMPATIBLE_P: u32 = 1; pub const HAVE__BUILTIN_UNREACHABLE: u32 = 1; -pub const HAVE__GET_CPUID: u32 = 1; pub const HAVE__STATIC_ASSERT: u32 = 1; pub const INT64_MODIFIER: &[u8; 2usize] = b"l\0"; +pub const LOCALE_T_IN_XLOCALE: u32 = 1; pub const MAXIMUM_ALIGNOF: u32 = 8; pub const MEMSET_LOOP_LIMIT: u32 = 1024; pub const PACKAGE_BUGREPORT: &[u8; 32usize] = b"pgsql-bugs@lists.postgresql.org\0"; pub const PACKAGE_NAME: &[u8; 11usize] = b"PostgreSQL\0"; -pub const PACKAGE_STRING: &[u8; 17usize] = b"PostgreSQL 12.10\0"; +pub const PACKAGE_STRING: &[u8; 16usize] = b"PostgreSQL 12.9\0"; pub const PACKAGE_TARNAME: &[u8; 11usize] = b"postgresql\0"; pub const PACKAGE_URL: &[u8; 1usize] = b"\0"; -pub const PACKAGE_VERSION: &[u8; 6usize] = b"12.10\0"; +pub const PACKAGE_VERSION: &[u8; 5usize] = b"12.9\0"; pub const PG_KRB_SRVNAM: &[u8; 9usize] = b"postgres\0"; pub const PG_MAJORVERSION: &[u8; 3usize] = b"12\0"; -pub const PG_VERSION: &[u8; 6usize] = b"12.10\0"; -pub const PG_VERSION_NUM: u32 = 120010; -pub const PG_VERSION_STR : & [u8 ; 97usize] = b"PostgreSQL 12.10 on x86_64-pc-linux-gnu, compiled by gcc (Ubuntu 11.2.0-7ubuntu2) 11.2.0, 64-bit\0" ; +pub const PG_VERSION: &[u8; 5usize] = b"12.9\0"; +pub const PG_VERSION_NUM: u32 = 120009; +pub const PG_VERSION_STR : & [u8 ; 111usize] = b"PostgreSQL 12.9 on arm-apple-darwin21.3.0, compiled by Apple clang version 13.0.0 (clang-1300.0.29.30), 64-bit\0" ; pub const RELSEG_SIZE: u32 = 131072; pub const SIZEOF_BOOL: u32 = 1; pub const SIZEOF_LONG: u32 = 8; @@ -341,13 +344,15 @@ pub const SIZEOF_OFF_T: u32 = 8; pub const SIZEOF_SIZE_T: u32 = 8; pub const SIZEOF_VOID_P: u32 = 8; pub const STDC_HEADERS: u32 = 1; +pub const STRERROR_R_INT: u32 = 1; +pub const USE_ARMV8_CRC32C: u32 = 1; pub const USE_ASSERT_CHECKING: u32 = 1; pub const USE_DEV_URANDOM: u32 = 1; pub const USE_FLOAT4_BYVAL: u32 = 1; pub const USE_FLOAT8_BYVAL: u32 = 1; -pub const USE_SSE42_CRC32C_WITH_RUNTIME_CHECK: u32 = 1; +pub const USE_SYSV_SEMAPHORES: u32 = 1; pub const USE_SYSV_SHARED_MEMORY: u32 = 1; -pub const USE_UNNAMED_POSIX_SEMAPHORES: u32 = 1; +pub const WCSTOMBS_L_IN_XLOCALE: u32 = 1; pub const XLOG_BLCKSZ: u32 = 8192; pub const DEFAULT_XLOG_SEG_SIZE: u32 = 16777216; pub const NAMEDATALEN: u32 = 64; @@ -362,212 +367,548 @@ pub const BITS_PER_BYTE: u32 = 8; pub const ALIGNOF_BUFFER: u32 = 32; pub const HAVE_WORKING_LINK: u32 = 1; pub const DEFAULT_BACKEND_FLUSH_AFTER: u32 = 0; -pub const DEFAULT_BGWRITER_FLUSH_AFTER: u32 = 64; -pub const DEFAULT_CHECKPOINT_FLUSH_AFTER: u32 = 32; +pub const DEFAULT_BGWRITER_FLUSH_AFTER: u32 = 0; +pub const DEFAULT_CHECKPOINT_FLUSH_AFTER: u32 = 0; pub const WRITEBACK_MAX_PENDING_FLUSHES: u32 = 256; pub const DEFAULT_PGSOCKET_DIR: &[u8; 5usize] = b"/tmp\0"; pub const DEFAULT_EVENT_SOURCE: &[u8; 11usize] = b"PostgreSQL\0"; pub const PG_CACHE_LINE_SIZE: u32 = 128; pub const TRACE_SORT: u32 = 1; -pub const _STDIO_H: u32 = 1; -pub const _FEATURES_H: u32 = 1; -pub const _DEFAULT_SOURCE: u32 = 1; -pub const __GLIBC_USE_ISOC2X: u32 = 0; -pub const __USE_ISOC11: u32 = 1; -pub const __USE_ISOC99: u32 = 1; -pub const __USE_ISOC95: u32 = 1; -pub const __USE_POSIX_IMPLICITLY: u32 = 1; -pub const _POSIX_SOURCE: u32 = 1; -pub const _POSIX_C_SOURCE: u32 = 200809; -pub const __USE_POSIX: u32 = 1; -pub const __USE_POSIX2: u32 = 1; -pub const __USE_POSIX199309: u32 = 1; -pub const __USE_POSIX199506: u32 = 1; -pub const __USE_XOPEN2K: u32 = 1; -pub const __USE_XOPEN2K8: u32 = 1; -pub const _ATFILE_SOURCE: u32 = 1; -pub const __WORDSIZE: u32 = 64; -pub const __WORDSIZE_TIME64_COMPAT32: u32 = 1; -pub const __SYSCALL_WORDSIZE: u32 = 64; -pub const __TIMESIZE: u32 = 64; -pub const __USE_MISC: u32 = 1; -pub const __USE_ATFILE: u32 = 1; -pub const __USE_FORTIFY_LEVEL: u32 = 0; -pub const __GLIBC_USE_DEPRECATED_GETS: u32 = 0; -pub const __GLIBC_USE_DEPRECATED_SCANF: u32 = 0; -pub const _STDC_PREDEF_H: u32 = 1; -pub const __STDC_IEC_559__: u32 = 1; -pub const __STDC_IEC_559_COMPLEX__: u32 = 1; -pub const __STDC_ISO_10646__: u32 = 201706; -pub const __GNU_LIBRARY__: u32 = 6; -pub const __GLIBC__: u32 = 2; -pub const __GLIBC_MINOR__: u32 = 34; -pub const _SYS_CDEFS_H: u32 = 1; -pub const __glibc_c99_flexarr_available: u32 = 1; -pub const __LDOUBLE_REDIRECTS_TO_FLOAT128_ABI: u32 = 0; -pub const __HAVE_GENERIC_SELECTION: u32 = 1; -pub const __GLIBC_USE_LIB_EXT2: u32 = 0; -pub const __GLIBC_USE_IEC_60559_BFP_EXT: u32 = 0; -pub const __GLIBC_USE_IEC_60559_BFP_EXT_C2X: u32 = 0; -pub const __GLIBC_USE_IEC_60559_EXT: u32 = 0; -pub const __GLIBC_USE_IEC_60559_FUNCS_EXT: u32 = 0; -pub const __GLIBC_USE_IEC_60559_FUNCS_EXT_C2X: u32 = 0; -pub const __GLIBC_USE_IEC_60559_TYPES_EXT: u32 = 0; -pub const __GNUC_VA_LIST: u32 = 1; -pub const _BITS_TYPES_H: u32 = 1; -pub const _BITS_TYPESIZES_H: u32 = 1; -pub const __OFF_T_MATCHES_OFF64_T: u32 = 1; -pub const __INO_T_MATCHES_INO64_T: u32 = 1; -pub const __RLIM_T_MATCHES_RLIM64_T: u32 = 1; -pub const __STATFS_MATCHES_STATFS64: u32 = 1; -pub const __KERNEL_OLD_TIMEVAL_MATCHES_TIMEVAL64: u32 = 1; -pub const __FD_SETSIZE: u32 = 1024; -pub const _BITS_TIME64_H: u32 = 1; -pub const _____fpos_t_defined: u32 = 1; -pub const ____mbstate_t_defined: u32 = 1; -pub const _____fpos64_t_defined: u32 = 1; -pub const ____FILE_defined: u32 = 1; -pub const __FILE_defined: u32 = 1; -pub const __struct_FILE_defined: u32 = 1; -pub const _IO_EOF_SEEN: u32 = 16; -pub const _IO_ERR_SEEN: u32 = 32; -pub const _IO_USER_LOCK: u32 = 32768; +pub const __darwin__: u32 = 1; +pub const __DARWIN_ONLY_64_BIT_INO_T: u32 = 1; +pub const __DARWIN_ONLY_UNIX_CONFORMANCE: u32 = 1; +pub const __DARWIN_ONLY_VERS_1050: u32 = 1; +pub const __DARWIN_UNIX03: u32 = 1; +pub const __DARWIN_64_BIT_INO_T: u32 = 1; +pub const __DARWIN_VERS_1050: u32 = 1; +pub const __DARWIN_NON_CANCELABLE: u32 = 0; +pub const __DARWIN_SUF_EXTSN: &[u8; 14usize] = b"$DARWIN_EXTSN\0"; +pub const __DARWIN_C_ANSI: u32 = 4096; +pub const __DARWIN_C_FULL: u32 = 900000; +pub const __DARWIN_C_LEVEL: u32 = 900000; +pub const __STDC_WANT_LIB_EXT1__: u32 = 1; +pub const __DARWIN_NO_LONG_LONG: u32 = 0; +pub const _DARWIN_FEATURE_64_BIT_INODE: u32 = 1; +pub const _DARWIN_FEATURE_ONLY_64_BIT_INODE: u32 = 1; +pub const _DARWIN_FEATURE_ONLY_VERS_1050: u32 = 1; +pub const _DARWIN_FEATURE_ONLY_UNIX_CONFORMANCE: u32 = 1; +pub const _DARWIN_FEATURE_UNIX_CONFORMANCE: u32 = 3; +pub const __has_ptrcheck: u32 = 0; +pub const __API_TO_BE_DEPRECATED: u32 = 100000; +pub const __MAC_10_0: u32 = 1000; +pub const __MAC_10_1: u32 = 1010; +pub const __MAC_10_2: u32 = 1020; +pub const __MAC_10_3: u32 = 1030; +pub const __MAC_10_4: u32 = 1040; +pub const __MAC_10_5: u32 = 1050; +pub const __MAC_10_6: u32 = 1060; +pub const __MAC_10_7: u32 = 1070; +pub const __MAC_10_8: u32 = 1080; +pub const __MAC_10_9: u32 = 1090; +pub const __MAC_10_10: u32 = 101000; +pub const __MAC_10_10_2: u32 = 101002; +pub const __MAC_10_10_3: u32 = 101003; +pub const __MAC_10_11: u32 = 101100; +pub const __MAC_10_11_2: u32 = 101102; +pub const __MAC_10_11_3: u32 = 101103; +pub const __MAC_10_11_4: u32 = 101104; +pub const __MAC_10_12: u32 = 101200; +pub const __MAC_10_12_1: u32 = 101201; +pub const __MAC_10_12_2: u32 = 101202; +pub const __MAC_10_12_4: u32 = 101204; +pub const __MAC_10_13: u32 = 101300; +pub const __MAC_10_13_1: u32 = 101301; +pub const __MAC_10_13_2: u32 = 101302; +pub const __MAC_10_13_4: u32 = 101304; +pub const __MAC_10_14: u32 = 101400; +pub const __MAC_10_14_1: u32 = 101401; +pub const __MAC_10_14_4: u32 = 101404; +pub const __MAC_10_14_6: u32 = 101406; +pub const __MAC_10_15: u32 = 101500; +pub const __MAC_10_15_1: u32 = 101501; +pub const __MAC_10_15_4: u32 = 101504; +pub const __MAC_10_16: u32 = 101600; +pub const __MAC_11_0: u32 = 110000; +pub const __MAC_11_1: u32 = 110100; +pub const __MAC_11_3: u32 = 110300; +pub const __MAC_11_4: u32 = 110400; +pub const __MAC_11_5: u32 = 110500; +pub const __MAC_11_6: u32 = 110600; +pub const __MAC_12_0: u32 = 120000; +pub const __MAC_12_1: u32 = 120100; +pub const __MAC_12_2: u32 = 120200; +pub const __MAC_12_3: u32 = 120300; +pub const __IPHONE_2_0: u32 = 20000; +pub const __IPHONE_2_1: u32 = 20100; +pub const __IPHONE_2_2: u32 = 20200; +pub const __IPHONE_3_0: u32 = 30000; +pub const __IPHONE_3_1: u32 = 30100; +pub const __IPHONE_3_2: u32 = 30200; +pub const __IPHONE_4_0: u32 = 40000; +pub const __IPHONE_4_1: u32 = 40100; +pub const __IPHONE_4_2: u32 = 40200; +pub const __IPHONE_4_3: u32 = 40300; +pub const __IPHONE_5_0: u32 = 50000; +pub const __IPHONE_5_1: u32 = 50100; +pub const __IPHONE_6_0: u32 = 60000; +pub const __IPHONE_6_1: u32 = 60100; +pub const __IPHONE_7_0: u32 = 70000; +pub const __IPHONE_7_1: u32 = 70100; +pub const __IPHONE_8_0: u32 = 80000; +pub const __IPHONE_8_1: u32 = 80100; +pub const __IPHONE_8_2: u32 = 80200; +pub const __IPHONE_8_3: u32 = 80300; +pub const __IPHONE_8_4: u32 = 80400; +pub const __IPHONE_9_0: u32 = 90000; +pub const __IPHONE_9_1: u32 = 90100; +pub const __IPHONE_9_2: u32 = 90200; +pub const __IPHONE_9_3: u32 = 90300; +pub const __IPHONE_10_0: u32 = 100000; +pub const __IPHONE_10_1: u32 = 100100; +pub const __IPHONE_10_2: u32 = 100200; +pub const __IPHONE_10_3: u32 = 100300; +pub const __IPHONE_11_0: u32 = 110000; +pub const __IPHONE_11_1: u32 = 110100; +pub const __IPHONE_11_2: u32 = 110200; +pub const __IPHONE_11_3: u32 = 110300; +pub const __IPHONE_11_4: u32 = 110400; +pub const __IPHONE_12_0: u32 = 120000; +pub const __IPHONE_12_1: u32 = 120100; +pub const __IPHONE_12_2: u32 = 120200; +pub const __IPHONE_12_3: u32 = 120300; +pub const __IPHONE_12_4: u32 = 120400; +pub const __IPHONE_13_0: u32 = 130000; +pub const __IPHONE_13_1: u32 = 130100; +pub const __IPHONE_13_2: u32 = 130200; +pub const __IPHONE_13_3: u32 = 130300; +pub const __IPHONE_13_4: u32 = 130400; +pub const __IPHONE_13_5: u32 = 130500; +pub const __IPHONE_13_6: u32 = 130600; +pub const __IPHONE_13_7: u32 = 130700; +pub const __IPHONE_14_0: u32 = 140000; +pub const __IPHONE_14_1: u32 = 140100; +pub const __IPHONE_14_2: u32 = 140200; +pub const __IPHONE_14_3: u32 = 140300; +pub const __IPHONE_14_5: u32 = 140500; +pub const __IPHONE_14_6: u32 = 140600; +pub const __IPHONE_14_7: u32 = 140700; +pub const __IPHONE_14_8: u32 = 140800; +pub const __IPHONE_15_0: u32 = 150000; +pub const __IPHONE_15_1: u32 = 150100; +pub const __IPHONE_15_2: u32 = 150200; +pub const __IPHONE_15_3: u32 = 150300; +pub const __IPHONE_15_4: u32 = 150400; +pub const __TVOS_9_0: u32 = 90000; +pub const __TVOS_9_1: u32 = 90100; +pub const __TVOS_9_2: u32 = 90200; +pub const __TVOS_10_0: u32 = 100000; +pub const __TVOS_10_0_1: u32 = 100001; +pub const __TVOS_10_1: u32 = 100100; +pub const __TVOS_10_2: u32 = 100200; +pub const __TVOS_11_0: u32 = 110000; +pub const __TVOS_11_1: u32 = 110100; +pub const __TVOS_11_2: u32 = 110200; +pub const __TVOS_11_3: u32 = 110300; +pub const __TVOS_11_4: u32 = 110400; +pub const __TVOS_12_0: u32 = 120000; +pub const __TVOS_12_1: u32 = 120100; +pub const __TVOS_12_2: u32 = 120200; +pub const __TVOS_12_3: u32 = 120300; +pub const __TVOS_12_4: u32 = 120400; +pub const __TVOS_13_0: u32 = 130000; +pub const __TVOS_13_2: u32 = 130200; +pub const __TVOS_13_3: u32 = 130300; +pub const __TVOS_13_4: u32 = 130400; +pub const __TVOS_14_0: u32 = 140000; +pub const __TVOS_14_1: u32 = 140100; +pub const __TVOS_14_2: u32 = 140200; +pub const __TVOS_14_3: u32 = 140300; +pub const __TVOS_14_5: u32 = 140500; +pub const __TVOS_14_6: u32 = 140600; +pub const __TVOS_14_7: u32 = 140700; +pub const __TVOS_15_0: u32 = 150000; +pub const __TVOS_15_1: u32 = 150100; +pub const __TVOS_15_2: u32 = 150200; +pub const __TVOS_15_3: u32 = 150300; +pub const __TVOS_15_4: u32 = 150400; +pub const __WATCHOS_1_0: u32 = 10000; +pub const __WATCHOS_2_0: u32 = 20000; +pub const __WATCHOS_2_1: u32 = 20100; +pub const __WATCHOS_2_2: u32 = 20200; +pub const __WATCHOS_3_0: u32 = 30000; +pub const __WATCHOS_3_1: u32 = 30100; +pub const __WATCHOS_3_1_1: u32 = 30101; +pub const __WATCHOS_3_2: u32 = 30200; +pub const __WATCHOS_4_0: u32 = 40000; +pub const __WATCHOS_4_1: u32 = 40100; +pub const __WATCHOS_4_2: u32 = 40200; +pub const __WATCHOS_4_3: u32 = 40300; +pub const __WATCHOS_5_0: u32 = 50000; +pub const __WATCHOS_5_1: u32 = 50100; +pub const __WATCHOS_5_2: u32 = 50200; +pub const __WATCHOS_5_3: u32 = 50300; +pub const __WATCHOS_6_0: u32 = 60000; +pub const __WATCHOS_6_1: u32 = 60100; +pub const __WATCHOS_6_2: u32 = 60200; +pub const __WATCHOS_7_0: u32 = 70000; +pub const __WATCHOS_7_1: u32 = 70100; +pub const __WATCHOS_7_2: u32 = 70200; +pub const __WATCHOS_7_3: u32 = 70300; +pub const __WATCHOS_7_4: u32 = 70400; +pub const __WATCHOS_7_5: u32 = 70500; +pub const __WATCHOS_7_6: u32 = 70600; +pub const __WATCHOS_8_0: u32 = 80000; +pub const __WATCHOS_8_1: u32 = 80100; +pub const __WATCHOS_8_3: u32 = 80300; +pub const __WATCHOS_8_4: u32 = 80400; +pub const __WATCHOS_8_5: u32 = 80500; +pub const MAC_OS_X_VERSION_10_0: u32 = 1000; +pub const MAC_OS_X_VERSION_10_1: u32 = 1010; +pub const MAC_OS_X_VERSION_10_2: u32 = 1020; +pub const MAC_OS_X_VERSION_10_3: u32 = 1030; +pub const MAC_OS_X_VERSION_10_4: u32 = 1040; +pub const MAC_OS_X_VERSION_10_5: u32 = 1050; +pub const MAC_OS_X_VERSION_10_6: u32 = 1060; +pub const MAC_OS_X_VERSION_10_7: u32 = 1070; +pub const MAC_OS_X_VERSION_10_8: u32 = 1080; +pub const MAC_OS_X_VERSION_10_9: u32 = 1090; +pub const MAC_OS_X_VERSION_10_10: u32 = 101000; +pub const MAC_OS_X_VERSION_10_10_2: u32 = 101002; +pub const MAC_OS_X_VERSION_10_10_3: u32 = 101003; +pub const MAC_OS_X_VERSION_10_11: u32 = 101100; +pub const MAC_OS_X_VERSION_10_11_2: u32 = 101102; +pub const MAC_OS_X_VERSION_10_11_3: u32 = 101103; +pub const MAC_OS_X_VERSION_10_11_4: u32 = 101104; +pub const MAC_OS_X_VERSION_10_12: u32 = 101200; +pub const MAC_OS_X_VERSION_10_12_1: u32 = 101201; +pub const MAC_OS_X_VERSION_10_12_2: u32 = 101202; +pub const MAC_OS_X_VERSION_10_12_4: u32 = 101204; +pub const MAC_OS_X_VERSION_10_13: u32 = 101300; +pub const MAC_OS_X_VERSION_10_13_1: u32 = 101301; +pub const MAC_OS_X_VERSION_10_13_2: u32 = 101302; +pub const MAC_OS_X_VERSION_10_13_4: u32 = 101304; +pub const MAC_OS_X_VERSION_10_14: u32 = 101400; +pub const MAC_OS_X_VERSION_10_14_1: u32 = 101401; +pub const MAC_OS_X_VERSION_10_14_4: u32 = 101404; +pub const MAC_OS_X_VERSION_10_14_6: u32 = 101406; +pub const MAC_OS_X_VERSION_10_15: u32 = 101500; +pub const MAC_OS_X_VERSION_10_15_1: u32 = 101501; +pub const MAC_OS_X_VERSION_10_16: u32 = 101600; +pub const MAC_OS_VERSION_11_0: u32 = 110000; +pub const MAC_OS_VERSION_12_0: u32 = 120000; +pub const __DRIVERKIT_19_0: u32 = 190000; +pub const __DRIVERKIT_20_0: u32 = 200000; +pub const __DRIVERKIT_21_0: u32 = 210000; +pub const __MAC_OS_X_VERSION_MAX_ALLOWED: u32 = 120300; +pub const __ENABLE_LEGACY_MAC_AVAILABILITY: u32 = 1; +pub const __PTHREAD_SIZE__: u32 = 8176; +pub const __PTHREAD_ATTR_SIZE__: u32 = 56; +pub const __PTHREAD_MUTEXATTR_SIZE__: u32 = 8; +pub const __PTHREAD_MUTEX_SIZE__: u32 = 56; +pub const __PTHREAD_CONDATTR_SIZE__: u32 = 8; +pub const __PTHREAD_COND_SIZE__: u32 = 40; +pub const __PTHREAD_ONCE_SIZE__: u32 = 8; +pub const __PTHREAD_RWLOCK_SIZE__: u32 = 192; +pub const __PTHREAD_RWLOCKATTR_SIZE__: u32 = 16; +pub const __DARWIN_WCHAR_MIN: i32 = -2147483648; +pub const _FORTIFY_SOURCE: u32 = 2; +pub const RENAME_SECLUDE: u32 = 1; +pub const RENAME_SWAP: u32 = 2; +pub const RENAME_EXCL: u32 = 4; +pub const RENAME_RESERVED1: u32 = 8; +pub const RENAME_NOFOLLOW_ANY: u32 = 16; +pub const __SLBF: u32 = 1; +pub const __SNBF: u32 = 2; +pub const __SRD: u32 = 4; +pub const __SWR: u32 = 8; +pub const __SRW: u32 = 16; +pub const __SEOF: u32 = 32; +pub const __SERR: u32 = 64; +pub const __SMBF: u32 = 128; +pub const __SAPP: u32 = 256; +pub const __SSTR: u32 = 512; +pub const __SOPT: u32 = 1024; +pub const __SNPT: u32 = 2048; +pub const __SOFF: u32 = 4096; +pub const __SMOD: u32 = 8192; +pub const __SALC: u32 = 16384; +pub const __SIGN: u32 = 32768; pub const _IOFBF: u32 = 0; pub const _IOLBF: u32 = 1; pub const _IONBF: u32 = 2; -pub const BUFSIZ: u32 = 8192; +pub const BUFSIZ: u32 = 1024; pub const EOF: i32 = -1; +pub const FOPEN_MAX: u32 = 20; +pub const FILENAME_MAX: u32 = 1024; +pub const P_tmpdir: &[u8; 10usize] = b"/var/tmp/\0"; +pub const L_tmpnam: u32 = 1024; +pub const TMP_MAX: u32 = 308915776; pub const SEEK_SET: u32 = 0; pub const SEEK_CUR: u32 = 1; pub const SEEK_END: u32 = 2; -pub const P_tmpdir: &[u8; 5usize] = b"/tmp\0"; -pub const _BITS_STDIO_LIM_H: u32 = 1; -pub const L_tmpnam: u32 = 20; -pub const TMP_MAX: u32 = 238328; -pub const FILENAME_MAX: u32 = 4096; -pub const L_ctermid: u32 = 9; -pub const FOPEN_MAX: u32 = 16; -pub const __HAVE_FLOAT128: u32 = 0; -pub const __HAVE_DISTINCT_FLOAT128: u32 = 0; -pub const __HAVE_FLOAT64X: u32 = 1; -pub const __HAVE_FLOAT64X_LONG_DOUBLE: u32 = 1; -pub const __HAVE_FLOAT16: u32 = 0; -pub const __HAVE_FLOAT32: u32 = 1; -pub const __HAVE_FLOAT64: u32 = 1; -pub const __HAVE_FLOAT32X: u32 = 1; -pub const __HAVE_FLOAT128X: u32 = 0; -pub const __HAVE_DISTINCT_FLOAT16: u32 = 0; -pub const __HAVE_DISTINCT_FLOAT32: u32 = 0; -pub const __HAVE_DISTINCT_FLOAT64: u32 = 0; -pub const __HAVE_DISTINCT_FLOAT32X: u32 = 0; -pub const __HAVE_DISTINCT_FLOAT64X: u32 = 0; -pub const __HAVE_DISTINCT_FLOAT128X: u32 = 0; -pub const __HAVE_FLOATN_NOT_TYPEDEF: u32 = 0; -pub const _STDLIB_H: u32 = 1; -pub const WNOHANG: u32 = 1; -pub const WUNTRACED: u32 = 2; -pub const WSTOPPED: u32 = 2; -pub const WEXITED: u32 = 4; -pub const WCONTINUED: u32 = 8; -pub const WNOWAIT: u32 = 16777216; -pub const __WNOTHREAD: u32 = 536870912; -pub const __WALL: u32 = 1073741824; -pub const __WCLONE: u32 = 2147483648; -pub const __W_CONTINUED: u32 = 65535; -pub const __WCOREFLAG: u32 = 128; -pub const __ldiv_t_defined: u32 = 1; -pub const __lldiv_t_defined: u32 = 1; -pub const RAND_MAX: u32 = 2147483647; -pub const EXIT_FAILURE: u32 = 1; -pub const EXIT_SUCCESS: u32 = 0; -pub const _SYS_TYPES_H: u32 = 1; -pub const __clock_t_defined: u32 = 1; -pub const __clockid_t_defined: u32 = 1; -pub const __time_t_defined: u32 = 1; -pub const __timer_t_defined: u32 = 1; -pub const _BITS_STDINT_INTN_H: u32 = 1; -pub const __BIT_TYPES_DEFINED__: u32 = 1; -pub const _ENDIAN_H: u32 = 1; -pub const _BITS_ENDIAN_H: u32 = 1; -pub const __LITTLE_ENDIAN: u32 = 1234; -pub const __BIG_ENDIAN: u32 = 4321; -pub const __PDP_ENDIAN: u32 = 3412; -pub const _BITS_ENDIANNESS_H: u32 = 1; -pub const __BYTE_ORDER: u32 = 1234; -pub const __FLOAT_WORD_ORDER: u32 = 1234; -pub const LITTLE_ENDIAN: u32 = 1234; -pub const BIG_ENDIAN: u32 = 4321; -pub const PDP_ENDIAN: u32 = 3412; -pub const BYTE_ORDER: u32 = 1234; -pub const _BITS_BYTESWAP_H: u32 = 1; -pub const _BITS_UINTN_IDENTITY_H: u32 = 1; -pub const _SYS_SELECT_H: u32 = 1; -pub const __sigset_t_defined: u32 = 1; -pub const __timeval_defined: u32 = 1; -pub const _STRUCT_TIMESPEC: u32 = 1; -pub const FD_SETSIZE: u32 = 1024; -pub const _BITS_PTHREADTYPES_COMMON_H: u32 = 1; -pub const _THREAD_SHARED_TYPES_H: u32 = 1; -pub const _BITS_PTHREADTYPES_ARCH_H: u32 = 1; -pub const __SIZEOF_PTHREAD_MUTEX_T: u32 = 40; -pub const __SIZEOF_PTHREAD_ATTR_T: u32 = 56; -pub const __SIZEOF_PTHREAD_RWLOCK_T: u32 = 56; -pub const __SIZEOF_PTHREAD_BARRIER_T: u32 = 32; -pub const __SIZEOF_PTHREAD_MUTEXATTR_T: u32 = 4; -pub const __SIZEOF_PTHREAD_COND_T: u32 = 48; -pub const __SIZEOF_PTHREAD_CONDATTR_T: u32 = 4; -pub const __SIZEOF_PTHREAD_RWLOCKATTR_T: u32 = 8; -pub const __SIZEOF_PTHREAD_BARRIERATTR_T: u32 = 4; -pub const _THREAD_MUTEX_INTERNAL_H: u32 = 1; -pub const __PTHREAD_MUTEX_HAVE_PREV: u32 = 1; -pub const __have_pthread_attr_t: u32 = 1; -pub const _ALLOCA_H: u32 = 1; -pub const _STRING_H: u32 = 1; -pub const _BITS_TYPES_LOCALE_T_H: u32 = 1; -pub const _BITS_TYPES___LOCALE_T_H: u32 = 1; -pub const _STRINGS_H: u32 = 1; -pub const _STDINT_H: u32 = 1; -pub const _BITS_WCHAR_H: u32 = 1; -pub const _BITS_STDINT_UINTN_H: u32 = 1; -pub const INT8_MIN: i32 = -128; -pub const INT16_MIN: i32 = -32768; -pub const INT32_MIN: i32 = -2147483648; +pub const L_ctermid: u32 = 1024; +pub const _USE_FORTIFY_LEVEL: u32 = 2; +pub const __DARWIN_NSIG: u32 = 32; +pub const NSIG: u32 = 32; +pub const _ARM_SIGNAL_: u32 = 1; +pub const SIGHUP: u32 = 1; +pub const SIGINT: u32 = 2; +pub const SIGQUIT: u32 = 3; +pub const SIGILL: u32 = 4; +pub const SIGTRAP: u32 = 5; +pub const SIGABRT: u32 = 6; +pub const SIGIOT: u32 = 6; +pub const SIGEMT: u32 = 7; +pub const SIGFPE: u32 = 8; +pub const SIGKILL: u32 = 9; +pub const SIGBUS: u32 = 10; +pub const SIGSEGV: u32 = 11; +pub const SIGSYS: u32 = 12; +pub const SIGPIPE: u32 = 13; +pub const SIGALRM: u32 = 14; +pub const SIGTERM: u32 = 15; +pub const SIGURG: u32 = 16; +pub const SIGSTOP: u32 = 17; +pub const SIGTSTP: u32 = 18; +pub const SIGCONT: u32 = 19; +pub const SIGCHLD: u32 = 20; +pub const SIGTTIN: u32 = 21; +pub const SIGTTOU: u32 = 22; +pub const SIGIO: u32 = 23; +pub const SIGXCPU: u32 = 24; +pub const SIGXFSZ: u32 = 25; +pub const SIGVTALRM: u32 = 26; +pub const SIGPROF: u32 = 27; +pub const SIGWINCH: u32 = 28; +pub const SIGINFO: u32 = 29; +pub const SIGUSR1: u32 = 30; +pub const SIGUSR2: u32 = 31; +pub const __DARWIN_OPAQUE_ARM_THREAD_STATE64: u32 = 0; +pub const SIGEV_NONE: u32 = 0; +pub const SIGEV_SIGNAL: u32 = 1; +pub const SIGEV_THREAD: u32 = 3; +pub const ILL_NOOP: u32 = 0; +pub const ILL_ILLOPC: u32 = 1; +pub const ILL_ILLTRP: u32 = 2; +pub const ILL_PRVOPC: u32 = 3; +pub const ILL_ILLOPN: u32 = 4; +pub const ILL_ILLADR: u32 = 5; +pub const ILL_PRVREG: u32 = 6; +pub const ILL_COPROC: u32 = 7; +pub const ILL_BADSTK: u32 = 8; +pub const FPE_NOOP: u32 = 0; +pub const FPE_FLTDIV: u32 = 1; +pub const FPE_FLTOVF: u32 = 2; +pub const FPE_FLTUND: u32 = 3; +pub const FPE_FLTRES: u32 = 4; +pub const FPE_FLTINV: u32 = 5; +pub const FPE_FLTSUB: u32 = 6; +pub const FPE_INTDIV: u32 = 7; +pub const FPE_INTOVF: u32 = 8; +pub const SEGV_NOOP: u32 = 0; +pub const SEGV_MAPERR: u32 = 1; +pub const SEGV_ACCERR: u32 = 2; +pub const BUS_NOOP: u32 = 0; +pub const BUS_ADRALN: u32 = 1; +pub const BUS_ADRERR: u32 = 2; +pub const BUS_OBJERR: u32 = 3; +pub const TRAP_BRKPT: u32 = 1; +pub const TRAP_TRACE: u32 = 2; +pub const CLD_NOOP: u32 = 0; +pub const CLD_EXITED: u32 = 1; +pub const CLD_KILLED: u32 = 2; +pub const CLD_DUMPED: u32 = 3; +pub const CLD_TRAPPED: u32 = 4; +pub const CLD_STOPPED: u32 = 5; +pub const CLD_CONTINUED: u32 = 6; +pub const POLL_IN: u32 = 1; +pub const POLL_OUT: u32 = 2; +pub const POLL_MSG: u32 = 3; +pub const POLL_ERR: u32 = 4; +pub const POLL_PRI: u32 = 5; +pub const POLL_HUP: u32 = 6; +pub const SA_ONSTACK: u32 = 1; +pub const SA_RESTART: u32 = 2; +pub const SA_RESETHAND: u32 = 4; +pub const SA_NOCLDSTOP: u32 = 8; +pub const SA_NODEFER: u32 = 16; +pub const SA_NOCLDWAIT: u32 = 32; +pub const SA_SIGINFO: u32 = 64; +pub const SA_USERTRAMP: u32 = 256; +pub const SA_64REGSET: u32 = 512; +pub const SA_USERSPACE_MASK: u32 = 127; +pub const SIG_BLOCK: u32 = 1; +pub const SIG_UNBLOCK: u32 = 2; +pub const SIG_SETMASK: u32 = 3; +pub const SI_USER: u32 = 65537; +pub const SI_QUEUE: u32 = 65538; +pub const SI_TIMER: u32 = 65539; +pub const SI_ASYNCIO: u32 = 65540; +pub const SI_MESGQ: u32 = 65541; +pub const SS_ONSTACK: u32 = 1; +pub const SS_DISABLE: u32 = 4; +pub const MINSIGSTKSZ: u32 = 32768; +pub const SIGSTKSZ: u32 = 131072; +pub const SV_ONSTACK: u32 = 1; +pub const SV_INTERRUPT: u32 = 2; +pub const SV_RESETHAND: u32 = 4; +pub const SV_NODEFER: u32 = 16; +pub const SV_NOCLDSTOP: u32 = 8; +pub const SV_SIGINFO: u32 = 64; +pub const __WORDSIZE: u32 = 64; pub const INT8_MAX: u32 = 127; pub const INT16_MAX: u32 = 32767; pub const INT32_MAX: u32 = 2147483647; +pub const INT64_MAX: u64 = 9223372036854775807; +pub const INT8_MIN: i32 = -128; +pub const INT16_MIN: i32 = -32768; +pub const INT32_MIN: i32 = -2147483648; +pub const INT64_MIN: i64 = -9223372036854775808; pub const UINT8_MAX: u32 = 255; pub const UINT16_MAX: u32 = 65535; pub const UINT32_MAX: u32 = 4294967295; +pub const UINT64_MAX: i32 = -1; pub const INT_LEAST8_MIN: i32 = -128; pub const INT_LEAST16_MIN: i32 = -32768; pub const INT_LEAST32_MIN: i32 = -2147483648; +pub const INT_LEAST64_MIN: i64 = -9223372036854775808; pub const INT_LEAST8_MAX: u32 = 127; pub const INT_LEAST16_MAX: u32 = 32767; pub const INT_LEAST32_MAX: u32 = 2147483647; +pub const INT_LEAST64_MAX: u64 = 9223372036854775807; pub const UINT_LEAST8_MAX: u32 = 255; pub const UINT_LEAST16_MAX: u32 = 65535; pub const UINT_LEAST32_MAX: u32 = 4294967295; +pub const UINT_LEAST64_MAX: i32 = -1; pub const INT_FAST8_MIN: i32 = -128; -pub const INT_FAST16_MIN: i64 = -9223372036854775808; -pub const INT_FAST32_MIN: i64 = -9223372036854775808; +pub const INT_FAST16_MIN: i32 = -32768; +pub const INT_FAST32_MIN: i32 = -2147483648; +pub const INT_FAST64_MIN: i64 = -9223372036854775808; pub const INT_FAST8_MAX: u32 = 127; -pub const INT_FAST16_MAX: u64 = 9223372036854775807; -pub const INT_FAST32_MAX: u64 = 9223372036854775807; +pub const INT_FAST16_MAX: u32 = 32767; +pub const INT_FAST32_MAX: u32 = 2147483647; +pub const INT_FAST64_MAX: u64 = 9223372036854775807; pub const UINT_FAST8_MAX: u32 = 255; -pub const UINT_FAST16_MAX: i32 = -1; -pub const UINT_FAST32_MAX: i32 = -1; -pub const INTPTR_MIN: i64 = -9223372036854775808; +pub const UINT_FAST16_MAX: u32 = 65535; +pub const UINT_FAST32_MAX: u32 = 4294967295; +pub const UINT_FAST64_MAX: i32 = -1; pub const INTPTR_MAX: u64 = 9223372036854775807; +pub const INTPTR_MIN: i64 = -9223372036854775808; pub const UINTPTR_MAX: i32 = -1; -pub const PTRDIFF_MIN: i64 = -9223372036854775808; -pub const PTRDIFF_MAX: u64 = 9223372036854775807; +pub const SIZE_MAX: i32 = -1; +pub const RSIZE_MAX: i32 = -1; +pub const WINT_MIN: i32 = -2147483648; +pub const WINT_MAX: u32 = 2147483647; pub const SIG_ATOMIC_MIN: i32 = -2147483648; pub const SIG_ATOMIC_MAX: u32 = 2147483647; -pub const SIZE_MAX: i32 = -1; -pub const WINT_MIN: u32 = 0; -pub const WINT_MAX: u32 = 4294967295; -pub const _ERRNO_H: u32 = 1; -pub const _BITS_ERRNO_H: u32 = 1; +pub const PRIO_PROCESS: u32 = 0; +pub const PRIO_PGRP: u32 = 1; +pub const PRIO_USER: u32 = 2; +pub const PRIO_DARWIN_THREAD: u32 = 3; +pub const PRIO_DARWIN_PROCESS: u32 = 4; +pub const PRIO_MIN: i32 = -20; +pub const PRIO_MAX: u32 = 20; +pub const PRIO_DARWIN_BG: u32 = 4096; +pub const PRIO_DARWIN_NONUI: u32 = 4097; +pub const RUSAGE_SELF: u32 = 0; +pub const RUSAGE_CHILDREN: i32 = -1; +pub const RUSAGE_INFO_V0: u32 = 0; +pub const RUSAGE_INFO_V1: u32 = 1; +pub const RUSAGE_INFO_V2: u32 = 2; +pub const RUSAGE_INFO_V3: u32 = 3; +pub const RUSAGE_INFO_V4: u32 = 4; +pub const RUSAGE_INFO_V5: u32 = 5; +pub const RUSAGE_INFO_CURRENT: u32 = 5; +pub const RU_PROC_RUNS_RESLIDE: u32 = 1; +pub const RLIMIT_CPU: u32 = 0; +pub const RLIMIT_FSIZE: u32 = 1; +pub const RLIMIT_DATA: u32 = 2; +pub const RLIMIT_STACK: u32 = 3; +pub const RLIMIT_CORE: u32 = 4; +pub const RLIMIT_AS: u32 = 5; +pub const RLIMIT_RSS: u32 = 5; +pub const RLIMIT_MEMLOCK: u32 = 6; +pub const RLIMIT_NPROC: u32 = 7; +pub const RLIMIT_NOFILE: u32 = 8; +pub const RLIM_NLIMITS: u32 = 9; +pub const _RLIMIT_POSIX_FLAG: u32 = 4096; +pub const RLIMIT_WAKEUPS_MONITOR: u32 = 1; +pub const RLIMIT_CPU_USAGE_MONITOR: u32 = 2; +pub const RLIMIT_THREAD_CPULIMITS: u32 = 3; +pub const RLIMIT_FOOTPRINT_INTERVAL: u32 = 4; +pub const WAKEMON_ENABLE: u32 = 1; +pub const WAKEMON_DISABLE: u32 = 2; +pub const WAKEMON_GET_PARAMS: u32 = 4; +pub const WAKEMON_SET_DEFAULTS: u32 = 8; +pub const WAKEMON_MAKE_FATAL: u32 = 16; +pub const CPUMON_MAKE_FATAL: u32 = 4096; +pub const FOOTPRINT_INTERVAL_RESET: u32 = 1; +pub const IOPOL_TYPE_DISK: u32 = 0; +pub const IOPOL_TYPE_VFS_ATIME_UPDATES: u32 = 2; +pub const IOPOL_TYPE_VFS_MATERIALIZE_DATALESS_FILES: u32 = 3; +pub const IOPOL_TYPE_VFS_STATFS_NO_DATA_VOLUME: u32 = 4; +pub const IOPOL_TYPE_VFS_TRIGGER_RESOLVE: u32 = 5; +pub const IOPOL_TYPE_VFS_IGNORE_CONTENT_PROTECTION: u32 = 6; +pub const IOPOL_TYPE_VFS_IGNORE_PERMISSIONS: u32 = 7; +pub const IOPOL_TYPE_VFS_SKIP_MTIME_UPDATE: u32 = 8; +pub const IOPOL_TYPE_VFS_ALLOW_LOW_SPACE_WRITES: u32 = 9; +pub const IOPOL_SCOPE_PROCESS: u32 = 0; +pub const IOPOL_SCOPE_THREAD: u32 = 1; +pub const IOPOL_SCOPE_DARWIN_BG: u32 = 2; +pub const IOPOL_DEFAULT: u32 = 0; +pub const IOPOL_IMPORTANT: u32 = 1; +pub const IOPOL_PASSIVE: u32 = 2; +pub const IOPOL_THROTTLE: u32 = 3; +pub const IOPOL_UTILITY: u32 = 4; +pub const IOPOL_STANDARD: u32 = 5; +pub const IOPOL_APPLICATION: u32 = 5; +pub const IOPOL_NORMAL: u32 = 1; +pub const IOPOL_ATIME_UPDATES_DEFAULT: u32 = 0; +pub const IOPOL_ATIME_UPDATES_OFF: u32 = 1; +pub const IOPOL_MATERIALIZE_DATALESS_FILES_DEFAULT: u32 = 0; +pub const IOPOL_MATERIALIZE_DATALESS_FILES_OFF: u32 = 1; +pub const IOPOL_MATERIALIZE_DATALESS_FILES_ON: u32 = 2; +pub const IOPOL_VFS_STATFS_NO_DATA_VOLUME_DEFAULT: u32 = 0; +pub const IOPOL_VFS_STATFS_FORCE_NO_DATA_VOLUME: u32 = 1; +pub const IOPOL_VFS_TRIGGER_RESOLVE_DEFAULT: u32 = 0; +pub const IOPOL_VFS_TRIGGER_RESOLVE_OFF: u32 = 1; +pub const IOPOL_VFS_CONTENT_PROTECTION_DEFAULT: u32 = 0; +pub const IOPOL_VFS_CONTENT_PROTECTION_IGNORE: u32 = 1; +pub const IOPOL_VFS_IGNORE_PERMISSIONS_OFF: u32 = 0; +pub const IOPOL_VFS_IGNORE_PERMISSIONS_ON: u32 = 1; +pub const IOPOL_VFS_SKIP_MTIME_UPDATE_OFF: u32 = 0; +pub const IOPOL_VFS_SKIP_MTIME_UPDATE_ON: u32 = 1; +pub const IOPOL_VFS_ALLOW_LOW_SPACE_WRITES_OFF: u32 = 0; +pub const IOPOL_VFS_ALLOW_LOW_SPACE_WRITES_ON: u32 = 1; +pub const WNOHANG: u32 = 1; +pub const WUNTRACED: u32 = 2; +pub const WCOREFLAG: u32 = 128; +pub const _WSTOPPED: u32 = 127; +pub const WEXITED: u32 = 4; +pub const WSTOPPED: u32 = 8; +pub const WCONTINUED: u32 = 16; +pub const WNOWAIT: u32 = 32; +pub const WAIT_ANY: i32 = -1; +pub const WAIT_MYPGRP: u32 = 0; +pub const _QUAD_HIGHWORD: u32 = 1; +pub const _QUAD_LOWWORD: u32 = 0; +pub const __DARWIN_LITTLE_ENDIAN: u32 = 1234; +pub const __DARWIN_BIG_ENDIAN: u32 = 4321; +pub const __DARWIN_PDP_ENDIAN: u32 = 3412; +pub const __DARWIN_BYTE_ORDER: u32 = 1234; +pub const LITTLE_ENDIAN: u32 = 1234; +pub const BIG_ENDIAN: u32 = 4321; +pub const PDP_ENDIAN: u32 = 3412; +pub const BYTE_ORDER: u32 = 1234; +pub const EXIT_FAILURE: u32 = 1; +pub const EXIT_SUCCESS: u32 = 0; +pub const RAND_MAX: u32 = 2147483647; +pub const __HAS_FIXED_CHK_PROTOTYPES: u32 = 1; +pub const __GNUC_VA_LIST: u32 = 1; +pub const __DARWIN_FD_SETSIZE: u32 = 1024; +pub const __DARWIN_NBBY: u32 = 8; +pub const NBBY: u32 = 8; +pub const FD_SETSIZE: u32 = 1024; pub const EPERM: u32 = 1; pub const ENOENT: u32 = 2; pub const ESRCH: u32 = 3; @@ -578,7 +919,7 @@ pub const E2BIG: u32 = 7; pub const ENOEXEC: u32 = 8; pub const EBADF: u32 = 9; pub const ECHILD: u32 = 10; -pub const EAGAIN: u32 = 11; +pub const EDEADLK: u32 = 11; pub const ENOMEM: u32 = 12; pub const EACCES: u32 = 13; pub const EFAULT: u32 = 14; @@ -602,147 +943,88 @@ pub const EMLINK: u32 = 31; pub const EPIPE: u32 = 32; pub const EDOM: u32 = 33; pub const ERANGE: u32 = 34; -pub const EDEADLK: u32 = 35; -pub const ENAMETOOLONG: u32 = 36; -pub const ENOLCK: u32 = 37; -pub const ENOSYS: u32 = 38; -pub const ENOTEMPTY: u32 = 39; -pub const ELOOP: u32 = 40; -pub const EWOULDBLOCK: u32 = 11; -pub const ENOMSG: u32 = 42; -pub const EIDRM: u32 = 43; -pub const ECHRNG: u32 = 44; -pub const EL2NSYNC: u32 = 45; -pub const EL3HLT: u32 = 46; -pub const EL3RST: u32 = 47; -pub const ELNRNG: u32 = 48; -pub const EUNATCH: u32 = 49; -pub const ENOCSI: u32 = 50; -pub const EL2HLT: u32 = 51; -pub const EBADE: u32 = 52; -pub const EBADR: u32 = 53; -pub const EXFULL: u32 = 54; -pub const ENOANO: u32 = 55; -pub const EBADRQC: u32 = 56; -pub const EBADSLT: u32 = 57; -pub const EDEADLOCK: u32 = 35; -pub const EBFONT: u32 = 59; -pub const ENOSTR: u32 = 60; -pub const ENODATA: u32 = 61; -pub const ETIME: u32 = 62; -pub const ENOSR: u32 = 63; -pub const ENONET: u32 = 64; -pub const ENOPKG: u32 = 65; -pub const EREMOTE: u32 = 66; -pub const ENOLINK: u32 = 67; -pub const EADV: u32 = 68; -pub const ESRMNT: u32 = 69; -pub const ECOMM: u32 = 70; -pub const EPROTO: u32 = 71; -pub const EMULTIHOP: u32 = 72; -pub const EDOTDOT: u32 = 73; -pub const EBADMSG: u32 = 74; -pub const EOVERFLOW: u32 = 75; -pub const ENOTUNIQ: u32 = 76; -pub const EBADFD: u32 = 77; -pub const EREMCHG: u32 = 78; -pub const ELIBACC: u32 = 79; -pub const ELIBBAD: u32 = 80; -pub const ELIBSCN: u32 = 81; -pub const ELIBMAX: u32 = 82; -pub const ELIBEXEC: u32 = 83; -pub const EILSEQ: u32 = 84; -pub const ERESTART: u32 = 85; -pub const ESTRPIPE: u32 = 86; -pub const EUSERS: u32 = 87; -pub const ENOTSOCK: u32 = 88; -pub const EDESTADDRREQ: u32 = 89; -pub const EMSGSIZE: u32 = 90; -pub const EPROTOTYPE: u32 = 91; -pub const ENOPROTOOPT: u32 = 92; -pub const EPROTONOSUPPORT: u32 = 93; -pub const ESOCKTNOSUPPORT: u32 = 94; -pub const EOPNOTSUPP: u32 = 95; -pub const EPFNOSUPPORT: u32 = 96; -pub const EAFNOSUPPORT: u32 = 97; -pub const EADDRINUSE: u32 = 98; -pub const EADDRNOTAVAIL: u32 = 99; -pub const ENETDOWN: u32 = 100; -pub const ENETUNREACH: u32 = 101; -pub const ENETRESET: u32 = 102; -pub const ECONNABORTED: u32 = 103; -pub const ECONNRESET: u32 = 104; -pub const ENOBUFS: u32 = 105; -pub const EISCONN: u32 = 106; -pub const ENOTCONN: u32 = 107; -pub const ESHUTDOWN: u32 = 108; -pub const ETOOMANYREFS: u32 = 109; -pub const ETIMEDOUT: u32 = 110; -pub const ECONNREFUSED: u32 = 111; -pub const EHOSTDOWN: u32 = 112; -pub const EHOSTUNREACH: u32 = 113; -pub const EALREADY: u32 = 114; -pub const EINPROGRESS: u32 = 115; -pub const ESTALE: u32 = 116; -pub const EUCLEAN: u32 = 117; -pub const ENOTNAM: u32 = 118; -pub const ENAVAIL: u32 = 119; -pub const EISNAM: u32 = 120; -pub const EREMOTEIO: u32 = 121; -pub const EDQUOT: u32 = 122; -pub const ENOMEDIUM: u32 = 123; -pub const EMEDIUMTYPE: u32 = 124; -pub const ECANCELED: u32 = 125; -pub const ENOKEY: u32 = 126; -pub const EKEYEXPIRED: u32 = 127; -pub const EKEYREVOKED: u32 = 128; -pub const EKEYREJECTED: u32 = 129; -pub const EOWNERDEAD: u32 = 130; -pub const ENOTRECOVERABLE: u32 = 131; -pub const ERFKILL: u32 = 132; -pub const EHWPOISON: u32 = 133; -pub const ENOTSUP: u32 = 95; -pub const _LOCALE_H: u32 = 1; -pub const _BITS_LOCALE_H: u32 = 1; -pub const __LC_CTYPE: u32 = 0; -pub const __LC_NUMERIC: u32 = 1; -pub const __LC_TIME: u32 = 2; -pub const __LC_COLLATE: u32 = 3; -pub const __LC_MONETARY: u32 = 4; -pub const __LC_MESSAGES: u32 = 5; -pub const __LC_ALL: u32 = 6; -pub const __LC_PAPER: u32 = 7; -pub const __LC_NAME: u32 = 8; -pub const __LC_ADDRESS: u32 = 9; -pub const __LC_TELEPHONE: u32 = 10; -pub const __LC_MEASUREMENT: u32 = 11; -pub const __LC_IDENTIFICATION: u32 = 12; -pub const LC_CTYPE: u32 = 0; -pub const LC_NUMERIC: u32 = 1; -pub const LC_TIME: u32 = 2; -pub const LC_COLLATE: u32 = 3; -pub const LC_MONETARY: u32 = 4; -pub const LC_MESSAGES: u32 = 5; -pub const LC_ALL: u32 = 6; -pub const LC_PAPER: u32 = 7; -pub const LC_NAME: u32 = 8; -pub const LC_ADDRESS: u32 = 9; -pub const LC_TELEPHONE: u32 = 10; -pub const LC_MEASUREMENT: u32 = 11; -pub const LC_IDENTIFICATION: u32 = 12; -pub const LC_CTYPE_MASK: u32 = 1; -pub const LC_NUMERIC_MASK: u32 = 2; -pub const LC_TIME_MASK: u32 = 4; -pub const LC_COLLATE_MASK: u32 = 8; -pub const LC_MONETARY_MASK: u32 = 16; -pub const LC_MESSAGES_MASK: u32 = 32; -pub const LC_PAPER_MASK: u32 = 128; -pub const LC_NAME_MASK: u32 = 256; -pub const LC_ADDRESS_MASK: u32 = 512; -pub const LC_TELEPHONE_MASK: u32 = 1024; -pub const LC_MEASUREMENT_MASK: u32 = 2048; -pub const LC_IDENTIFICATION_MASK: u32 = 4096; -pub const LC_ALL_MASK: u32 = 8127; +pub const EAGAIN: u32 = 35; +pub const EWOULDBLOCK: u32 = 35; +pub const EINPROGRESS: u32 = 36; +pub const EALREADY: u32 = 37; +pub const ENOTSOCK: u32 = 38; +pub const EDESTADDRREQ: u32 = 39; +pub const EMSGSIZE: u32 = 40; +pub const EPROTOTYPE: u32 = 41; +pub const ENOPROTOOPT: u32 = 42; +pub const EPROTONOSUPPORT: u32 = 43; +pub const ESOCKTNOSUPPORT: u32 = 44; +pub const ENOTSUP: u32 = 45; +pub const EPFNOSUPPORT: u32 = 46; +pub const EAFNOSUPPORT: u32 = 47; +pub const EADDRINUSE: u32 = 48; +pub const EADDRNOTAVAIL: u32 = 49; +pub const ENETDOWN: u32 = 50; +pub const ENETUNREACH: u32 = 51; +pub const ENETRESET: u32 = 52; +pub const ECONNABORTED: u32 = 53; +pub const ECONNRESET: u32 = 54; +pub const ENOBUFS: u32 = 55; +pub const EISCONN: u32 = 56; +pub const ENOTCONN: u32 = 57; +pub const ESHUTDOWN: u32 = 58; +pub const ETOOMANYREFS: u32 = 59; +pub const ETIMEDOUT: u32 = 60; +pub const ECONNREFUSED: u32 = 61; +pub const ELOOP: u32 = 62; +pub const ENAMETOOLONG: u32 = 63; +pub const EHOSTDOWN: u32 = 64; +pub const EHOSTUNREACH: u32 = 65; +pub const ENOTEMPTY: u32 = 66; +pub const EPROCLIM: u32 = 67; +pub const EUSERS: u32 = 68; +pub const EDQUOT: u32 = 69; +pub const ESTALE: u32 = 70; +pub const EREMOTE: u32 = 71; +pub const EBADRPC: u32 = 72; +pub const ERPCMISMATCH: u32 = 73; +pub const EPROGUNAVAIL: u32 = 74; +pub const EPROGMISMATCH: u32 = 75; +pub const EPROCUNAVAIL: u32 = 76; +pub const ENOLCK: u32 = 77; +pub const ENOSYS: u32 = 78; +pub const EFTYPE: u32 = 79; +pub const EAUTH: u32 = 80; +pub const ENEEDAUTH: u32 = 81; +pub const EPWROFF: u32 = 82; +pub const EDEVERR: u32 = 83; +pub const EOVERFLOW: u32 = 84; +pub const EBADEXEC: u32 = 85; +pub const EBADARCH: u32 = 86; +pub const ESHLIBVERS: u32 = 87; +pub const EBADMACHO: u32 = 88; +pub const ECANCELED: u32 = 89; +pub const EIDRM: u32 = 90; +pub const ENOMSG: u32 = 91; +pub const EILSEQ: u32 = 92; +pub const ENOATTR: u32 = 93; +pub const EBADMSG: u32 = 94; +pub const EMULTIHOP: u32 = 95; +pub const ENODATA: u32 = 96; +pub const ENOLINK: u32 = 97; +pub const ENOSR: u32 = 98; +pub const ENOSTR: u32 = 99; +pub const EPROTO: u32 = 100; +pub const ETIME: u32 = 101; +pub const EOPNOTSUPP: u32 = 102; +pub const ENOPOLICY: u32 = 103; +pub const ENOTRECOVERABLE: u32 = 104; +pub const EOWNERDEAD: u32 = 105; +pub const EQFULL: u32 = 106; +pub const ELAST: u32 = 106; +pub const LC_ALL: u32 = 0; +pub const LC_COLLATE: u32 = 1; +pub const LC_CTYPE: u32 = 2; +pub const LC_MONETARY: u32 = 3; +pub const LC_NUMERIC: u32 = 4; +pub const LC_TIME: u32 = 5; +pub const LC_MESSAGES: u32 = 6; +pub const _LC_LAST: u32 = 7; pub const HAVE_PG_ATTRIBUTE_NORETURN: u32 = 1; pub const true_: u32 = 1; pub const false_: u32 = 0; @@ -772,358 +1054,375 @@ pub const PG_BINARY: u32 = 0; pub const PG_BINARY_A: &[u8; 2usize] = b"a\0"; pub const PG_BINARY_R: &[u8; 2usize] = b"r\0"; pub const PG_BINARY_W: &[u8; 2usize] = b"w\0"; -pub const _CTYPE_H: u32 = 1; -pub const _NETDB_H: u32 = 1; -pub const _NETINET_IN_H: u32 = 1; -pub const _SYS_SOCKET_H: u32 = 1; -pub const __iovec_defined: u32 = 1; +pub const _CACHED_RUNES: u32 = 256; +pub const _CRMASK: i32 = -256; +pub const _RUNE_MAGIC_A: &[u8; 9usize] = b"RuneMagA\0"; +pub const _CTYPE_A: u32 = 256; +pub const _CTYPE_C: u32 = 512; +pub const _CTYPE_D: u32 = 1024; +pub const _CTYPE_G: u32 = 2048; +pub const _CTYPE_L: u32 = 4096; +pub const _CTYPE_P: u32 = 8192; +pub const _CTYPE_S: u32 = 16384; +pub const _CTYPE_U: u32 = 32768; +pub const _CTYPE_X: u32 = 65536; +pub const _CTYPE_B: u32 = 131072; +pub const _CTYPE_R: u32 = 262144; +pub const _CTYPE_I: u32 = 524288; +pub const _CTYPE_T: u32 = 1048576; +pub const _CTYPE_Q: u32 = 2097152; +pub const _CTYPE_SW0: u32 = 536870912; +pub const _CTYPE_SW1: u32 = 1073741824; +pub const _CTYPE_SW2: u32 = 2147483648; +pub const _CTYPE_SW3: u32 = 3221225472; +pub const _CTYPE_SWM: u32 = 3758096384; +pub const _CTYPE_SWS: u32 = 30; +pub const KEV_INET_SUBCLASS: u32 = 1; +pub const KEV_INET_NEW_ADDR: u32 = 1; +pub const KEV_INET_CHANGED_ADDR: u32 = 2; +pub const KEV_INET_ADDR_DELETED: u32 = 3; +pub const KEV_INET_SIFDSTADDR: u32 = 4; +pub const KEV_INET_SIFBRDADDR: u32 = 5; +pub const KEV_INET_SIFNETMASK: u32 = 6; +pub const KEV_INET_ARPCOLLISION: u32 = 7; +pub const KEV_INET_PORTINUSE: u32 = 8; +pub const KEV_INET_ARPRTRFAILURE: u32 = 9; +pub const KEV_INET_ARPRTRALIVE: u32 = 10; +pub const KEV_DL_SUBCLASS: u32 = 2; +pub const KEV_DL_SIFFLAGS: u32 = 1; +pub const KEV_DL_SIFMETRICS: u32 = 2; +pub const KEV_DL_SIFMTU: u32 = 3; +pub const KEV_DL_SIFPHYS: u32 = 4; +pub const KEV_DL_SIFMEDIA: u32 = 5; +pub const KEV_DL_SIFGENERIC: u32 = 6; +pub const KEV_DL_ADDMULTI: u32 = 7; +pub const KEV_DL_DELMULTI: u32 = 8; +pub const KEV_DL_IF_ATTACHED: u32 = 9; +pub const KEV_DL_IF_DETACHING: u32 = 10; +pub const KEV_DL_IF_DETACHED: u32 = 11; +pub const KEV_DL_LINK_OFF: u32 = 12; +pub const KEV_DL_LINK_ON: u32 = 13; +pub const KEV_DL_PROTO_ATTACHED: u32 = 14; +pub const KEV_DL_PROTO_DETACHED: u32 = 15; +pub const KEV_DL_LINK_ADDRESS_CHANGED: u32 = 16; +pub const KEV_DL_WAKEFLAGS_CHANGED: u32 = 17; +pub const KEV_DL_IF_IDLE_ROUTE_REFCNT: u32 = 18; +pub const KEV_DL_IFCAP_CHANGED: u32 = 19; +pub const KEV_DL_LINK_QUALITY_METRIC_CHANGED: u32 = 20; +pub const KEV_DL_NODE_PRESENCE: u32 = 21; +pub const KEV_DL_NODE_ABSENCE: u32 = 22; +pub const KEV_DL_PRIMARY_ELECTED: u32 = 23; +pub const KEV_DL_ISSUES: u32 = 24; +pub const KEV_DL_IFDELEGATE_CHANGED: u32 = 25; +pub const KEV_DL_AWDL_RESTRICTED: u32 = 26; +pub const KEV_DL_AWDL_UNRESTRICTED: u32 = 27; +pub const KEV_DL_RRC_STATE_CHANGED: u32 = 28; +pub const KEV_DL_QOS_MODE_CHANGED: u32 = 29; +pub const KEV_DL_LOW_POWER_MODE_CHANGED: u32 = 30; +pub const KEV_INET6_SUBCLASS: u32 = 6; +pub const KEV_INET6_NEW_USER_ADDR: u32 = 1; +pub const KEV_INET6_CHANGED_ADDR: u32 = 2; +pub const KEV_INET6_ADDR_DELETED: u32 = 3; +pub const KEV_INET6_NEW_LL_ADDR: u32 = 4; +pub const KEV_INET6_NEW_RTADV_ADDR: u32 = 5; +pub const KEV_INET6_DEFROUTER: u32 = 6; +pub const KEV_INET6_REQUEST_NAT64_PREFIX: u32 = 7; +pub const SOCK_STREAM: u32 = 1; +pub const SOCK_DGRAM: u32 = 2; +pub const SOCK_RAW: u32 = 3; +pub const SOCK_RDM: u32 = 4; +pub const SOCK_SEQPACKET: u32 = 5; +pub const SO_DEBUG: u32 = 1; +pub const SO_ACCEPTCONN: u32 = 2; +pub const SO_REUSEADDR: u32 = 4; +pub const SO_KEEPALIVE: u32 = 8; +pub const SO_DONTROUTE: u32 = 16; +pub const SO_BROADCAST: u32 = 32; +pub const SO_USELOOPBACK: u32 = 64; +pub const SO_LINGER: u32 = 128; +pub const SO_OOBINLINE: u32 = 256; +pub const SO_REUSEPORT: u32 = 512; +pub const SO_TIMESTAMP: u32 = 1024; +pub const SO_TIMESTAMP_MONOTONIC: u32 = 2048; +pub const SO_DONTTRUNC: u32 = 8192; +pub const SO_WANTMORE: u32 = 16384; +pub const SO_WANTOOBFLAG: u32 = 32768; +pub const SO_SNDBUF: u32 = 4097; +pub const SO_RCVBUF: u32 = 4098; +pub const SO_SNDLOWAT: u32 = 4099; +pub const SO_RCVLOWAT: u32 = 4100; +pub const SO_SNDTIMEO: u32 = 4101; +pub const SO_RCVTIMEO: u32 = 4102; +pub const SO_ERROR: u32 = 4103; +pub const SO_TYPE: u32 = 4104; +pub const SO_LABEL: u32 = 4112; +pub const SO_PEERLABEL: u32 = 4113; +pub const SO_NREAD: u32 = 4128; +pub const SO_NKE: u32 = 4129; +pub const SO_NOSIGPIPE: u32 = 4130; +pub const SO_NOADDRERR: u32 = 4131; +pub const SO_NWRITE: u32 = 4132; +pub const SO_REUSESHAREUID: u32 = 4133; +pub const SO_NOTIFYCONFLICT: u32 = 4134; +pub const SO_UPCALLCLOSEWAIT: u32 = 4135; +pub const SO_LINGER_SEC: u32 = 4224; +pub const SO_RANDOMPORT: u32 = 4226; +pub const SO_NP_EXTENSIONS: u32 = 4227; +pub const SO_NUMRCVPKT: u32 = 4370; +pub const SO_NET_SERVICE_TYPE: u32 = 4374; +pub const SO_NETSVC_MARKING_LEVEL: u32 = 4377; +pub const NET_SERVICE_TYPE_BE: u32 = 0; +pub const NET_SERVICE_TYPE_BK: u32 = 1; +pub const NET_SERVICE_TYPE_SIG: u32 = 2; +pub const NET_SERVICE_TYPE_VI: u32 = 3; +pub const NET_SERVICE_TYPE_VO: u32 = 4; +pub const NET_SERVICE_TYPE_RV: u32 = 5; +pub const NET_SERVICE_TYPE_AV: u32 = 6; +pub const NET_SERVICE_TYPE_OAM: u32 = 7; +pub const NET_SERVICE_TYPE_RD: u32 = 8; +pub const NETSVC_MRKNG_UNKNOWN: u32 = 0; +pub const NETSVC_MRKNG_LVL_L2: u32 = 1; +pub const NETSVC_MRKNG_LVL_L3L2_ALL: u32 = 2; +pub const NETSVC_MRKNG_LVL_L3L2_BK: u32 = 3; +pub const SAE_ASSOCID_ANY: u32 = 0; +pub const SAE_CONNID_ANY: u32 = 0; +pub const CONNECT_RESUME_ON_READ_WRITE: u32 = 1; +pub const CONNECT_DATA_IDEMPOTENT: u32 = 2; +pub const CONNECT_DATA_AUTHENTICATED: u32 = 4; +pub const SONPX_SETOPTSHUT: u32 = 1; +pub const SOL_SOCKET: u32 = 65535; +pub const AF_UNSPEC: u32 = 0; +pub const AF_UNIX: u32 = 1; +pub const AF_LOCAL: u32 = 1; +pub const AF_INET: u32 = 2; +pub const AF_IMPLINK: u32 = 3; +pub const AF_PUP: u32 = 4; +pub const AF_CHAOS: u32 = 5; +pub const AF_NS: u32 = 6; +pub const AF_ISO: u32 = 7; +pub const AF_OSI: u32 = 7; +pub const AF_ECMA: u32 = 8; +pub const AF_DATAKIT: u32 = 9; +pub const AF_CCITT: u32 = 10; +pub const AF_SNA: u32 = 11; +pub const AF_DECnet: u32 = 12; +pub const AF_DLI: u32 = 13; +pub const AF_LAT: u32 = 14; +pub const AF_HYLINK: u32 = 15; +pub const AF_APPLETALK: u32 = 16; +pub const AF_ROUTE: u32 = 17; +pub const AF_LINK: u32 = 18; +pub const pseudo_AF_XTP: u32 = 19; +pub const AF_COIP: u32 = 20; +pub const AF_CNT: u32 = 21; +pub const pseudo_AF_RTIP: u32 = 22; +pub const AF_IPX: u32 = 23; +pub const AF_SIP: u32 = 24; +pub const pseudo_AF_PIP: u32 = 25; +pub const AF_NDRV: u32 = 27; +pub const AF_ISDN: u32 = 28; +pub const AF_E164: u32 = 28; +pub const pseudo_AF_KEY: u32 = 29; +pub const AF_INET6: u32 = 30; +pub const AF_NATM: u32 = 31; +pub const AF_SYSTEM: u32 = 32; +pub const AF_NETBIOS: u32 = 33; +pub const AF_PPP: u32 = 34; +pub const pseudo_AF_HDRCMPLT: u32 = 35; +pub const AF_RESERVED_36: u32 = 36; +pub const AF_IEEE80211: u32 = 37; +pub const AF_UTUN: u32 = 38; +pub const AF_VSOCK: u32 = 40; +pub const AF_MAX: u32 = 41; +pub const SOCK_MAXADDRLEN: u32 = 255; +pub const _SS_MAXSIZE: u32 = 128; pub const PF_UNSPEC: u32 = 0; pub const PF_LOCAL: u32 = 1; pub const PF_UNIX: u32 = 1; -pub const PF_FILE: u32 = 1; pub const PF_INET: u32 = 2; -pub const PF_AX25: u32 = 3; -pub const PF_IPX: u32 = 4; -pub const PF_APPLETALK: u32 = 5; -pub const PF_NETROM: u32 = 6; -pub const PF_BRIDGE: u32 = 7; -pub const PF_ATMPVC: u32 = 8; -pub const PF_X25: u32 = 9; -pub const PF_INET6: u32 = 10; -pub const PF_ROSE: u32 = 11; +pub const PF_IMPLINK: u32 = 3; +pub const PF_PUP: u32 = 4; +pub const PF_CHAOS: u32 = 5; +pub const PF_NS: u32 = 6; +pub const PF_ISO: u32 = 7; +pub const PF_OSI: u32 = 7; +pub const PF_ECMA: u32 = 8; +pub const PF_DATAKIT: u32 = 9; +pub const PF_CCITT: u32 = 10; +pub const PF_SNA: u32 = 11; pub const PF_DECnet: u32 = 12; -pub const PF_NETBEUI: u32 = 13; -pub const PF_SECURITY: u32 = 14; -pub const PF_KEY: u32 = 15; -pub const PF_NETLINK: u32 = 16; -pub const PF_ROUTE: u32 = 16; -pub const PF_PACKET: u32 = 17; -pub const PF_ASH: u32 = 18; -pub const PF_ECONET: u32 = 19; -pub const PF_ATMSVC: u32 = 20; -pub const PF_RDS: u32 = 21; -pub const PF_SNA: u32 = 22; -pub const PF_IRDA: u32 = 23; -pub const PF_PPPOX: u32 = 24; -pub const PF_WANPIPE: u32 = 25; -pub const PF_LLC: u32 = 26; -pub const PF_IB: u32 = 27; -pub const PF_MPLS: u32 = 28; -pub const PF_CAN: u32 = 29; -pub const PF_TIPC: u32 = 30; -pub const PF_BLUETOOTH: u32 = 31; -pub const PF_IUCV: u32 = 32; -pub const PF_RXRPC: u32 = 33; -pub const PF_ISDN: u32 = 34; -pub const PF_PHONET: u32 = 35; -pub const PF_IEEE802154: u32 = 36; -pub const PF_CAIF: u32 = 37; -pub const PF_ALG: u32 = 38; -pub const PF_NFC: u32 = 39; +pub const PF_DLI: u32 = 13; +pub const PF_LAT: u32 = 14; +pub const PF_HYLINK: u32 = 15; +pub const PF_APPLETALK: u32 = 16; +pub const PF_ROUTE: u32 = 17; +pub const PF_LINK: u32 = 18; +pub const PF_XTP: u32 = 19; +pub const PF_COIP: u32 = 20; +pub const PF_CNT: u32 = 21; +pub const PF_SIP: u32 = 24; +pub const PF_IPX: u32 = 23; +pub const PF_RTIP: u32 = 22; +pub const PF_PIP: u32 = 25; +pub const PF_NDRV: u32 = 27; +pub const PF_ISDN: u32 = 28; +pub const PF_KEY: u32 = 29; +pub const PF_INET6: u32 = 30; +pub const PF_NATM: u32 = 31; +pub const PF_SYSTEM: u32 = 32; +pub const PF_NETBIOS: u32 = 33; +pub const PF_PPP: u32 = 34; +pub const PF_RESERVED_36: u32 = 36; +pub const PF_UTUN: u32 = 38; pub const PF_VSOCK: u32 = 40; -pub const PF_KCM: u32 = 41; -pub const PF_QIPCRTR: u32 = 42; -pub const PF_SMC: u32 = 43; -pub const PF_XDP: u32 = 44; -pub const PF_MAX: u32 = 45; -pub const AF_UNSPEC: u32 = 0; -pub const AF_LOCAL: u32 = 1; -pub const AF_UNIX: u32 = 1; -pub const AF_FILE: u32 = 1; -pub const AF_INET: u32 = 2; -pub const AF_AX25: u32 = 3; -pub const AF_IPX: u32 = 4; -pub const AF_APPLETALK: u32 = 5; -pub const AF_NETROM: u32 = 6; -pub const AF_BRIDGE: u32 = 7; -pub const AF_ATMPVC: u32 = 8; -pub const AF_X25: u32 = 9; -pub const AF_INET6: u32 = 10; -pub const AF_ROSE: u32 = 11; -pub const AF_DECnet: u32 = 12; -pub const AF_NETBEUI: u32 = 13; -pub const AF_SECURITY: u32 = 14; -pub const AF_KEY: u32 = 15; -pub const AF_NETLINK: u32 = 16; -pub const AF_ROUTE: u32 = 16; -pub const AF_PACKET: u32 = 17; -pub const AF_ASH: u32 = 18; -pub const AF_ECONET: u32 = 19; -pub const AF_ATMSVC: u32 = 20; -pub const AF_RDS: u32 = 21; -pub const AF_SNA: u32 = 22; -pub const AF_IRDA: u32 = 23; -pub const AF_PPPOX: u32 = 24; -pub const AF_WANPIPE: u32 = 25; -pub const AF_LLC: u32 = 26; -pub const AF_IB: u32 = 27; -pub const AF_MPLS: u32 = 28; -pub const AF_CAN: u32 = 29; -pub const AF_TIPC: u32 = 30; -pub const AF_BLUETOOTH: u32 = 31; -pub const AF_IUCV: u32 = 32; -pub const AF_RXRPC: u32 = 33; -pub const AF_ISDN: u32 = 34; -pub const AF_PHONET: u32 = 35; -pub const AF_IEEE802154: u32 = 36; -pub const AF_CAIF: u32 = 37; -pub const AF_ALG: u32 = 38; -pub const AF_NFC: u32 = 39; -pub const AF_VSOCK: u32 = 40; -pub const AF_KCM: u32 = 41; -pub const AF_QIPCRTR: u32 = 42; -pub const AF_SMC: u32 = 43; -pub const AF_XDP: u32 = 44; -pub const AF_MAX: u32 = 45; -pub const SOL_RAW: u32 = 255; -pub const SOL_DECNET: u32 = 261; -pub const SOL_X25: u32 = 262; -pub const SOL_PACKET: u32 = 263; -pub const SOL_ATM: u32 = 264; -pub const SOL_AAL: u32 = 265; -pub const SOL_IRDA: u32 = 266; -pub const SOL_NETBEUI: u32 = 267; -pub const SOL_LLC: u32 = 268; -pub const SOL_DCCP: u32 = 269; -pub const SOL_NETLINK: u32 = 270; -pub const SOL_TIPC: u32 = 271; -pub const SOL_RXRPC: u32 = 272; -pub const SOL_PPPOL2TP: u32 = 273; -pub const SOL_BLUETOOTH: u32 = 274; -pub const SOL_PNPIPE: u32 = 275; -pub const SOL_RDS: u32 = 276; -pub const SOL_IUCV: u32 = 277; -pub const SOL_CAIF: u32 = 278; -pub const SOL_ALG: u32 = 279; -pub const SOL_NFC: u32 = 280; -pub const SOL_KCM: u32 = 281; -pub const SOL_TLS: u32 = 282; -pub const SOL_XDP: u32 = 283; -pub const SOMAXCONN: u32 = 4096; -pub const _BITS_SOCKADDR_H: u32 = 1; -pub const _SS_SIZE: u32 = 128; -pub const __BITS_PER_LONG: u32 = 64; -pub const FIOSETOWN: u32 = 35073; -pub const SIOCSPGRP: u32 = 35074; -pub const FIOGETOWN: u32 = 35075; -pub const SIOCGPGRP: u32 = 35076; -pub const SIOCATMARK: u32 = 35077; -pub const SIOCGSTAMP_OLD: u32 = 35078; -pub const SIOCGSTAMPNS_OLD: u32 = 35079; -pub const SOL_SOCKET: u32 = 1; -pub const SO_DEBUG: u32 = 1; -pub const SO_REUSEADDR: u32 = 2; -pub const SO_TYPE: u32 = 3; -pub const SO_ERROR: u32 = 4; -pub const SO_DONTROUTE: u32 = 5; -pub const SO_BROADCAST: u32 = 6; -pub const SO_SNDBUF: u32 = 7; -pub const SO_RCVBUF: u32 = 8; -pub const SO_SNDBUFFORCE: u32 = 32; -pub const SO_RCVBUFFORCE: u32 = 33; -pub const SO_KEEPALIVE: u32 = 9; -pub const SO_OOBINLINE: u32 = 10; -pub const SO_NO_CHECK: u32 = 11; -pub const SO_PRIORITY: u32 = 12; -pub const SO_LINGER: u32 = 13; -pub const SO_BSDCOMPAT: u32 = 14; -pub const SO_REUSEPORT: u32 = 15; -pub const SO_PASSCRED: u32 = 16; -pub const SO_PEERCRED: u32 = 17; -pub const SO_RCVLOWAT: u32 = 18; -pub const SO_SNDLOWAT: u32 = 19; -pub const SO_RCVTIMEO_OLD: u32 = 20; -pub const SO_SNDTIMEO_OLD: u32 = 21; -pub const SO_SECURITY_AUTHENTICATION: u32 = 22; -pub const SO_SECURITY_ENCRYPTION_TRANSPORT: u32 = 23; -pub const SO_SECURITY_ENCRYPTION_NETWORK: u32 = 24; -pub const SO_BINDTODEVICE: u32 = 25; -pub const SO_ATTACH_FILTER: u32 = 26; -pub const SO_DETACH_FILTER: u32 = 27; -pub const SO_GET_FILTER: u32 = 26; -pub const SO_PEERNAME: u32 = 28; -pub const SO_ACCEPTCONN: u32 = 30; -pub const SO_PEERSEC: u32 = 31; -pub const SO_PASSSEC: u32 = 34; -pub const SO_MARK: u32 = 36; -pub const SO_PROTOCOL: u32 = 38; -pub const SO_DOMAIN: u32 = 39; -pub const SO_RXQ_OVFL: u32 = 40; -pub const SO_WIFI_STATUS: u32 = 41; -pub const SCM_WIFI_STATUS: u32 = 41; -pub const SO_PEEK_OFF: u32 = 42; -pub const SO_NOFCS: u32 = 43; -pub const SO_LOCK_FILTER: u32 = 44; -pub const SO_SELECT_ERR_QUEUE: u32 = 45; -pub const SO_BUSY_POLL: u32 = 46; -pub const SO_MAX_PACING_RATE: u32 = 47; -pub const SO_BPF_EXTENSIONS: u32 = 48; -pub const SO_INCOMING_CPU: u32 = 49; -pub const SO_ATTACH_BPF: u32 = 50; -pub const SO_DETACH_BPF: u32 = 27; -pub const SO_ATTACH_REUSEPORT_CBPF: u32 = 51; -pub const SO_ATTACH_REUSEPORT_EBPF: u32 = 52; -pub const SO_CNX_ADVICE: u32 = 53; -pub const SCM_TIMESTAMPING_OPT_STATS: u32 = 54; -pub const SO_MEMINFO: u32 = 55; -pub const SO_INCOMING_NAPI_ID: u32 = 56; -pub const SO_COOKIE: u32 = 57; -pub const SCM_TIMESTAMPING_PKTINFO: u32 = 58; -pub const SO_PEERGROUPS: u32 = 59; -pub const SO_ZEROCOPY: u32 = 60; -pub const SO_TXTIME: u32 = 61; -pub const SCM_TXTIME: u32 = 61; -pub const SO_BINDTOIFINDEX: u32 = 62; -pub const SO_TIMESTAMP_OLD: u32 = 29; -pub const SO_TIMESTAMPNS_OLD: u32 = 35; -pub const SO_TIMESTAMPING_OLD: u32 = 37; -pub const SO_TIMESTAMP_NEW: u32 = 63; -pub const SO_TIMESTAMPNS_NEW: u32 = 64; -pub const SO_TIMESTAMPING_NEW: u32 = 65; -pub const SO_RCVTIMEO_NEW: u32 = 66; -pub const SO_SNDTIMEO_NEW: u32 = 67; -pub const SO_DETACH_REUSEPORT_BPF: u32 = 68; -pub const SO_PREFER_BUSY_POLL: u32 = 69; -pub const SO_BUSY_POLL_BUDGET: u32 = 70; -pub const SO_NETNS_COOKIE: u32 = 71; -pub const SO_TIMESTAMP: u32 = 29; -pub const SO_TIMESTAMPNS: u32 = 35; -pub const SO_TIMESTAMPING: u32 = 37; -pub const SO_RCVTIMEO: u32 = 20; -pub const SO_SNDTIMEO: u32 = 21; -pub const SCM_TIMESTAMP: u32 = 29; -pub const SCM_TIMESTAMPNS: u32 = 35; -pub const SCM_TIMESTAMPING: u32 = 37; -pub const __osockaddr_defined: u32 = 1; -pub const __USE_KERNEL_IPV6_DEFS: u32 = 0; -pub const IP_OPTIONS: u32 = 4; -pub const IP_HDRINCL: u32 = 3; -pub const IP_TOS: u32 = 1; -pub const IP_TTL: u32 = 2; -pub const IP_RECVOPTS: u32 = 6; -pub const IP_RETOPTS: u32 = 7; -pub const IP_MULTICAST_IF: u32 = 32; -pub const IP_MULTICAST_TTL: u32 = 33; -pub const IP_MULTICAST_LOOP: u32 = 34; -pub const IP_ADD_MEMBERSHIP: u32 = 35; -pub const IP_DROP_MEMBERSHIP: u32 = 36; -pub const IP_UNBLOCK_SOURCE: u32 = 37; -pub const IP_BLOCK_SOURCE: u32 = 38; -pub const IP_ADD_SOURCE_MEMBERSHIP: u32 = 39; -pub const IP_DROP_SOURCE_MEMBERSHIP: u32 = 40; -pub const IP_MSFILTER: u32 = 41; -pub const MCAST_JOIN_GROUP: u32 = 42; -pub const MCAST_BLOCK_SOURCE: u32 = 43; -pub const MCAST_UNBLOCK_SOURCE: u32 = 44; -pub const MCAST_LEAVE_GROUP: u32 = 45; -pub const MCAST_JOIN_SOURCE_GROUP: u32 = 46; -pub const MCAST_LEAVE_SOURCE_GROUP: u32 = 47; -pub const MCAST_MSFILTER: u32 = 48; -pub const IP_MULTICAST_ALL: u32 = 49; -pub const IP_UNICAST_IF: u32 = 50; -pub const MCAST_EXCLUDE: u32 = 0; -pub const MCAST_INCLUDE: u32 = 1; -pub const IP_ROUTER_ALERT: u32 = 5; -pub const IP_PKTINFO: u32 = 8; -pub const IP_PKTOPTIONS: u32 = 9; -pub const IP_PMTUDISC: u32 = 10; -pub const IP_MTU_DISCOVER: u32 = 10; -pub const IP_RECVERR: u32 = 11; -pub const IP_RECVTTL: u32 = 12; -pub const IP_RECVTOS: u32 = 13; -pub const IP_MTU: u32 = 14; -pub const IP_FREEBIND: u32 = 15; -pub const IP_IPSEC_POLICY: u32 = 16; -pub const IP_XFRM_POLICY: u32 = 17; -pub const IP_PASSSEC: u32 = 18; -pub const IP_TRANSPARENT: u32 = 19; -pub const IP_ORIGDSTADDR: u32 = 20; -pub const IP_RECVORIGDSTADDR: u32 = 20; -pub const IP_MINTTL: u32 = 21; -pub const IP_NODEFRAG: u32 = 22; -pub const IP_CHECKSUM: u32 = 23; -pub const IP_BIND_ADDRESS_NO_PORT: u32 = 24; -pub const IP_RECVFRAGSIZE: u32 = 25; -pub const IP_RECVERR_RFC4884: u32 = 26; -pub const IP_PMTUDISC_DONT: u32 = 0; -pub const IP_PMTUDISC_WANT: u32 = 1; -pub const IP_PMTUDISC_DO: u32 = 2; -pub const IP_PMTUDISC_PROBE: u32 = 3; -pub const IP_PMTUDISC_INTERFACE: u32 = 4; -pub const IP_PMTUDISC_OMIT: u32 = 5; -pub const SOL_IP: u32 = 0; -pub const IP_DEFAULT_MULTICAST_TTL: u32 = 1; -pub const IP_DEFAULT_MULTICAST_LOOP: u32 = 1; -pub const IP_MAX_MEMBERSHIPS: u32 = 20; -pub const IPV6_ADDRFORM: u32 = 1; -pub const IPV6_2292PKTINFO: u32 = 2; -pub const IPV6_2292HOPOPTS: u32 = 3; -pub const IPV6_2292DSTOPTS: u32 = 4; -pub const IPV6_2292RTHDR: u32 = 5; -pub const IPV6_2292PKTOPTIONS: u32 = 6; -pub const IPV6_CHECKSUM: u32 = 7; -pub const IPV6_2292HOPLIMIT: u32 = 8; -pub const IPV6_NEXTHOP: u32 = 9; -pub const IPV6_AUTHHDR: u32 = 10; -pub const IPV6_UNICAST_HOPS: u32 = 16; -pub const IPV6_MULTICAST_IF: u32 = 17; -pub const IPV6_MULTICAST_HOPS: u32 = 18; -pub const IPV6_MULTICAST_LOOP: u32 = 19; -pub const IPV6_JOIN_GROUP: u32 = 20; -pub const IPV6_LEAVE_GROUP: u32 = 21; -pub const IPV6_ROUTER_ALERT: u32 = 22; -pub const IPV6_MTU_DISCOVER: u32 = 23; -pub const IPV6_MTU: u32 = 24; -pub const IPV6_RECVERR: u32 = 25; -pub const IPV6_V6ONLY: u32 = 26; -pub const IPV6_JOIN_ANYCAST: u32 = 27; -pub const IPV6_LEAVE_ANYCAST: u32 = 28; -pub const IPV6_MULTICAST_ALL: u32 = 29; -pub const IPV6_ROUTER_ALERT_ISOLATE: u32 = 30; -pub const IPV6_RECVERR_RFC4884: u32 = 31; -pub const IPV6_IPSEC_POLICY: u32 = 34; -pub const IPV6_XFRM_POLICY: u32 = 35; -pub const IPV6_HDRINCL: u32 = 36; -pub const IPV6_RECVPKTINFO: u32 = 49; -pub const IPV6_PKTINFO: u32 = 50; -pub const IPV6_RECVHOPLIMIT: u32 = 51; -pub const IPV6_HOPLIMIT: u32 = 52; -pub const IPV6_RECVHOPOPTS: u32 = 53; -pub const IPV6_HOPOPTS: u32 = 54; -pub const IPV6_RTHDRDSTOPTS: u32 = 55; -pub const IPV6_RECVRTHDR: u32 = 56; -pub const IPV6_RTHDR: u32 = 57; -pub const IPV6_RECVDSTOPTS: u32 = 58; -pub const IPV6_DSTOPTS: u32 = 59; -pub const IPV6_RECVPATHMTU: u32 = 60; -pub const IPV6_PATHMTU: u32 = 61; -pub const IPV6_DONTFRAG: u32 = 62; -pub const IPV6_RECVTCLASS: u32 = 66; -pub const IPV6_TCLASS: u32 = 67; -pub const IPV6_AUTOFLOWLABEL: u32 = 70; -pub const IPV6_ADDR_PREFERENCES: u32 = 72; -pub const IPV6_MINHOPCOUNT: u32 = 73; -pub const IPV6_ORIGDSTADDR: u32 = 74; -pub const IPV6_RECVORIGDSTADDR: u32 = 74; -pub const IPV6_TRANSPARENT: u32 = 75; -pub const IPV6_UNICAST_IF: u32 = 76; -pub const IPV6_RECVFRAGSIZE: u32 = 77; -pub const IPV6_FREEBIND: u32 = 78; -pub const IPV6_ADD_MEMBERSHIP: u32 = 20; -pub const IPV6_DROP_MEMBERSHIP: u32 = 21; -pub const IPV6_RXHOPOPTS: u32 = 54; -pub const IPV6_RXDSTOPTS: u32 = 59; -pub const IPV6_PMTUDISC_DONT: u32 = 0; -pub const IPV6_PMTUDISC_WANT: u32 = 1; -pub const IPV6_PMTUDISC_DO: u32 = 2; -pub const IPV6_PMTUDISC_PROBE: u32 = 3; -pub const IPV6_PMTUDISC_INTERFACE: u32 = 4; -pub const IPV6_PMTUDISC_OMIT: u32 = 5; -pub const SOL_IPV6: u32 = 41; -pub const SOL_ICMPV6: u32 = 58; -pub const IPV6_RTHDR_LOOSE: u32 = 0; -pub const IPV6_RTHDR_STRICT: u32 = 1; -pub const IPV6_RTHDR_TYPE_0: u32 = 0; +pub const PF_MAX: u32 = 41; +pub const NET_MAXID: u32 = 41; +pub const NET_RT_DUMP: u32 = 1; +pub const NET_RT_FLAGS: u32 = 2; +pub const NET_RT_IFLIST: u32 = 3; +pub const NET_RT_STAT: u32 = 4; +pub const NET_RT_TRASH: u32 = 5; +pub const NET_RT_IFLIST2: u32 = 6; +pub const NET_RT_DUMP2: u32 = 7; +pub const NET_RT_FLAGS_PRIV: u32 = 10; +pub const NET_RT_MAXID: u32 = 11; +pub const SOMAXCONN: u32 = 128; +pub const MSG_OOB: u32 = 1; +pub const MSG_PEEK: u32 = 2; +pub const MSG_DONTROUTE: u32 = 4; +pub const MSG_EOR: u32 = 8; +pub const MSG_TRUNC: u32 = 16; +pub const MSG_CTRUNC: u32 = 32; +pub const MSG_WAITALL: u32 = 64; +pub const MSG_DONTWAIT: u32 = 128; +pub const MSG_EOF: u32 = 256; +pub const MSG_WAITSTREAM: u32 = 512; +pub const MSG_FLUSH: u32 = 1024; +pub const MSG_HOLD: u32 = 2048; +pub const MSG_SEND: u32 = 4096; +pub const MSG_HAVEMORE: u32 = 8192; +pub const MSG_RCVMORE: u32 = 16384; +pub const MSG_NEEDSA: u32 = 65536; +pub const MSG_NOSIGNAL: u32 = 524288; +pub const SCM_RIGHTS: u32 = 1; +pub const SCM_TIMESTAMP: u32 = 2; +pub const SCM_CREDS: u32 = 3; +pub const SCM_TIMESTAMP_MONOTONIC: u32 = 4; +pub const SHUT_RD: u32 = 0; +pub const SHUT_WR: u32 = 1; +pub const SHUT_RDWR: u32 = 2; +pub const IPPROTO_IP: u32 = 0; +pub const IPPROTO_HOPOPTS: u32 = 0; +pub const IPPROTO_ICMP: u32 = 1; +pub const IPPROTO_IGMP: u32 = 2; +pub const IPPROTO_GGP: u32 = 3; +pub const IPPROTO_IPV4: u32 = 4; +pub const IPPROTO_IPIP: u32 = 4; +pub const IPPROTO_TCP: u32 = 6; +pub const IPPROTO_ST: u32 = 7; +pub const IPPROTO_EGP: u32 = 8; +pub const IPPROTO_PIGP: u32 = 9; +pub const IPPROTO_RCCMON: u32 = 10; +pub const IPPROTO_NVPII: u32 = 11; +pub const IPPROTO_PUP: u32 = 12; +pub const IPPROTO_ARGUS: u32 = 13; +pub const IPPROTO_EMCON: u32 = 14; +pub const IPPROTO_XNET: u32 = 15; +pub const IPPROTO_CHAOS: u32 = 16; +pub const IPPROTO_UDP: u32 = 17; +pub const IPPROTO_MUX: u32 = 18; +pub const IPPROTO_MEAS: u32 = 19; +pub const IPPROTO_HMP: u32 = 20; +pub const IPPROTO_PRM: u32 = 21; +pub const IPPROTO_IDP: u32 = 22; +pub const IPPROTO_TRUNK1: u32 = 23; +pub const IPPROTO_TRUNK2: u32 = 24; +pub const IPPROTO_LEAF1: u32 = 25; +pub const IPPROTO_LEAF2: u32 = 26; +pub const IPPROTO_RDP: u32 = 27; +pub const IPPROTO_IRTP: u32 = 28; +pub const IPPROTO_TP: u32 = 29; +pub const IPPROTO_BLT: u32 = 30; +pub const IPPROTO_NSP: u32 = 31; +pub const IPPROTO_INP: u32 = 32; +pub const IPPROTO_SEP: u32 = 33; +pub const IPPROTO_3PC: u32 = 34; +pub const IPPROTO_IDPR: u32 = 35; +pub const IPPROTO_XTP: u32 = 36; +pub const IPPROTO_DDP: u32 = 37; +pub const IPPROTO_CMTP: u32 = 38; +pub const IPPROTO_TPXX: u32 = 39; +pub const IPPROTO_IL: u32 = 40; +pub const IPPROTO_IPV6: u32 = 41; +pub const IPPROTO_SDRP: u32 = 42; +pub const IPPROTO_ROUTING: u32 = 43; +pub const IPPROTO_FRAGMENT: u32 = 44; +pub const IPPROTO_IDRP: u32 = 45; +pub const IPPROTO_RSVP: u32 = 46; +pub const IPPROTO_GRE: u32 = 47; +pub const IPPROTO_MHRP: u32 = 48; +pub const IPPROTO_BHA: u32 = 49; +pub const IPPROTO_ESP: u32 = 50; +pub const IPPROTO_AH: u32 = 51; +pub const IPPROTO_INLSP: u32 = 52; +pub const IPPROTO_SWIPE: u32 = 53; +pub const IPPROTO_NHRP: u32 = 54; +pub const IPPROTO_ICMPV6: u32 = 58; +pub const IPPROTO_NONE: u32 = 59; +pub const IPPROTO_DSTOPTS: u32 = 60; +pub const IPPROTO_AHIP: u32 = 61; +pub const IPPROTO_CFTP: u32 = 62; +pub const IPPROTO_HELLO: u32 = 63; +pub const IPPROTO_SATEXPAK: u32 = 64; +pub const IPPROTO_KRYPTOLAN: u32 = 65; +pub const IPPROTO_RVD: u32 = 66; +pub const IPPROTO_IPPC: u32 = 67; +pub const IPPROTO_ADFS: u32 = 68; +pub const IPPROTO_SATMON: u32 = 69; +pub const IPPROTO_VISA: u32 = 70; +pub const IPPROTO_IPCV: u32 = 71; +pub const IPPROTO_CPNX: u32 = 72; +pub const IPPROTO_CPHB: u32 = 73; +pub const IPPROTO_WSN: u32 = 74; +pub const IPPROTO_PVP: u32 = 75; +pub const IPPROTO_BRSATMON: u32 = 76; +pub const IPPROTO_ND: u32 = 77; +pub const IPPROTO_WBMON: u32 = 78; +pub const IPPROTO_WBEXPAK: u32 = 79; +pub const IPPROTO_EON: u32 = 80; +pub const IPPROTO_VMTP: u32 = 81; +pub const IPPROTO_SVMTP: u32 = 82; +pub const IPPROTO_VINES: u32 = 83; +pub const IPPROTO_TTP: u32 = 84; +pub const IPPROTO_IGP: u32 = 85; +pub const IPPROTO_DGP: u32 = 86; +pub const IPPROTO_TCF: u32 = 87; +pub const IPPROTO_IGRP: u32 = 88; +pub const IPPROTO_OSPFIGP: u32 = 89; +pub const IPPROTO_SRPC: u32 = 90; +pub const IPPROTO_LARP: u32 = 91; +pub const IPPROTO_MTP: u32 = 92; +pub const IPPROTO_AX25: u32 = 93; +pub const IPPROTO_IPEIP: u32 = 94; +pub const IPPROTO_MICP: u32 = 95; +pub const IPPROTO_SCCSP: u32 = 96; +pub const IPPROTO_ETHERIP: u32 = 97; +pub const IPPROTO_ENCAP: u32 = 98; +pub const IPPROTO_APES: u32 = 99; +pub const IPPROTO_GMTP: u32 = 100; +pub const IPPROTO_PIM: u32 = 103; +pub const IPPROTO_IPCOMP: u32 = 108; +pub const IPPROTO_PGM: u32 = 113; +pub const IPPROTO_SCTP: u32 = 132; +pub const IPPROTO_DIVERT: u32 = 254; +pub const IPPROTO_RAW: u32 = 255; +pub const IPPROTO_MAX: u32 = 256; +pub const IPPROTO_DONE: u32 = 257; +pub const __DARWIN_IPPORT_RESERVED: u32 = 1024; +pub const IPPORT_USERRESERVED: u32 = 5000; +pub const IPPORT_HIFIRSTAUTO: u32 = 49152; +pub const IPPORT_HILASTAUTO: u32 = 65535; +pub const IPPORT_RESERVEDSTART: u32 = 600; pub const IN_CLASSA_NET: u32 = 4278190080; pub const IN_CLASSA_NSHIFT: u32 = 24; pub const IN_CLASSA_HOST: u32 = 16777215; @@ -1135,68 +1434,285 @@ pub const IN_CLASSB_MAX: u32 = 65536; pub const IN_CLASSC_NET: u32 = 4294967040; pub const IN_CLASSC_NSHIFT: u32 = 8; pub const IN_CLASSC_HOST: u32 = 255; +pub const IN_CLASSD_NET: u32 = 4026531840; +pub const IN_CLASSD_NSHIFT: u32 = 28; +pub const IN_CLASSD_HOST: u32 = 268435455; +pub const INADDR_NONE: u32 = 4294967295; pub const IN_LOOPBACKNET: u32 = 127; pub const INET_ADDRSTRLEN: u32 = 16; +pub const IP_OPTIONS: u32 = 1; +pub const IP_HDRINCL: u32 = 2; +pub const IP_TOS: u32 = 3; +pub const IP_TTL: u32 = 4; +pub const IP_RECVOPTS: u32 = 5; +pub const IP_RECVRETOPTS: u32 = 6; +pub const IP_RECVDSTADDR: u32 = 7; +pub const IP_RETOPTS: u32 = 8; +pub const IP_MULTICAST_IF: u32 = 9; +pub const IP_MULTICAST_TTL: u32 = 10; +pub const IP_MULTICAST_LOOP: u32 = 11; +pub const IP_ADD_MEMBERSHIP: u32 = 12; +pub const IP_DROP_MEMBERSHIP: u32 = 13; +pub const IP_MULTICAST_VIF: u32 = 14; +pub const IP_RSVP_ON: u32 = 15; +pub const IP_RSVP_OFF: u32 = 16; +pub const IP_RSVP_VIF_ON: u32 = 17; +pub const IP_RSVP_VIF_OFF: u32 = 18; +pub const IP_PORTRANGE: u32 = 19; +pub const IP_RECVIF: u32 = 20; +pub const IP_IPSEC_POLICY: u32 = 21; +pub const IP_FAITH: u32 = 22; +pub const IP_STRIPHDR: u32 = 23; +pub const IP_RECVTTL: u32 = 24; +pub const IP_BOUND_IF: u32 = 25; +pub const IP_PKTINFO: u32 = 26; +pub const IP_RECVPKTINFO: u32 = 26; +pub const IP_RECVTOS: u32 = 27; +pub const IP_DONTFRAG: u32 = 28; +pub const IP_FW_ADD: u32 = 40; +pub const IP_FW_DEL: u32 = 41; +pub const IP_FW_FLUSH: u32 = 42; +pub const IP_FW_ZERO: u32 = 43; +pub const IP_FW_GET: u32 = 44; +pub const IP_FW_RESETLOG: u32 = 45; +pub const IP_OLD_FW_ADD: u32 = 50; +pub const IP_OLD_FW_DEL: u32 = 51; +pub const IP_OLD_FW_FLUSH: u32 = 52; +pub const IP_OLD_FW_ZERO: u32 = 53; +pub const IP_OLD_FW_GET: u32 = 54; +pub const IP_NAT__XXX: u32 = 55; +pub const IP_OLD_FW_RESETLOG: u32 = 56; +pub const IP_DUMMYNET_CONFIGURE: u32 = 60; +pub const IP_DUMMYNET_DEL: u32 = 61; +pub const IP_DUMMYNET_FLUSH: u32 = 62; +pub const IP_DUMMYNET_GET: u32 = 64; +pub const IP_TRAFFIC_MGT_BACKGROUND: u32 = 65; +pub const IP_MULTICAST_IFINDEX: u32 = 66; +pub const IP_ADD_SOURCE_MEMBERSHIP: u32 = 70; +pub const IP_DROP_SOURCE_MEMBERSHIP: u32 = 71; +pub const IP_BLOCK_SOURCE: u32 = 72; +pub const IP_UNBLOCK_SOURCE: u32 = 73; +pub const IP_MSFILTER: u32 = 74; +pub const MCAST_JOIN_GROUP: u32 = 80; +pub const MCAST_LEAVE_GROUP: u32 = 81; +pub const MCAST_JOIN_SOURCE_GROUP: u32 = 82; +pub const MCAST_LEAVE_SOURCE_GROUP: u32 = 83; +pub const MCAST_BLOCK_SOURCE: u32 = 84; +pub const MCAST_UNBLOCK_SOURCE: u32 = 85; +pub const IP_DEFAULT_MULTICAST_TTL: u32 = 1; +pub const IP_DEFAULT_MULTICAST_LOOP: u32 = 1; +pub const IP_MIN_MEMBERSHIPS: u32 = 31; +pub const IP_MAX_MEMBERSHIPS: u32 = 4095; +pub const IP_MAX_GROUP_SRC_FILTER: u32 = 512; +pub const IP_MAX_SOCK_SRC_FILTER: u32 = 128; +pub const IP_MAX_SOCK_MUTE_FILTER: u32 = 128; +pub const MCAST_UNDEFINED: u32 = 0; +pub const MCAST_INCLUDE: u32 = 1; +pub const MCAST_EXCLUDE: u32 = 2; +pub const IP_PORTRANGE_DEFAULT: u32 = 0; +pub const IP_PORTRANGE_HIGH: u32 = 1; +pub const IP_PORTRANGE_LOW: u32 = 2; +pub const IPPROTO_MAXID: u32 = 52; +pub const IPCTL_FORWARDING: u32 = 1; +pub const IPCTL_SENDREDIRECTS: u32 = 2; +pub const IPCTL_DEFTTL: u32 = 3; +pub const IPCTL_RTEXPIRE: u32 = 5; +pub const IPCTL_RTMINEXPIRE: u32 = 6; +pub const IPCTL_RTMAXCACHE: u32 = 7; +pub const IPCTL_SOURCEROUTE: u32 = 8; +pub const IPCTL_DIRECTEDBROADCAST: u32 = 9; +pub const IPCTL_INTRQMAXLEN: u32 = 10; +pub const IPCTL_INTRQDROPS: u32 = 11; +pub const IPCTL_STATS: u32 = 12; +pub const IPCTL_ACCEPTSOURCEROUTE: u32 = 13; +pub const IPCTL_FASTFORWARDING: u32 = 14; +pub const IPCTL_KEEPFAITH: u32 = 15; +pub const IPCTL_GIF_TTL: u32 = 16; +pub const IPCTL_MAXID: u32 = 17; +pub const __KAME_VERSION: &[u8; 18usize] = b"2009/apple-darwin\0"; +pub const IPV6PORT_RESERVED: u32 = 1024; +pub const IPV6PORT_ANONMIN: u32 = 49152; +pub const IPV6PORT_ANONMAX: u32 = 65535; +pub const IPV6PORT_RESERVEDMIN: u32 = 600; +pub const IPV6PORT_RESERVEDMAX: u32 = 1023; pub const INET6_ADDRSTRLEN: u32 = 46; -pub const _RPC_NETDB_H: u32 = 1; +pub const __IPV6_ADDR_SCOPE_NODELOCAL: u32 = 1; +pub const __IPV6_ADDR_SCOPE_INTFACELOCAL: u32 = 1; +pub const __IPV6_ADDR_SCOPE_LINKLOCAL: u32 = 2; +pub const __IPV6_ADDR_SCOPE_SITELOCAL: u32 = 5; +pub const __IPV6_ADDR_SCOPE_ORGLOCAL: u32 = 8; +pub const __IPV6_ADDR_SCOPE_GLOBAL: u32 = 14; +pub const IPV6_ADDR_MC_FLAGS_TRANSIENT: u32 = 16; +pub const IPV6_ADDR_MC_FLAGS_PREFIX: u32 = 32; +pub const IPV6_ADDR_MC_FLAGS_UNICAST_BASED: u32 = 48; +pub const IPV6_SOCKOPT_RESERVED1: u32 = 3; +pub const IPV6_UNICAST_HOPS: u32 = 4; +pub const IPV6_MULTICAST_IF: u32 = 9; +pub const IPV6_MULTICAST_HOPS: u32 = 10; +pub const IPV6_MULTICAST_LOOP: u32 = 11; +pub const IPV6_JOIN_GROUP: u32 = 12; +pub const IPV6_LEAVE_GROUP: u32 = 13; +pub const IPV6_PORTRANGE: u32 = 14; +pub const ICMP6_FILTER: u32 = 18; +pub const IPV6_2292PKTINFO: u32 = 19; +pub const IPV6_2292HOPLIMIT: u32 = 20; +pub const IPV6_2292NEXTHOP: u32 = 21; +pub const IPV6_2292HOPOPTS: u32 = 22; +pub const IPV6_2292DSTOPTS: u32 = 23; +pub const IPV6_2292RTHDR: u32 = 24; +pub const IPV6_2292PKTOPTIONS: u32 = 25; +pub const IPV6_CHECKSUM: u32 = 26; +pub const IPV6_V6ONLY: u32 = 27; +pub const IPV6_BINDV6ONLY: u32 = 27; +pub const IPV6_IPSEC_POLICY: u32 = 28; +pub const IPV6_FAITH: u32 = 29; +pub const IPV6_FW_ADD: u32 = 30; +pub const IPV6_FW_DEL: u32 = 31; +pub const IPV6_FW_FLUSH: u32 = 32; +pub const IPV6_FW_ZERO: u32 = 33; +pub const IPV6_FW_GET: u32 = 34; +pub const IPV6_RECVTCLASS: u32 = 35; +pub const IPV6_TCLASS: u32 = 36; +pub const IPV6_BOUND_IF: u32 = 125; +pub const IPV6_RTHDR_LOOSE: u32 = 0; +pub const IPV6_RTHDR_STRICT: u32 = 1; +pub const IPV6_RTHDR_TYPE_0: u32 = 0; +pub const IPV6_DEFAULT_MULTICAST_HOPS: u32 = 1; +pub const IPV6_DEFAULT_MULTICAST_LOOP: u32 = 1; +pub const IPV6_MIN_MEMBERSHIPS: u32 = 31; +pub const IPV6_MAX_MEMBERSHIPS: u32 = 4095; +pub const IPV6_MAX_GROUP_SRC_FILTER: u32 = 512; +pub const IPV6_MAX_SOCK_SRC_FILTER: u32 = 128; +pub const IPV6_PORTRANGE_DEFAULT: u32 = 0; +pub const IPV6_PORTRANGE_HIGH: u32 = 1; +pub const IPV6_PORTRANGE_LOW: u32 = 2; +pub const IPV6PROTO_MAXID: u32 = 104; +pub const IPV6CTL_FORWARDING: u32 = 1; +pub const IPV6CTL_SENDREDIRECTS: u32 = 2; +pub const IPV6CTL_DEFHLIM: u32 = 3; +pub const IPV6CTL_FORWSRCRT: u32 = 5; +pub const IPV6CTL_STATS: u32 = 6; +pub const IPV6CTL_MRTSTATS: u32 = 7; +pub const IPV6CTL_MRTPROTO: u32 = 8; +pub const IPV6CTL_MAXFRAGPACKETS: u32 = 9; +pub const IPV6CTL_SOURCECHECK: u32 = 10; +pub const IPV6CTL_SOURCECHECK_LOGINT: u32 = 11; +pub const IPV6CTL_ACCEPT_RTADV: u32 = 12; +pub const IPV6CTL_KEEPFAITH: u32 = 13; +pub const IPV6CTL_LOG_INTERVAL: u32 = 14; +pub const IPV6CTL_HDRNESTLIMIT: u32 = 15; +pub const IPV6CTL_DAD_COUNT: u32 = 16; +pub const IPV6CTL_AUTO_FLOWLABEL: u32 = 17; +pub const IPV6CTL_DEFMCASTHLIM: u32 = 18; +pub const IPV6CTL_GIF_HLIM: u32 = 19; +pub const IPV6CTL_KAME_VERSION: u32 = 20; +pub const IPV6CTL_USE_DEPRECATED: u32 = 21; +pub const IPV6CTL_RR_PRUNE: u32 = 22; +pub const IPV6CTL_V6ONLY: u32 = 24; +pub const IPV6CTL_RTEXPIRE: u32 = 25; +pub const IPV6CTL_RTMINEXPIRE: u32 = 26; +pub const IPV6CTL_RTMAXCACHE: u32 = 27; +pub const IPV6CTL_USETEMPADDR: u32 = 32; +pub const IPV6CTL_TEMPPLTIME: u32 = 33; +pub const IPV6CTL_TEMPVLTIME: u32 = 34; +pub const IPV6CTL_AUTO_LINKLOCAL: u32 = 35; +pub const IPV6CTL_RIP6STATS: u32 = 36; +pub const IPV6CTL_PREFER_TEMPADDR: u32 = 37; +pub const IPV6CTL_ADDRCTLPOLICY: u32 = 38; +pub const IPV6CTL_USE_DEFAULTZONE: u32 = 39; +pub const IPV6CTL_MAXFRAGS: u32 = 41; +pub const IPV6CTL_MCAST_PMTU: u32 = 44; +pub const IPV6CTL_NEIGHBORGCTHRESH: u32 = 46; +pub const IPV6CTL_MAXIFPREFIXES: u32 = 47; +pub const IPV6CTL_MAXIFDEFROUTERS: u32 = 48; +pub const IPV6CTL_MAXDYNROUTES: u32 = 49; +pub const ICMPV6CTL_ND6_ONLINKNSRFC4861: u32 = 50; +pub const IPV6CTL_ULA_USETEMPADDR: u32 = 51; +pub const IPV6CTL_MAXID: u32 = 51; pub const _PATH_HEQUIV: &[u8; 17usize] = b"/etc/hosts.equiv\0"; pub const _PATH_HOSTS: &[u8; 11usize] = b"/etc/hosts\0"; pub const _PATH_NETWORKS: &[u8; 14usize] = b"/etc/networks\0"; -pub const _PATH_NSSWITCH_CONF: &[u8; 19usize] = b"/etc/nsswitch.conf\0"; pub const _PATH_PROTOCOLS: &[u8; 15usize] = b"/etc/protocols\0"; pub const _PATH_SERVICES: &[u8; 14usize] = b"/etc/services\0"; +pub const NETDB_INTERNAL: i32 = -1; +pub const NETDB_SUCCESS: u32 = 0; pub const HOST_NOT_FOUND: u32 = 1; pub const TRY_AGAIN: u32 = 2; pub const NO_RECOVERY: u32 = 3; pub const NO_DATA: u32 = 4; -pub const NETDB_INTERNAL: i32 = -1; -pub const NETDB_SUCCESS: u32 = 0; pub const NO_ADDRESS: u32 = 4; +pub const EAI_ADDRFAMILY: u32 = 1; +pub const EAI_AGAIN: u32 = 2; +pub const EAI_BADFLAGS: u32 = 3; +pub const EAI_FAIL: u32 = 4; +pub const EAI_FAMILY: u32 = 5; +pub const EAI_MEMORY: u32 = 6; +pub const EAI_NODATA: u32 = 7; +pub const EAI_NONAME: u32 = 8; +pub const EAI_SERVICE: u32 = 9; +pub const EAI_SOCKTYPE: u32 = 10; +pub const EAI_SYSTEM: u32 = 11; +pub const EAI_BADHINTS: u32 = 12; +pub const EAI_PROTOCOL: u32 = 13; +pub const EAI_OVERFLOW: u32 = 14; +pub const EAI_MAX: u32 = 15; pub const AI_PASSIVE: u32 = 1; pub const AI_CANONNAME: u32 = 2; pub const AI_NUMERICHOST: u32 = 4; -pub const AI_V4MAPPED: u32 = 8; -pub const AI_ALL: u32 = 16; -pub const AI_ADDRCONFIG: u32 = 32; -pub const AI_NUMERICSERV: u32 = 1024; -pub const EAI_BADFLAGS: i32 = -1; -pub const EAI_NONAME: i32 = -2; -pub const EAI_AGAIN: i32 = -3; -pub const EAI_FAIL: i32 = -4; -pub const EAI_FAMILY: i32 = -6; -pub const EAI_SOCKTYPE: i32 = -7; -pub const EAI_SERVICE: i32 = -8; -pub const EAI_MEMORY: i32 = -10; -pub const EAI_SYSTEM: i32 = -11; -pub const EAI_OVERFLOW: i32 = -12; +pub const AI_NUMERICSERV: u32 = 4096; +pub const AI_ALL: u32 = 256; +pub const AI_V4MAPPED_CFG: u32 = 512; +pub const AI_ADDRCONFIG: u32 = 1024; +pub const AI_V4MAPPED: u32 = 2048; +pub const AI_DEFAULT: u32 = 1536; +pub const AI_UNUSABLE: u32 = 268435456; pub const NI_MAXHOST: u32 = 1025; pub const NI_MAXSERV: u32 = 32; -pub const NI_NUMERICHOST: u32 = 1; -pub const NI_NUMERICSERV: u32 = 2; -pub const NI_NOFQDN: u32 = 4; -pub const NI_NAMEREQD: u32 = 8; +pub const NI_NOFQDN: u32 = 1; +pub const NI_NUMERICHOST: u32 = 2; +pub const NI_NAMEREQD: u32 = 4; +pub const NI_NUMERICSERV: u32 = 8; +pub const NI_NUMERICSCOPE: u32 = 256; pub const NI_DGRAM: u32 = 16; -pub const _PWD_H: u32 = 1; -pub const NSS_BUFLEN_PASSWD: u32 = 1024; +pub const NI_WITHSCOPEID: u32 = 32; +pub const SCOPE_DELIMITER: u8 = 37u8; +pub const _PATH_PWD: &[u8; 5usize] = b"/etc\0"; +pub const _PATH_PASSWD: &[u8; 12usize] = b"/etc/passwd\0"; +pub const _PASSWD: &[u8; 7usize] = b"passwd\0"; +pub const _PATH_MASTERPASSWD: &[u8; 19usize] = b"/etc/master.passwd\0"; +pub const _PATH_MASTERPASSWD_LOCK: &[u8; 10usize] = b"/etc/ptmp\0"; +pub const _MASTERPASSWD: &[u8; 14usize] = b"master.passwd\0"; +pub const _PATH_MP_DB: &[u8; 12usize] = b"/etc/pwd.db\0"; +pub const _MP_DB: &[u8; 7usize] = b"pwd.db\0"; +pub const _PATH_SMP_DB: &[u8; 13usize] = b"/etc/spwd.db\0"; +pub const _SMP_DB: &[u8; 8usize] = b"spwd.db\0"; +pub const _PATH_PWD_MKDB: &[u8; 19usize] = b"/usr/sbin/pwd_mkdb\0"; +pub const _PW_KEYBYNAME: u8 = 49u8; +pub const _PW_KEYBYNUM: u8 = 50u8; +pub const _PW_KEYBYUID: u8 = 51u8; +pub const _PASSWORD_EFMT1: u8 = 95u8; +pub const _PASSWORD_LEN: u32 = 128; +pub const _PASSWORD_NOUID: u32 = 1; +pub const _PASSWORD_NOGID: u32 = 2; +pub const _PASSWORD_NOCHG: u32 = 4; +pub const _PASSWORD_NOEXP: u32 = 8; +pub const _PASSWORD_WARNDAYS: u32 = 14; +pub const _PASSWORD_CHGNOW: i32 = -1; pub const PGINVALID_SOCKET: i32 = -1; -pub const PG_BACKEND_VERSIONSTR: &[u8; 29usize] = b"postgres (PostgreSQL) 12.10\n\0"; +pub const PG_BACKEND_VERSIONSTR: &[u8; 28usize] = b"postgres (PostgreSQL) 12.9\n\0"; pub const EXE: &[u8; 1usize] = b"\0"; pub const DEVNULL: &[u8; 10usize] = b"/dev/null\0"; pub const USE_REPL_SNPRINTF: u32 = 1; pub const PG_STRERROR_R_BUFLEN: u32 = 256; pub const PG_IOLBF: u32 = 1; -pub const _MATH_H: u32 = 1; -pub const _BITS_LIBM_SIMD_DECL_STUBS_H: u32 = 1; -pub const __FP_LOGB0_IS_MIN: u32 = 1; -pub const __FP_LOGBNAN_IS_MIN: u32 = 1; +pub const FP_SUPERNORMAL: u32 = 6; +pub const FP_FAST_FMA: u32 = 1; +pub const FP_FAST_FMAF: u32 = 1; +pub const FP_FAST_FMAL: u32 = 1; pub const FP_ILOGB0: i32 = -2147483648; pub const FP_ILOGBNAN: i32 = -2147483648; -pub const __MATH_DECLARING_DOUBLE: u32 = 1; -pub const __MATH_DECLARING_FLOATN: u32 = 0; -pub const __MATH_DECLARE_LDOUBLE: u32 = 1; pub const MATH_ERRNO: u32 = 1; pub const MATH_ERREXCEPT: u32 = 2; -pub const math_errhandling: u32 = 3; pub const M_E: f64 = 2.718281828459045; pub const M_LOG2E: f64 = 1.4426950408889634; pub const M_LOG10E: f64 = 0.4342944819032518; @@ -1210,9 +1726,13 @@ pub const M_2_PI: f64 = 0.6366197723675814; pub const M_2_SQRTPI: f64 = 1.1283791670955126; pub const M_SQRT2: f64 = 1.4142135623730951; pub const M_SQRT1_2: f64 = 0.7071067811865476; -pub const _SETJMP_H: u32 = 1; -pub const _BITS_SETJMP_H: u32 = 1; -pub const __jmp_buf_tag_defined: u32 = 1; +pub const DOMAIN: u32 = 1; +pub const SING: u32 = 2; +pub const OVERFLOW: u32 = 3; +pub const UNDERFLOW: u32 = 4; +pub const TLOSS: u32 = 5; +pub const PLOSS: u32 = 6; +pub const _JBLEN: u32 = 48; pub const DEBUG5: u32 = 10; pub const DEBUG4: u32 = 11; pub const DEBUG3: u32 = 12; @@ -1297,136 +1817,155 @@ pub const MaxTransactionIdAttributeNumber: i32 = -4; pub const MaxCommandIdAttributeNumber: i32 = -5; pub const TableOidAttributeNumber: i32 = -6; pub const FirstLowInvalidHeapAttributeNumber: i32 = -7; -pub const _FCNTL_H: u32 = 1; -pub const __O_LARGEFILE: u32 = 0; -pub const F_GETLK64: u32 = 5; -pub const F_SETLK64: u32 = 6; -pub const F_SETLKW64: u32 = 7; -pub const O_ACCMODE: u32 = 3; pub const O_RDONLY: u32 = 0; pub const O_WRONLY: u32 = 1; pub const O_RDWR: u32 = 2; -pub const O_CREAT: u32 = 64; -pub const O_EXCL: u32 = 128; -pub const O_NOCTTY: u32 = 256; -pub const O_TRUNC: u32 = 512; -pub const O_APPEND: u32 = 1024; -pub const O_NONBLOCK: u32 = 2048; -pub const O_NDELAY: u32 = 2048; -pub const O_SYNC: u32 = 1052672; -pub const O_FSYNC: u32 = 1052672; -pub const O_ASYNC: u32 = 8192; -pub const __O_DIRECTORY: u32 = 65536; -pub const __O_NOFOLLOW: u32 = 131072; -pub const __O_CLOEXEC: u32 = 524288; -pub const __O_DIRECT: u32 = 16384; -pub const __O_NOATIME: u32 = 262144; -pub const __O_PATH: u32 = 2097152; -pub const __O_DSYNC: u32 = 4096; -pub const __O_TMPFILE: u32 = 4259840; -pub const F_GETLK: u32 = 5; -pub const F_SETLK: u32 = 6; -pub const F_SETLKW: u32 = 7; -pub const O_DIRECTORY: u32 = 65536; -pub const O_NOFOLLOW: u32 = 131072; -pub const O_CLOEXEC: u32 = 524288; -pub const O_DSYNC: u32 = 4096; -pub const O_RSYNC: u32 = 1052672; +pub const O_ACCMODE: u32 = 3; +pub const FREAD: u32 = 1; +pub const FWRITE: u32 = 2; +pub const O_NONBLOCK: u32 = 4; +pub const O_APPEND: u32 = 8; +pub const O_SYNC: u32 = 128; +pub const O_SHLOCK: u32 = 16; +pub const O_EXLOCK: u32 = 32; +pub const O_ASYNC: u32 = 64; +pub const O_FSYNC: u32 = 128; +pub const O_NOFOLLOW: u32 = 256; +pub const O_CREAT: u32 = 512; +pub const O_TRUNC: u32 = 1024; +pub const O_EXCL: u32 = 2048; +pub const O_EVTONLY: u32 = 32768; +pub const O_NOCTTY: u32 = 131072; +pub const O_DIRECTORY: u32 = 1048576; +pub const O_SYMLINK: u32 = 2097152; +pub const O_DSYNC: u32 = 4194304; +pub const O_CLOEXEC: u32 = 16777216; +pub const O_NOFOLLOW_ANY: u32 = 536870912; +pub const AT_FDCWD: i32 = -2; +pub const AT_EACCESS: u32 = 16; +pub const AT_SYMLINK_NOFOLLOW: u32 = 32; +pub const AT_SYMLINK_FOLLOW: u32 = 64; +pub const AT_REMOVEDIR: u32 = 128; +pub const AT_REALDEV: u32 = 512; +pub const AT_FDONLY: u32 = 1024; +pub const AT_SYMLINK_NOFOLLOW_ANY: u32 = 2048; +pub const O_DP_GETRAWENCRYPTED: u32 = 1; +pub const O_DP_GETRAWUNENCRYPTED: u32 = 2; +pub const FAPPEND: u32 = 8; +pub const FASYNC: u32 = 64; +pub const FFSYNC: u32 = 128; +pub const FFDSYNC: u32 = 4194304; +pub const FNONBLOCK: u32 = 4; +pub const FNDELAY: u32 = 4; +pub const O_NDELAY: u32 = 4; +pub const CPF_OVERWRITE: u32 = 1; +pub const CPF_IGNORE_MODE: u32 = 2; +pub const CPF_MASK: u32 = 3; pub const F_DUPFD: u32 = 0; pub const F_GETFD: u32 = 1; pub const F_SETFD: u32 = 2; pub const F_GETFL: u32 = 3; pub const F_SETFL: u32 = 4; -pub const __F_SETOWN: u32 = 8; -pub const __F_GETOWN: u32 = 9; -pub const F_SETOWN: u32 = 8; -pub const F_GETOWN: u32 = 9; -pub const __F_SETSIG: u32 = 10; -pub const __F_GETSIG: u32 = 11; -pub const __F_SETOWN_EX: u32 = 15; -pub const __F_GETOWN_EX: u32 = 16; -pub const F_DUPFD_CLOEXEC: u32 = 1030; +pub const F_GETOWN: u32 = 5; +pub const F_SETOWN: u32 = 6; +pub const F_GETLK: u32 = 7; +pub const F_SETLK: u32 = 8; +pub const F_SETLKW: u32 = 9; +pub const F_SETLKWTIMEOUT: u32 = 10; +pub const F_FLUSH_DATA: u32 = 40; +pub const F_CHKCLEAN: u32 = 41; +pub const F_PREALLOCATE: u32 = 42; +pub const F_SETSIZE: u32 = 43; +pub const F_RDADVISE: u32 = 44; +pub const F_RDAHEAD: u32 = 45; +pub const F_NOCACHE: u32 = 48; +pub const F_LOG2PHYS: u32 = 49; +pub const F_GETPATH: u32 = 50; +pub const F_FULLFSYNC: u32 = 51; +pub const F_PATHPKG_CHECK: u32 = 52; +pub const F_FREEZE_FS: u32 = 53; +pub const F_THAW_FS: u32 = 54; +pub const F_GLOBAL_NOCACHE: u32 = 55; +pub const F_ADDSIGS: u32 = 59; +pub const F_ADDFILESIGS: u32 = 61; +pub const F_NODIRECT: u32 = 62; +pub const F_GETPROTECTIONCLASS: u32 = 63; +pub const F_SETPROTECTIONCLASS: u32 = 64; +pub const F_LOG2PHYS_EXT: u32 = 65; +pub const F_GETLKPID: u32 = 66; +pub const F_SETBACKINGSTORE: u32 = 70; +pub const F_GETPATH_MTMINFO: u32 = 71; +pub const F_GETCODEDIR: u32 = 72; +pub const F_SETNOSIGPIPE: u32 = 73; +pub const F_GETNOSIGPIPE: u32 = 74; +pub const F_TRANSCODEKEY: u32 = 75; +pub const F_SINGLE_WRITER: u32 = 76; +pub const F_GETPROTECTIONLEVEL: u32 = 77; +pub const F_FINDSIGS: u32 = 78; +pub const F_ADDFILESIGS_FOR_DYLD_SIM: u32 = 83; +pub const F_BARRIERFSYNC: u32 = 85; +pub const F_ADDFILESIGS_RETURN: u32 = 97; +pub const F_CHECK_LV: u32 = 98; +pub const F_PUNCHHOLE: u32 = 99; +pub const F_TRIM_ACTIVE_FILE: u32 = 100; +pub const F_SPECULATIVE_READ: u32 = 101; +pub const F_GETPATH_NOFIRMLINK: u32 = 102; +pub const F_ADDFILESIGS_INFO: u32 = 103; +pub const F_ADDFILESUPPL: u32 = 104; +pub const F_GETSIGSINFO: u32 = 105; +pub const F_FSRESERVED: u32 = 106; +pub const FCNTL_FS_SPECIFIC_BASE: u32 = 65536; +pub const F_DUPFD_CLOEXEC: u32 = 67; pub const FD_CLOEXEC: u32 = 1; -pub const F_RDLCK: u32 = 0; -pub const F_WRLCK: u32 = 1; +pub const F_RDLCK: u32 = 1; pub const F_UNLCK: u32 = 2; -pub const F_EXLCK: u32 = 4; -pub const F_SHLCK: u32 = 8; -pub const LOCK_SH: u32 = 1; -pub const LOCK_EX: u32 = 2; -pub const LOCK_NB: u32 = 4; -pub const LOCK_UN: u32 = 8; -pub const FAPPEND: u32 = 1024; -pub const FFSYNC: u32 = 1052672; -pub const FASYNC: u32 = 8192; -pub const FNONBLOCK: u32 = 2048; -pub const FNDELAY: u32 = 2048; -pub const __POSIX_FADV_DONTNEED: u32 = 4; -pub const __POSIX_FADV_NOREUSE: u32 = 5; -pub const POSIX_FADV_NORMAL: u32 = 0; -pub const POSIX_FADV_RANDOM: u32 = 1; -pub const POSIX_FADV_SEQUENTIAL: u32 = 2; -pub const POSIX_FADV_WILLNEED: u32 = 3; -pub const POSIX_FADV_DONTNEED: u32 = 4; -pub const POSIX_FADV_NOREUSE: u32 = 5; -pub const AT_FDCWD: i32 = -100; -pub const AT_SYMLINK_NOFOLLOW: u32 = 256; -pub const AT_REMOVEDIR: u32 = 512; -pub const AT_SYMLINK_FOLLOW: u32 = 1024; -pub const AT_EACCESS: u32 = 512; -pub const _BITS_STAT_H: u32 = 1; -pub const _BITS_STRUCT_STAT_H: u32 = 1; -pub const __S_IFMT: u32 = 61440; -pub const __S_IFDIR: u32 = 16384; -pub const __S_IFCHR: u32 = 8192; -pub const __S_IFBLK: u32 = 24576; -pub const __S_IFREG: u32 = 32768; -pub const __S_IFIFO: u32 = 4096; -pub const __S_IFLNK: u32 = 40960; -pub const __S_IFSOCK: u32 = 49152; -pub const __S_ISUID: u32 = 2048; -pub const __S_ISGID: u32 = 1024; -pub const __S_ISVTX: u32 = 512; -pub const __S_IREAD: u32 = 256; -pub const __S_IWRITE: u32 = 128; -pub const __S_IEXEC: u32 = 64; -pub const UTIME_NOW: u32 = 1073741823; -pub const UTIME_OMIT: u32 = 1073741822; +pub const F_WRLCK: u32 = 3; +pub const SEEK_HOLE: u32 = 3; +pub const SEEK_DATA: u32 = 4; pub const S_IFMT: u32 = 61440; -pub const S_IFDIR: u32 = 16384; +pub const S_IFIFO: u32 = 4096; pub const S_IFCHR: u32 = 8192; +pub const S_IFDIR: u32 = 16384; pub const S_IFBLK: u32 = 24576; pub const S_IFREG: u32 = 32768; -pub const S_IFIFO: u32 = 4096; pub const S_IFLNK: u32 = 40960; pub const S_IFSOCK: u32 = 49152; -pub const S_ISUID: u32 = 2048; -pub const S_ISGID: u32 = 1024; -pub const S_ISVTX: u32 = 512; +pub const S_IFWHT: u32 = 57344; +pub const S_IRWXU: u32 = 448; pub const S_IRUSR: u32 = 256; pub const S_IWUSR: u32 = 128; pub const S_IXUSR: u32 = 64; -pub const S_IRWXU: u32 = 448; +pub const S_IRWXG: u32 = 56; pub const S_IRGRP: u32 = 32; pub const S_IWGRP: u32 = 16; pub const S_IXGRP: u32 = 8; -pub const S_IRWXG: u32 = 56; +pub const S_IRWXO: u32 = 7; pub const S_IROTH: u32 = 4; pub const S_IWOTH: u32 = 2; pub const S_IXOTH: u32 = 1; -pub const S_IRWXO: u32 = 7; -pub const R_OK: u32 = 4; -pub const W_OK: u32 = 2; -pub const X_OK: u32 = 1; -pub const F_OK: u32 = 0; -pub const F_ULOCK: u32 = 0; -pub const F_LOCK: u32 = 1; -pub const F_TLOCK: u32 = 2; -pub const F_TEST: u32 = 3; +pub const S_ISUID: u32 = 2048; +pub const S_ISGID: u32 = 1024; +pub const S_ISVTX: u32 = 512; +pub const S_ISTXT: u32 = 512; +pub const S_IREAD: u32 = 256; +pub const S_IWRITE: u32 = 128; +pub const S_IEXEC: u32 = 64; +pub const F_ALLOCATECONTIG: u32 = 2; +pub const F_ALLOCATEALL: u32 = 4; +pub const F_PEOFPOSMODE: u32 = 3; +pub const F_VOLPOSMODE: u32 = 4; +pub const USER_FSIGNATURES_CDHASH_LEN: u32 = 20; +pub const GETSIGSINFO_PLATFORM_BINARY: u32 = 1; +pub const LOCK_SH: u32 = 1; +pub const LOCK_EX: u32 = 2; +pub const LOCK_NB: u32 = 4; +pub const LOCK_UN: u32 = 8; +pub const O_POPUP: u32 = 2147483648; +pub const O_ALERT: u32 = 536870912; pub const InvalidXLogRecPtr: u32 = 0; pub const PG_O_DIRECT: u32 = 0; -pub const OPEN_SYNC_FLAG: u32 = 1052672; -pub const OPEN_DATASYNC_FLAG: u32 = 4096; +pub const OPEN_SYNC_FLAG: u32 = 128; +pub const OPEN_DATASYNC_FLAG: u32 = 4194304; pub const FirstGenbkiObjectId: u32 = 10000; pub const FirstBootstrapObjectId: u32 = 12000; pub const FirstNormalObjectId: u32 = 16384; @@ -1490,24 +2029,7 @@ pub const FIELDNO_HEAPTUPLETABLESLOT_OFF: u32 = 2; pub const FIELDNO_MINIMALTUPLETABLESLOT_TUPLE: u32 = 1; pub const FIELDNO_MINIMALTUPLETABLESLOT_OFF: u32 = 4; pub const BITS_PER_BITMAPWORD: u32 = 64; -pub const _TIME_H: u32 = 1; -pub const _BITS_TIME_H: u32 = 1; -pub const CLOCK_REALTIME: u32 = 0; -pub const CLOCK_MONOTONIC: u32 = 1; -pub const CLOCK_PROCESS_CPUTIME_ID: u32 = 2; -pub const CLOCK_THREAD_CPUTIME_ID: u32 = 3; -pub const CLOCK_MONOTONIC_RAW: u32 = 4; -pub const CLOCK_REALTIME_COARSE: u32 = 5; -pub const CLOCK_MONOTONIC_COARSE: u32 = 6; -pub const CLOCK_BOOTTIME: u32 = 7; -pub const CLOCK_REALTIME_ALARM: u32 = 8; -pub const CLOCK_BOOTTIME_ALARM: u32 = 9; -pub const CLOCK_TAI: u32 = 11; -pub const TIMER_ABSTIME: u32 = 1; -pub const __struct_tm_defined: u32 = 1; -pub const __itimerspec_defined: u32 = 1; pub const TIME_UTC: u32 = 1; -pub const PG_INSTR_CLOCK: u32 = 1; pub const PARAM_FLAG_CONST: u32 = 1; pub const BTLessStrategyNumber: u32 = 1; pub const BTLessEqualStrategyNumber: u32 = 2; @@ -1566,66 +2088,25 @@ pub const HASH_SHARED_MEM: u32 = 2048; pub const HASH_ATTACH: u32 = 4096; pub const HASH_FIXED_SIZE: u32 = 8192; pub const NO_MAX_DSIZE: i32 = -1; -pub const _DIRENT_H: u32 = 1; -pub const _DIRENT_MATCHES_DIRENT64: u32 = 1; -pub const _BITS_POSIX1_LIM_H: u32 = 1; -pub const _POSIX_AIO_LISTIO_MAX: u32 = 2; -pub const _POSIX_AIO_MAX: u32 = 1; -pub const _POSIX_ARG_MAX: u32 = 4096; -pub const _POSIX_CHILD_MAX: u32 = 25; -pub const _POSIX_DELAYTIMER_MAX: u32 = 32; -pub const _POSIX_HOST_NAME_MAX: u32 = 255; -pub const _POSIX_LINK_MAX: u32 = 8; -pub const _POSIX_LOGIN_NAME_MAX: u32 = 9; -pub const _POSIX_MAX_CANON: u32 = 255; -pub const _POSIX_MAX_INPUT: u32 = 255; -pub const _POSIX_MQ_OPEN_MAX: u32 = 8; -pub const _POSIX_MQ_PRIO_MAX: u32 = 32; -pub const _POSIX_NAME_MAX: u32 = 14; -pub const _POSIX_NGROUPS_MAX: u32 = 8; -pub const _POSIX_OPEN_MAX: u32 = 20; -pub const _POSIX_PATH_MAX: u32 = 256; -pub const _POSIX_PIPE_BUF: u32 = 512; -pub const _POSIX_RE_DUP_MAX: u32 = 255; -pub const _POSIX_RTSIG_MAX: u32 = 8; -pub const _POSIX_SEM_NSEMS_MAX: u32 = 256; -pub const _POSIX_SEM_VALUE_MAX: u32 = 32767; -pub const _POSIX_SIGQUEUE_MAX: u32 = 32; -pub const _POSIX_SSIZE_MAX: u32 = 32767; -pub const _POSIX_STREAM_MAX: u32 = 8; -pub const _POSIX_SYMLINK_MAX: u32 = 255; -pub const _POSIX_SYMLOOP_MAX: u32 = 8; -pub const _POSIX_TIMER_MAX: u32 = 32; -pub const _POSIX_TTY_NAME_MAX: u32 = 9; -pub const _POSIX_TZNAME_MAX: u32 = 6; -pub const _POSIX_CLOCKRES_MIN: u32 = 20000000; -pub const NR_OPEN: u32 = 1024; -pub const NGROUPS_MAX: u32 = 65536; -pub const ARG_MAX: u32 = 131072; -pub const LINK_MAX: u32 = 127; -pub const MAX_CANON: u32 = 255; -pub const MAX_INPUT: u32 = 255; -pub const NAME_MAX: u32 = 255; -pub const PATH_MAX: u32 = 4096; -pub const PIPE_BUF: u32 = 4096; -pub const XATTR_NAME_MAX: u32 = 255; -pub const XATTR_SIZE_MAX: u32 = 65536; -pub const XATTR_LIST_MAX: u32 = 65536; -pub const RTSIG_MAX: u32 = 32; -pub const _POSIX_THREAD_KEYS_MAX: u32 = 128; -pub const PTHREAD_KEYS_MAX: u32 = 1024; -pub const _POSIX_THREAD_DESTRUCTOR_ITERATIONS: u32 = 4; -pub const PTHREAD_DESTRUCTOR_ITERATIONS: u32 = 4; -pub const _POSIX_THREAD_THREADS_MAX: u32 = 64; -pub const AIO_PRIO_DELTA_MAX: u32 = 20; -pub const PTHREAD_STACK_MIN: u32 = 16384; -pub const DELAYTIMER_MAX: u32 = 2147483647; -pub const TTY_NAME_MAX: u32 = 32; -pub const LOGIN_NAME_MAX: u32 = 256; -pub const HOST_NAME_MAX: u32 = 64; -pub const MQ_PRIO_MAX: u32 = 32768; -pub const SEM_VALUE_MAX: u32 = 2147483647; +pub const __DARWIN_MAXNAMLEN: u32 = 255; +pub const __DARWIN_MAXPATHLEN: u32 = 1024; pub const MAXNAMLEN: u32 = 255; +pub const DT_UNKNOWN: u32 = 0; +pub const DT_FIFO: u32 = 1; +pub const DT_CHR: u32 = 2; +pub const DT_DIR: u32 = 4; +pub const DT_BLK: u32 = 6; +pub const DT_REG: u32 = 8; +pub const DT_LNK: u32 = 10; +pub const DT_SOCK: u32 = 12; +pub const DT_WHT: u32 = 14; +pub const DIRBLKSIZ: u32 = 1024; +pub const DTF_HIDEW: u32 = 1; +pub const DTF_NODUP: u32 = 2; +pub const DTF_REWIND: u32 = 4; +pub const __DTF_READALL: u32 = 8; +pub const __DTF_SKIPREAD: u32 = 16; +pub const __DTF_ATEND: u32 = 32; pub const PG_TEMP_FILES_DIR: &[u8; 10usize] = b"pgsql_tmp\0"; pub const PG_TEMP_FILE_PREFIX: &[u8; 10usize] = b"pgsql_tmp\0"; pub const DSM_IMPL_POSIX: u32 = 1; @@ -1669,27 +2150,121 @@ pub const INDEX_SIZE_MASK: u32 = 8191; pub const INDEX_AM_RESERVED_BIT: u32 = 8192; pub const INDEX_VAR_MASK: u32 = 16384; pub const INDEX_NULL_MASK: u32 = 32768; -pub const _LIBC_LIMITS_H_: u32 = 1; -pub const MB_LEN_MAX: u32 = 16; -pub const _BITS_POSIX2_LIM_H: u32 = 1; +pub const __DARWIN_CLK_TCK: u32 = 100; +pub const CHAR_BIT: u32 = 8; +pub const MB_LEN_MAX: u32 = 6; +pub const CLK_TCK: u32 = 100; +pub const SCHAR_MAX: u32 = 127; +pub const SCHAR_MIN: i32 = -128; +pub const UCHAR_MAX: u32 = 255; +pub const CHAR_MAX: u32 = 127; +pub const CHAR_MIN: i32 = -128; +pub const USHRT_MAX: u32 = 65535; +pub const SHRT_MAX: u32 = 32767; +pub const SHRT_MIN: i32 = -32768; +pub const UINT_MAX: u32 = 4294967295; +pub const INT_MAX: u32 = 2147483647; +pub const INT_MIN: i32 = -2147483648; +pub const ULONG_MAX: i32 = -1; +pub const LONG_MAX: u64 = 9223372036854775807; +pub const LONG_MIN: i64 = -9223372036854775808; +pub const ULLONG_MAX: i32 = -1; +pub const LLONG_MAX: u64 = 9223372036854775807; +pub const LLONG_MIN: i64 = -9223372036854775808; +pub const LONG_BIT: u32 = 64; +pub const SSIZE_MAX: u64 = 9223372036854775807; +pub const WORD_BIT: u32 = 32; +pub const SIZE_T_MAX: i32 = -1; +pub const UQUAD_MAX: i32 = -1; +pub const QUAD_MAX: u64 = 9223372036854775807; +pub const QUAD_MIN: i64 = -9223372036854775808; +pub const ARG_MAX: u32 = 1048576; +pub const CHILD_MAX: u32 = 266; +pub const GID_MAX: u32 = 2147483647; +pub const LINK_MAX: u32 = 32767; +pub const MAX_CANON: u32 = 1024; +pub const MAX_INPUT: u32 = 1024; +pub const NAME_MAX: u32 = 255; +pub const NGROUPS_MAX: u32 = 16; +pub const UID_MAX: u32 = 2147483647; +pub const OPEN_MAX: u32 = 10240; +pub const PATH_MAX: u32 = 1024; +pub const PIPE_BUF: u32 = 512; +pub const BC_BASE_MAX: u32 = 99; +pub const BC_DIM_MAX: u32 = 2048; +pub const BC_SCALE_MAX: u32 = 99; +pub const BC_STRING_MAX: u32 = 1000; +pub const CHARCLASS_NAME_MAX: u32 = 14; +pub const COLL_WEIGHTS_MAX: u32 = 2; +pub const EQUIV_CLASS_MAX: u32 = 2; +pub const EXPR_NEST_MAX: u32 = 32; +pub const LINE_MAX: u32 = 2048; +pub const RE_DUP_MAX: u32 = 255; +pub const NZERO: u32 = 20; +pub const _POSIX_ARG_MAX: u32 = 4096; +pub const _POSIX_CHILD_MAX: u32 = 25; +pub const _POSIX_LINK_MAX: u32 = 8; +pub const _POSIX_MAX_CANON: u32 = 255; +pub const _POSIX_MAX_INPUT: u32 = 255; +pub const _POSIX_NAME_MAX: u32 = 14; +pub const _POSIX_NGROUPS_MAX: u32 = 8; +pub const _POSIX_OPEN_MAX: u32 = 20; +pub const _POSIX_PATH_MAX: u32 = 256; +pub const _POSIX_PIPE_BUF: u32 = 512; +pub const _POSIX_SSIZE_MAX: u32 = 32767; +pub const _POSIX_STREAM_MAX: u32 = 8; +pub const _POSIX_TZNAME_MAX: u32 = 6; pub const _POSIX2_BC_BASE_MAX: u32 = 99; pub const _POSIX2_BC_DIM_MAX: u32 = 2048; pub const _POSIX2_BC_SCALE_MAX: u32 = 99; pub const _POSIX2_BC_STRING_MAX: u32 = 1000; -pub const _POSIX2_COLL_WEIGHTS_MAX: u32 = 2; +pub const _POSIX2_EQUIV_CLASS_MAX: u32 = 2; pub const _POSIX2_EXPR_NEST_MAX: u32 = 32; pub const _POSIX2_LINE_MAX: u32 = 2048; pub const _POSIX2_RE_DUP_MAX: u32 = 255; +pub const _POSIX_AIO_LISTIO_MAX: u32 = 2; +pub const _POSIX_AIO_MAX: u32 = 1; +pub const _POSIX_DELAYTIMER_MAX: u32 = 32; +pub const _POSIX_MQ_OPEN_MAX: u32 = 8; +pub const _POSIX_MQ_PRIO_MAX: u32 = 32; +pub const _POSIX_RTSIG_MAX: u32 = 8; +pub const _POSIX_SEM_NSEMS_MAX: u32 = 256; +pub const _POSIX_SEM_VALUE_MAX: u32 = 32767; +pub const _POSIX_SIGQUEUE_MAX: u32 = 32; +pub const _POSIX_TIMER_MAX: u32 = 32; +pub const _POSIX_CLOCKRES_MIN: u32 = 20000000; +pub const _POSIX_THREAD_DESTRUCTOR_ITERATIONS: u32 = 4; +pub const _POSIX_THREAD_KEYS_MAX: u32 = 128; +pub const _POSIX_THREAD_THREADS_MAX: u32 = 64; +pub const PTHREAD_DESTRUCTOR_ITERATIONS: u32 = 4; +pub const PTHREAD_KEYS_MAX: u32 = 512; +pub const PTHREAD_STACK_MIN: u32 = 16384; +pub const _POSIX_HOST_NAME_MAX: u32 = 255; +pub const _POSIX_LOGIN_NAME_MAX: u32 = 9; +pub const _POSIX_SS_REPL_MAX: u32 = 4; +pub const _POSIX_SYMLINK_MAX: u32 = 255; +pub const _POSIX_SYMLOOP_MAX: u32 = 8; +pub const _POSIX_TRACE_EVENT_NAME_MAX: u32 = 30; +pub const _POSIX_TRACE_NAME_MAX: u32 = 8; +pub const _POSIX_TRACE_SYS_MAX: u32 = 8; +pub const _POSIX_TRACE_USER_EVENT_MAX: u32 = 32; +pub const _POSIX_TTY_NAME_MAX: u32 = 9; pub const _POSIX2_CHARCLASS_NAME_MAX: u32 = 14; -pub const BC_BASE_MAX: u32 = 99; -pub const BC_DIM_MAX: u32 = 2048; -pub const BC_SCALE_MAX: u32 = 99; -pub const BC_STRING_MAX: u32 = 1000; -pub const COLL_WEIGHTS_MAX: u32 = 255; -pub const EXPR_NEST_MAX: u32 = 32; -pub const LINE_MAX: u32 = 2048; -pub const CHARCLASS_NAME_MAX: u32 = 2048; -pub const RE_DUP_MAX: u32 = 32767; +pub const _POSIX2_COLL_WEIGHTS_MAX: u32 = 2; +pub const _POSIX_RE_DUP_MAX: u32 = 255; +pub const OFF_MIN: i64 = -9223372036854775808; +pub const OFF_MAX: u64 = 9223372036854775807; +pub const PASS_MAX: u32 = 128; +pub const NL_ARGMAX: u32 = 9; +pub const NL_LANGMAX: u32 = 14; +pub const NL_MSGMAX: u32 = 32767; +pub const NL_NMAX: u32 = 1; +pub const NL_SETMAX: u32 = 255; +pub const NL_TEXTMAX: u32 = 2048; +pub const _XOPEN_IOV_MAX: u32 = 16; +pub const IOV_MAX: u32 = 1024; +pub const _XOPEN_NAME_MAX: u32 = 255; +pub const _XOPEN_PATH_MAX: u32 = 1024; pub const SIZEOF_DSA_POINTER: u32 = 8; pub const DSA_POINTER_FORMAT: &[u8; 7usize] = b"%016lx\0"; pub const DSA_ALLOC_HUGE: u32 = 1; @@ -1773,6 +2348,7 @@ pub const CURSOR_OPT_FAST_PLAN: u32 = 32; pub const CURSOR_OPT_GENERIC_PLAN: u32 = 64; pub const CURSOR_OPT_CUSTOM_PLAN: u32 = 128; pub const CURSOR_OPT_PARALLEL_OK: u32 = 256; +pub const FETCH_ALL: u64 = 9223372036854775807; pub const REINDEXOPT_VERBOSE: u32 = 1; pub const REINDEXOPT_REPORT_PROGRESS: u32 = 2; pub const MaxAllocHugeSize: u32 = 0; @@ -1791,85 +2367,6 @@ pub const EXEC_FLAG_BACKWARD: u32 = 4; pub const EXEC_FLAG_MARK: u32 = 8; pub const EXEC_FLAG_SKIP_TRIGGERS: u32 = 16; pub const EXEC_FLAG_WITH_NO_DATA: u32 = 32; -pub const _BITS_SIGNUM_GENERIC_H: u32 = 1; -pub const SIGINT: u32 = 2; -pub const SIGILL: u32 = 4; -pub const SIGABRT: u32 = 6; -pub const SIGFPE: u32 = 8; -pub const SIGSEGV: u32 = 11; -pub const SIGTERM: u32 = 15; -pub const SIGHUP: u32 = 1; -pub const SIGQUIT: u32 = 3; -pub const SIGTRAP: u32 = 5; -pub const SIGKILL: u32 = 9; -pub const SIGPIPE: u32 = 13; -pub const SIGALRM: u32 = 14; -pub const SIGIOT: u32 = 6; -pub const _BITS_SIGNUM_ARCH_H: u32 = 1; -pub const SIGSTKFLT: u32 = 16; -pub const SIGPWR: u32 = 30; -pub const SIGBUS: u32 = 7; -pub const SIGSYS: u32 = 31; -pub const SIGURG: u32 = 23; -pub const SIGSTOP: u32 = 19; -pub const SIGTSTP: u32 = 20; -pub const SIGCONT: u32 = 18; -pub const SIGCHLD: u32 = 17; -pub const SIGTTIN: u32 = 21; -pub const SIGTTOU: u32 = 22; -pub const SIGPOLL: u32 = 29; -pub const SIGXFSZ: u32 = 25; -pub const SIGXCPU: u32 = 24; -pub const SIGVTALRM: u32 = 26; -pub const SIGPROF: u32 = 27; -pub const SIGUSR1: u32 = 10; -pub const SIGUSR2: u32 = 12; -pub const SIGWINCH: u32 = 28; -pub const SIGIO: u32 = 29; -pub const SIGCLD: u32 = 17; -pub const __SIGRTMIN: u32 = 32; -pub const __SIGRTMAX: u32 = 64; -pub const _NSIG: u32 = 65; -pub const __sig_atomic_t_defined: u32 = 1; -pub const __siginfo_t_defined: u32 = 1; -pub const __SI_MAX_SIZE: u32 = 128; -pub const _BITS_SIGINFO_ARCH_H: u32 = 1; -pub const __SI_ERRNO_THEN_CODE: u32 = 1; -pub const __SI_HAVE_SIGSYS: u32 = 1; -pub const _BITS_SIGINFO_CONSTS_H: u32 = 1; -pub const __SI_ASYNCIO_AFTER_SIGIO: u32 = 1; -pub const __sigevent_t_defined: u32 = 1; -pub const __SIGEV_MAX_SIZE: u32 = 64; -pub const _BITS_SIGEVENT_CONSTS_H: u32 = 1; -pub const NSIG: u32 = 65; -pub const _BITS_SIGACTION_H: u32 = 1; -pub const SA_NOCLDSTOP: u32 = 1; -pub const SA_NOCLDWAIT: u32 = 2; -pub const SA_SIGINFO: u32 = 4; -pub const SA_ONSTACK: u32 = 134217728; -pub const SA_RESTART: u32 = 268435456; -pub const SA_NODEFER: u32 = 1073741824; -pub const SA_RESETHAND: u32 = 2147483648; -pub const SA_INTERRUPT: u32 = 536870912; -pub const SA_NOMASK: u32 = 1073741824; -pub const SA_ONESHOT: u32 = 2147483648; -pub const SA_STACK: u32 = 134217728; -pub const SIG_BLOCK: u32 = 0; -pub const SIG_UNBLOCK: u32 = 1; -pub const SIG_SETMASK: u32 = 2; -pub const _BITS_SIGCONTEXT_H: u32 = 1; -pub const FP_XSTATE_MAGIC1: u32 = 1179670611; -pub const FP_XSTATE_MAGIC2: u32 = 1179670597; -pub const __stack_t_defined: u32 = 1; -pub const _SYS_UCONTEXT_H: u32 = 1; -pub const __NGREG: u32 = 23; -pub const NGREG: u32 = 23; -pub const _BITS_SIGSTACK_H: u32 = 1; -pub const MINSIGSTKSZ: u32 = 2048; -pub const SIGSTKSZ: u32 = 8192; -pub const _BITS_SS_FLAGS_H: u32 = 1; -pub const __sigstack_defined: u32 = 1; -pub const _BITS_SIGTHREAD_H: u32 = 1; pub const TZ_STRLEN_MAX: u32 = 255; pub const InvalidPid: i32 = -1; pub const USE_POSTGRES_DATES: u32 = 0; @@ -1888,7 +2385,13 @@ pub const MAXTZLEN: u32 = 10; pub const SECURITY_LOCAL_USERID_CHANGE: u32 = 1; pub const SECURITY_RESTRICTED_OPERATION: u32 = 2; pub const SECURITY_NOFORCE_RLS: u32 = 4; -pub const _SYS_UN_H: u32 = 1; +pub const SOL_LOCAL: u32 = 0; +pub const LOCAL_PEERCRED: u32 = 1; +pub const LOCAL_PEERPID: u32 = 2; +pub const LOCAL_PEEREPID: u32 = 3; +pub const LOCAL_PEERUUID: u32 = 4; +pub const LOCAL_PEEREUUID: u32 = 5; +pub const LOCAL_PEERTOKEN: u32 = 6; pub const SM_DATABASE: u32 = 64; pub const SM_USER: u32 = 32; pub const SM_DATABASE_USER: u32 = 97; @@ -2073,6 +2576,7 @@ pub const F_HAS_GARBAGE: u32 = 16; pub const GIST_PAGE_ID: u32 = 65409; pub const EOH_HEADER_MAGIC: i32 = -1; pub const EA_MAGIC: u32 = 689375833; +pub const MAX_KILOBYTES: u32 = 2147483647; pub const PG_AUTOCONF_FILENAME: &[u8; 21usize] = b"postgresql.auto.conf\0"; pub const GUC_QUALIFIER_SEPARATOR: u8 = 46u8; pub const GUC_LIST_INPUT: u32 = 1; @@ -2400,6 +2904,72 @@ pub const Anum_pg_enum_enumtypid: u32 = 2; pub const Anum_pg_enum_enumsortorder: u32 = 3; pub const Anum_pg_enum_enumlabel: u32 = 4; pub const Natts_pg_enum: u32 = 4; +pub const OperatorRelationId: u32 = 2617; +pub const Anum_pg_operator_oid: u32 = 1; +pub const Anum_pg_operator_oprname: u32 = 2; +pub const Anum_pg_operator_oprnamespace: u32 = 3; +pub const Anum_pg_operator_oprowner: u32 = 4; +pub const Anum_pg_operator_oprkind: u32 = 5; +pub const Anum_pg_operator_oprcanmerge: u32 = 6; +pub const Anum_pg_operator_oprcanhash: u32 = 7; +pub const Anum_pg_operator_oprleft: u32 = 8; +pub const Anum_pg_operator_oprright: u32 = 9; +pub const Anum_pg_operator_oprresult: u32 = 10; +pub const Anum_pg_operator_oprcom: u32 = 11; +pub const Anum_pg_operator_oprnegate: u32 = 12; +pub const Anum_pg_operator_oprcode: u32 = 13; +pub const Anum_pg_operator_oprrest: u32 = 14; +pub const Anum_pg_operator_oprjoin: u32 = 15; +pub const Natts_pg_operator: u32 = 15; +pub const BooleanNotEqualOperator: u32 = 85; +pub const BooleanEqualOperator: u32 = 91; +pub const Int4EqualOperator: u32 = 96; +pub const Int4LessOperator: u32 = 97; +pub const TextEqualOperator: u32 = 98; +pub const TIDEqualOperator: u32 = 387; +pub const TIDLessOperator: u32 = 2799; +pub const Int8LessOperator: u32 = 412; +pub const OID_NAME_REGEXEQ_OP: u32 = 639; +pub const OID_TEXT_REGEXEQ_OP: u32 = 641; +pub const Float8LessOperator: u32 = 672; +pub const OID_BPCHAR_REGEXEQ_OP: u32 = 1055; +pub const ARRAY_EQ_OP: u32 = 1070; +pub const ARRAY_LT_OP: u32 = 1072; +pub const ARRAY_GT_OP: u32 = 1073; +pub const OID_NAME_LIKE_OP: u32 = 1207; +pub const OID_TEXT_LIKE_OP: u32 = 1209; +pub const OID_BPCHAR_LIKE_OP: u32 = 1211; +pub const OID_NAME_ICREGEXEQ_OP: u32 = 1226; +pub const OID_TEXT_ICREGEXEQ_OP: u32 = 1228; +pub const OID_BPCHAR_ICREGEXEQ_OP: u32 = 1234; +pub const OID_INET_SUB_OP: u32 = 931; +pub const OID_INET_SUBEQ_OP: u32 = 932; +pub const OID_INET_SUP_OP: u32 = 933; +pub const OID_INET_SUPEQ_OP: u32 = 934; +pub const OID_INET_OVERLAP_OP: u32 = 3552; +pub const OID_NAME_ICLIKE_OP: u32 = 1625; +pub const OID_TEXT_ICLIKE_OP: u32 = 1627; +pub const OID_BPCHAR_ICLIKE_OP: u32 = 1629; +pub const OID_BYTEA_LIKE_OP: u32 = 2016; +pub const OID_ARRAY_OVERLAP_OP: u32 = 2750; +pub const OID_ARRAY_CONTAINS_OP: u32 = 2751; +pub const OID_ARRAY_CONTAINED_OP: u32 = 2752; +pub const RECORD_EQ_OP: u32 = 2988; +pub const RECORD_LT_OP: u32 = 2990; +pub const RECORD_GT_OP: u32 = 2991; +pub const OID_RANGE_LESS_OP: u32 = 3884; +pub const OID_RANGE_LESS_EQUAL_OP: u32 = 3885; +pub const OID_RANGE_GREATER_EQUAL_OP: u32 = 3886; +pub const OID_RANGE_GREATER_OP: u32 = 3887; +pub const OID_RANGE_OVERLAP_OP: u32 = 3888; +pub const OID_RANGE_CONTAINS_ELEM_OP: u32 = 3889; +pub const OID_RANGE_CONTAINS_OP: u32 = 3890; +pub const OID_RANGE_ELEM_CONTAINED_OP: u32 = 3891; +pub const OID_RANGE_CONTAINED_OP: u32 = 3892; +pub const OID_RANGE_LEFT_OP: u32 = 3893; +pub const OID_RANGE_RIGHT_OP: u32 = 3894; +pub const OID_RANGE_OVERLAPS_LEFT_OP: u32 = 3895; +pub const OID_RANGE_OVERLAPS_RIGHT_OP: u32 = 3896; pub const ProcedureRelationId: u32 = 1255; pub const ProcedureRelation_Rowtype_Id: u32 = 81; pub const Anum_pg_proc_oid: u32 = 1; @@ -3012,88 +3582,71 @@ pub const TYPECACHE_HASH_EXTENDED_PROC: u32 = 16384; pub const TYPECACHE_HASH_EXTENDED_PROC_FINFO: u32 = 32768; pub type Oid = ::std::os::raw::c_uint; pub type pg_int64 = ::std::os::raw::c_long; -pub type va_list = __builtin_va_list; -pub type __gnuc_va_list = __builtin_va_list; -pub type __u_char = ::std::os::raw::c_uchar; -pub type __u_short = ::std::os::raw::c_ushort; -pub type __u_int = ::std::os::raw::c_uint; -pub type __u_long = ::std::os::raw::c_ulong; pub type __int8_t = ::std::os::raw::c_schar; pub type __uint8_t = ::std::os::raw::c_uchar; pub type __int16_t = ::std::os::raw::c_short; pub type __uint16_t = ::std::os::raw::c_ushort; pub type __int32_t = ::std::os::raw::c_int; pub type __uint32_t = ::std::os::raw::c_uint; -pub type __int64_t = ::std::os::raw::c_long; -pub type __uint64_t = ::std::os::raw::c_ulong; -pub type __int_least8_t = __int8_t; -pub type __uint_least8_t = __uint8_t; -pub type __int_least16_t = __int16_t; -pub type __uint_least16_t = __uint16_t; -pub type __int_least32_t = __int32_t; -pub type __uint_least32_t = __uint32_t; -pub type __int_least64_t = __int64_t; -pub type __uint_least64_t = __uint64_t; -pub type __quad_t = ::std::os::raw::c_long; -pub type __u_quad_t = ::std::os::raw::c_ulong; -pub type __intmax_t = ::std::os::raw::c_long; -pub type __uintmax_t = ::std::os::raw::c_ulong; -pub type __dev_t = ::std::os::raw::c_ulong; -pub type __uid_t = ::std::os::raw::c_uint; -pub type __gid_t = ::std::os::raw::c_uint; -pub type __ino_t = ::std::os::raw::c_ulong; -pub type __ino64_t = ::std::os::raw::c_ulong; -pub type __mode_t = ::std::os::raw::c_uint; -pub type __nlink_t = ::std::os::raw::c_ulong; -pub type __off_t = ::std::os::raw::c_long; -pub type __off64_t = ::std::os::raw::c_long; -pub type __pid_t = ::std::os::raw::c_int; -#[repr(C)] -#[derive(Debug, Default, Copy, Clone)] -pub struct __fsid_t { - pub __val: [::std::os::raw::c_int; 2usize], -} -pub type __clock_t = ::std::os::raw::c_long; -pub type __rlim_t = ::std::os::raw::c_ulong; -pub type __rlim64_t = ::std::os::raw::c_ulong; -pub type __id_t = ::std::os::raw::c_uint; -pub type __time_t = ::std::os::raw::c_long; -pub type __useconds_t = ::std::os::raw::c_uint; -pub type __suseconds_t = ::std::os::raw::c_long; -pub type __suseconds64_t = ::std::os::raw::c_long; -pub type __daddr_t = ::std::os::raw::c_int; -pub type __key_t = ::std::os::raw::c_int; -pub type __clockid_t = ::std::os::raw::c_int; -pub type __timer_t = *mut ::std::os::raw::c_void; -pub type __blksize_t = ::std::os::raw::c_long; -pub type __blkcnt_t = ::std::os::raw::c_long; -pub type __blkcnt64_t = ::std::os::raw::c_long; -pub type __fsblkcnt_t = ::std::os::raw::c_ulong; -pub type __fsblkcnt64_t = ::std::os::raw::c_ulong; -pub type __fsfilcnt_t = ::std::os::raw::c_ulong; -pub type __fsfilcnt64_t = ::std::os::raw::c_ulong; -pub type __fsword_t = ::std::os::raw::c_long; -pub type __ssize_t = ::std::os::raw::c_long; -pub type __syscall_slong_t = ::std::os::raw::c_long; -pub type __syscall_ulong_t = ::std::os::raw::c_ulong; -pub type __loff_t = __off64_t; -pub type __caddr_t = *mut ::std::os::raw::c_char; -pub type __intptr_t = ::std::os::raw::c_long; -pub type __socklen_t = ::std::os::raw::c_uint; -pub type __sig_atomic_t = ::std::os::raw::c_int; +pub type __int64_t = ::std::os::raw::c_longlong; +pub type __uint64_t = ::std::os::raw::c_ulonglong; +pub type __darwin_intptr_t = ::std::os::raw::c_long; +pub type __darwin_natural_t = ::std::os::raw::c_uint; +pub type __darwin_ct_rune_t = ::std::os::raw::c_int; #[repr(C)] #[derive(Copy, Clone)] -pub struct __mbstate_t { - pub __count: ::std::os::raw::c_int, - pub __value: __mbstate_t__bindgen_ty_1, +pub union __mbstate_t { + pub __mbstate8: [::std::os::raw::c_char; 128usize], + pub _mbstateL: ::std::os::raw::c_longlong, +} +impl Default for __mbstate_t { + fn default() -> Self { + let mut s = ::std::mem::MaybeUninit::::uninit(); + unsafe { + ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); + s.assume_init() + } + } } +pub type __darwin_mbstate_t = __mbstate_t; +pub type __darwin_ptrdiff_t = ::std::os::raw::c_long; +pub type __darwin_size_t = ::std::os::raw::c_ulong; +pub type __darwin_va_list = __builtin_va_list; +pub type __darwin_wchar_t = ::std::os::raw::c_int; +pub type __darwin_rune_t = __darwin_wchar_t; +pub type __darwin_wint_t = ::std::os::raw::c_int; +pub type __darwin_clock_t = ::std::os::raw::c_ulong; +pub type __darwin_socklen_t = __uint32_t; +pub type __darwin_ssize_t = ::std::os::raw::c_long; +pub type __darwin_time_t = ::std::os::raw::c_long; +pub type __darwin_blkcnt_t = __int64_t; +pub type __darwin_blksize_t = __int32_t; +pub type __darwin_dev_t = __int32_t; +pub type __darwin_fsblkcnt_t = ::std::os::raw::c_uint; +pub type __darwin_fsfilcnt_t = ::std::os::raw::c_uint; +pub type __darwin_gid_t = __uint32_t; +pub type __darwin_id_t = __uint32_t; +pub type __darwin_ino64_t = __uint64_t; +pub type __darwin_ino_t = __darwin_ino64_t; +pub type __darwin_mach_port_name_t = __darwin_natural_t; +pub type __darwin_mach_port_t = __darwin_mach_port_name_t; +pub type __darwin_mode_t = __uint16_t; +pub type __darwin_off_t = __int64_t; +pub type __darwin_pid_t = __int32_t; +pub type __darwin_sigset_t = __uint32_t; +pub type __darwin_suseconds_t = __int32_t; +pub type __darwin_uid_t = __uint32_t; +pub type __darwin_useconds_t = __uint32_t; +pub type __darwin_uuid_t = [::std::os::raw::c_uchar; 16usize]; +pub type __darwin_uuid_string_t = [::std::os::raw::c_char; 37usize]; #[repr(C)] -#[derive(Copy, Clone)] -pub union __mbstate_t__bindgen_ty_1 { - pub __wch: ::std::os::raw::c_uint, - pub __wchb: [::std::os::raw::c_char; 4usize], +#[derive(Debug, Copy, Clone)] +pub struct __darwin_pthread_handler_rec { + pub __routine: ::std::option::Option, + pub __arg: *mut ::std::os::raw::c_void, + pub __next: *mut __darwin_pthread_handler_rec, } -impl Default for __mbstate_t__bindgen_ty_1 { +impl Default for __darwin_pthread_handler_rec { fn default() -> Self { let mut s = ::std::mem::MaybeUninit::::uninit(); unsafe { @@ -3102,7 +3655,13 @@ impl Default for __mbstate_t__bindgen_ty_1 { } } } -impl Default for __mbstate_t { +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _opaque_pthread_attr_t { + pub __sig: ::std::os::raw::c_long, + pub __opaque: [::std::os::raw::c_char; 56usize], +} +impl Default for _opaque_pthread_attr_t { fn default() -> Self { let mut s = ::std::mem::MaybeUninit::::uninit(); unsafe { @@ -3112,12 +3671,12 @@ impl Default for __mbstate_t { } } #[repr(C)] -#[derive(Copy, Clone)] -pub struct _G_fpos_t { - pub __pos: __off_t, - pub __state: __mbstate_t, +#[derive(Debug, Copy, Clone)] +pub struct _opaque_pthread_cond_t { + pub __sig: ::std::os::raw::c_long, + pub __opaque: [::std::os::raw::c_char; 40usize], } -impl Default for _G_fpos_t { +impl Default for _opaque_pthread_cond_t { fn default() -> Self { let mut s = ::std::mem::MaybeUninit::::uninit(); unsafe { @@ -3126,14 +3685,19 @@ impl Default for _G_fpos_t { } } } -pub type __fpos_t = _G_fpos_t; #[repr(C)] -#[derive(Copy, Clone)] -pub struct _G_fpos64_t { - pub __pos: __off64_t, - pub __state: __mbstate_t, +#[derive(Debug, Default, Copy, Clone)] +pub struct _opaque_pthread_condattr_t { + pub __sig: ::std::os::raw::c_long, + pub __opaque: [::std::os::raw::c_char; 8usize], } -impl Default for _G_fpos64_t { +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _opaque_pthread_mutex_t { + pub __sig: ::std::os::raw::c_long, + pub __opaque: [::std::os::raw::c_char; 56usize], +} +impl Default for _opaque_pthread_mutex_t { fn default() -> Self { let mut s = ::std::mem::MaybeUninit::::uninit(); unsafe { @@ -3142,59 +3706,175 @@ impl Default for _G_fpos64_t { } } } -pub type __fpos64_t = _G_fpos64_t; -pub type __FILE = _IO_FILE; -pub type FILE = _IO_FILE; +#[repr(C)] +#[derive(Debug, Default, Copy, Clone)] +pub struct _opaque_pthread_mutexattr_t { + pub __sig: ::std::os::raw::c_long, + pub __opaque: [::std::os::raw::c_char; 8usize], +} +#[repr(C)] +#[derive(Debug, Default, Copy, Clone)] +pub struct _opaque_pthread_once_t { + pub __sig: ::std::os::raw::c_long, + pub __opaque: [::std::os::raw::c_char; 8usize], +} #[repr(C)] #[derive(Debug, Copy, Clone)] -pub struct _IO_marker { - _unused: [u8; 0], +pub struct _opaque_pthread_rwlock_t { + pub __sig: ::std::os::raw::c_long, + pub __opaque: [::std::os::raw::c_char; 192usize], +} +impl Default for _opaque_pthread_rwlock_t { + fn default() -> Self { + let mut s = ::std::mem::MaybeUninit::::uninit(); + unsafe { + ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); + s.assume_init() + } + } +} +#[repr(C)] +#[derive(Debug, Default, Copy, Clone)] +pub struct _opaque_pthread_rwlockattr_t { + pub __sig: ::std::os::raw::c_long, + pub __opaque: [::std::os::raw::c_char; 16usize], } #[repr(C)] #[derive(Debug, Copy, Clone)] -pub struct _IO_codecvt { - _unused: [u8; 0], +pub struct _opaque_pthread_t { + pub __sig: ::std::os::raw::c_long, + pub __cleanup_stack: *mut __darwin_pthread_handler_rec, + pub __opaque: [::std::os::raw::c_char; 8176usize], } +impl Default for _opaque_pthread_t { + fn default() -> Self { + let mut s = ::std::mem::MaybeUninit::::uninit(); + unsafe { + ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); + s.assume_init() + } + } +} +pub type __darwin_pthread_attr_t = _opaque_pthread_attr_t; +pub type __darwin_pthread_cond_t = _opaque_pthread_cond_t; +pub type __darwin_pthread_condattr_t = _opaque_pthread_condattr_t; +pub type __darwin_pthread_key_t = ::std::os::raw::c_ulong; +pub type __darwin_pthread_mutex_t = _opaque_pthread_mutex_t; +pub type __darwin_pthread_mutexattr_t = _opaque_pthread_mutexattr_t; +pub type __darwin_pthread_once_t = _opaque_pthread_once_t; +pub type __darwin_pthread_rwlock_t = _opaque_pthread_rwlock_t; +pub type __darwin_pthread_rwlockattr_t = _opaque_pthread_rwlockattr_t; +pub type __darwin_pthread_t = *mut _opaque_pthread_t; +pub type __darwin_nl_item = ::std::os::raw::c_int; +pub type __darwin_wctrans_t = ::std::os::raw::c_int; +pub type __darwin_wctype_t = __uint32_t; +pub type u_int8_t = ::std::os::raw::c_uchar; +pub type u_int16_t = ::std::os::raw::c_ushort; +pub type u_int32_t = ::std::os::raw::c_uint; +pub type u_int64_t = ::std::os::raw::c_ulonglong; +pub type register_t = i64; +pub type user_addr_t = u_int64_t; +pub type user_size_t = u_int64_t; +pub type user_ssize_t = i64; +pub type user_long_t = i64; +pub type user_ulong_t = u_int64_t; +pub type user_time_t = i64; +pub type user_off_t = i64; +pub type syscall_arg_t = u_int64_t; +pub type va_list = __darwin_va_list; +#[pg_guard] +extern "C" { + pub fn renameat( + arg1: ::std::os::raw::c_int, + arg2: *const ::std::os::raw::c_char, + arg3: ::std::os::raw::c_int, + arg4: *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; +} +#[pg_guard] +extern "C" { + pub fn renamex_np( + arg1: *const ::std::os::raw::c_char, + arg2: *const ::std::os::raw::c_char, + arg3: ::std::os::raw::c_uint, + ) -> ::std::os::raw::c_int; +} +#[pg_guard] +extern "C" { + pub fn renameatx_np( + arg1: ::std::os::raw::c_int, + arg2: *const ::std::os::raw::c_char, + arg3: ::std::os::raw::c_int, + arg4: *const ::std::os::raw::c_char, + arg5: ::std::os::raw::c_uint, + ) -> ::std::os::raw::c_int; +} +pub type fpos_t = __darwin_off_t; #[repr(C)] #[derive(Debug, Copy, Clone)] -pub struct _IO_wide_data { +pub struct __sbuf { + pub _base: *mut ::std::os::raw::c_uchar, + pub _size: ::std::os::raw::c_int, +} +impl Default for __sbuf { + fn default() -> Self { + let mut s = ::std::mem::MaybeUninit::::uninit(); + unsafe { + ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); + s.assume_init() + } + } +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct __sFILEX { _unused: [u8; 0], } -pub type _IO_lock_t = ::std::os::raw::c_void; #[repr(C)] #[derive(Debug, Copy, Clone)] -pub struct _IO_FILE { - pub _flags: ::std::os::raw::c_int, - pub _IO_read_ptr: *mut ::std::os::raw::c_char, - pub _IO_read_end: *mut ::std::os::raw::c_char, - pub _IO_read_base: *mut ::std::os::raw::c_char, - pub _IO_write_base: *mut ::std::os::raw::c_char, - pub _IO_write_ptr: *mut ::std::os::raw::c_char, - pub _IO_write_end: *mut ::std::os::raw::c_char, - pub _IO_buf_base: *mut ::std::os::raw::c_char, - pub _IO_buf_end: *mut ::std::os::raw::c_char, - pub _IO_save_base: *mut ::std::os::raw::c_char, - pub _IO_backup_base: *mut ::std::os::raw::c_char, - pub _IO_save_end: *mut ::std::os::raw::c_char, - pub _markers: *mut _IO_marker, - pub _chain: *mut _IO_FILE, - pub _fileno: ::std::os::raw::c_int, - pub _flags2: ::std::os::raw::c_int, - pub _old_offset: __off_t, - pub _cur_column: ::std::os::raw::c_ushort, - pub _vtable_offset: ::std::os::raw::c_schar, - pub _shortbuf: [::std::os::raw::c_char; 1usize], - pub _lock: *mut _IO_lock_t, - pub _offset: __off64_t, - pub _codecvt: *mut _IO_codecvt, - pub _wide_data: *mut _IO_wide_data, - pub _freeres_list: *mut _IO_FILE, - pub _freeres_buf: *mut ::std::os::raw::c_void, - pub __pad5: usize, - pub _mode: ::std::os::raw::c_int, - pub _unused2: [::std::os::raw::c_char; 20usize], +pub struct __sFILE { + pub _p: *mut ::std::os::raw::c_uchar, + pub _r: ::std::os::raw::c_int, + pub _w: ::std::os::raw::c_int, + pub _flags: ::std::os::raw::c_short, + pub _file: ::std::os::raw::c_short, + pub _bf: __sbuf, + pub _lbfsize: ::std::os::raw::c_int, + pub _cookie: *mut ::std::os::raw::c_void, + pub _close: ::std::option::Option< + unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int, + >, + pub _read: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut ::std::os::raw::c_void, + arg2: *mut ::std::os::raw::c_char, + arg3: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int, + >, + pub _seek: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut ::std::os::raw::c_void, + arg2: fpos_t, + arg3: ::std::os::raw::c_int, + ) -> fpos_t, + >, + pub _write: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut ::std::os::raw::c_void, + arg2: *const ::std::os::raw::c_char, + arg3: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int, + >, + pub _ub: __sbuf, + pub _extra: *mut __sFILEX, + pub _ur: ::std::os::raw::c_int, + pub _ubuf: [::std::os::raw::c_uchar; 3usize], + pub _nbuf: [::std::os::raw::c_uchar; 1usize], + pub _lb: __sbuf, + pub _blksize: ::std::os::raw::c_int, + pub _offset: fpos_t, } -impl Default for _IO_FILE { +impl Default for __sFILE { fn default() -> Self { let mut s = ::std::mem::MaybeUninit::::uninit(); unsafe { @@ -3203,766 +3883,602 @@ impl Default for _IO_FILE { } } } -pub type off_t = __off_t; -pub type fpos_t = __fpos_t; +pub type FILE = __sFILE; #[pg_guard] extern "C" { - pub static mut stdin: *mut FILE; + pub static mut __stdinp: *mut FILE; } #[pg_guard] extern "C" { - pub static mut stdout: *mut FILE; + pub static mut __stdoutp: *mut FILE; } #[pg_guard] extern "C" { - pub static mut stderr: *mut FILE; + pub static mut __stderrp: *mut FILE; } #[pg_guard] extern "C" { - pub fn remove(__filename: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; + pub fn clearerr(arg1: *mut FILE); } #[pg_guard] extern "C" { - pub fn rename( - __old: *const ::std::os::raw::c_char, - __new: *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; + pub fn fclose(arg1: *mut FILE) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn renameat( - __oldfd: ::std::os::raw::c_int, - __old: *const ::std::os::raw::c_char, - __newfd: ::std::os::raw::c_int, - __new: *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; + pub fn feof(arg1: *mut FILE) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn fclose(__stream: *mut FILE) -> ::std::os::raw::c_int; + pub fn ferror(arg1: *mut FILE) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn tmpfile() -> *mut FILE; + pub fn fflush(arg1: *mut FILE) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn tmpnam(arg1: *mut ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; + pub fn fgetc(arg1: *mut FILE) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn tmpnam_r(__s: *mut ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; + pub fn fgetpos(arg1: *mut FILE, arg2: *mut fpos_t) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn tempnam( - __dir: *const ::std::os::raw::c_char, - __pfx: *const ::std::os::raw::c_char, + pub fn fgets( + arg1: *mut ::std::os::raw::c_char, + arg2: ::std::os::raw::c_int, + arg3: *mut FILE, ) -> *mut ::std::os::raw::c_char; } #[pg_guard] -extern "C" { - pub fn fflush(__stream: *mut FILE) -> ::std::os::raw::c_int; -} -#[pg_guard] -extern "C" { - pub fn fflush_unlocked(__stream: *mut FILE) -> ::std::os::raw::c_int; -} -#[pg_guard] extern "C" { pub fn fopen( __filename: *const ::std::os::raw::c_char, - __modes: *const ::std::os::raw::c_char, - ) -> *mut FILE; -} -#[pg_guard] -extern "C" { - pub fn freopen( - __filename: *const ::std::os::raw::c_char, - __modes: *const ::std::os::raw::c_char, - __stream: *mut FILE, - ) -> *mut FILE; -} -#[pg_guard] -extern "C" { - pub fn fdopen(__fd: ::std::os::raw::c_int, __modes: *const ::std::os::raw::c_char) - -> *mut FILE; -} -#[pg_guard] -extern "C" { - pub fn fmemopen( - __s: *mut ::std::os::raw::c_void, - __len: usize, - __modes: *const ::std::os::raw::c_char, - ) -> *mut FILE; -} -#[pg_guard] -extern "C" { - pub fn open_memstream( - __bufloc: *mut *mut ::std::os::raw::c_char, - __sizeloc: *mut usize, + __mode: *const ::std::os::raw::c_char, ) -> *mut FILE; } #[pg_guard] extern "C" { - pub fn setbuf(__stream: *mut FILE, __buf: *mut ::std::os::raw::c_char); -} -#[pg_guard] -extern "C" { - pub fn setvbuf( - __stream: *mut FILE, - __buf: *mut ::std::os::raw::c_char, - __modes: ::std::os::raw::c_int, - __n: usize, + pub fn fprintf( + arg1: *mut FILE, + arg2: *const ::std::os::raw::c_char, + ... ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn setbuffer(__stream: *mut FILE, __buf: *mut ::std::os::raw::c_char, __size: usize); + pub fn fputc(arg1: ::std::os::raw::c_int, arg2: *mut FILE) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn setlinebuf(__stream: *mut FILE); + pub fn fputs(arg1: *const ::std::os::raw::c_char, arg2: *mut FILE) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn fprintf( + pub fn fread( + __ptr: *mut ::std::os::raw::c_void, + __size: ::std::os::raw::c_ulong, + __nitems: ::std::os::raw::c_ulong, __stream: *mut FILE, - __format: *const ::std::os::raw::c_char, - ... - ) -> ::std::os::raw::c_int; + ) -> ::std::os::raw::c_ulong; } #[pg_guard] extern "C" { - pub fn printf(__format: *const ::std::os::raw::c_char, ...) -> ::std::os::raw::c_int; + pub fn freopen( + arg1: *const ::std::os::raw::c_char, + arg2: *const ::std::os::raw::c_char, + arg3: *mut FILE, + ) -> *mut FILE; } #[pg_guard] extern "C" { - pub fn sprintf( - __s: *mut ::std::os::raw::c_char, - __format: *const ::std::os::raw::c_char, + pub fn fscanf( + arg1: *mut FILE, + arg2: *const ::std::os::raw::c_char, ... ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn vfprintf( - __s: *mut FILE, - __format: *const ::std::os::raw::c_char, - __arg: *mut __va_list_tag, + pub fn fseek( + arg1: *mut FILE, + arg2: ::std::os::raw::c_long, + arg3: ::std::os::raw::c_int, ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn vprintf( - __format: *const ::std::os::raw::c_char, - __arg: *mut __va_list_tag, - ) -> ::std::os::raw::c_int; + pub fn fsetpos(arg1: *mut FILE, arg2: *const fpos_t) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn vsprintf( - __s: *mut ::std::os::raw::c_char, - __format: *const ::std::os::raw::c_char, - __arg: *mut __va_list_tag, - ) -> ::std::os::raw::c_int; + pub fn ftell(arg1: *mut FILE) -> ::std::os::raw::c_long; } #[pg_guard] extern "C" { - pub fn snprintf( - __s: *mut ::std::os::raw::c_char, - __maxlen: ::std::os::raw::c_ulong, - __format: *const ::std::os::raw::c_char, - ... - ) -> ::std::os::raw::c_int; + pub fn fwrite( + __ptr: *const ::std::os::raw::c_void, + __size: ::std::os::raw::c_ulong, + __nitems: ::std::os::raw::c_ulong, + __stream: *mut FILE, + ) -> ::std::os::raw::c_ulong; } #[pg_guard] extern "C" { - pub fn vsnprintf( - __s: *mut ::std::os::raw::c_char, - __maxlen: ::std::os::raw::c_ulong, - __format: *const ::std::os::raw::c_char, - __arg: *mut __va_list_tag, - ) -> ::std::os::raw::c_int; + pub fn getc(arg1: *mut FILE) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn vdprintf( - __fd: ::std::os::raw::c_int, - __fmt: *const ::std::os::raw::c_char, - __arg: *mut __va_list_tag, - ) -> ::std::os::raw::c_int; + pub fn getchar() -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn dprintf( - __fd: ::std::os::raw::c_int, - __fmt: *const ::std::os::raw::c_char, - ... - ) -> ::std::os::raw::c_int; + pub fn gets(arg1: *mut ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; } #[pg_guard] extern "C" { - pub fn fscanf( - __stream: *mut FILE, - __format: *const ::std::os::raw::c_char, - ... - ) -> ::std::os::raw::c_int; + pub fn perror(arg1: *const ::std::os::raw::c_char); } #[pg_guard] extern "C" { - pub fn scanf(__format: *const ::std::os::raw::c_char, ...) -> ::std::os::raw::c_int; + pub fn printf(arg1: *const ::std::os::raw::c_char, ...) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn sscanf( - __s: *const ::std::os::raw::c_char, - __format: *const ::std::os::raw::c_char, - ... - ) -> ::std::os::raw::c_int; + pub fn putc(arg1: ::std::os::raw::c_int, arg2: *mut FILE) -> ::std::os::raw::c_int; } -pub type _Float32 = f32; -pub type _Float64 = f64; -pub type _Float32x = f64; -pub type _Float64x = u128; #[pg_guard] extern "C" { - #[link_name = "\u{1}__isoc99_fscanf"] - pub fn fscanf1( - __stream: *mut FILE, - __format: *const ::std::os::raw::c_char, - ... - ) -> ::std::os::raw::c_int; + pub fn putchar(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - #[link_name = "\u{1}__isoc99_scanf"] - pub fn scanf1(__format: *const ::std::os::raw::c_char, ...) -> ::std::os::raw::c_int; + pub fn puts(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - #[link_name = "\u{1}__isoc99_sscanf"] - pub fn sscanf1( - __s: *const ::std::os::raw::c_char, - __format: *const ::std::os::raw::c_char, - ... - ) -> ::std::os::raw::c_int; + pub fn remove(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn vfscanf( - __s: *mut FILE, - __format: *const ::std::os::raw::c_char, - __arg: *mut __va_list_tag, + pub fn rename( + __old: *const ::std::os::raw::c_char, + __new: *const ::std::os::raw::c_char, ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn vscanf( - __format: *const ::std::os::raw::c_char, - __arg: *mut __va_list_tag, - ) -> ::std::os::raw::c_int; + pub fn rewind(arg1: *mut FILE); } #[pg_guard] extern "C" { - pub fn vsscanf( - __s: *const ::std::os::raw::c_char, - __format: *const ::std::os::raw::c_char, - __arg: *mut __va_list_tag, - ) -> ::std::os::raw::c_int; + pub fn scanf(arg1: *const ::std::os::raw::c_char, ...) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - #[link_name = "\u{1}__isoc99_vfscanf"] - pub fn vfscanf1( - __s: *mut FILE, - __format: *const ::std::os::raw::c_char, - __arg: *mut __va_list_tag, - ) -> ::std::os::raw::c_int; + pub fn setbuf(arg1: *mut FILE, arg2: *mut ::std::os::raw::c_char); } #[pg_guard] extern "C" { - #[link_name = "\u{1}__isoc99_vscanf"] - pub fn vscanf1( - __format: *const ::std::os::raw::c_char, - __arg: *mut __va_list_tag, + pub fn setvbuf( + arg1: *mut FILE, + arg2: *mut ::std::os::raw::c_char, + arg3: ::std::os::raw::c_int, + arg4: usize, ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - #[link_name = "\u{1}__isoc99_vsscanf"] - pub fn vsscanf1( - __s: *const ::std::os::raw::c_char, - __format: *const ::std::os::raw::c_char, - __arg: *mut __va_list_tag, + pub fn sprintf( + arg1: *mut ::std::os::raw::c_char, + arg2: *const ::std::os::raw::c_char, + ... ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn fgetc(__stream: *mut FILE) -> ::std::os::raw::c_int; + pub fn sscanf( + arg1: *const ::std::os::raw::c_char, + arg2: *const ::std::os::raw::c_char, + ... + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn getc(__stream: *mut FILE) -> ::std::os::raw::c_int; + pub fn tmpfile() -> *mut FILE; } #[pg_guard] extern "C" { - pub fn getchar() -> ::std::os::raw::c_int; + pub fn tmpnam(arg1: *mut ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; } #[pg_guard] extern "C" { - pub fn getc_unlocked(__stream: *mut FILE) -> ::std::os::raw::c_int; + pub fn ungetc(arg1: ::std::os::raw::c_int, arg2: *mut FILE) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn getchar_unlocked() -> ::std::os::raw::c_int; + pub fn vfprintf( + arg1: *mut FILE, + arg2: *const ::std::os::raw::c_char, + arg3: __builtin_va_list, + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn fgetc_unlocked(__stream: *mut FILE) -> ::std::os::raw::c_int; + pub fn vprintf( + arg1: *const ::std::os::raw::c_char, + arg2: __builtin_va_list, + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn fputc(__c: ::std::os::raw::c_int, __stream: *mut FILE) -> ::std::os::raw::c_int; + pub fn vsprintf( + arg1: *mut ::std::os::raw::c_char, + arg2: *const ::std::os::raw::c_char, + arg3: __builtin_va_list, + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn putc(__c: ::std::os::raw::c_int, __stream: *mut FILE) -> ::std::os::raw::c_int; + pub fn ctermid(arg1: *mut ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; } #[pg_guard] extern "C" { - pub fn putchar(__c: ::std::os::raw::c_int) -> ::std::os::raw::c_int; + pub fn fdopen(arg1: ::std::os::raw::c_int, arg2: *const ::std::os::raw::c_char) -> *mut FILE; } #[pg_guard] extern "C" { - pub fn fputc_unlocked(__c: ::std::os::raw::c_int, __stream: *mut FILE) - -> ::std::os::raw::c_int; + pub fn fileno(arg1: *mut FILE) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn putc_unlocked(__c: ::std::os::raw::c_int, __stream: *mut FILE) -> ::std::os::raw::c_int; + pub fn pclose(arg1: *mut FILE) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn putchar_unlocked(__c: ::std::os::raw::c_int) -> ::std::os::raw::c_int; + pub fn popen( + arg1: *const ::std::os::raw::c_char, + arg2: *const ::std::os::raw::c_char, + ) -> *mut FILE; } #[pg_guard] extern "C" { - pub fn getw(__stream: *mut FILE) -> ::std::os::raw::c_int; + pub fn __srget(arg1: *mut FILE) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn putw(__w: ::std::os::raw::c_int, __stream: *mut FILE) -> ::std::os::raw::c_int; + pub fn __svfscanf( + arg1: *mut FILE, + arg2: *const ::std::os::raw::c_char, + arg3: va_list, + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn fgets( - __s: *mut ::std::os::raw::c_char, - __n: ::std::os::raw::c_int, - __stream: *mut FILE, - ) -> *mut ::std::os::raw::c_char; + pub fn __swbuf(arg1: ::std::os::raw::c_int, arg2: *mut FILE) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn __getdelim( - __lineptr: *mut *mut ::std::os::raw::c_char, - __n: *mut usize, - __delimiter: ::std::os::raw::c_int, - __stream: *mut FILE, - ) -> __ssize_t; + pub fn flockfile(arg1: *mut FILE); } #[pg_guard] extern "C" { - pub fn getdelim( - __lineptr: *mut *mut ::std::os::raw::c_char, - __n: *mut usize, - __delimiter: ::std::os::raw::c_int, - __stream: *mut FILE, - ) -> __ssize_t; + pub fn ftrylockfile(arg1: *mut FILE) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn getline( - __lineptr: *mut *mut ::std::os::raw::c_char, - __n: *mut usize, - __stream: *mut FILE, - ) -> __ssize_t; + pub fn funlockfile(arg1: *mut FILE); } #[pg_guard] extern "C" { - pub fn fputs(__s: *const ::std::os::raw::c_char, __stream: *mut FILE) -> ::std::os::raw::c_int; + pub fn getc_unlocked(arg1: *mut FILE) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn puts(__s: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; + pub fn getchar_unlocked() -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn ungetc(__c: ::std::os::raw::c_int, __stream: *mut FILE) -> ::std::os::raw::c_int; + pub fn putc_unlocked(arg1: ::std::os::raw::c_int, arg2: *mut FILE) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn fread( - __ptr: *mut ::std::os::raw::c_void, - __size: ::std::os::raw::c_ulong, - __n: ::std::os::raw::c_ulong, - __stream: *mut FILE, - ) -> ::std::os::raw::c_ulong; + pub fn putchar_unlocked(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn fwrite( - __ptr: *const ::std::os::raw::c_void, - __size: ::std::os::raw::c_ulong, - __n: ::std::os::raw::c_ulong, - __s: *mut FILE, - ) -> ::std::os::raw::c_ulong; + pub fn getw(arg1: *mut FILE) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn fread_unlocked( - __ptr: *mut ::std::os::raw::c_void, - __size: usize, - __n: usize, - __stream: *mut FILE, - ) -> usize; + pub fn putw(arg1: ::std::os::raw::c_int, arg2: *mut FILE) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn fwrite_unlocked( - __ptr: *const ::std::os::raw::c_void, - __size: usize, - __n: usize, - __stream: *mut FILE, - ) -> usize; + pub fn tempnam( + __dir: *const ::std::os::raw::c_char, + __prefix: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; } +pub type off_t = __darwin_off_t; #[pg_guard] extern "C" { - pub fn fseek( + pub fn fseeko( __stream: *mut FILE, - __off: ::std::os::raw::c_long, + __offset: off_t, __whence: ::std::os::raw::c_int, ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn ftell(__stream: *mut FILE) -> ::std::os::raw::c_long; + pub fn ftello(__stream: *mut FILE) -> off_t; } #[pg_guard] extern "C" { - pub fn rewind(__stream: *mut FILE); + pub fn snprintf( + __str: *mut ::std::os::raw::c_char, + __size: ::std::os::raw::c_ulong, + __format: *const ::std::os::raw::c_char, + ... + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn fseeko( + pub fn vfscanf( __stream: *mut FILE, - __off: __off_t, - __whence: ::std::os::raw::c_int, + __format: *const ::std::os::raw::c_char, + arg1: __builtin_va_list, ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn ftello(__stream: *mut FILE) -> __off_t; -} -#[pg_guard] -extern "C" { - pub fn fgetpos(__stream: *mut FILE, __pos: *mut fpos_t) -> ::std::os::raw::c_int; -} -#[pg_guard] -extern "C" { - pub fn fsetpos(__stream: *mut FILE, __pos: *const fpos_t) -> ::std::os::raw::c_int; -} -#[pg_guard] -extern "C" { - pub fn clearerr(__stream: *mut FILE); -} -#[pg_guard] -extern "C" { - pub fn feof(__stream: *mut FILE) -> ::std::os::raw::c_int; -} -#[pg_guard] -extern "C" { - pub fn ferror(__stream: *mut FILE) -> ::std::os::raw::c_int; -} -#[pg_guard] -extern "C" { - pub fn clearerr_unlocked(__stream: *mut FILE); + pub fn vscanf( + __format: *const ::std::os::raw::c_char, + arg1: __builtin_va_list, + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn feof_unlocked(__stream: *mut FILE) -> ::std::os::raw::c_int; + pub fn vsnprintf( + __str: *mut ::std::os::raw::c_char, + __size: ::std::os::raw::c_ulong, + __format: *const ::std::os::raw::c_char, + arg1: __builtin_va_list, + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn ferror_unlocked(__stream: *mut FILE) -> ::std::os::raw::c_int; + pub fn vsscanf( + __str: *const ::std::os::raw::c_char, + __format: *const ::std::os::raw::c_char, + arg1: __builtin_va_list, + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn perror(__s: *const ::std::os::raw::c_char); + pub fn dprintf( + arg1: ::std::os::raw::c_int, + arg2: *const ::std::os::raw::c_char, + ... + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn fileno(__stream: *mut FILE) -> ::std::os::raw::c_int; + pub fn vdprintf( + arg1: ::std::os::raw::c_int, + arg2: *const ::std::os::raw::c_char, + arg3: va_list, + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn fileno_unlocked(__stream: *mut FILE) -> ::std::os::raw::c_int; + pub fn getdelim( + __linep: *mut *mut ::std::os::raw::c_char, + __linecapp: *mut usize, + __delimiter: ::std::os::raw::c_int, + __stream: *mut FILE, + ) -> isize; } #[pg_guard] extern "C" { - pub fn pclose(__stream: *mut FILE) -> ::std::os::raw::c_int; + pub fn getline( + __linep: *mut *mut ::std::os::raw::c_char, + __linecapp: *mut usize, + __stream: *mut FILE, + ) -> isize; } #[pg_guard] extern "C" { - pub fn popen( - __command: *const ::std::os::raw::c_char, - __modes: *const ::std::os::raw::c_char, + pub fn fmemopen( + __buf: *mut ::std::os::raw::c_void, + __size: usize, + __mode: *const ::std::os::raw::c_char, ) -> *mut FILE; } #[pg_guard] extern "C" { - pub fn ctermid(__s: *mut ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; -} -#[pg_guard] -extern "C" { - pub fn flockfile(__stream: *mut FILE); -} -#[pg_guard] -extern "C" { - pub fn ftrylockfile(__stream: *mut FILE) -> ::std::os::raw::c_int; -} -#[pg_guard] -extern "C" { - pub fn funlockfile(__stream: *mut FILE); -} -#[pg_guard] -extern "C" { - pub fn __uflow(arg1: *mut FILE) -> ::std::os::raw::c_int; + pub fn open_memstream( + __bufp: *mut *mut ::std::os::raw::c_char, + __sizep: *mut usize, + ) -> *mut FILE; } #[pg_guard] extern "C" { - pub fn __overflow(arg1: *mut FILE, arg2: ::std::os::raw::c_int) -> ::std::os::raw::c_int; -} -pub type wchar_t = ::std::os::raw::c_int; -#[repr(C)] -#[derive(Debug, Default, Copy, Clone)] -pub struct div_t { - pub quot: ::std::os::raw::c_int, - pub rem: ::std::os::raw::c_int, -} -#[repr(C)] -#[derive(Debug, Default, Copy, Clone)] -pub struct ldiv_t { - pub quot: ::std::os::raw::c_long, - pub rem: ::std::os::raw::c_long, -} -#[repr(C)] -#[derive(Debug, Default, Copy, Clone)] -pub struct lldiv_t { - pub quot: ::std::os::raw::c_longlong, - pub rem: ::std::os::raw::c_longlong, + pub static sys_nerr: ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn __ctype_get_mb_cur_max() -> usize; + pub static mut sys_errlist: [*const ::std::os::raw::c_char; 0usize]; } #[pg_guard] extern "C" { - pub fn atof(__nptr: *const ::std::os::raw::c_char) -> f64; + pub fn asprintf( + arg1: *mut *mut ::std::os::raw::c_char, + arg2: *const ::std::os::raw::c_char, + ... + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn atoi(__nptr: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; + pub fn ctermid_r(arg1: *mut ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; } #[pg_guard] extern "C" { - pub fn atol(__nptr: *const ::std::os::raw::c_char) -> ::std::os::raw::c_long; + pub fn fgetln(arg1: *mut FILE, arg2: *mut usize) -> *mut ::std::os::raw::c_char; } #[pg_guard] extern "C" { - pub fn atoll(__nptr: *const ::std::os::raw::c_char) -> ::std::os::raw::c_longlong; + pub fn fmtcheck( + arg1: *const ::std::os::raw::c_char, + arg2: *const ::std::os::raw::c_char, + ) -> *const ::std::os::raw::c_char; } #[pg_guard] extern "C" { - pub fn strtod( - __nptr: *const ::std::os::raw::c_char, - __endptr: *mut *mut ::std::os::raw::c_char, - ) -> f64; + pub fn fpurge(arg1: *mut FILE) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn strtof( - __nptr: *const ::std::os::raw::c_char, - __endptr: *mut *mut ::std::os::raw::c_char, - ) -> f32; + pub fn setbuffer( + arg1: *mut FILE, + arg2: *mut ::std::os::raw::c_char, + arg3: ::std::os::raw::c_int, + ); } #[pg_guard] extern "C" { - pub fn strtold( - __nptr: *const ::std::os::raw::c_char, - __endptr: *mut *mut ::std::os::raw::c_char, - ) -> u128; + pub fn setlinebuf(arg1: *mut FILE) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn strtol( - __nptr: *const ::std::os::raw::c_char, - __endptr: *mut *mut ::std::os::raw::c_char, - __base: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_long; + pub fn vasprintf( + arg1: *mut *mut ::std::os::raw::c_char, + arg2: *const ::std::os::raw::c_char, + arg3: va_list, + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn strtoul( - __nptr: *const ::std::os::raw::c_char, - __endptr: *mut *mut ::std::os::raw::c_char, - __base: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_ulong; + pub fn funopen( + arg1: *const ::std::os::raw::c_void, + arg2: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut ::std::os::raw::c_void, + arg2: *mut ::std::os::raw::c_char, + arg3: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int, + >, + arg3: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut ::std::os::raw::c_void, + arg2: *const ::std::os::raw::c_char, + arg3: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int, + >, + arg4: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut ::std::os::raw::c_void, + arg2: fpos_t, + arg3: ::std::os::raw::c_int, + ) -> fpos_t, + >, + arg5: ::std::option::Option< + unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int, + >, + ) -> *mut FILE; } #[pg_guard] extern "C" { - pub fn strtoq( - __nptr: *const ::std::os::raw::c_char, - __endptr: *mut *mut ::std::os::raw::c_char, - __base: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_longlong; + pub fn __sprintf_chk( + arg1: *mut ::std::os::raw::c_char, + arg2: ::std::os::raw::c_int, + arg3: usize, + arg4: *const ::std::os::raw::c_char, + ... + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn strtouq( - __nptr: *const ::std::os::raw::c_char, - __endptr: *mut *mut ::std::os::raw::c_char, - __base: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_ulonglong; + pub fn __snprintf_chk( + arg1: *mut ::std::os::raw::c_char, + arg2: usize, + arg3: ::std::os::raw::c_int, + arg4: usize, + arg5: *const ::std::os::raw::c_char, + ... + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn strtoll( - __nptr: *const ::std::os::raw::c_char, - __endptr: *mut *mut ::std::os::raw::c_char, - __base: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_longlong; + pub fn __vsprintf_chk( + arg1: *mut ::std::os::raw::c_char, + arg2: ::std::os::raw::c_int, + arg3: usize, + arg4: *const ::std::os::raw::c_char, + arg5: va_list, + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn strtoull( - __nptr: *const ::std::os::raw::c_char, - __endptr: *mut *mut ::std::os::raw::c_char, - __base: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_ulonglong; + pub fn __vsnprintf_chk( + arg1: *mut ::std::os::raw::c_char, + arg2: usize, + arg3: ::std::os::raw::c_int, + arg4: usize, + arg5: *const ::std::os::raw::c_char, + arg6: va_list, + ) -> ::std::os::raw::c_int; } -#[pg_guard] -extern "C" { - pub fn l64a(__n: ::std::os::raw::c_long) -> *mut ::std::os::raw::c_char; -} -#[pg_guard] -extern "C" { - pub fn a64l(__s: *const ::std::os::raw::c_char) -> ::std::os::raw::c_long; -} -pub type u_char = __u_char; -pub type u_short = __u_short; -pub type u_int = __u_int; -pub type u_long = __u_long; -pub type quad_t = __quad_t; -pub type u_quad_t = __u_quad_t; -pub type fsid_t = __fsid_t; -pub type loff_t = __loff_t; -pub type ino_t = __ino_t; -pub type dev_t = __dev_t; -pub type gid_t = __gid_t; -pub type mode_t = __mode_t; -pub type nlink_t = __nlink_t; -pub type uid_t = __uid_t; -pub type pid_t = __pid_t; -pub type id_t = __id_t; -pub type daddr_t = __daddr_t; -pub type caddr_t = __caddr_t; -pub type key_t = __key_t; -pub type clock_t = __clock_t; -pub type clockid_t = __clockid_t; -pub type time_t = __time_t; -pub type timer_t = __timer_t; -pub type ulong = ::std::os::raw::c_ulong; -pub type ushort = ::std::os::raw::c_ushort; -pub type uint = ::std::os::raw::c_uint; -pub type u_int8_t = __uint8_t; -pub type u_int16_t = __uint16_t; -pub type u_int32_t = __uint32_t; -pub type u_int64_t = __uint64_t; -pub type register_t = ::std::os::raw::c_long; +pub const idtype_t_P_ALL: idtype_t = 0; +pub const idtype_t_P_PID: idtype_t = 1; +pub const idtype_t_P_PGID: idtype_t = 2; +pub type idtype_t = ::std::os::raw::c_uint; +pub type pid_t = __darwin_pid_t; +pub type id_t = __darwin_id_t; +pub type sig_atomic_t = ::std::os::raw::c_int; #[repr(C)] #[derive(Debug, Default, Copy, Clone)] -pub struct __sigset_t { - pub __val: [::std::os::raw::c_ulong; 16usize], +pub struct __darwin_arm_exception_state { + pub __exception: __uint32_t, + pub __fsr: __uint32_t, + pub __far: __uint32_t, } -pub type sigset_t = __sigset_t; #[repr(C)] #[derive(Debug, Default, Copy, Clone)] -pub struct timeval { - pub tv_sec: __time_t, - pub tv_usec: __suseconds_t, +pub struct __darwin_arm_exception_state64 { + pub __far: __uint64_t, + pub __esr: __uint32_t, + pub __exception: __uint32_t, } #[repr(C)] #[derive(Debug, Default, Copy, Clone)] -pub struct timespec { - pub tv_sec: __time_t, - pub tv_nsec: __syscall_slong_t, +pub struct __darwin_arm_thread_state { + pub __r: [__uint32_t; 13usize], + pub __sp: __uint32_t, + pub __lr: __uint32_t, + pub __pc: __uint32_t, + pub __cpsr: __uint32_t, } -pub type suseconds_t = __suseconds_t; -pub type __fd_mask = ::std::os::raw::c_long; #[repr(C)] #[derive(Debug, Default, Copy, Clone)] -pub struct fd_set { - pub __fds_bits: [__fd_mask; 16usize], -} -pub type fd_mask = __fd_mask; -#[pg_guard] -extern "C" { - pub fn select( - __nfds: ::std::os::raw::c_int, - __readfds: *mut fd_set, - __writefds: *mut fd_set, - __exceptfds: *mut fd_set, - __timeout: *mut timeval, - ) -> ::std::os::raw::c_int; -} -#[pg_guard] -extern "C" { - pub fn pselect( - __nfds: ::std::os::raw::c_int, - __readfds: *mut fd_set, - __writefds: *mut fd_set, - __exceptfds: *mut fd_set, - __timeout: *const timespec, - __sigmask: *const __sigset_t, - ) -> ::std::os::raw::c_int; -} -pub type blksize_t = __blksize_t; -pub type blkcnt_t = __blkcnt_t; -pub type fsblkcnt_t = __fsblkcnt_t; -pub type fsfilcnt_t = __fsfilcnt_t; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct __pthread_internal_list { - pub __prev: *mut __pthread_internal_list, - pub __next: *mut __pthread_internal_list, +pub struct __darwin_arm_thread_state64 { + pub __x: [__uint64_t; 29usize], + pub __fp: __uint64_t, + pub __lr: __uint64_t, + pub __sp: __uint64_t, + pub __pc: __uint64_t, + pub __cpsr: __uint32_t, + pub __pad: __uint32_t, } -impl Default for __pthread_internal_list { - fn default() -> Self { - let mut s = ::std::mem::MaybeUninit::::uninit(); - unsafe { - ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); - s.assume_init() - } - } -} -pub type __pthread_list_t = __pthread_internal_list; #[repr(C)] #[derive(Debug, Copy, Clone)] -pub struct __pthread_internal_slist { - pub __next: *mut __pthread_internal_slist, +pub struct __darwin_arm_vfp_state { + pub __r: [__uint32_t; 64usize], + pub __fpscr: __uint32_t, } -impl Default for __pthread_internal_slist { +impl Default for __darwin_arm_vfp_state { fn default() -> Self { let mut s = ::std::mem::MaybeUninit::::uninit(); unsafe { @@ -3971,98 +4487,66 @@ impl Default for __pthread_internal_slist { } } } -pub type __pthread_slist_t = __pthread_internal_slist; #[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct __pthread_mutex_s { - pub __lock: ::std::os::raw::c_int, - pub __count: ::std::os::raw::c_uint, - pub __owner: ::std::os::raw::c_int, - pub __nusers: ::std::os::raw::c_uint, - pub __kind: ::std::os::raw::c_int, - pub __spins: ::std::os::raw::c_short, - pub __elision: ::std::os::raw::c_short, - pub __list: __pthread_list_t, -} -impl Default for __pthread_mutex_s { - fn default() -> Self { - let mut s = ::std::mem::MaybeUninit::::uninit(); - unsafe { - ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); - s.assume_init() - } - } +#[repr(align(16))] +#[derive(Debug, Default, Copy, Clone)] +pub struct __darwin_arm_neon_state64 { + pub __v: [__uint128_t; 32usize], + pub __fpsr: __uint32_t, + pub __fpcr: __uint32_t, } #[repr(C)] +#[repr(align(16))] #[derive(Debug, Default, Copy, Clone)] -pub struct __pthread_rwlock_arch_t { - pub __readers: ::std::os::raw::c_uint, - pub __writers: ::std::os::raw::c_uint, - pub __wrphase_futex: ::std::os::raw::c_uint, - pub __writers_futex: ::std::os::raw::c_uint, - pub __pad3: ::std::os::raw::c_uint, - pub __pad4: ::std::os::raw::c_uint, - pub __cur_writer: ::std::os::raw::c_int, - pub __shared: ::std::os::raw::c_int, - pub __rwelision: ::std::os::raw::c_schar, - pub __pad1: [::std::os::raw::c_uchar; 7usize], - pub __pad2: ::std::os::raw::c_ulong, - pub __flags: ::std::os::raw::c_uint, +pub struct __darwin_arm_neon_state { + pub __v: [__uint128_t; 16usize], + pub __fpsr: __uint32_t, + pub __fpcr: __uint32_t, } #[repr(C)] -#[derive(Copy, Clone)] -pub struct __pthread_cond_s { - pub __bindgen_anon_1: __pthread_cond_s__bindgen_ty_1, - pub __bindgen_anon_2: __pthread_cond_s__bindgen_ty_2, - pub __g_refs: [::std::os::raw::c_uint; 2usize], - pub __g_size: [::std::os::raw::c_uint; 2usize], - pub __g1_orig_size: ::std::os::raw::c_uint, - pub __wrefs: ::std::os::raw::c_uint, - pub __g_signals: [::std::os::raw::c_uint; 2usize], +#[derive(Debug, Default, Copy, Clone)] +pub struct __arm_pagein_state { + pub __pagein_error: ::std::os::raw::c_int, } #[repr(C)] -#[derive(Copy, Clone)] -pub union __pthread_cond_s__bindgen_ty_1 { - pub __wseq: ::std::os::raw::c_ulonglong, - pub __wseq32: __pthread_cond_s__bindgen_ty_1__bindgen_ty_1, +#[derive(Debug, Default, Copy, Clone)] +pub struct __arm_legacy_debug_state { + pub __bvr: [__uint32_t; 16usize], + pub __bcr: [__uint32_t; 16usize], + pub __wvr: [__uint32_t; 16usize], + pub __wcr: [__uint32_t; 16usize], } #[repr(C)] #[derive(Debug, Default, Copy, Clone)] -pub struct __pthread_cond_s__bindgen_ty_1__bindgen_ty_1 { - pub __low: ::std::os::raw::c_uint, - pub __high: ::std::os::raw::c_uint, -} -impl Default for __pthread_cond_s__bindgen_ty_1 { - fn default() -> Self { - let mut s = ::std::mem::MaybeUninit::::uninit(); - unsafe { - ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); - s.assume_init() - } - } +pub struct __darwin_arm_debug_state32 { + pub __bvr: [__uint32_t; 16usize], + pub __bcr: [__uint32_t; 16usize], + pub __wvr: [__uint32_t; 16usize], + pub __wcr: [__uint32_t; 16usize], + pub __mdscr_el1: __uint64_t, } #[repr(C)] -#[derive(Copy, Clone)] -pub union __pthread_cond_s__bindgen_ty_2 { - pub __g1_start: ::std::os::raw::c_ulonglong, - pub __g1_start32: __pthread_cond_s__bindgen_ty_2__bindgen_ty_1, +#[derive(Debug, Default, Copy, Clone)] +pub struct __darwin_arm_debug_state64 { + pub __bvr: [__uint64_t; 16usize], + pub __bcr: [__uint64_t; 16usize], + pub __wvr: [__uint64_t; 16usize], + pub __wcr: [__uint64_t; 16usize], + pub __mdscr_el1: __uint64_t, } #[repr(C)] #[derive(Debug, Default, Copy, Clone)] -pub struct __pthread_cond_s__bindgen_ty_2__bindgen_ty_1 { - pub __low: ::std::os::raw::c_uint, - pub __high: ::std::os::raw::c_uint, +pub struct __darwin_arm_cpmu_state64 { + pub __ctrs: [__uint64_t; 16usize], } -impl Default for __pthread_cond_s__bindgen_ty_2 { - fn default() -> Self { - let mut s = ::std::mem::MaybeUninit::::uninit(); - unsafe { - ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); - s.assume_init() - } - } +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct __darwin_mcontext32 { + pub __es: __darwin_arm_exception_state, + pub __ss: __darwin_arm_thread_state, + pub __fs: __darwin_arm_vfp_state, } -impl Default for __pthread_cond_s { +impl Default for __darwin_mcontext32 { fn default() -> Self { let mut s = ::std::mem::MaybeUninit::::uninit(); unsafe { @@ -4071,21 +4555,24 @@ impl Default for __pthread_cond_s { } } } -pub type __tss_t = ::std::os::raw::c_uint; -pub type __thrd_t = ::std::os::raw::c_ulong; #[repr(C)] +#[repr(align(16))] #[derive(Debug, Default, Copy, Clone)] -pub struct __once_flag { - pub __data: ::std::os::raw::c_int, +pub struct __darwin_mcontext64 { + pub __es: __darwin_arm_exception_state64, + pub __ss: __darwin_arm_thread_state64, + pub __ns: __darwin_arm_neon_state64, } -pub type pthread_t = ::std::os::raw::c_ulong; +pub type mcontext_t = *mut __darwin_mcontext64; +pub type pthread_attr_t = __darwin_pthread_attr_t; #[repr(C)] -#[derive(Copy, Clone)] -pub union pthread_mutexattr_t { - pub __size: [::std::os::raw::c_char; 4usize], - pub __align: ::std::os::raw::c_int, +#[derive(Debug, Copy, Clone)] +pub struct __darwin_sigaltstack { + pub ss_sp: *mut ::std::os::raw::c_void, + pub ss_size: __darwin_size_t, + pub ss_flags: ::std::os::raw::c_int, } -impl Default for pthread_mutexattr_t { +impl Default for __darwin_sigaltstack { fn default() -> Self { let mut s = ::std::mem::MaybeUninit::::uninit(); unsafe { @@ -4094,13 +4581,18 @@ impl Default for pthread_mutexattr_t { } } } +pub type stack_t = __darwin_sigaltstack; #[repr(C)] -#[derive(Copy, Clone)] -pub union pthread_condattr_t { - pub __size: [::std::os::raw::c_char; 4usize], - pub __align: ::std::os::raw::c_int, +#[derive(Debug, Copy, Clone)] +pub struct __darwin_ucontext { + pub uc_onstack: ::std::os::raw::c_int, + pub uc_sigmask: __darwin_sigset_t, + pub uc_stack: __darwin_sigaltstack, + pub uc_link: *mut __darwin_ucontext, + pub uc_mcsize: __darwin_size_t, + pub uc_mcontext: *mut __darwin_mcontext64, } -impl Default for pthread_condattr_t { +impl Default for __darwin_ucontext { fn default() -> Self { let mut s = ::std::mem::MaybeUninit::::uninit(); unsafe { @@ -4109,15 +4601,16 @@ impl Default for pthread_condattr_t { } } } -pub type pthread_key_t = ::std::os::raw::c_uint; -pub type pthread_once_t = ::std::os::raw::c_int; +pub type ucontext_t = __darwin_ucontext; +pub type sigset_t = __darwin_sigset_t; +pub type uid_t = __darwin_uid_t; #[repr(C)] #[derive(Copy, Clone)] -pub union pthread_attr_t { - pub __size: [::std::os::raw::c_char; 56usize], - pub __align: ::std::os::raw::c_long, +pub union sigval { + pub sival_int: ::std::os::raw::c_int, + pub sival_ptr: *mut ::std::os::raw::c_void, } -impl Default for pthread_attr_t { +impl Default for sigval { fn default() -> Self { let mut s = ::std::mem::MaybeUninit::::uninit(); unsafe { @@ -4128,12 +4621,14 @@ impl Default for pthread_attr_t { } #[repr(C)] #[derive(Copy, Clone)] -pub union pthread_mutex_t { - pub __data: __pthread_mutex_s, - pub __size: [::std::os::raw::c_char; 40usize], - pub __align: ::std::os::raw::c_long, +pub struct sigevent { + pub sigev_notify: ::std::os::raw::c_int, + pub sigev_signo: ::std::os::raw::c_int, + pub sigev_value: sigval, + pub sigev_notify_function: ::std::option::Option, + pub sigev_notify_attributes: *mut pthread_attr_t, } -impl Default for pthread_mutex_t { +impl Default for sigevent { fn default() -> Self { let mut s = ::std::mem::MaybeUninit::::uninit(); unsafe { @@ -4144,12 +4639,19 @@ impl Default for pthread_mutex_t { } #[repr(C)] #[derive(Copy, Clone)] -pub union pthread_cond_t { - pub __data: __pthread_cond_s, - pub __size: [::std::os::raw::c_char; 48usize], - pub __align: ::std::os::raw::c_longlong, +pub struct __siginfo { + pub si_signo: ::std::os::raw::c_int, + pub si_errno: ::std::os::raw::c_int, + pub si_code: ::std::os::raw::c_int, + pub si_pid: pid_t, + pub si_uid: uid_t, + pub si_status: ::std::os::raw::c_int, + pub si_addr: *mut ::std::os::raw::c_void, + pub si_value: sigval, + pub si_band: ::std::os::raw::c_long, + pub __pad: [::std::os::raw::c_ulong; 7usize], } -impl Default for pthread_cond_t { +impl Default for __siginfo { fn default() -> Self { let mut s = ::std::mem::MaybeUninit::::uninit(); unsafe { @@ -4158,14 +4660,20 @@ impl Default for pthread_cond_t { } } } +pub type siginfo_t = __siginfo; #[repr(C)] #[derive(Copy, Clone)] -pub union pthread_rwlock_t { - pub __data: __pthread_rwlock_arch_t, - pub __size: [::std::os::raw::c_char; 56usize], - pub __align: ::std::os::raw::c_long, +pub union __sigaction_u { + pub __sa_handler: ::std::option::Option, + pub __sa_sigaction: ::std::option::Option< + unsafe extern "C" fn( + arg1: ::std::os::raw::c_int, + arg2: *mut __siginfo, + arg3: *mut ::std::os::raw::c_void, + ), + >, } -impl Default for pthread_rwlock_t { +impl Default for __sigaction_u { fn default() -> Self { let mut s = ::std::mem::MaybeUninit::::uninit(); unsafe { @@ -4176,11 +4684,21 @@ impl Default for pthread_rwlock_t { } #[repr(C)] #[derive(Copy, Clone)] -pub union pthread_rwlockattr_t { - pub __size: [::std::os::raw::c_char; 8usize], - pub __align: ::std::os::raw::c_long, +pub struct __sigaction { + pub __sigaction_u: __sigaction_u, + pub sa_tramp: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut ::std::os::raw::c_void, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + arg4: *mut siginfo_t, + arg5: *mut ::std::os::raw::c_void, + ), + >, + pub sa_mask: sigset_t, + pub sa_flags: ::std::os::raw::c_int, } -impl Default for pthread_rwlockattr_t { +impl Default for __sigaction { fn default() -> Self { let mut s = ::std::mem::MaybeUninit::::uninit(); unsafe { @@ -4189,14 +4707,14 @@ impl Default for pthread_rwlockattr_t { } } } -pub type pthread_spinlock_t = ::std::os::raw::c_int; #[repr(C)] #[derive(Copy, Clone)] -pub union pthread_barrier_t { - pub __size: [::std::os::raw::c_char; 32usize], - pub __align: ::std::os::raw::c_long, +pub struct sigaction { + pub __sigaction_u: __sigaction_u, + pub sa_mask: sigset_t, + pub sa_flags: ::std::os::raw::c_int, } -impl Default for pthread_barrier_t { +impl Default for sigaction { fn default() -> Self { let mut s = ::std::mem::MaybeUninit::::uninit(); unsafe { @@ -4205,53 +4723,21 @@ impl Default for pthread_barrier_t { } } } +pub type sig_t = ::std::option::Option; #[repr(C)] -#[derive(Copy, Clone)] -pub union pthread_barrierattr_t { - pub __size: [::std::os::raw::c_char; 4usize], - pub __align: ::std::os::raw::c_int, -} -impl Default for pthread_barrierattr_t { - fn default() -> Self { - let mut s = ::std::mem::MaybeUninit::::uninit(); - unsafe { - ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); - s.assume_init() - } - } -} -#[pg_guard] -extern "C" { - pub fn random() -> ::std::os::raw::c_long; -} -#[pg_guard] -extern "C" { - pub fn srandom(__seed: ::std::os::raw::c_uint); -} -#[pg_guard] -extern "C" { - pub fn initstate( - __seed: ::std::os::raw::c_uint, - __statebuf: *mut ::std::os::raw::c_char, - __statelen: usize, - ) -> *mut ::std::os::raw::c_char; -} -#[pg_guard] -extern "C" { - pub fn setstate(__statebuf: *mut ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; +#[derive(Debug, Default, Copy, Clone)] +pub struct sigvec { + pub sv_handler: ::std::option::Option, + pub sv_mask: ::std::os::raw::c_int, + pub sv_flags: ::std::os::raw::c_int, } #[repr(C)] #[derive(Debug, Copy, Clone)] -pub struct random_data { - pub fptr: *mut i32, - pub rptr: *mut i32, - pub state: *mut i32, - pub rand_type: ::std::os::raw::c_int, - pub rand_deg: ::std::os::raw::c_int, - pub rand_sep: ::std::os::raw::c_int, - pub end_ptr: *mut i32, +pub struct sigstack { + pub ss_sp: *mut ::std::os::raw::c_char, + pub ss_onstack: ::std::os::raw::c_int, } -impl Default for random_data { +impl Default for sigstack { fn default() -> Self { let mut s = ::std::mem::MaybeUninit::::uninit(); unsafe { @@ -4262,188 +4748,558 @@ impl Default for random_data { } #[pg_guard] extern "C" { - pub fn random_r(__buf: *mut random_data, __result: *mut i32) -> ::std::os::raw::c_int; + pub fn signal( + arg1: ::std::os::raw::c_int, + arg2: ::std::option::Option, + ) -> ::std::option::Option< + unsafe extern "C" fn( + arg1: ::std::os::raw::c_int, + arg2: ::std::option::Option, + ), + >; } -#[pg_guard] -extern "C" { - pub fn srandom_r( - __seed: ::std::os::raw::c_uint, - __buf: *mut random_data, - ) -> ::std::os::raw::c_int; +pub type int_least8_t = i8; +pub type int_least16_t = i16; +pub type int_least32_t = i32; +pub type int_least64_t = i64; +pub type uint_least8_t = u8; +pub type uint_least16_t = u16; +pub type uint_least32_t = u32; +pub type uint_least64_t = u64; +pub type int_fast8_t = i8; +pub type int_fast16_t = i16; +pub type int_fast32_t = i32; +pub type int_fast64_t = i64; +pub type uint_fast8_t = u8; +pub type uint_fast16_t = u16; +pub type uint_fast32_t = u32; +pub type uint_fast64_t = u64; +pub type intmax_t = ::std::os::raw::c_long; +pub type uintmax_t = ::std::os::raw::c_ulong; +#[repr(C)] +#[derive(Debug, Default, Copy, Clone)] +pub struct timeval { + pub tv_sec: __darwin_time_t, + pub tv_usec: __darwin_suseconds_t, } -#[pg_guard] -extern "C" { - pub fn initstate_r( - __seed: ::std::os::raw::c_uint, - __statebuf: *mut ::std::os::raw::c_char, - __statelen: usize, - __buf: *mut random_data, - ) -> ::std::os::raw::c_int; +pub type rlim_t = __uint64_t; +#[repr(C)] +#[derive(Debug, Default, Copy, Clone)] +pub struct rusage { + pub ru_utime: timeval, + pub ru_stime: timeval, + pub ru_maxrss: ::std::os::raw::c_long, + pub ru_ixrss: ::std::os::raw::c_long, + pub ru_idrss: ::std::os::raw::c_long, + pub ru_isrss: ::std::os::raw::c_long, + pub ru_minflt: ::std::os::raw::c_long, + pub ru_majflt: ::std::os::raw::c_long, + pub ru_nswap: ::std::os::raw::c_long, + pub ru_inblock: ::std::os::raw::c_long, + pub ru_oublock: ::std::os::raw::c_long, + pub ru_msgsnd: ::std::os::raw::c_long, + pub ru_msgrcv: ::std::os::raw::c_long, + pub ru_nsignals: ::std::os::raw::c_long, + pub ru_nvcsw: ::std::os::raw::c_long, + pub ru_nivcsw: ::std::os::raw::c_long, +} +pub type rusage_info_t = *mut ::std::os::raw::c_void; +#[repr(C)] +#[derive(Debug, Default, Copy, Clone)] +pub struct rusage_info_v0 { + pub ri_uuid: [u8; 16usize], + pub ri_user_time: u64, + pub ri_system_time: u64, + pub ri_pkg_idle_wkups: u64, + pub ri_interrupt_wkups: u64, + pub ri_pageins: u64, + pub ri_wired_size: u64, + pub ri_resident_size: u64, + pub ri_phys_footprint: u64, + pub ri_proc_start_abstime: u64, + pub ri_proc_exit_abstime: u64, } -#[pg_guard] -extern "C" { - pub fn setstate_r( - __statebuf: *mut ::std::os::raw::c_char, - __buf: *mut random_data, - ) -> ::std::os::raw::c_int; +#[repr(C)] +#[derive(Debug, Default, Copy, Clone)] +pub struct rusage_info_v1 { + pub ri_uuid: [u8; 16usize], + pub ri_user_time: u64, + pub ri_system_time: u64, + pub ri_pkg_idle_wkups: u64, + pub ri_interrupt_wkups: u64, + pub ri_pageins: u64, + pub ri_wired_size: u64, + pub ri_resident_size: u64, + pub ri_phys_footprint: u64, + pub ri_proc_start_abstime: u64, + pub ri_proc_exit_abstime: u64, + pub ri_child_user_time: u64, + pub ri_child_system_time: u64, + pub ri_child_pkg_idle_wkups: u64, + pub ri_child_interrupt_wkups: u64, + pub ri_child_pageins: u64, + pub ri_child_elapsed_abstime: u64, } -#[pg_guard] -extern "C" { - pub fn rand() -> ::std::os::raw::c_int; +#[repr(C)] +#[derive(Debug, Default, Copy, Clone)] +pub struct rusage_info_v2 { + pub ri_uuid: [u8; 16usize], + pub ri_user_time: u64, + pub ri_system_time: u64, + pub ri_pkg_idle_wkups: u64, + pub ri_interrupt_wkups: u64, + pub ri_pageins: u64, + pub ri_wired_size: u64, + pub ri_resident_size: u64, + pub ri_phys_footprint: u64, + pub ri_proc_start_abstime: u64, + pub ri_proc_exit_abstime: u64, + pub ri_child_user_time: u64, + pub ri_child_system_time: u64, + pub ri_child_pkg_idle_wkups: u64, + pub ri_child_interrupt_wkups: u64, + pub ri_child_pageins: u64, + pub ri_child_elapsed_abstime: u64, + pub ri_diskio_bytesread: u64, + pub ri_diskio_byteswritten: u64, } -#[pg_guard] -extern "C" { - pub fn srand(__seed: ::std::os::raw::c_uint); +#[repr(C)] +#[derive(Debug, Default, Copy, Clone)] +pub struct rusage_info_v3 { + pub ri_uuid: [u8; 16usize], + pub ri_user_time: u64, + pub ri_system_time: u64, + pub ri_pkg_idle_wkups: u64, + pub ri_interrupt_wkups: u64, + pub ri_pageins: u64, + pub ri_wired_size: u64, + pub ri_resident_size: u64, + pub ri_phys_footprint: u64, + pub ri_proc_start_abstime: u64, + pub ri_proc_exit_abstime: u64, + pub ri_child_user_time: u64, + pub ri_child_system_time: u64, + pub ri_child_pkg_idle_wkups: u64, + pub ri_child_interrupt_wkups: u64, + pub ri_child_pageins: u64, + pub ri_child_elapsed_abstime: u64, + pub ri_diskio_bytesread: u64, + pub ri_diskio_byteswritten: u64, + pub ri_cpu_time_qos_default: u64, + pub ri_cpu_time_qos_maintenance: u64, + pub ri_cpu_time_qos_background: u64, + pub ri_cpu_time_qos_utility: u64, + pub ri_cpu_time_qos_legacy: u64, + pub ri_cpu_time_qos_user_initiated: u64, + pub ri_cpu_time_qos_user_interactive: u64, + pub ri_billed_system_time: u64, + pub ri_serviced_system_time: u64, } -#[pg_guard] -extern "C" { - pub fn rand_r(__seed: *mut ::std::os::raw::c_uint) -> ::std::os::raw::c_int; +#[repr(C)] +#[derive(Debug, Default, Copy, Clone)] +pub struct rusage_info_v4 { + pub ri_uuid: [u8; 16usize], + pub ri_user_time: u64, + pub ri_system_time: u64, + pub ri_pkg_idle_wkups: u64, + pub ri_interrupt_wkups: u64, + pub ri_pageins: u64, + pub ri_wired_size: u64, + pub ri_resident_size: u64, + pub ri_phys_footprint: u64, + pub ri_proc_start_abstime: u64, + pub ri_proc_exit_abstime: u64, + pub ri_child_user_time: u64, + pub ri_child_system_time: u64, + pub ri_child_pkg_idle_wkups: u64, + pub ri_child_interrupt_wkups: u64, + pub ri_child_pageins: u64, + pub ri_child_elapsed_abstime: u64, + pub ri_diskio_bytesread: u64, + pub ri_diskio_byteswritten: u64, + pub ri_cpu_time_qos_default: u64, + pub ri_cpu_time_qos_maintenance: u64, + pub ri_cpu_time_qos_background: u64, + pub ri_cpu_time_qos_utility: u64, + pub ri_cpu_time_qos_legacy: u64, + pub ri_cpu_time_qos_user_initiated: u64, + pub ri_cpu_time_qos_user_interactive: u64, + pub ri_billed_system_time: u64, + pub ri_serviced_system_time: u64, + pub ri_logical_writes: u64, + pub ri_lifetime_max_phys_footprint: u64, + pub ri_instructions: u64, + pub ri_cycles: u64, + pub ri_billed_energy: u64, + pub ri_serviced_energy: u64, + pub ri_interval_max_phys_footprint: u64, + pub ri_runnable_time: u64, } -#[pg_guard] -extern "C" { - pub fn drand48() -> f64; +#[repr(C)] +#[derive(Debug, Default, Copy, Clone)] +pub struct rusage_info_v5 { + pub ri_uuid: [u8; 16usize], + pub ri_user_time: u64, + pub ri_system_time: u64, + pub ri_pkg_idle_wkups: u64, + pub ri_interrupt_wkups: u64, + pub ri_pageins: u64, + pub ri_wired_size: u64, + pub ri_resident_size: u64, + pub ri_phys_footprint: u64, + pub ri_proc_start_abstime: u64, + pub ri_proc_exit_abstime: u64, + pub ri_child_user_time: u64, + pub ri_child_system_time: u64, + pub ri_child_pkg_idle_wkups: u64, + pub ri_child_interrupt_wkups: u64, + pub ri_child_pageins: u64, + pub ri_child_elapsed_abstime: u64, + pub ri_diskio_bytesread: u64, + pub ri_diskio_byteswritten: u64, + pub ri_cpu_time_qos_default: u64, + pub ri_cpu_time_qos_maintenance: u64, + pub ri_cpu_time_qos_background: u64, + pub ri_cpu_time_qos_utility: u64, + pub ri_cpu_time_qos_legacy: u64, + pub ri_cpu_time_qos_user_initiated: u64, + pub ri_cpu_time_qos_user_interactive: u64, + pub ri_billed_system_time: u64, + pub ri_serviced_system_time: u64, + pub ri_logical_writes: u64, + pub ri_lifetime_max_phys_footprint: u64, + pub ri_instructions: u64, + pub ri_cycles: u64, + pub ri_billed_energy: u64, + pub ri_serviced_energy: u64, + pub ri_interval_max_phys_footprint: u64, + pub ri_runnable_time: u64, + pub ri_flags: u64, +} +pub type rusage_info_current = rusage_info_v5; +#[repr(C)] +#[derive(Debug, Default, Copy, Clone)] +pub struct rlimit { + pub rlim_cur: rlim_t, + pub rlim_max: rlim_t, } -#[pg_guard] -extern "C" { - pub fn erand48(__xsubi: *mut ::std::os::raw::c_ushort) -> f64; +#[repr(C)] +#[derive(Debug, Default, Copy, Clone)] +pub struct proc_rlimit_control_wakeupmon { + pub wm_flags: u32, + pub wm_rate: i32, } #[pg_guard] extern "C" { - pub fn lrand48() -> ::std::os::raw::c_long; + pub fn getpriority(arg1: ::std::os::raw::c_int, arg2: id_t) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn nrand48(__xsubi: *mut ::std::os::raw::c_ushort) -> ::std::os::raw::c_long; + pub fn getiopolicy_np( + arg1: ::std::os::raw::c_int, + arg2: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn mrand48() -> ::std::os::raw::c_long; + pub fn getrlimit(arg1: ::std::os::raw::c_int, arg2: *mut rlimit) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn jrand48(__xsubi: *mut ::std::os::raw::c_ushort) -> ::std::os::raw::c_long; + pub fn getrusage(arg1: ::std::os::raw::c_int, arg2: *mut rusage) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn srand48(__seedval: ::std::os::raw::c_long); + pub fn setpriority( + arg1: ::std::os::raw::c_int, + arg2: id_t, + arg3: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn seed48(__seed16v: *mut ::std::os::raw::c_ushort) -> *mut ::std::os::raw::c_ushort; + pub fn setiopolicy_np( + arg1: ::std::os::raw::c_int, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn lcong48(__param: *mut ::std::os::raw::c_ushort); + pub fn setrlimit(arg1: ::std::os::raw::c_int, arg2: *const rlimit) -> ::std::os::raw::c_int; } -#[repr(C)] +#[repr(C, packed)] #[derive(Debug, Default, Copy, Clone)] -pub struct drand48_data { - pub __x: [::std::os::raw::c_ushort; 3usize], - pub __old_x: [::std::os::raw::c_ushort; 3usize], - pub __c: ::std::os::raw::c_ushort, - pub __init: ::std::os::raw::c_ushort, - pub __a: ::std::os::raw::c_ulonglong, +pub struct _OSUnalignedU16 { + pub __val: u16, } -#[pg_guard] -extern "C" { - pub fn drand48_r(__buffer: *mut drand48_data, __result: *mut f64) -> ::std::os::raw::c_int; +#[repr(C, packed)] +#[derive(Debug, Default, Copy, Clone)] +pub struct _OSUnalignedU32 { + pub __val: u32, } -#[pg_guard] -extern "C" { - pub fn erand48_r( - __xsubi: *mut ::std::os::raw::c_ushort, - __buffer: *mut drand48_data, - __result: *mut f64, - ) -> ::std::os::raw::c_int; +#[repr(C, packed)] +#[derive(Debug, Default, Copy, Clone)] +pub struct _OSUnalignedU64 { + pub __val: u64, } -#[pg_guard] -extern "C" { - pub fn lrand48_r( - __buffer: *mut drand48_data, - __result: *mut ::std::os::raw::c_long, - ) -> ::std::os::raw::c_int; +#[repr(C)] +#[derive(Copy, Clone)] +pub union wait { + pub w_status: ::std::os::raw::c_int, + pub w_T: wait__bindgen_ty_1, + pub w_S: wait__bindgen_ty_2, } -#[pg_guard] -extern "C" { - pub fn nrand48_r( - __xsubi: *mut ::std::os::raw::c_ushort, - __buffer: *mut drand48_data, - __result: *mut ::std::os::raw::c_long, - ) -> ::std::os::raw::c_int; +#[repr(C)] +#[repr(align(4))] +#[derive(Debug, Default, Copy, Clone)] +pub struct wait__bindgen_ty_1 { + pub _bitfield_align_1: [u16; 0], + pub _bitfield_1: __BindgenBitfieldUnit<[u8; 4usize]>, +} +impl wait__bindgen_ty_1 { + #[inline] + pub fn w_Termsig(&self) -> ::std::os::raw::c_uint { + unsafe { ::std::mem::transmute(self._bitfield_1.get(0usize, 7u8) as u32) } + } + #[inline] + pub fn set_w_Termsig(&mut self, val: ::std::os::raw::c_uint) { + unsafe { + let val: u32 = ::std::mem::transmute(val); + self._bitfield_1.set(0usize, 7u8, val as u64) + } + } + #[inline] + pub fn w_Coredump(&self) -> ::std::os::raw::c_uint { + unsafe { ::std::mem::transmute(self._bitfield_1.get(7usize, 1u8) as u32) } + } + #[inline] + pub fn set_w_Coredump(&mut self, val: ::std::os::raw::c_uint) { + unsafe { + let val: u32 = ::std::mem::transmute(val); + self._bitfield_1.set(7usize, 1u8, val as u64) + } + } + #[inline] + pub fn w_Retcode(&self) -> ::std::os::raw::c_uint { + unsafe { ::std::mem::transmute(self._bitfield_1.get(8usize, 8u8) as u32) } + } + #[inline] + pub fn set_w_Retcode(&mut self, val: ::std::os::raw::c_uint) { + unsafe { + let val: u32 = ::std::mem::transmute(val); + self._bitfield_1.set(8usize, 8u8, val as u64) + } + } + #[inline] + pub fn w_Filler(&self) -> ::std::os::raw::c_uint { + unsafe { ::std::mem::transmute(self._bitfield_1.get(16usize, 16u8) as u32) } + } + #[inline] + pub fn set_w_Filler(&mut self, val: ::std::os::raw::c_uint) { + unsafe { + let val: u32 = ::std::mem::transmute(val); + self._bitfield_1.set(16usize, 16u8, val as u64) + } + } + #[inline] + pub fn new_bitfield_1( + w_Termsig: ::std::os::raw::c_uint, + w_Coredump: ::std::os::raw::c_uint, + w_Retcode: ::std::os::raw::c_uint, + w_Filler: ::std::os::raw::c_uint, + ) -> __BindgenBitfieldUnit<[u8; 4usize]> { + let mut __bindgen_bitfield_unit: __BindgenBitfieldUnit<[u8; 4usize]> = Default::default(); + __bindgen_bitfield_unit.set(0usize, 7u8, { + let w_Termsig: u32 = unsafe { ::std::mem::transmute(w_Termsig) }; + w_Termsig as u64 + }); + __bindgen_bitfield_unit.set(7usize, 1u8, { + let w_Coredump: u32 = unsafe { ::std::mem::transmute(w_Coredump) }; + w_Coredump as u64 + }); + __bindgen_bitfield_unit.set(8usize, 8u8, { + let w_Retcode: u32 = unsafe { ::std::mem::transmute(w_Retcode) }; + w_Retcode as u64 + }); + __bindgen_bitfield_unit.set(16usize, 16u8, { + let w_Filler: u32 = unsafe { ::std::mem::transmute(w_Filler) }; + w_Filler as u64 + }); + __bindgen_bitfield_unit + } +} +#[repr(C)] +#[repr(align(4))] +#[derive(Debug, Default, Copy, Clone)] +pub struct wait__bindgen_ty_2 { + pub _bitfield_align_1: [u16; 0], + pub _bitfield_1: __BindgenBitfieldUnit<[u8; 4usize]>, +} +impl wait__bindgen_ty_2 { + #[inline] + pub fn w_Stopval(&self) -> ::std::os::raw::c_uint { + unsafe { ::std::mem::transmute(self._bitfield_1.get(0usize, 8u8) as u32) } + } + #[inline] + pub fn set_w_Stopval(&mut self, val: ::std::os::raw::c_uint) { + unsafe { + let val: u32 = ::std::mem::transmute(val); + self._bitfield_1.set(0usize, 8u8, val as u64) + } + } + #[inline] + pub fn w_Stopsig(&self) -> ::std::os::raw::c_uint { + unsafe { ::std::mem::transmute(self._bitfield_1.get(8usize, 8u8) as u32) } + } + #[inline] + pub fn set_w_Stopsig(&mut self, val: ::std::os::raw::c_uint) { + unsafe { + let val: u32 = ::std::mem::transmute(val); + self._bitfield_1.set(8usize, 8u8, val as u64) + } + } + #[inline] + pub fn w_Filler(&self) -> ::std::os::raw::c_uint { + unsafe { ::std::mem::transmute(self._bitfield_1.get(16usize, 16u8) as u32) } + } + #[inline] + pub fn set_w_Filler(&mut self, val: ::std::os::raw::c_uint) { + unsafe { + let val: u32 = ::std::mem::transmute(val); + self._bitfield_1.set(16usize, 16u8, val as u64) + } + } + #[inline] + pub fn new_bitfield_1( + w_Stopval: ::std::os::raw::c_uint, + w_Stopsig: ::std::os::raw::c_uint, + w_Filler: ::std::os::raw::c_uint, + ) -> __BindgenBitfieldUnit<[u8; 4usize]> { + let mut __bindgen_bitfield_unit: __BindgenBitfieldUnit<[u8; 4usize]> = Default::default(); + __bindgen_bitfield_unit.set(0usize, 8u8, { + let w_Stopval: u32 = unsafe { ::std::mem::transmute(w_Stopval) }; + w_Stopval as u64 + }); + __bindgen_bitfield_unit.set(8usize, 8u8, { + let w_Stopsig: u32 = unsafe { ::std::mem::transmute(w_Stopsig) }; + w_Stopsig as u64 + }); + __bindgen_bitfield_unit.set(16usize, 16u8, { + let w_Filler: u32 = unsafe { ::std::mem::transmute(w_Filler) }; + w_Filler as u64 + }); + __bindgen_bitfield_unit + } +} +impl Default for wait { + fn default() -> Self { + let mut s = ::std::mem::MaybeUninit::::uninit(); + unsafe { + ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); + s.assume_init() + } + } } #[pg_guard] extern "C" { - pub fn mrand48_r( - __buffer: *mut drand48_data, - __result: *mut ::std::os::raw::c_long, - ) -> ::std::os::raw::c_int; + pub fn wait(arg1: *mut ::std::os::raw::c_int) -> pid_t; } #[pg_guard] extern "C" { - pub fn jrand48_r( - __xsubi: *mut ::std::os::raw::c_ushort, - __buffer: *mut drand48_data, - __result: *mut ::std::os::raw::c_long, - ) -> ::std::os::raw::c_int; + pub fn waitpid( + arg1: pid_t, + arg2: *mut ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ) -> pid_t; } #[pg_guard] extern "C" { - pub fn srand48_r( - __seedval: ::std::os::raw::c_long, - __buffer: *mut drand48_data, + pub fn waitid( + arg1: idtype_t, + arg2: id_t, + arg3: *mut siginfo_t, + arg4: ::std::os::raw::c_int, ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn seed48_r( - __seed16v: *mut ::std::os::raw::c_ushort, - __buffer: *mut drand48_data, - ) -> ::std::os::raw::c_int; + pub fn wait3( + arg1: *mut ::std::os::raw::c_int, + arg2: ::std::os::raw::c_int, + arg3: *mut rusage, + ) -> pid_t; } #[pg_guard] extern "C" { - pub fn lcong48_r( - __param: *mut ::std::os::raw::c_ushort, - __buffer: *mut drand48_data, - ) -> ::std::os::raw::c_int; + pub fn wait4( + arg1: pid_t, + arg2: *mut ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + arg4: *mut rusage, + ) -> pid_t; } #[pg_guard] extern "C" { - pub fn malloc(__size: ::std::os::raw::c_ulong) -> *mut ::std::os::raw::c_void; + pub fn alloca(arg1: ::std::os::raw::c_ulong) -> *mut ::std::os::raw::c_void; +} +pub type ct_rune_t = __darwin_ct_rune_t; +pub type rune_t = __darwin_rune_t; +pub type wchar_t = __darwin_wchar_t; +#[repr(C)] +#[derive(Debug, Default, Copy, Clone)] +pub struct div_t { + pub quot: ::std::os::raw::c_int, + pub rem: ::std::os::raw::c_int, +} +#[repr(C)] +#[derive(Debug, Default, Copy, Clone)] +pub struct ldiv_t { + pub quot: ::std::os::raw::c_long, + pub rem: ::std::os::raw::c_long, +} +#[repr(C)] +#[derive(Debug, Default, Copy, Clone)] +pub struct lldiv_t { + pub quot: ::std::os::raw::c_longlong, + pub rem: ::std::os::raw::c_longlong, } #[pg_guard] extern "C" { - pub fn calloc( - __nmemb: ::std::os::raw::c_ulong, - __size: ::std::os::raw::c_ulong, - ) -> *mut ::std::os::raw::c_void; + pub static mut __mb_cur_max: ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn realloc( - __ptr: *mut ::std::os::raw::c_void, + pub fn malloc(__size: ::std::os::raw::c_ulong) -> *mut ::std::os::raw::c_void; +} +#[pg_guard] +extern "C" { + pub fn calloc( + __count: ::std::os::raw::c_ulong, __size: ::std::os::raw::c_ulong, ) -> *mut ::std::os::raw::c_void; } #[pg_guard] extern "C" { - pub fn free(__ptr: *mut ::std::os::raw::c_void); + pub fn free(arg1: *mut ::std::os::raw::c_void); } #[pg_guard] extern "C" { - pub fn reallocarray( + pub fn realloc( __ptr: *mut ::std::os::raw::c_void, - __nmemb: usize, - __size: usize, + __size: ::std::os::raw::c_ulong, ) -> *mut ::std::os::raw::c_void; } #[pg_guard] extern "C" { - pub fn alloca(__size: ::std::os::raw::c_ulong) -> *mut ::std::os::raw::c_void; + pub fn valloc(arg1: usize) -> *mut ::std::os::raw::c_void; } #[pg_guard] extern "C" { - pub fn valloc(__size: usize) -> *mut ::std::os::raw::c_void; + pub fn aligned_alloc( + __alignment: ::std::os::raw::c_ulong, + __size: ::std::os::raw::c_ulong, + ) -> *mut ::std::os::raw::c_void; } #[pg_guard] extern "C" { @@ -4455,1378 +5311,1150 @@ extern "C" { } #[pg_guard] extern "C" { - pub fn aligned_alloc( - __alignment: ::std::os::raw::c_ulong, - __size: ::std::os::raw::c_ulong, - ) -> *mut ::std::os::raw::c_void; + pub fn abort(); } #[pg_guard] extern "C" { - pub fn abort(); + pub fn abs(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn atexit(__func: ::std::option::Option) -> ::std::os::raw::c_int; + pub fn atexit(arg1: ::std::option::Option) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn at_quick_exit( - __func: ::std::option::Option, - ) -> ::std::os::raw::c_int; + pub fn atof(arg1: *const ::std::os::raw::c_char) -> f64; } #[pg_guard] extern "C" { - pub fn on_exit( - __func: ::std::option::Option< - unsafe extern "C" fn( - __status: ::std::os::raw::c_int, - __arg: *mut ::std::os::raw::c_void, - ), - >, - __arg: *mut ::std::os::raw::c_void, - ) -> ::std::os::raw::c_int; + pub fn atoi(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn exit(__status: ::std::os::raw::c_int); + pub fn atol(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_long; } #[pg_guard] extern "C" { - pub fn quick_exit(__status: ::std::os::raw::c_int); + pub fn atoll(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_longlong; } #[pg_guard] extern "C" { - pub fn _Exit(__status: ::std::os::raw::c_int); + pub fn bsearch( + __key: *const ::std::os::raw::c_void, + __base: *const ::std::os::raw::c_void, + __nel: usize, + __width: usize, + __compar: ::std::option::Option< + unsafe extern "C" fn( + arg1: *const ::std::os::raw::c_void, + arg2: *const ::std::os::raw::c_void, + ) -> ::std::os::raw::c_int, + >, + ) -> *mut ::std::os::raw::c_void; } #[pg_guard] extern "C" { - pub fn getenv(__name: *const ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; + pub fn div(arg1: ::std::os::raw::c_int, arg2: ::std::os::raw::c_int) -> div_t; } #[pg_guard] extern "C" { - pub fn putenv(__string: *mut ::std::os::raw::c_char) -> ::std::os::raw::c_int; + pub fn exit(arg1: ::std::os::raw::c_int); } #[pg_guard] extern "C" { - pub fn setenv( - __name: *const ::std::os::raw::c_char, - __value: *const ::std::os::raw::c_char, - __replace: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; + pub fn getenv(arg1: *const ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; +} +#[pg_guard] +extern "C" { + pub fn labs(arg1: ::std::os::raw::c_long) -> ::std::os::raw::c_long; +} +#[pg_guard] +extern "C" { + pub fn ldiv(arg1: ::std::os::raw::c_long, arg2: ::std::os::raw::c_long) -> ldiv_t; } #[pg_guard] extern "C" { - pub fn unsetenv(__name: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; + pub fn llabs(arg1: ::std::os::raw::c_longlong) -> ::std::os::raw::c_longlong; } #[pg_guard] extern "C" { - pub fn clearenv() -> ::std::os::raw::c_int; + pub fn lldiv(arg1: ::std::os::raw::c_longlong, arg2: ::std::os::raw::c_longlong) -> lldiv_t; } #[pg_guard] extern "C" { - pub fn mktemp(__template: *mut ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; + pub fn mblen(__s: *const ::std::os::raw::c_char, __n: usize) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn mkstemp(__template: *mut ::std::os::raw::c_char) -> ::std::os::raw::c_int; + pub fn mbstowcs(arg1: *mut wchar_t, arg2: *const ::std::os::raw::c_char, arg3: usize) -> usize; } #[pg_guard] extern "C" { - pub fn mkstemps( - __template: *mut ::std::os::raw::c_char, - __suffixlen: ::std::os::raw::c_int, + pub fn mbtowc( + arg1: *mut wchar_t, + arg2: *const ::std::os::raw::c_char, + arg3: usize, ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn mkdtemp(__template: *mut ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; + pub fn qsort( + __base: *mut ::std::os::raw::c_void, + __nel: usize, + __width: usize, + __compar: ::std::option::Option< + unsafe extern "C" fn( + arg1: *const ::std::os::raw::c_void, + arg2: *const ::std::os::raw::c_void, + ) -> ::std::os::raw::c_int, + >, + ); } #[pg_guard] extern "C" { - pub fn system(__command: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; + pub fn rand() -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn realpath( - __name: *const ::std::os::raw::c_char, - __resolved: *mut ::std::os::raw::c_char, - ) -> *mut ::std::os::raw::c_char; + pub fn srand(arg1: ::std::os::raw::c_uint); } -pub type __compar_fn_t = ::std::option::Option< - unsafe extern "C" fn( - arg1: *const ::std::os::raw::c_void, - arg2: *const ::std::os::raw::c_void, - ) -> ::std::os::raw::c_int, ->; #[pg_guard] extern "C" { - pub fn bsearch( - __key: *const ::std::os::raw::c_void, - __base: *const ::std::os::raw::c_void, - __nmemb: usize, - __size: usize, - __compar: __compar_fn_t, - ) -> *mut ::std::os::raw::c_void; + pub fn strtod( + arg1: *const ::std::os::raw::c_char, + arg2: *mut *mut ::std::os::raw::c_char, + ) -> f64; } #[pg_guard] extern "C" { - pub fn qsort( - __base: *mut ::std::os::raw::c_void, - __nmemb: usize, - __size: usize, - __compar: __compar_fn_t, - ); + pub fn strtof( + arg1: *const ::std::os::raw::c_char, + arg2: *mut *mut ::std::os::raw::c_char, + ) -> f32; } #[pg_guard] extern "C" { - pub fn abs(__x: ::std::os::raw::c_int) -> ::std::os::raw::c_int; + pub fn strtol( + __str: *const ::std::os::raw::c_char, + __endptr: *mut *mut ::std::os::raw::c_char, + __base: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_long; } #[pg_guard] extern "C" { - pub fn labs(__x: ::std::os::raw::c_long) -> ::std::os::raw::c_long; + pub fn strtold( + arg1: *const ::std::os::raw::c_char, + arg2: *mut *mut ::std::os::raw::c_char, + ) -> f64; } #[pg_guard] extern "C" { - pub fn llabs(__x: ::std::os::raw::c_longlong) -> ::std::os::raw::c_longlong; + pub fn strtoll( + __str: *const ::std::os::raw::c_char, + __endptr: *mut *mut ::std::os::raw::c_char, + __base: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_longlong; } #[pg_guard] extern "C" { - pub fn div(__numer: ::std::os::raw::c_int, __denom: ::std::os::raw::c_int) -> div_t; + pub fn strtoul( + __str: *const ::std::os::raw::c_char, + __endptr: *mut *mut ::std::os::raw::c_char, + __base: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_ulong; } #[pg_guard] extern "C" { - pub fn ldiv(__numer: ::std::os::raw::c_long, __denom: ::std::os::raw::c_long) -> ldiv_t; + pub fn strtoull( + __str: *const ::std::os::raw::c_char, + __endptr: *mut *mut ::std::os::raw::c_char, + __base: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_ulonglong; } #[pg_guard] extern "C" { - pub fn lldiv( - __numer: ::std::os::raw::c_longlong, - __denom: ::std::os::raw::c_longlong, - ) -> lldiv_t; + pub fn system(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn ecvt( - __value: f64, - __ndigit: ::std::os::raw::c_int, - __decpt: *mut ::std::os::raw::c_int, - __sign: *mut ::std::os::raw::c_int, - ) -> *mut ::std::os::raw::c_char; + pub fn wcstombs(arg1: *mut ::std::os::raw::c_char, arg2: *const wchar_t, arg3: usize) -> usize; } #[pg_guard] extern "C" { - pub fn fcvt( - __value: f64, - __ndigit: ::std::os::raw::c_int, - __decpt: *mut ::std::os::raw::c_int, - __sign: *mut ::std::os::raw::c_int, - ) -> *mut ::std::os::raw::c_char; + pub fn wctomb(arg1: *mut ::std::os::raw::c_char, arg2: wchar_t) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn gcvt( - __value: f64, - __ndigit: ::std::os::raw::c_int, - __buf: *mut ::std::os::raw::c_char, - ) -> *mut ::std::os::raw::c_char; + pub fn _Exit(arg1: ::std::os::raw::c_int); } #[pg_guard] extern "C" { - pub fn qecvt( - __value: u128, - __ndigit: ::std::os::raw::c_int, - __decpt: *mut ::std::os::raw::c_int, - __sign: *mut ::std::os::raw::c_int, - ) -> *mut ::std::os::raw::c_char; + pub fn a64l(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_long; } #[pg_guard] extern "C" { - pub fn qfcvt( - __value: u128, - __ndigit: ::std::os::raw::c_int, - __decpt: *mut ::std::os::raw::c_int, - __sign: *mut ::std::os::raw::c_int, - ) -> *mut ::std::os::raw::c_char; + pub fn drand48() -> f64; } #[pg_guard] extern "C" { - pub fn qgcvt( - __value: u128, - __ndigit: ::std::os::raw::c_int, - __buf: *mut ::std::os::raw::c_char, + pub fn ecvt( + arg1: f64, + arg2: ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, ) -> *mut ::std::os::raw::c_char; } #[pg_guard] extern "C" { - pub fn ecvt_r( - __value: f64, - __ndigit: ::std::os::raw::c_int, - __decpt: *mut ::std::os::raw::c_int, - __sign: *mut ::std::os::raw::c_int, - __buf: *mut ::std::os::raw::c_char, - __len: usize, - ) -> ::std::os::raw::c_int; + pub fn erand48(arg1: *mut ::std::os::raw::c_ushort) -> f64; } #[pg_guard] extern "C" { - pub fn fcvt_r( - __value: f64, - __ndigit: ::std::os::raw::c_int, - __decpt: *mut ::std::os::raw::c_int, - __sign: *mut ::std::os::raw::c_int, - __buf: *mut ::std::os::raw::c_char, - __len: usize, - ) -> ::std::os::raw::c_int; + pub fn fcvt( + arg1: f64, + arg2: ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + ) -> *mut ::std::os::raw::c_char; } #[pg_guard] extern "C" { - pub fn qecvt_r( - __value: u128, - __ndigit: ::std::os::raw::c_int, - __decpt: *mut ::std::os::raw::c_int, - __sign: *mut ::std::os::raw::c_int, - __buf: *mut ::std::os::raw::c_char, - __len: usize, - ) -> ::std::os::raw::c_int; + pub fn gcvt( + arg1: f64, + arg2: ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; } #[pg_guard] extern "C" { - pub fn qfcvt_r( - __value: u128, - __ndigit: ::std::os::raw::c_int, - __decpt: *mut ::std::os::raw::c_int, - __sign: *mut ::std::os::raw::c_int, - __buf: *mut ::std::os::raw::c_char, - __len: usize, + pub fn getsubopt( + arg1: *mut *mut ::std::os::raw::c_char, + arg2: *const *mut ::std::os::raw::c_char, + arg3: *mut *mut ::std::os::raw::c_char, ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn mblen(__s: *const ::std::os::raw::c_char, __n: usize) -> ::std::os::raw::c_int; + pub fn grantpt(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn mbtowc( - __pwc: *mut wchar_t, - __s: *const ::std::os::raw::c_char, - __n: usize, - ) -> ::std::os::raw::c_int; + pub fn initstate( + arg1: ::std::os::raw::c_uint, + arg2: *mut ::std::os::raw::c_char, + arg3: usize, + ) -> *mut ::std::os::raw::c_char; } #[pg_guard] extern "C" { - pub fn wctomb(__s: *mut ::std::os::raw::c_char, __wchar: wchar_t) -> ::std::os::raw::c_int; + pub fn jrand48(arg1: *mut ::std::os::raw::c_ushort) -> ::std::os::raw::c_long; } #[pg_guard] extern "C" { - pub fn mbstowcs(__pwcs: *mut wchar_t, __s: *const ::std::os::raw::c_char, __n: usize) -> usize; + pub fn l64a(arg1: ::std::os::raw::c_long) -> *mut ::std::os::raw::c_char; } #[pg_guard] extern "C" { - pub fn wcstombs(__s: *mut ::std::os::raw::c_char, __pwcs: *const wchar_t, __n: usize) -> usize; + pub fn lcong48(arg1: *mut ::std::os::raw::c_ushort); } #[pg_guard] extern "C" { - pub fn rpmatch(__response: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; + pub fn lrand48() -> ::std::os::raw::c_long; } #[pg_guard] extern "C" { - pub fn getsubopt( - __optionp: *mut *mut ::std::os::raw::c_char, - __tokens: *const *mut ::std::os::raw::c_char, - __valuep: *mut *mut ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; + pub fn mktemp(arg1: *mut ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; } #[pg_guard] extern "C" { - pub fn getloadavg(__loadavg: *mut f64, __nelem: ::std::os::raw::c_int) - -> ::std::os::raw::c_int; + pub fn mkstemp(arg1: *mut ::std::os::raw::c_char) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn memcpy( - __dest: *mut ::std::os::raw::c_void, - __src: *const ::std::os::raw::c_void, - __n: ::std::os::raw::c_ulong, - ) -> *mut ::std::os::raw::c_void; + pub fn mrand48() -> ::std::os::raw::c_long; } #[pg_guard] extern "C" { - pub fn memmove( - __dest: *mut ::std::os::raw::c_void, - __src: *const ::std::os::raw::c_void, - __n: ::std::os::raw::c_ulong, - ) -> *mut ::std::os::raw::c_void; + pub fn nrand48(arg1: *mut ::std::os::raw::c_ushort) -> ::std::os::raw::c_long; } #[pg_guard] extern "C" { - pub fn memccpy( - __dest: *mut ::std::os::raw::c_void, - __src: *const ::std::os::raw::c_void, - __c: ::std::os::raw::c_int, - __n: ::std::os::raw::c_ulong, - ) -> *mut ::std::os::raw::c_void; + pub fn posix_openpt(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn memset( - __s: *mut ::std::os::raw::c_void, - __c: ::std::os::raw::c_int, - __n: ::std::os::raw::c_ulong, - ) -> *mut ::std::os::raw::c_void; + pub fn ptsname(arg1: ::std::os::raw::c_int) -> *mut ::std::os::raw::c_char; } #[pg_guard] extern "C" { - pub fn memcmp( - __s1: *const ::std::os::raw::c_void, - __s2: *const ::std::os::raw::c_void, - __n: ::std::os::raw::c_ulong, + pub fn ptsname_r( + fildes: ::std::os::raw::c_int, + buffer: *mut ::std::os::raw::c_char, + buflen: usize, ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn memchr( - __s: *const ::std::os::raw::c_void, - __c: ::std::os::raw::c_int, - __n: ::std::os::raw::c_ulong, - ) -> *mut ::std::os::raw::c_void; + pub fn putenv(arg1: *mut ::std::os::raw::c_char) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn strcpy( - __dest: *mut ::std::os::raw::c_char, - __src: *const ::std::os::raw::c_char, - ) -> *mut ::std::os::raw::c_char; + pub fn random() -> ::std::os::raw::c_long; } #[pg_guard] extern "C" { - pub fn strncpy( - __dest: *mut ::std::os::raw::c_char, - __src: *const ::std::os::raw::c_char, - __n: ::std::os::raw::c_ulong, - ) -> *mut ::std::os::raw::c_char; + pub fn rand_r(arg1: *mut ::std::os::raw::c_uint) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn strcat( - __dest: *mut ::std::os::raw::c_char, - __src: *const ::std::os::raw::c_char, + #[link_name = "\u{1}_realpath$DARWIN_EXTSN"] + pub fn realpath( + arg1: *const ::std::os::raw::c_char, + arg2: *mut ::std::os::raw::c_char, ) -> *mut ::std::os::raw::c_char; } #[pg_guard] extern "C" { - pub fn strncat( - __dest: *mut ::std::os::raw::c_char, - __src: *const ::std::os::raw::c_char, - __n: ::std::os::raw::c_ulong, - ) -> *mut ::std::os::raw::c_char; + pub fn seed48(arg1: *mut ::std::os::raw::c_ushort) -> *mut ::std::os::raw::c_ushort; } #[pg_guard] extern "C" { - pub fn strcmp( - __s1: *const ::std::os::raw::c_char, - __s2: *const ::std::os::raw::c_char, + pub fn setenv( + __name: *const ::std::os::raw::c_char, + __value: *const ::std::os::raw::c_char, + __overwrite: ::std::os::raw::c_int, ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn strncmp( - __s1: *const ::std::os::raw::c_char, - __s2: *const ::std::os::raw::c_char, - __n: ::std::os::raw::c_ulong, - ) -> ::std::os::raw::c_int; + pub fn setkey(arg1: *const ::std::os::raw::c_char); } #[pg_guard] extern "C" { - pub fn strcoll( - __s1: *const ::std::os::raw::c_char, - __s2: *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; + pub fn setstate(arg1: *const ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; } #[pg_guard] extern "C" { - pub fn strxfrm( - __dest: *mut ::std::os::raw::c_char, - __src: *const ::std::os::raw::c_char, - __n: ::std::os::raw::c_ulong, - ) -> ::std::os::raw::c_ulong; -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct __locale_struct { - pub __locales: [*mut __locale_data; 13usize], - pub __ctype_b: *const ::std::os::raw::c_ushort, - pub __ctype_tolower: *const ::std::os::raw::c_int, - pub __ctype_toupper: *const ::std::os::raw::c_int, - pub __names: [*const ::std::os::raw::c_char; 13usize], -} -impl Default for __locale_struct { - fn default() -> Self { - let mut s = ::std::mem::MaybeUninit::::uninit(); - unsafe { - ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); - s.assume_init() - } - } + pub fn srand48(arg1: ::std::os::raw::c_long); } -pub type __locale_t = *mut __locale_struct; -pub type locale_t = __locale_t; #[pg_guard] extern "C" { - pub fn strcoll_l( - __s1: *const ::std::os::raw::c_char, - __s2: *const ::std::os::raw::c_char, - __l: locale_t, - ) -> ::std::os::raw::c_int; + pub fn srandom(arg1: ::std::os::raw::c_uint); } #[pg_guard] extern "C" { - pub fn strxfrm_l( - __dest: *mut ::std::os::raw::c_char, - __src: *const ::std::os::raw::c_char, - __n: usize, - __l: locale_t, - ) -> usize; + pub fn unlockpt(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn strdup(__s: *const ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; + pub fn unsetenv(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; } +pub type dev_t = __darwin_dev_t; +pub type mode_t = __darwin_mode_t; #[pg_guard] extern "C" { - pub fn strndup( - __string: *const ::std::os::raw::c_char, - __n: ::std::os::raw::c_ulong, - ) -> *mut ::std::os::raw::c_char; + pub fn arc4random() -> u32; } #[pg_guard] extern "C" { - pub fn strchr( - __s: *const ::std::os::raw::c_char, - __c: ::std::os::raw::c_int, - ) -> *mut ::std::os::raw::c_char; + pub fn arc4random_addrandom(arg1: *mut ::std::os::raw::c_uchar, arg2: ::std::os::raw::c_int); } #[pg_guard] extern "C" { - pub fn strrchr( - __s: *const ::std::os::raw::c_char, - __c: ::std::os::raw::c_int, - ) -> *mut ::std::os::raw::c_char; + pub fn arc4random_buf(__buf: *mut ::std::os::raw::c_void, __nbytes: usize); } #[pg_guard] extern "C" { - pub fn strcspn( - __s: *const ::std::os::raw::c_char, - __reject: *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_ulong; + pub fn arc4random_stir(); } #[pg_guard] extern "C" { - pub fn strspn( - __s: *const ::std::os::raw::c_char, - __accept: *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_ulong; + pub fn arc4random_uniform(__upper_bound: u32) -> u32; } #[pg_guard] extern "C" { - pub fn strpbrk( - __s: *const ::std::os::raw::c_char, - __accept: *const ::std::os::raw::c_char, - ) -> *mut ::std::os::raw::c_char; + pub fn atexit_b(arg1: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn strstr( - __haystack: *const ::std::os::raw::c_char, - __needle: *const ::std::os::raw::c_char, - ) -> *mut ::std::os::raw::c_char; + pub fn bsearch_b( + __key: *const ::std::os::raw::c_void, + __base: *const ::std::os::raw::c_void, + __nel: usize, + __width: usize, + __compar: *mut ::std::os::raw::c_void, + ) -> *mut ::std::os::raw::c_void; } #[pg_guard] extern "C" { - pub fn strtok( - __s: *mut ::std::os::raw::c_char, - __delim: *const ::std::os::raw::c_char, + pub fn cgetcap( + arg1: *mut ::std::os::raw::c_char, + arg2: *const ::std::os::raw::c_char, + arg3: ::std::os::raw::c_int, ) -> *mut ::std::os::raw::c_char; } #[pg_guard] extern "C" { - pub fn __strtok_r( - __s: *mut ::std::os::raw::c_char, - __delim: *const ::std::os::raw::c_char, - __save_ptr: *mut *mut ::std::os::raw::c_char, - ) -> *mut ::std::os::raw::c_char; + pub fn cgetclose() -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn strtok_r( - __s: *mut ::std::os::raw::c_char, - __delim: *const ::std::os::raw::c_char, - __save_ptr: *mut *mut ::std::os::raw::c_char, - ) -> *mut ::std::os::raw::c_char; + pub fn cgetent( + arg1: *mut *mut ::std::os::raw::c_char, + arg2: *mut *mut ::std::os::raw::c_char, + arg3: *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn strlen(__s: *const ::std::os::raw::c_char) -> ::std::os::raw::c_ulong; + pub fn cgetfirst( + arg1: *mut *mut ::std::os::raw::c_char, + arg2: *mut *mut ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn strnlen(__string: *const ::std::os::raw::c_char, __maxlen: usize) -> usize; + pub fn cgetmatch( + arg1: *const ::std::os::raw::c_char, + arg2: *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn strerror(__errnum: ::std::os::raw::c_int) -> *mut ::std::os::raw::c_char; + pub fn cgetnext( + arg1: *mut *mut ::std::os::raw::c_char, + arg2: *mut *mut ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - #[link_name = "\u{1}__xpg_strerror_r"] - pub fn strerror_r( - __errnum: ::std::os::raw::c_int, - __buf: *mut ::std::os::raw::c_char, - __buflen: usize, + pub fn cgetnum( + arg1: *mut ::std::os::raw::c_char, + arg2: *const ::std::os::raw::c_char, + arg3: *mut ::std::os::raw::c_long, ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn strerror_l( - __errnum: ::std::os::raw::c_int, - __l: locale_t, - ) -> *mut ::std::os::raw::c_char; + pub fn cgetset(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn bcmp( - __s1: *const ::std::os::raw::c_void, - __s2: *const ::std::os::raw::c_void, - __n: ::std::os::raw::c_ulong, + pub fn cgetstr( + arg1: *mut ::std::os::raw::c_char, + arg2: *const ::std::os::raw::c_char, + arg3: *mut *mut ::std::os::raw::c_char, ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn bcopy( - __src: *const ::std::os::raw::c_void, - __dest: *mut ::std::os::raw::c_void, - __n: usize, - ); + pub fn cgetustr( + arg1: *mut ::std::os::raw::c_char, + arg2: *const ::std::os::raw::c_char, + arg3: *mut *mut ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn bzero(__s: *mut ::std::os::raw::c_void, __n: ::std::os::raw::c_ulong); + pub fn daemon( + arg1: ::std::os::raw::c_int, + arg2: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn index( - __s: *const ::std::os::raw::c_char, - __c: ::std::os::raw::c_int, + pub fn devname(arg1: dev_t, arg2: mode_t) -> *mut ::std::os::raw::c_char; +} +#[pg_guard] +extern "C" { + pub fn devname_r( + arg1: dev_t, + arg2: mode_t, + buf: *mut ::std::os::raw::c_char, + len: ::std::os::raw::c_int, ) -> *mut ::std::os::raw::c_char; } #[pg_guard] extern "C" { - pub fn rindex( - __s: *const ::std::os::raw::c_char, - __c: ::std::os::raw::c_int, + pub fn getbsize( + arg1: *mut ::std::os::raw::c_int, + arg2: *mut ::std::os::raw::c_long, ) -> *mut ::std::os::raw::c_char; } #[pg_guard] extern "C" { - pub fn ffs(__i: ::std::os::raw::c_int) -> ::std::os::raw::c_int; + pub fn getloadavg(arg1: *mut f64, arg2: ::std::os::raw::c_int) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn ffsl(__l: ::std::os::raw::c_long) -> ::std::os::raw::c_int; + pub fn getprogname() -> *const ::std::os::raw::c_char; } #[pg_guard] extern "C" { - pub fn ffsll(__ll: ::std::os::raw::c_longlong) -> ::std::os::raw::c_int; + pub fn setprogname(arg1: *const ::std::os::raw::c_char); } #[pg_guard] extern "C" { - pub fn strcasecmp( - __s1: *const ::std::os::raw::c_char, - __s2: *const ::std::os::raw::c_char, + pub fn heapsort( + __base: *mut ::std::os::raw::c_void, + __nel: usize, + __width: usize, + __compar: ::std::option::Option< + unsafe extern "C" fn( + arg1: *const ::std::os::raw::c_void, + arg2: *const ::std::os::raw::c_void, + ) -> ::std::os::raw::c_int, + >, ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn strncasecmp( - __s1: *const ::std::os::raw::c_char, - __s2: *const ::std::os::raw::c_char, - __n: ::std::os::raw::c_ulong, + pub fn heapsort_b( + __base: *mut ::std::os::raw::c_void, + __nel: usize, + __width: usize, + __compar: *mut ::std::os::raw::c_void, ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn strcasecmp_l( - __s1: *const ::std::os::raw::c_char, - __s2: *const ::std::os::raw::c_char, - __loc: locale_t, + pub fn mergesort( + __base: *mut ::std::os::raw::c_void, + __nel: usize, + __width: usize, + __compar: ::std::option::Option< + unsafe extern "C" fn( + arg1: *const ::std::os::raw::c_void, + arg2: *const ::std::os::raw::c_void, + ) -> ::std::os::raw::c_int, + >, ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn strncasecmp_l( - __s1: *const ::std::os::raw::c_char, - __s2: *const ::std::os::raw::c_char, - __n: usize, - __loc: locale_t, + pub fn mergesort_b( + __base: *mut ::std::os::raw::c_void, + __nel: usize, + __width: usize, + __compar: *mut ::std::os::raw::c_void, ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn explicit_bzero(__s: *mut ::std::os::raw::c_void, __n: usize); + pub fn psort( + __base: *mut ::std::os::raw::c_void, + __nel: usize, + __width: usize, + __compar: ::std::option::Option< + unsafe extern "C" fn( + arg1: *const ::std::os::raw::c_void, + arg2: *const ::std::os::raw::c_void, + ) -> ::std::os::raw::c_int, + >, + ); } #[pg_guard] extern "C" { - pub fn strsep( - __stringp: *mut *mut ::std::os::raw::c_char, - __delim: *const ::std::os::raw::c_char, - ) -> *mut ::std::os::raw::c_char; + pub fn psort_b( + __base: *mut ::std::os::raw::c_void, + __nel: usize, + __width: usize, + __compar: *mut ::std::os::raw::c_void, + ); } #[pg_guard] extern "C" { - pub fn strsignal(__sig: ::std::os::raw::c_int) -> *mut ::std::os::raw::c_char; + pub fn psort_r( + __base: *mut ::std::os::raw::c_void, + __nel: usize, + __width: usize, + arg1: *mut ::std::os::raw::c_void, + __compar: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut ::std::os::raw::c_void, + arg2: *const ::std::os::raw::c_void, + arg3: *const ::std::os::raw::c_void, + ) -> ::std::os::raw::c_int, + >, + ); } #[pg_guard] extern "C" { - pub fn __stpcpy( - __dest: *mut ::std::os::raw::c_char, - __src: *const ::std::os::raw::c_char, - ) -> *mut ::std::os::raw::c_char; + pub fn qsort_b( + __base: *mut ::std::os::raw::c_void, + __nel: usize, + __width: usize, + __compar: *mut ::std::os::raw::c_void, + ); } #[pg_guard] extern "C" { - pub fn stpcpy( - __dest: *mut ::std::os::raw::c_char, - __src: *const ::std::os::raw::c_char, - ) -> *mut ::std::os::raw::c_char; + pub fn qsort_r( + __base: *mut ::std::os::raw::c_void, + __nel: usize, + __width: usize, + arg1: *mut ::std::os::raw::c_void, + __compar: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut ::std::os::raw::c_void, + arg2: *const ::std::os::raw::c_void, + arg3: *const ::std::os::raw::c_void, + ) -> ::std::os::raw::c_int, + >, + ); } #[pg_guard] extern "C" { - pub fn __stpncpy( - __dest: *mut ::std::os::raw::c_char, - __src: *const ::std::os::raw::c_char, - __n: usize, - ) -> *mut ::std::os::raw::c_char; + pub fn radixsort( + __base: *mut *const ::std::os::raw::c_uchar, + __nel: ::std::os::raw::c_int, + __table: *const ::std::os::raw::c_uchar, + __endbyte: ::std::os::raw::c_uint, + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn stpncpy( - __dest: *mut ::std::os::raw::c_char, - __src: *const ::std::os::raw::c_char, - __n: ::std::os::raw::c_ulong, - ) -> *mut ::std::os::raw::c_char; -} -#[repr(C)] -#[repr(align(16))] -#[derive(Debug, Default, Copy, Clone)] -pub struct max_align_t { - pub __clang_max_align_nonce1: ::std::os::raw::c_longlong, - pub __bindgen_padding_0: u64, - pub __clang_max_align_nonce2: u128, -} -pub type int_least8_t = __int_least8_t; -pub type int_least16_t = __int_least16_t; -pub type int_least32_t = __int_least32_t; -pub type int_least64_t = __int_least64_t; -pub type uint_least8_t = __uint_least8_t; -pub type uint_least16_t = __uint_least16_t; -pub type uint_least32_t = __uint_least32_t; -pub type uint_least64_t = __uint_least64_t; -pub type int_fast8_t = ::std::os::raw::c_schar; -pub type int_fast16_t = ::std::os::raw::c_long; -pub type int_fast32_t = ::std::os::raw::c_long; -pub type int_fast64_t = ::std::os::raw::c_long; -pub type uint_fast8_t = ::std::os::raw::c_uchar; -pub type uint_fast16_t = ::std::os::raw::c_ulong; -pub type uint_fast32_t = ::std::os::raw::c_ulong; -pub type uint_fast64_t = ::std::os::raw::c_ulong; -pub type intmax_t = __intmax_t; -pub type uintmax_t = __uintmax_t; -#[pg_guard] -extern "C" { - pub fn __errno_location() -> *mut ::std::os::raw::c_int; -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct lconv { - pub decimal_point: *mut ::std::os::raw::c_char, - pub thousands_sep: *mut ::std::os::raw::c_char, - pub grouping: *mut ::std::os::raw::c_char, - pub int_curr_symbol: *mut ::std::os::raw::c_char, - pub currency_symbol: *mut ::std::os::raw::c_char, - pub mon_decimal_point: *mut ::std::os::raw::c_char, - pub mon_thousands_sep: *mut ::std::os::raw::c_char, - pub mon_grouping: *mut ::std::os::raw::c_char, - pub positive_sign: *mut ::std::os::raw::c_char, - pub negative_sign: *mut ::std::os::raw::c_char, - pub int_frac_digits: ::std::os::raw::c_char, - pub frac_digits: ::std::os::raw::c_char, - pub p_cs_precedes: ::std::os::raw::c_char, - pub p_sep_by_space: ::std::os::raw::c_char, - pub n_cs_precedes: ::std::os::raw::c_char, - pub n_sep_by_space: ::std::os::raw::c_char, - pub p_sign_posn: ::std::os::raw::c_char, - pub n_sign_posn: ::std::os::raw::c_char, - pub int_p_cs_precedes: ::std::os::raw::c_char, - pub int_p_sep_by_space: ::std::os::raw::c_char, - pub int_n_cs_precedes: ::std::os::raw::c_char, - pub int_n_sep_by_space: ::std::os::raw::c_char, - pub int_p_sign_posn: ::std::os::raw::c_char, - pub int_n_sign_posn: ::std::os::raw::c_char, -} -impl Default for lconv { - fn default() -> Self { - let mut s = ::std::mem::MaybeUninit::::uninit(); - unsafe { - ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); - s.assume_init() - } - } + pub fn rpmatch(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn setlocale( - __category: ::std::os::raw::c_int, - __locale: *const ::std::os::raw::c_char, - ) -> *mut ::std::os::raw::c_char; + pub fn sradixsort( + __base: *mut *const ::std::os::raw::c_uchar, + __nel: ::std::os::raw::c_int, + __table: *const ::std::os::raw::c_uchar, + __endbyte: ::std::os::raw::c_uint, + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn localeconv() -> *mut lconv; + pub fn sranddev(); } #[pg_guard] extern "C" { - pub fn newlocale( - __category_mask: ::std::os::raw::c_int, - __locale: *const ::std::os::raw::c_char, - __base: locale_t, - ) -> locale_t; + pub fn srandomdev(); } #[pg_guard] extern "C" { - pub fn duplocale(__dataset: locale_t) -> locale_t; + pub fn reallocf( + __ptr: *mut ::std::os::raw::c_void, + __size: usize, + ) -> *mut ::std::os::raw::c_void; } #[pg_guard] extern "C" { - pub fn freelocale(__dataset: locale_t); + pub fn strtonum( + __numstr: *const ::std::os::raw::c_char, + __minval: ::std::os::raw::c_longlong, + __maxval: ::std::os::raw::c_longlong, + __errstrp: *mut *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_longlong; } #[pg_guard] extern "C" { - pub fn uselocale(__dataset: locale_t) -> locale_t; + pub fn strtoq( + __str: *const ::std::os::raw::c_char, + __endptr: *mut *mut ::std::os::raw::c_char, + __base: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_longlong; } -pub type Pointer = *mut ::std::os::raw::c_char; -pub type int8 = ::std::os::raw::c_schar; -pub type int16 = ::std::os::raw::c_short; -pub type int32 = ::std::os::raw::c_int; -pub type uint8 = ::std::os::raw::c_uchar; -pub type uint16 = ::std::os::raw::c_ushort; -pub type uint32 = ::std::os::raw::c_uint; -pub type bits8 = uint8; -pub type bits16 = uint16; -pub type bits32 = uint32; -pub type int64 = ::std::os::raw::c_long; -pub type uint64 = ::std::os::raw::c_ulong; -pub type int128 = i128; -pub type uint128 = u128; -pub type Size = usize; -pub type Index = ::std::os::raw::c_uint; -pub type Offset = ::std::os::raw::c_int; -pub type float4 = f32; -pub type float8 = f64; -pub type regproc = Oid; -pub type RegProcedure = regproc; -pub type TransactionId = uint32; -pub type LocalTransactionId = uint32; -pub type SubTransactionId = uint32; -pub type MultiXactId = TransactionId; -pub type MultiXactOffset = uint32; -pub type CommandId = uint32; -#[repr(C)] -#[derive(Debug, Default, Copy, Clone)] -pub struct IntArray { - pub indx: [::std::os::raw::c_int; 6usize], -} -#[repr(C)] -#[derive(Debug, Default)] -pub struct varlena { - pub vl_len_: [::std::os::raw::c_char; 4usize], - pub vl_dat: __IncompleteArrayField<::std::os::raw::c_char>, -} -pub type bytea = varlena; -pub type text = varlena; -pub type BpChar = varlena; -pub type VarChar = varlena; -#[repr(C)] -#[derive(Debug, Default)] -pub struct int2vector { - pub vl_len_: int32, - pub ndim: ::std::os::raw::c_int, - pub dataoffset: int32, - pub elemtype: Oid, - pub dim1: ::std::os::raw::c_int, - pub lbound1: ::std::os::raw::c_int, - pub values: __IncompleteArrayField, -} -#[repr(C)] -#[derive(Debug, Default)] -pub struct oidvector { - pub vl_len_: int32, - pub ndim: ::std::os::raw::c_int, - pub dataoffset: int32, - pub elemtype: Oid, - pub dim1: ::std::os::raw::c_int, - pub lbound1: ::std::os::raw::c_int, - pub values: __IncompleteArrayField, -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct nameData { - pub data: [::std::os::raw::c_char; 64usize], -} -impl Default for nameData { - fn default() -> Self { - let mut s = ::std::mem::MaybeUninit::::uninit(); - unsafe { - ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); - s.assume_init() - } - } -} -pub type NameData = nameData; -pub type Name = *mut NameData; #[pg_guard] extern "C" { - pub fn ExceptionalCondition( - conditionName: *const ::std::os::raw::c_char, - errorType: *const ::std::os::raw::c_char, - fileName: *const ::std::os::raw::c_char, - lineNumber: ::std::os::raw::c_int, - ); -} -#[repr(C)] -#[derive(Copy, Clone)] -pub union PGAlignedBlock { - pub data: [::std::os::raw::c_char; 8192usize], - pub force_align_d: f64, - pub force_align_i64: int64, -} -impl Default for PGAlignedBlock { - fn default() -> Self { - let mut s = ::std::mem::MaybeUninit::::uninit(); - unsafe { - ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); - s.assume_init() - } - } -} -#[repr(C)] -#[derive(Copy, Clone)] -pub union PGAlignedXLogBlock { - pub data: [::std::os::raw::c_char; 8192usize], - pub force_align_d: f64, - pub force_align_i64: int64, -} -impl Default for PGAlignedXLogBlock { - fn default() -> Self { - let mut s = ::std::mem::MaybeUninit::::uninit(); - unsafe { - ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); - s.assume_init() - } - } + pub fn strtouq( + __str: *const ::std::os::raw::c_char, + __endptr: *mut *mut ::std::os::raw::c_char, + __base: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_ulonglong; } -pub const _ISupper: ::std::os::raw::c_uint = 256; -pub const _ISlower: ::std::os::raw::c_uint = 512; -pub const _ISalpha: ::std::os::raw::c_uint = 1024; -pub const _ISdigit: ::std::os::raw::c_uint = 2048; -pub const _ISxdigit: ::std::os::raw::c_uint = 4096; -pub const _ISspace: ::std::os::raw::c_uint = 8192; -pub const _ISprint: ::std::os::raw::c_uint = 16384; -pub const _ISgraph: ::std::os::raw::c_uint = 32768; -pub const _ISblank: ::std::os::raw::c_uint = 1; -pub const _IScntrl: ::std::os::raw::c_uint = 2; -pub const _ISpunct: ::std::os::raw::c_uint = 4; -pub const _ISalnum: ::std::os::raw::c_uint = 8; -pub type _bindgen_ty_1 = ::std::os::raw::c_uint; #[pg_guard] extern "C" { - pub fn __ctype_b_loc() -> *mut *const ::std::os::raw::c_ushort; + pub static mut suboptarg: *mut ::std::os::raw::c_char; } #[pg_guard] extern "C" { - pub fn __ctype_tolower_loc() -> *mut *const __int32_t; + pub fn memchr( + __s: *const ::std::os::raw::c_void, + __c: ::std::os::raw::c_int, + __n: ::std::os::raw::c_ulong, + ) -> *mut ::std::os::raw::c_void; } #[pg_guard] extern "C" { - pub fn __ctype_toupper_loc() -> *mut *const __int32_t; + pub fn memcmp( + __s1: *const ::std::os::raw::c_void, + __s2: *const ::std::os::raw::c_void, + __n: ::std::os::raw::c_ulong, + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn isalnum(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; + pub fn memcpy( + __dst: *mut ::std::os::raw::c_void, + __src: *const ::std::os::raw::c_void, + __n: ::std::os::raw::c_ulong, + ) -> *mut ::std::os::raw::c_void; } #[pg_guard] extern "C" { - pub fn isalpha(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; + pub fn memmove( + __dst: *mut ::std::os::raw::c_void, + __src: *const ::std::os::raw::c_void, + __len: ::std::os::raw::c_ulong, + ) -> *mut ::std::os::raw::c_void; } #[pg_guard] extern "C" { - pub fn iscntrl(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; + pub fn memset( + __b: *mut ::std::os::raw::c_void, + __c: ::std::os::raw::c_int, + __len: ::std::os::raw::c_ulong, + ) -> *mut ::std::os::raw::c_void; } #[pg_guard] extern "C" { - pub fn isdigit(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; + pub fn strcat( + __s1: *mut ::std::os::raw::c_char, + __s2: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; } #[pg_guard] extern "C" { - pub fn islower(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; + pub fn strchr( + __s: *const ::std::os::raw::c_char, + __c: ::std::os::raw::c_int, + ) -> *mut ::std::os::raw::c_char; } #[pg_guard] extern "C" { - pub fn isgraph(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; + pub fn strcmp( + __s1: *const ::std::os::raw::c_char, + __s2: *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn isprint(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; + pub fn strcoll( + __s1: *const ::std::os::raw::c_char, + __s2: *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn ispunct(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; + pub fn strcpy( + __dst: *mut ::std::os::raw::c_char, + __src: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; } #[pg_guard] extern "C" { - pub fn isspace(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; + pub fn strcspn( + __s: *const ::std::os::raw::c_char, + __charset: *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_ulong; } #[pg_guard] extern "C" { - pub fn isupper(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; + pub fn strerror(__errnum: ::std::os::raw::c_int) -> *mut ::std::os::raw::c_char; } #[pg_guard] extern "C" { - pub fn isxdigit(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; + pub fn strlen(__s: *const ::std::os::raw::c_char) -> ::std::os::raw::c_ulong; } #[pg_guard] extern "C" { - pub fn tolower(__c: ::std::os::raw::c_int) -> ::std::os::raw::c_int; + pub fn strncat( + __s1: *mut ::std::os::raw::c_char, + __s2: *const ::std::os::raw::c_char, + __n: ::std::os::raw::c_ulong, + ) -> *mut ::std::os::raw::c_char; } #[pg_guard] extern "C" { - pub fn toupper(__c: ::std::os::raw::c_int) -> ::std::os::raw::c_int; + pub fn strncmp( + __s1: *const ::std::os::raw::c_char, + __s2: *const ::std::os::raw::c_char, + __n: ::std::os::raw::c_ulong, + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn isblank(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; + pub fn strncpy( + __dst: *mut ::std::os::raw::c_char, + __src: *const ::std::os::raw::c_char, + __n: ::std::os::raw::c_ulong, + ) -> *mut ::std::os::raw::c_char; } #[pg_guard] extern "C" { - pub fn isascii(__c: ::std::os::raw::c_int) -> ::std::os::raw::c_int; + pub fn strpbrk( + __s: *const ::std::os::raw::c_char, + __charset: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; } #[pg_guard] extern "C" { - pub fn toascii(__c: ::std::os::raw::c_int) -> ::std::os::raw::c_int; + pub fn strrchr( + __s: *const ::std::os::raw::c_char, + __c: ::std::os::raw::c_int, + ) -> *mut ::std::os::raw::c_char; } #[pg_guard] extern "C" { - pub fn _toupper(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; + pub fn strspn( + __s: *const ::std::os::raw::c_char, + __charset: *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_ulong; } #[pg_guard] extern "C" { - pub fn _tolower(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; + pub fn strstr( + __big: *const ::std::os::raw::c_char, + __little: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; } #[pg_guard] extern "C" { - pub fn isalnum_l(arg1: ::std::os::raw::c_int, arg2: locale_t) -> ::std::os::raw::c_int; + pub fn strtok( + __str: *mut ::std::os::raw::c_char, + __sep: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; } #[pg_guard] extern "C" { - pub fn isalpha_l(arg1: ::std::os::raw::c_int, arg2: locale_t) -> ::std::os::raw::c_int; + pub fn strxfrm( + __s1: *mut ::std::os::raw::c_char, + __s2: *const ::std::os::raw::c_char, + __n: ::std::os::raw::c_ulong, + ) -> ::std::os::raw::c_ulong; } #[pg_guard] extern "C" { - pub fn iscntrl_l(arg1: ::std::os::raw::c_int, arg2: locale_t) -> ::std::os::raw::c_int; + pub fn strtok_r( + __str: *mut ::std::os::raw::c_char, + __sep: *const ::std::os::raw::c_char, + __lasts: *mut *mut ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; } #[pg_guard] extern "C" { - pub fn isdigit_l(arg1: ::std::os::raw::c_int, arg2: locale_t) -> ::std::os::raw::c_int; + pub fn strerror_r( + __errnum: ::std::os::raw::c_int, + __strerrbuf: *mut ::std::os::raw::c_char, + __buflen: usize, + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn islower_l(arg1: ::std::os::raw::c_int, arg2: locale_t) -> ::std::os::raw::c_int; + pub fn strdup(__s1: *const ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; } #[pg_guard] extern "C" { - pub fn isgraph_l(arg1: ::std::os::raw::c_int, arg2: locale_t) -> ::std::os::raw::c_int; + pub fn memccpy( + __dst: *mut ::std::os::raw::c_void, + __src: *const ::std::os::raw::c_void, + __c: ::std::os::raw::c_int, + __n: ::std::os::raw::c_ulong, + ) -> *mut ::std::os::raw::c_void; } #[pg_guard] extern "C" { - pub fn isprint_l(arg1: ::std::os::raw::c_int, arg2: locale_t) -> ::std::os::raw::c_int; + pub fn stpcpy( + __dst: *mut ::std::os::raw::c_char, + __src: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; } #[pg_guard] extern "C" { - pub fn ispunct_l(arg1: ::std::os::raw::c_int, arg2: locale_t) -> ::std::os::raw::c_int; + pub fn stpncpy( + __dst: *mut ::std::os::raw::c_char, + __src: *const ::std::os::raw::c_char, + __n: ::std::os::raw::c_ulong, + ) -> *mut ::std::os::raw::c_char; } #[pg_guard] extern "C" { - pub fn isspace_l(arg1: ::std::os::raw::c_int, arg2: locale_t) -> ::std::os::raw::c_int; + pub fn strndup( + __s1: *const ::std::os::raw::c_char, + __n: ::std::os::raw::c_ulong, + ) -> *mut ::std::os::raw::c_char; } #[pg_guard] extern "C" { - pub fn isupper_l(arg1: ::std::os::raw::c_int, arg2: locale_t) -> ::std::os::raw::c_int; + pub fn strnlen(__s1: *const ::std::os::raw::c_char, __n: usize) -> usize; } #[pg_guard] extern "C" { - pub fn isxdigit_l(arg1: ::std::os::raw::c_int, arg2: locale_t) -> ::std::os::raw::c_int; + pub fn strsignal(__sig: ::std::os::raw::c_int) -> *mut ::std::os::raw::c_char; } +pub type rsize_t = __darwin_size_t; +pub type errno_t = ::std::os::raw::c_int; #[pg_guard] extern "C" { - pub fn isblank_l(arg1: ::std::os::raw::c_int, arg2: locale_t) -> ::std::os::raw::c_int; + pub fn memset_s( + __s: *mut ::std::os::raw::c_void, + __smax: rsize_t, + __c: ::std::os::raw::c_int, + __n: rsize_t, + ) -> errno_t; } #[pg_guard] extern "C" { - pub fn __tolower_l(__c: ::std::os::raw::c_int, __l: locale_t) -> ::std::os::raw::c_int; + pub fn memmem( + __big: *const ::std::os::raw::c_void, + __big_len: usize, + __little: *const ::std::os::raw::c_void, + __little_len: usize, + ) -> *mut ::std::os::raw::c_void; } #[pg_guard] extern "C" { - pub fn tolower_l(__c: ::std::os::raw::c_int, __l: locale_t) -> ::std::os::raw::c_int; + pub fn memset_pattern4( + __b: *mut ::std::os::raw::c_void, + __pattern4: *const ::std::os::raw::c_void, + __len: usize, + ); } #[pg_guard] extern "C" { - pub fn __toupper_l(__c: ::std::os::raw::c_int, __l: locale_t) -> ::std::os::raw::c_int; + pub fn memset_pattern8( + __b: *mut ::std::os::raw::c_void, + __pattern8: *const ::std::os::raw::c_void, + __len: usize, + ); } #[pg_guard] extern "C" { - pub fn toupper_l(__c: ::std::os::raw::c_int, __l: locale_t) -> ::std::os::raw::c_int; -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct iovec { - pub iov_base: *mut ::std::os::raw::c_void, - pub iov_len: usize, -} -impl Default for iovec { - fn default() -> Self { - let mut s = ::std::mem::MaybeUninit::::uninit(); - unsafe { - ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); - s.assume_init() - } - } -} -pub type socklen_t = __socklen_t; -pub const __socket_type_SOCK_STREAM: __socket_type = 1; -pub const __socket_type_SOCK_DGRAM: __socket_type = 2; -pub const __socket_type_SOCK_RAW: __socket_type = 3; -pub const __socket_type_SOCK_RDM: __socket_type = 4; -pub const __socket_type_SOCK_SEQPACKET: __socket_type = 5; -pub const __socket_type_SOCK_DCCP: __socket_type = 6; -pub const __socket_type_SOCK_PACKET: __socket_type = 10; -pub const __socket_type_SOCK_CLOEXEC: __socket_type = 524288; -pub const __socket_type_SOCK_NONBLOCK: __socket_type = 2048; -pub type __socket_type = ::std::os::raw::c_uint; -pub type sa_family_t = ::std::os::raw::c_ushort; -#[repr(C)] -#[derive(Debug, Default, Copy, Clone)] -pub struct sockaddr { - pub sa_family: sa_family_t, - pub sa_data: [::std::os::raw::c_char; 14usize], -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct sockaddr_storage { - pub ss_family: sa_family_t, - pub __ss_padding: [::std::os::raw::c_char; 118usize], - pub __ss_align: ::std::os::raw::c_ulong, -} -impl Default for sockaddr_storage { - fn default() -> Self { - let mut s = ::std::mem::MaybeUninit::::uninit(); - unsafe { - ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); - s.assume_init() - } - } -} -pub const MSG_OOB: ::std::os::raw::c_uint = 1; -pub const MSG_PEEK: ::std::os::raw::c_uint = 2; -pub const MSG_DONTROUTE: ::std::os::raw::c_uint = 4; -pub const MSG_CTRUNC: ::std::os::raw::c_uint = 8; -pub const MSG_PROXY: ::std::os::raw::c_uint = 16; -pub const MSG_TRUNC: ::std::os::raw::c_uint = 32; -pub const MSG_DONTWAIT: ::std::os::raw::c_uint = 64; -pub const MSG_EOR: ::std::os::raw::c_uint = 128; -pub const MSG_WAITALL: ::std::os::raw::c_uint = 256; -pub const MSG_FIN: ::std::os::raw::c_uint = 512; -pub const MSG_SYN: ::std::os::raw::c_uint = 1024; -pub const MSG_CONFIRM: ::std::os::raw::c_uint = 2048; -pub const MSG_RST: ::std::os::raw::c_uint = 4096; -pub const MSG_ERRQUEUE: ::std::os::raw::c_uint = 8192; -pub const MSG_NOSIGNAL: ::std::os::raw::c_uint = 16384; -pub const MSG_MORE: ::std::os::raw::c_uint = 32768; -pub const MSG_WAITFORONE: ::std::os::raw::c_uint = 65536; -pub const MSG_BATCH: ::std::os::raw::c_uint = 262144; -pub const MSG_ZEROCOPY: ::std::os::raw::c_uint = 67108864; -pub const MSG_FASTOPEN: ::std::os::raw::c_uint = 536870912; -pub const MSG_CMSG_CLOEXEC: ::std::os::raw::c_uint = 1073741824; -pub type _bindgen_ty_2 = ::std::os::raw::c_uint; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct msghdr { - pub msg_name: *mut ::std::os::raw::c_void, - pub msg_namelen: socklen_t, - pub msg_iov: *mut iovec, - pub msg_iovlen: usize, - pub msg_control: *mut ::std::os::raw::c_void, - pub msg_controllen: usize, - pub msg_flags: ::std::os::raw::c_int, -} -impl Default for msghdr { - fn default() -> Self { - let mut s = ::std::mem::MaybeUninit::::uninit(); - unsafe { - ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); - s.assume_init() - } - } -} -#[repr(C)] -#[derive(Debug, Default)] -pub struct cmsghdr { - pub cmsg_len: usize, - pub cmsg_level: ::std::os::raw::c_int, - pub cmsg_type: ::std::os::raw::c_int, - pub __cmsg_data: __IncompleteArrayField<::std::os::raw::c_uchar>, + pub fn memset_pattern16( + __b: *mut ::std::os::raw::c_void, + __pattern16: *const ::std::os::raw::c_void, + __len: usize, + ); } #[pg_guard] extern "C" { - pub fn __cmsg_nxthdr(__mhdr: *mut msghdr, __cmsg: *mut cmsghdr) -> *mut cmsghdr; + pub fn strcasestr( + __big: *const ::std::os::raw::c_char, + __little: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; } -pub const SCM_RIGHTS: ::std::os::raw::c_uint = 1; -pub type _bindgen_ty_3 = ::std::os::raw::c_uint; -#[repr(C)] -#[derive(Debug, Default, Copy, Clone)] -pub struct __kernel_fd_set { - pub fds_bits: [::std::os::raw::c_ulong; 16usize], -} -pub type __kernel_sighandler_t = - ::std::option::Option; -pub type __kernel_key_t = ::std::os::raw::c_int; -pub type __kernel_mqd_t = ::std::os::raw::c_int; -pub type __kernel_old_uid_t = ::std::os::raw::c_ushort; -pub type __kernel_old_gid_t = ::std::os::raw::c_ushort; -pub type __kernel_old_dev_t = ::std::os::raw::c_ulong; -pub type __kernel_long_t = ::std::os::raw::c_long; -pub type __kernel_ulong_t = ::std::os::raw::c_ulong; -pub type __kernel_ino_t = __kernel_ulong_t; -pub type __kernel_mode_t = ::std::os::raw::c_uint; -pub type __kernel_pid_t = ::std::os::raw::c_int; -pub type __kernel_ipc_pid_t = ::std::os::raw::c_int; -pub type __kernel_uid_t = ::std::os::raw::c_uint; -pub type __kernel_gid_t = ::std::os::raw::c_uint; -pub type __kernel_suseconds_t = __kernel_long_t; -pub type __kernel_daddr_t = ::std::os::raw::c_int; -pub type __kernel_uid32_t = ::std::os::raw::c_uint; -pub type __kernel_gid32_t = ::std::os::raw::c_uint; -pub type __kernel_size_t = __kernel_ulong_t; -pub type __kernel_ssize_t = __kernel_long_t; -pub type __kernel_ptrdiff_t = __kernel_long_t; -#[repr(C)] -#[derive(Debug, Default, Copy, Clone)] -pub struct __kernel_fsid_t { - pub val: [::std::os::raw::c_int; 2usize], -} -pub type __kernel_off_t = __kernel_long_t; -pub type __kernel_loff_t = ::std::os::raw::c_longlong; -pub type __kernel_old_time_t = __kernel_long_t; -pub type __kernel_time_t = __kernel_long_t; -pub type __kernel_time64_t = ::std::os::raw::c_longlong; -pub type __kernel_clock_t = __kernel_long_t; -pub type __kernel_timer_t = ::std::os::raw::c_int; -pub type __kernel_clockid_t = ::std::os::raw::c_int; -pub type __kernel_caddr_t = *mut ::std::os::raw::c_char; -pub type __kernel_uid16_t = ::std::os::raw::c_ushort; -pub type __kernel_gid16_t = ::std::os::raw::c_ushort; -#[repr(C)] -#[derive(Debug, Default, Copy, Clone)] -pub struct linger { - pub l_onoff: ::std::os::raw::c_int, - pub l_linger: ::std::os::raw::c_int, +#[pg_guard] +extern "C" { + pub fn strnstr( + __big: *const ::std::os::raw::c_char, + __little: *const ::std::os::raw::c_char, + __len: usize, + ) -> *mut ::std::os::raw::c_char; } -#[repr(C)] -#[derive(Debug, Default, Copy, Clone)] -pub struct osockaddr { - pub sa_family: ::std::os::raw::c_ushort, - pub sa_data: [::std::os::raw::c_uchar; 14usize], +#[pg_guard] +extern "C" { + pub fn strlcat( + __dst: *mut ::std::os::raw::c_char, + __source: *const ::std::os::raw::c_char, + __size: ::std::os::raw::c_ulong, + ) -> ::std::os::raw::c_ulong; } -pub const SHUT_RD: ::std::os::raw::c_uint = 0; -pub const SHUT_WR: ::std::os::raw::c_uint = 1; -pub const SHUT_RDWR: ::std::os::raw::c_uint = 2; -pub type _bindgen_ty_4 = ::std::os::raw::c_uint; #[pg_guard] extern "C" { - pub fn socket( - __domain: ::std::os::raw::c_int, - __type: ::std::os::raw::c_int, - __protocol: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; + pub fn strlcpy( + __dst: *mut ::std::os::raw::c_char, + __source: *const ::std::os::raw::c_char, + __size: ::std::os::raw::c_ulong, + ) -> ::std::os::raw::c_ulong; } #[pg_guard] extern "C" { - pub fn socketpair( - __domain: ::std::os::raw::c_int, - __type: ::std::os::raw::c_int, - __protocol: ::std::os::raw::c_int, - __fds: *mut ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; + pub fn strmode(__mode: ::std::os::raw::c_int, __bp: *mut ::std::os::raw::c_char); } #[pg_guard] extern "C" { - pub fn bind( - __fd: ::std::os::raw::c_int, - __addr: *const sockaddr, - __len: socklen_t, - ) -> ::std::os::raw::c_int; + pub fn strsep( + __stringp: *mut *mut ::std::os::raw::c_char, + __delim: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; } #[pg_guard] extern "C" { - pub fn getsockname( - __fd: ::std::os::raw::c_int, - __addr: *mut sockaddr, - __len: *mut socklen_t, - ) -> ::std::os::raw::c_int; + pub fn swab( + arg1: *const ::std::os::raw::c_void, + arg2: *mut ::std::os::raw::c_void, + arg3: isize, + ); } #[pg_guard] extern "C" { - pub fn connect( - __fd: ::std::os::raw::c_int, - __addr: *const sockaddr, - __len: socklen_t, + pub fn timingsafe_bcmp( + __b1: *const ::std::os::raw::c_void, + __b2: *const ::std::os::raw::c_void, + __len: usize, ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn getpeername( - __fd: ::std::os::raw::c_int, - __addr: *mut sockaddr, - __len: *mut socklen_t, + pub fn strsignal_r( + __sig: ::std::os::raw::c_int, + __strsignalbuf: *mut ::std::os::raw::c_char, + __buflen: usize, ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn send( - __fd: ::std::os::raw::c_int, - __buf: *const ::std::os::raw::c_void, - __n: usize, - __flags: ::std::os::raw::c_int, - ) -> isize; + pub fn bcmp( + arg1: *const ::std::os::raw::c_void, + arg2: *const ::std::os::raw::c_void, + arg3: ::std::os::raw::c_ulong, + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn recv( - __fd: ::std::os::raw::c_int, - __buf: *mut ::std::os::raw::c_void, - __n: usize, - __flags: ::std::os::raw::c_int, - ) -> isize; + pub fn bcopy( + arg1: *const ::std::os::raw::c_void, + arg2: *mut ::std::os::raw::c_void, + arg3: usize, + ); } #[pg_guard] extern "C" { - pub fn sendto( - __fd: ::std::os::raw::c_int, - __buf: *const ::std::os::raw::c_void, - __n: usize, - __flags: ::std::os::raw::c_int, - __addr: *const sockaddr, - __addr_len: socklen_t, - ) -> isize; + pub fn bzero(arg1: *mut ::std::os::raw::c_void, arg2: ::std::os::raw::c_ulong); } #[pg_guard] extern "C" { - pub fn recvfrom( - __fd: ::std::os::raw::c_int, - __buf: *mut ::std::os::raw::c_void, - __n: usize, - __flags: ::std::os::raw::c_int, - __addr: *mut sockaddr, - __addr_len: *mut socklen_t, - ) -> isize; + pub fn index( + arg1: *const ::std::os::raw::c_char, + arg2: ::std::os::raw::c_int, + ) -> *mut ::std::os::raw::c_char; } #[pg_guard] extern "C" { - pub fn sendmsg( - __fd: ::std::os::raw::c_int, - __message: *const msghdr, - __flags: ::std::os::raw::c_int, - ) -> isize; + pub fn rindex( + arg1: *const ::std::os::raw::c_char, + arg2: ::std::os::raw::c_int, + ) -> *mut ::std::os::raw::c_char; } #[pg_guard] extern "C" { - pub fn recvmsg( - __fd: ::std::os::raw::c_int, - __message: *mut msghdr, - __flags: ::std::os::raw::c_int, - ) -> isize; + pub fn ffs(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn getsockopt( - __fd: ::std::os::raw::c_int, - __level: ::std::os::raw::c_int, - __optname: ::std::os::raw::c_int, - __optval: *mut ::std::os::raw::c_void, - __optlen: *mut socklen_t, + pub fn strcasecmp( + arg1: *const ::std::os::raw::c_char, + arg2: *const ::std::os::raw::c_char, ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn setsockopt( - __fd: ::std::os::raw::c_int, - __level: ::std::os::raw::c_int, - __optname: ::std::os::raw::c_int, - __optval: *const ::std::os::raw::c_void, - __optlen: socklen_t, + pub fn strncasecmp( + arg1: *const ::std::os::raw::c_char, + arg2: *const ::std::os::raw::c_char, + arg3: ::std::os::raw::c_ulong, ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn listen(__fd: ::std::os::raw::c_int, __n: ::std::os::raw::c_int) - -> ::std::os::raw::c_int; + pub fn ffsl(arg1: ::std::os::raw::c_long) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn accept( - __fd: ::std::os::raw::c_int, - __addr: *mut sockaddr, - __addr_len: *mut socklen_t, - ) -> ::std::os::raw::c_int; + pub fn ffsll(arg1: ::std::os::raw::c_longlong) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn shutdown( - __fd: ::std::os::raw::c_int, - __how: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; + pub fn fls(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn sockatmark(__fd: ::std::os::raw::c_int) -> ::std::os::raw::c_int; + pub fn flsl(arg1: ::std::os::raw::c_long) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn isfdtype( - __fd: ::std::os::raw::c_int, - __fdtype: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; + pub fn flsll(arg1: ::std::os::raw::c_longlong) -> ::std::os::raw::c_int; } -pub type in_addr_t = u32; +pub type max_align_t = f64; +pub type __gnuc_va_list = __builtin_va_list; +pub type u_char = ::std::os::raw::c_uchar; +pub type u_short = ::std::os::raw::c_ushort; +pub type u_int = ::std::os::raw::c_uint; +pub type u_long = ::std::os::raw::c_ulong; +pub type ushort = ::std::os::raw::c_ushort; +pub type uint = ::std::os::raw::c_uint; +pub type u_quad_t = u_int64_t; +pub type quad_t = i64; +pub type qaddr_t = *mut quad_t; +pub type caddr_t = *mut ::std::os::raw::c_char; +pub type daddr_t = i32; +pub type fixpt_t = u_int32_t; +pub type blkcnt_t = __darwin_blkcnt_t; +pub type blksize_t = __darwin_blksize_t; +pub type gid_t = __darwin_gid_t; +pub type in_addr_t = __uint32_t; +pub type in_port_t = __uint16_t; +pub type ino_t = __darwin_ino_t; +pub type ino64_t = __darwin_ino64_t; +pub type key_t = __int32_t; +pub type nlink_t = __uint16_t; +pub type segsz_t = i32; +pub type swblk_t = i32; +pub type clock_t = __darwin_clock_t; +pub type time_t = __darwin_time_t; +pub type useconds_t = __darwin_useconds_t; +pub type suseconds_t = __darwin_suseconds_t; #[repr(C)] #[derive(Debug, Default, Copy, Clone)] -pub struct in_addr { - pub s_addr: in_addr_t, +pub struct fd_set { + pub fds_bits: [__int32_t; 32usize], +} +#[pg_guard] +extern "C" { + pub fn __darwin_check_fd_set_overflow( + arg1: ::std::os::raw::c_int, + arg2: *const ::std::os::raw::c_void, + arg3: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; +} +pub type fd_mask = __int32_t; +pub type pthread_cond_t = __darwin_pthread_cond_t; +pub type pthread_condattr_t = __darwin_pthread_condattr_t; +pub type pthread_mutex_t = __darwin_pthread_mutex_t; +pub type pthread_mutexattr_t = __darwin_pthread_mutexattr_t; +pub type pthread_once_t = __darwin_pthread_once_t; +pub type pthread_rwlock_t = __darwin_pthread_rwlock_t; +pub type pthread_rwlockattr_t = __darwin_pthread_rwlockattr_t; +pub type pthread_t = __darwin_pthread_t; +pub type pthread_key_t = __darwin_pthread_key_t; +pub type fsblkcnt_t = __darwin_fsblkcnt_t; +pub type fsfilcnt_t = __darwin_fsfilcnt_t; +#[pg_guard] +extern "C" { + pub fn __error() -> *mut ::std::os::raw::c_int; } #[repr(C)] #[derive(Debug, Copy, Clone)] -pub struct ip_opts { - pub ip_dst: in_addr, - pub ip_opts: [::std::os::raw::c_char; 40usize], +pub struct lconv { + pub decimal_point: *mut ::std::os::raw::c_char, + pub thousands_sep: *mut ::std::os::raw::c_char, + pub grouping: *mut ::std::os::raw::c_char, + pub int_curr_symbol: *mut ::std::os::raw::c_char, + pub currency_symbol: *mut ::std::os::raw::c_char, + pub mon_decimal_point: *mut ::std::os::raw::c_char, + pub mon_thousands_sep: *mut ::std::os::raw::c_char, + pub mon_grouping: *mut ::std::os::raw::c_char, + pub positive_sign: *mut ::std::os::raw::c_char, + pub negative_sign: *mut ::std::os::raw::c_char, + pub int_frac_digits: ::std::os::raw::c_char, + pub frac_digits: ::std::os::raw::c_char, + pub p_cs_precedes: ::std::os::raw::c_char, + pub p_sep_by_space: ::std::os::raw::c_char, + pub n_cs_precedes: ::std::os::raw::c_char, + pub n_sep_by_space: ::std::os::raw::c_char, + pub p_sign_posn: ::std::os::raw::c_char, + pub n_sign_posn: ::std::os::raw::c_char, + pub int_p_cs_precedes: ::std::os::raw::c_char, + pub int_n_cs_precedes: ::std::os::raw::c_char, + pub int_p_sep_by_space: ::std::os::raw::c_char, + pub int_n_sep_by_space: ::std::os::raw::c_char, + pub int_p_sign_posn: ::std::os::raw::c_char, + pub int_n_sign_posn: ::std::os::raw::c_char, } -impl Default for ip_opts { +impl Default for lconv { fn default() -> Self { let mut s = ::std::mem::MaybeUninit::::uninit(); unsafe { @@ -5835,98 +6463,87 @@ impl Default for ip_opts { } } } +#[pg_guard] +extern "C" { + pub fn localeconv() -> *mut lconv; +} +#[pg_guard] +extern "C" { + pub fn setlocale( + arg1: ::std::os::raw::c_int, + arg2: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; +} +pub type Pointer = *mut ::std::os::raw::c_char; +pub type int8 = ::std::os::raw::c_schar; +pub type int16 = ::std::os::raw::c_short; +pub type int32 = ::std::os::raw::c_int; +pub type uint8 = ::std::os::raw::c_uchar; +pub type uint16 = ::std::os::raw::c_ushort; +pub type uint32 = ::std::os::raw::c_uint; +pub type bits8 = uint8; +pub type bits16 = uint16; +pub type bits32 = uint32; +pub type int64 = ::std::os::raw::c_long; +pub type uint64 = ::std::os::raw::c_ulong; +pub type int128 = i128; +pub type uint128 = u128; +pub type Size = usize; +pub type Index = ::std::os::raw::c_uint; +pub type Offset = ::std::os::raw::c_int; +pub type float4 = f32; +pub type float8 = f64; +pub type regproc = Oid; +pub type RegProcedure = regproc; +pub type TransactionId = uint32; +pub type LocalTransactionId = uint32; +pub type SubTransactionId = uint32; +pub type MultiXactId = TransactionId; +pub type MultiXactOffset = uint32; +pub type CommandId = uint32; #[repr(C)] #[derive(Debug, Default, Copy, Clone)] -pub struct ip_mreqn { - pub imr_multiaddr: in_addr, - pub imr_address: in_addr, - pub imr_ifindex: ::std::os::raw::c_int, +pub struct IntArray { + pub indx: [::std::os::raw::c_int; 6usize], } #[repr(C)] -#[derive(Debug, Default, Copy, Clone)] -pub struct in_pktinfo { - pub ipi_ifindex: ::std::os::raw::c_int, - pub ipi_spec_dst: in_addr, - pub ipi_addr: in_addr, +#[derive(Debug, Default)] +pub struct varlena { + pub vl_len_: [::std::os::raw::c_char; 4usize], + pub vl_dat: __IncompleteArrayField<::std::os::raw::c_char>, } -pub const IPPROTO_IP: ::std::os::raw::c_uint = 0; -pub const IPPROTO_ICMP: ::std::os::raw::c_uint = 1; -pub const IPPROTO_IGMP: ::std::os::raw::c_uint = 2; -pub const IPPROTO_IPIP: ::std::os::raw::c_uint = 4; -pub const IPPROTO_TCP: ::std::os::raw::c_uint = 6; -pub const IPPROTO_EGP: ::std::os::raw::c_uint = 8; -pub const IPPROTO_PUP: ::std::os::raw::c_uint = 12; -pub const IPPROTO_UDP: ::std::os::raw::c_uint = 17; -pub const IPPROTO_IDP: ::std::os::raw::c_uint = 22; -pub const IPPROTO_TP: ::std::os::raw::c_uint = 29; -pub const IPPROTO_DCCP: ::std::os::raw::c_uint = 33; -pub const IPPROTO_IPV6: ::std::os::raw::c_uint = 41; -pub const IPPROTO_RSVP: ::std::os::raw::c_uint = 46; -pub const IPPROTO_GRE: ::std::os::raw::c_uint = 47; -pub const IPPROTO_ESP: ::std::os::raw::c_uint = 50; -pub const IPPROTO_AH: ::std::os::raw::c_uint = 51; -pub const IPPROTO_MTP: ::std::os::raw::c_uint = 92; -pub const IPPROTO_BEETPH: ::std::os::raw::c_uint = 94; -pub const IPPROTO_ENCAP: ::std::os::raw::c_uint = 98; -pub const IPPROTO_PIM: ::std::os::raw::c_uint = 103; -pub const IPPROTO_COMP: ::std::os::raw::c_uint = 108; -pub const IPPROTO_SCTP: ::std::os::raw::c_uint = 132; -pub const IPPROTO_UDPLITE: ::std::os::raw::c_uint = 136; -pub const IPPROTO_MPLS: ::std::os::raw::c_uint = 137; -pub const IPPROTO_ETHERNET: ::std::os::raw::c_uint = 143; -pub const IPPROTO_RAW: ::std::os::raw::c_uint = 255; -pub const IPPROTO_MPTCP: ::std::os::raw::c_uint = 262; -pub const IPPROTO_MAX: ::std::os::raw::c_uint = 263; -pub type _bindgen_ty_5 = ::std::os::raw::c_uint; -pub const IPPROTO_HOPOPTS: ::std::os::raw::c_uint = 0; -pub const IPPROTO_ROUTING: ::std::os::raw::c_uint = 43; -pub const IPPROTO_FRAGMENT: ::std::os::raw::c_uint = 44; -pub const IPPROTO_ICMPV6: ::std::os::raw::c_uint = 58; -pub const IPPROTO_NONE: ::std::os::raw::c_uint = 59; -pub const IPPROTO_DSTOPTS: ::std::os::raw::c_uint = 60; -pub const IPPROTO_MH: ::std::os::raw::c_uint = 135; -pub type _bindgen_ty_6 = ::std::os::raw::c_uint; -pub type in_port_t = u16; -pub const IPPORT_ECHO: ::std::os::raw::c_uint = 7; -pub const IPPORT_DISCARD: ::std::os::raw::c_uint = 9; -pub const IPPORT_SYSTAT: ::std::os::raw::c_uint = 11; -pub const IPPORT_DAYTIME: ::std::os::raw::c_uint = 13; -pub const IPPORT_NETSTAT: ::std::os::raw::c_uint = 15; -pub const IPPORT_FTP: ::std::os::raw::c_uint = 21; -pub const IPPORT_TELNET: ::std::os::raw::c_uint = 23; -pub const IPPORT_SMTP: ::std::os::raw::c_uint = 25; -pub const IPPORT_TIMESERVER: ::std::os::raw::c_uint = 37; -pub const IPPORT_NAMESERVER: ::std::os::raw::c_uint = 42; -pub const IPPORT_WHOIS: ::std::os::raw::c_uint = 43; -pub const IPPORT_MTP: ::std::os::raw::c_uint = 57; -pub const IPPORT_TFTP: ::std::os::raw::c_uint = 69; -pub const IPPORT_RJE: ::std::os::raw::c_uint = 77; -pub const IPPORT_FINGER: ::std::os::raw::c_uint = 79; -pub const IPPORT_TTYLINK: ::std::os::raw::c_uint = 87; -pub const IPPORT_SUPDUP: ::std::os::raw::c_uint = 95; -pub const IPPORT_EXECSERVER: ::std::os::raw::c_uint = 512; -pub const IPPORT_LOGINSERVER: ::std::os::raw::c_uint = 513; -pub const IPPORT_CMDSERVER: ::std::os::raw::c_uint = 514; -pub const IPPORT_EFSSERVER: ::std::os::raw::c_uint = 520; -pub const IPPORT_BIFFUDP: ::std::os::raw::c_uint = 512; -pub const IPPORT_WHOSERVER: ::std::os::raw::c_uint = 513; -pub const IPPORT_ROUTESERVER: ::std::os::raw::c_uint = 520; -pub const IPPORT_RESERVED: ::std::os::raw::c_uint = 1024; -pub const IPPORT_USERRESERVED: ::std::os::raw::c_uint = 5000; -pub type _bindgen_ty_7 = ::std::os::raw::c_uint; +pub type bytea = varlena; +pub type text = varlena; +pub type BpChar = varlena; +pub type VarChar = varlena; #[repr(C)] -#[derive(Copy, Clone)] -pub struct in6_addr { - pub __in6_u: in6_addr__bindgen_ty_1, +#[derive(Debug, Default)] +pub struct int2vector { + pub vl_len_: int32, + pub ndim: ::std::os::raw::c_int, + pub dataoffset: int32, + pub elemtype: Oid, + pub dim1: ::std::os::raw::c_int, + pub lbound1: ::std::os::raw::c_int, + pub values: __IncompleteArrayField, } #[repr(C)] -#[derive(Copy, Clone)] -pub union in6_addr__bindgen_ty_1 { - pub __u6_addr8: [u8; 16usize], - pub __u6_addr16: [u16; 8usize], - pub __u6_addr32: [u32; 4usize], +#[derive(Debug, Default)] +pub struct oidvector { + pub vl_len_: int32, + pub ndim: ::std::os::raw::c_int, + pub dataoffset: int32, + pub elemtype: Oid, + pub dim1: ::std::os::raw::c_int, + pub lbound1: ::std::os::raw::c_int, + pub values: __IncompleteArrayField, } -impl Default for in6_addr__bindgen_ty_1 { +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct nameData { + pub data: [::std::os::raw::c_char; 64usize], +} +impl Default for nameData { fn default() -> Self { let mut s = ::std::mem::MaybeUninit::::uninit(); unsafe { @@ -5935,7 +6552,25 @@ impl Default for in6_addr__bindgen_ty_1 { } } } -impl Default for in6_addr { +pub type NameData = nameData; +pub type Name = *mut NameData; +#[pg_guard] +extern "C" { + pub fn ExceptionalCondition( + conditionName: *const ::std::os::raw::c_char, + errorType: *const ::std::os::raw::c_char, + fileName: *const ::std::os::raw::c_char, + lineNumber: ::std::os::raw::c_int, + ); +} +#[repr(C)] +#[derive(Copy, Clone)] +pub union PGAlignedBlock { + pub data: [::std::os::raw::c_char; 8192usize], + pub force_align_d: f64, + pub force_align_i64: int64, +} +impl Default for PGAlignedBlock { fn default() -> Self { let mut s = ::std::mem::MaybeUninit::::uninit(); unsafe { @@ -5944,32 +6579,14 @@ impl Default for in6_addr { } } } -#[pg_guard] -extern "C" { - pub static in6addr_any: in6_addr; -} -#[pg_guard] -extern "C" { - pub static in6addr_loopback: in6_addr; -} -#[repr(C)] -#[derive(Debug, Default, Copy, Clone)] -pub struct sockaddr_in { - pub sin_family: sa_family_t, - pub sin_port: in_port_t, - pub sin_addr: in_addr, - pub sin_zero: [::std::os::raw::c_uchar; 8usize], -} #[repr(C)] #[derive(Copy, Clone)] -pub struct sockaddr_in6 { - pub sin6_family: sa_family_t, - pub sin6_port: in_port_t, - pub sin6_flowinfo: u32, - pub sin6_addr: in6_addr, - pub sin6_scope_id: u32, +pub union PGAlignedXLogBlock { + pub data: [::std::os::raw::c_char; 8192usize], + pub force_align_d: f64, + pub force_align_i64: int64, } -impl Default for sockaddr_in6 { +impl Default for PGAlignedXLogBlock { fn default() -> Self { let mut s = ::std::mem::MaybeUninit::::uninit(); unsafe { @@ -5978,41 +6595,20 @@ impl Default for sockaddr_in6 { } } } -#[repr(C)] -#[derive(Debug, Default, Copy, Clone)] -pub struct ip_mreq { - pub imr_multiaddr: in_addr, - pub imr_interface: in_addr, -} -#[repr(C)] -#[derive(Debug, Default, Copy, Clone)] -pub struct ip_mreq_source { - pub imr_multiaddr: in_addr, - pub imr_interface: in_addr, - pub imr_sourceaddr: in_addr, -} -#[repr(C)] -#[derive(Copy, Clone)] -pub struct ipv6_mreq { - pub ipv6mr_multiaddr: in6_addr, - pub ipv6mr_interface: ::std::os::raw::c_uint, -} -impl Default for ipv6_mreq { - fn default() -> Self { - let mut s = ::std::mem::MaybeUninit::::uninit(); - unsafe { - ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); - s.assume_init() - } - } +#[pg_guard] +extern "C" { + pub fn fdatasync(fildes: ::std::os::raw::c_int) -> ::std::os::raw::c_int; } +pub type wint_t = __darwin_wint_t; #[repr(C)] #[derive(Debug, Copy, Clone)] -pub struct group_req { - pub gr_interface: u32, - pub gr_group: sockaddr_storage, +pub struct _RuneEntry { + pub __min: __darwin_rune_t, + pub __max: __darwin_rune_t, + pub __map: __darwin_rune_t, + pub __types: *mut __uint32_t, } -impl Default for group_req { +impl Default for _RuneEntry { fn default() -> Self { let mut s = ::std::mem::MaybeUninit::::uninit(); unsafe { @@ -6023,12 +6619,11 @@ impl Default for group_req { } #[repr(C)] #[derive(Debug, Copy, Clone)] -pub struct group_source_req { - pub gsr_interface: u32, - pub gsr_group: sockaddr_storage, - pub gsr_source: sockaddr_storage, +pub struct _RuneRange { + pub __nranges: ::std::os::raw::c_int, + pub __ranges: *mut _RuneEntry, } -impl Default for group_source_req { +impl Default for _RuneRange { fn default() -> Self { let mut s = ::std::mem::MaybeUninit::::uninit(); unsafe { @@ -6039,69 +6634,43 @@ impl Default for group_source_req { } #[repr(C)] #[derive(Debug, Default, Copy, Clone)] -pub struct ip_msfilter { - pub imsf_multiaddr: in_addr, - pub imsf_interface: in_addr, - pub imsf_fmode: u32, - pub imsf_numsrc: u32, - pub imsf_slist: [in_addr; 1usize], -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct group_filter { - pub gf_interface: u32, - pub gf_group: sockaddr_storage, - pub gf_fmode: u32, - pub gf_numsrc: u32, - pub gf_slist: [sockaddr_storage; 1usize], -} -impl Default for group_filter { - fn default() -> Self { - let mut s = ::std::mem::MaybeUninit::::uninit(); - unsafe { - ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); - s.assume_init() - } - } -} -#[pg_guard] -extern "C" { - pub fn ntohl(__netlong: u32) -> u32; -} -#[pg_guard] -extern "C" { - pub fn ntohs(__netshort: u16) -> u16; -} -#[pg_guard] -extern "C" { - pub fn htonl(__hostlong: u32) -> u32; -} -#[pg_guard] -extern "C" { - pub fn htons(__hostshort: u16) -> u16; -} -#[pg_guard] -extern "C" { - pub fn bindresvport( - __sockfd: ::std::os::raw::c_int, - __sock_in: *mut sockaddr_in, - ) -> ::std::os::raw::c_int; -} -#[pg_guard] -extern "C" { - pub fn bindresvport6( - __sockfd: ::std::os::raw::c_int, - __sock_in: *mut sockaddr_in6, - ) -> ::std::os::raw::c_int; +pub struct _RuneCharClass { + pub __name: [::std::os::raw::c_char; 14usize], + pub __mask: __uint32_t, } #[repr(C)] #[derive(Debug, Copy, Clone)] -pub struct rpcent { - pub r_name: *mut ::std::os::raw::c_char, - pub r_aliases: *mut *mut ::std::os::raw::c_char, - pub r_number: ::std::os::raw::c_int, +pub struct _RuneLocale { + pub __magic: [::std::os::raw::c_char; 8usize], + pub __encoding: [::std::os::raw::c_char; 32usize], + pub __sgetrune: ::std::option::Option< + unsafe extern "C" fn( + arg1: *const ::std::os::raw::c_char, + arg2: __darwin_size_t, + arg3: *mut *const ::std::os::raw::c_char, + ) -> __darwin_rune_t, + >, + pub __sputrune: ::std::option::Option< + unsafe extern "C" fn( + arg1: __darwin_rune_t, + arg2: *mut ::std::os::raw::c_char, + arg3: __darwin_size_t, + arg4: *mut *mut ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int, + >, + pub __invalid_rune: __darwin_rune_t, + pub __runetype: [__uint32_t; 256usize], + pub __maplower: [__darwin_rune_t; 256usize], + pub __mapupper: [__darwin_rune_t; 256usize], + pub __runetype_ext: _RuneRange, + pub __maplower_ext: _RuneRange, + pub __mapupper_ext: _RuneRange, + pub __variable: *mut ::std::os::raw::c_void, + pub __variable_len: ::std::os::raw::c_int, + pub __ncharclasses: ::std::os::raw::c_int, + pub __charclasses: *mut _RuneCharClass, } -impl Default for rpcent { +impl Default for _RuneLocale { fn default() -> Self { let mut s = ::std::mem::MaybeUninit::::uninit(); unsafe { @@ -6112,62 +6681,48 @@ impl Default for rpcent { } #[pg_guard] extern "C" { - pub fn setrpcent(__stayopen: ::std::os::raw::c_int); + pub static mut _DefaultRuneLocale: _RuneLocale; } #[pg_guard] extern "C" { - pub fn endrpcent(); + pub static mut _CurrentRuneLocale: *mut _RuneLocale; } #[pg_guard] extern "C" { - pub fn getrpcbyname(__name: *const ::std::os::raw::c_char) -> *mut rpcent; + pub fn ___runetype(arg1: __darwin_ct_rune_t) -> ::std::os::raw::c_ulong; } #[pg_guard] extern "C" { - pub fn getrpcbynumber(__number: ::std::os::raw::c_int) -> *mut rpcent; + pub fn ___tolower(arg1: __darwin_ct_rune_t) -> __darwin_ct_rune_t; } #[pg_guard] extern "C" { - pub fn getrpcent() -> *mut rpcent; + pub fn ___toupper(arg1: __darwin_ct_rune_t) -> __darwin_ct_rune_t; } #[pg_guard] extern "C" { - pub fn getrpcbyname_r( - __name: *const ::std::os::raw::c_char, - __result_buf: *mut rpcent, - __buffer: *mut ::std::os::raw::c_char, - __buflen: usize, - __result: *mut *mut rpcent, + pub fn __maskrune( + arg1: __darwin_ct_rune_t, + arg2: ::std::os::raw::c_ulong, ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn getrpcbynumber_r( - __number: ::std::os::raw::c_int, - __result_buf: *mut rpcent, - __buffer: *mut ::std::os::raw::c_char, - __buflen: usize, - __result: *mut *mut rpcent, - ) -> ::std::os::raw::c_int; + pub fn __toupper(arg1: __darwin_ct_rune_t) -> __darwin_ct_rune_t; } #[pg_guard] extern "C" { - pub fn getrpcent_r( - __result_buf: *mut rpcent, - __buffer: *mut ::std::os::raw::c_char, - __buflen: usize, - __result: *mut *mut rpcent, - ) -> ::std::os::raw::c_int; + pub fn __tolower(arg1: __darwin_ct_rune_t) -> __darwin_ct_rune_t; } +pub type socklen_t = __darwin_socklen_t; +pub type sa_family_t = __uint8_t; #[repr(C)] #[derive(Debug, Copy, Clone)] -pub struct netent { - pub n_name: *mut ::std::os::raw::c_char, - pub n_aliases: *mut *mut ::std::os::raw::c_char, - pub n_addrtype: ::std::os::raw::c_int, - pub n_net: u32, +pub struct iovec { + pub iov_base: *mut ::std::os::raw::c_void, + pub iov_len: usize, } -impl Default for netent { +impl Default for iovec { fn default() -> Self { let mut s = ::std::mem::MaybeUninit::::uninit(); unsafe { @@ -6176,28 +6731,18 @@ impl Default for netent { } } } -#[pg_guard] -extern "C" { - pub fn __h_errno_location() -> *mut ::std::os::raw::c_int; -} -#[pg_guard] -extern "C" { - pub fn herror(__str: *const ::std::os::raw::c_char); -} -#[pg_guard] -extern "C" { - pub fn hstrerror(__err_num: ::std::os::raw::c_int) -> *const ::std::os::raw::c_char; -} +pub type sae_associd_t = __uint32_t; +pub type sae_connid_t = __uint32_t; #[repr(C)] #[derive(Debug, Copy, Clone)] -pub struct hostent { - pub h_name: *mut ::std::os::raw::c_char, - pub h_aliases: *mut *mut ::std::os::raw::c_char, - pub h_addrtype: ::std::os::raw::c_int, - pub h_length: ::std::os::raw::c_int, - pub h_addr_list: *mut *mut ::std::os::raw::c_char, +pub struct sa_endpoints { + pub sae_srcif: ::std::os::raw::c_uint, + pub sae_srcaddr: *const sockaddr, + pub sae_srcaddrlen: socklen_t, + pub sae_dstaddr: *const sockaddr, + pub sae_dstaddrlen: socklen_t, } -impl Default for hostent { +impl Default for sa_endpoints { fn default() -> Self { let mut s = ::std::mem::MaybeUninit::::uninit(); unsafe { @@ -6206,218 +6751,42 @@ impl Default for hostent { } } } -#[pg_guard] -extern "C" { - pub fn sethostent(__stay_open: ::std::os::raw::c_int); -} -#[pg_guard] -extern "C" { - pub fn endhostent(); -} -#[pg_guard] -extern "C" { - pub fn gethostent() -> *mut hostent; -} -#[pg_guard] -extern "C" { - pub fn gethostbyaddr( - __addr: *const ::std::os::raw::c_void, - __len: __socklen_t, - __type: ::std::os::raw::c_int, - ) -> *mut hostent; -} -#[pg_guard] -extern "C" { - pub fn gethostbyname(__name: *const ::std::os::raw::c_char) -> *mut hostent; -} -#[pg_guard] -extern "C" { - pub fn gethostbyname2( - __name: *const ::std::os::raw::c_char, - __af: ::std::os::raw::c_int, - ) -> *mut hostent; -} -#[pg_guard] -extern "C" { - pub fn gethostent_r( - __result_buf: *mut hostent, - __buf: *mut ::std::os::raw::c_char, - __buflen: usize, - __result: *mut *mut hostent, - __h_errnop: *mut ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; -} -#[pg_guard] -extern "C" { - pub fn gethostbyaddr_r( - __addr: *const ::std::os::raw::c_void, - __len: __socklen_t, - __type: ::std::os::raw::c_int, - __result_buf: *mut hostent, - __buf: *mut ::std::os::raw::c_char, - __buflen: usize, - __result: *mut *mut hostent, - __h_errnop: *mut ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; -} -#[pg_guard] -extern "C" { - pub fn gethostbyname_r( - __name: *const ::std::os::raw::c_char, - __result_buf: *mut hostent, - __buf: *mut ::std::os::raw::c_char, - __buflen: usize, - __result: *mut *mut hostent, - __h_errnop: *mut ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; -} -#[pg_guard] -extern "C" { - pub fn gethostbyname2_r( - __name: *const ::std::os::raw::c_char, - __af: ::std::os::raw::c_int, - __result_buf: *mut hostent, - __buf: *mut ::std::os::raw::c_char, - __buflen: usize, - __result: *mut *mut hostent, - __h_errnop: *mut ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; -} -#[pg_guard] -extern "C" { - pub fn setnetent(__stay_open: ::std::os::raw::c_int); -} -#[pg_guard] -extern "C" { - pub fn endnetent(); -} -#[pg_guard] -extern "C" { - pub fn getnetent() -> *mut netent; -} -#[pg_guard] -extern "C" { - pub fn getnetbyaddr(__net: u32, __type: ::std::os::raw::c_int) -> *mut netent; -} -#[pg_guard] -extern "C" { - pub fn getnetbyname(__name: *const ::std::os::raw::c_char) -> *mut netent; -} -#[pg_guard] -extern "C" { - pub fn getnetent_r( - __result_buf: *mut netent, - __buf: *mut ::std::os::raw::c_char, - __buflen: usize, - __result: *mut *mut netent, - __h_errnop: *mut ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; -} -#[pg_guard] -extern "C" { - pub fn getnetbyaddr_r( - __net: u32, - __type: ::std::os::raw::c_int, - __result_buf: *mut netent, - __buf: *mut ::std::os::raw::c_char, - __buflen: usize, - __result: *mut *mut netent, - __h_errnop: *mut ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; -} -#[pg_guard] -extern "C" { - pub fn getnetbyname_r( - __name: *const ::std::os::raw::c_char, - __result_buf: *mut netent, - __buf: *mut ::std::os::raw::c_char, - __buflen: usize, - __result: *mut *mut netent, - __h_errnop: *mut ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; -} +pub type sa_endpoints_t = sa_endpoints; #[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct servent { - pub s_name: *mut ::std::os::raw::c_char, - pub s_aliases: *mut *mut ::std::os::raw::c_char, - pub s_port: ::std::os::raw::c_int, - pub s_proto: *mut ::std::os::raw::c_char, -} -impl Default for servent { - fn default() -> Self { - let mut s = ::std::mem::MaybeUninit::::uninit(); - unsafe { - ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); - s.assume_init() - } - } -} -#[pg_guard] -extern "C" { - pub fn setservent(__stay_open: ::std::os::raw::c_int); -} -#[pg_guard] -extern "C" { - pub fn endservent(); -} -#[pg_guard] -extern "C" { - pub fn getservent() -> *mut servent; -} -#[pg_guard] -extern "C" { - pub fn getservbyname( - __name: *const ::std::os::raw::c_char, - __proto: *const ::std::os::raw::c_char, - ) -> *mut servent; -} -#[pg_guard] -extern "C" { - pub fn getservbyport( - __port: ::std::os::raw::c_int, - __proto: *const ::std::os::raw::c_char, - ) -> *mut servent; +#[derive(Debug, Default, Copy, Clone)] +pub struct linger { + pub l_onoff: ::std::os::raw::c_int, + pub l_linger: ::std::os::raw::c_int, } -#[pg_guard] -extern "C" { - pub fn getservent_r( - __result_buf: *mut servent, - __buf: *mut ::std::os::raw::c_char, - __buflen: usize, - __result: *mut *mut servent, - ) -> ::std::os::raw::c_int; +#[repr(C)] +#[derive(Debug, Default, Copy, Clone)] +pub struct so_np_extensions { + pub npx_flags: u_int32_t, + pub npx_mask: u_int32_t, } -#[pg_guard] -extern "C" { - pub fn getservbyname_r( - __name: *const ::std::os::raw::c_char, - __proto: *const ::std::os::raw::c_char, - __result_buf: *mut servent, - __buf: *mut ::std::os::raw::c_char, - __buflen: usize, - __result: *mut *mut servent, - ) -> ::std::os::raw::c_int; +#[repr(C)] +#[derive(Debug, Default, Copy, Clone)] +pub struct sockaddr { + pub sa_len: __uint8_t, + pub sa_family: sa_family_t, + pub sa_data: [::std::os::raw::c_char; 14usize], } -#[pg_guard] -extern "C" { - pub fn getservbyport_r( - __port: ::std::os::raw::c_int, - __proto: *const ::std::os::raw::c_char, - __result_buf: *mut servent, - __buf: *mut ::std::os::raw::c_char, - __buflen: usize, - __result: *mut *mut servent, - ) -> ::std::os::raw::c_int; +#[repr(C)] +#[derive(Debug, Default, Copy, Clone)] +pub struct sockproto { + pub sp_family: __uint16_t, + pub sp_protocol: __uint16_t, } #[repr(C)] #[derive(Debug, Copy, Clone)] -pub struct protoent { - pub p_name: *mut ::std::os::raw::c_char, - pub p_aliases: *mut *mut ::std::os::raw::c_char, - pub p_proto: ::std::os::raw::c_int, +pub struct sockaddr_storage { + pub ss_len: __uint8_t, + pub ss_family: sa_family_t, + pub __ss_pad1: [::std::os::raw::c_char; 6usize], + pub __ss_align: __int64_t, + pub __ss_pad2: [::std::os::raw::c_char; 112usize], } -impl Default for protoent { +impl Default for sockaddr_storage { fn default() -> Self { let mut s = ::std::mem::MaybeUninit::::uninit(); unsafe { @@ -6426,198 +6795,18 @@ impl Default for protoent { } } } -#[pg_guard] -extern "C" { - pub fn setprotoent(__stay_open: ::std::os::raw::c_int); -} -#[pg_guard] -extern "C" { - pub fn endprotoent(); -} -#[pg_guard] -extern "C" { - pub fn getprotoent() -> *mut protoent; -} -#[pg_guard] -extern "C" { - pub fn getprotobyname(__name: *const ::std::os::raw::c_char) -> *mut protoent; -} -#[pg_guard] -extern "C" { - pub fn getprotobynumber(__proto: ::std::os::raw::c_int) -> *mut protoent; -} -#[pg_guard] -extern "C" { - pub fn getprotoent_r( - __result_buf: *mut protoent, - __buf: *mut ::std::os::raw::c_char, - __buflen: usize, - __result: *mut *mut protoent, - ) -> ::std::os::raw::c_int; -} -#[pg_guard] -extern "C" { - pub fn getprotobyname_r( - __name: *const ::std::os::raw::c_char, - __result_buf: *mut protoent, - __buf: *mut ::std::os::raw::c_char, - __buflen: usize, - __result: *mut *mut protoent, - ) -> ::std::os::raw::c_int; -} -#[pg_guard] -extern "C" { - pub fn getprotobynumber_r( - __proto: ::std::os::raw::c_int, - __result_buf: *mut protoent, - __buf: *mut ::std::os::raw::c_char, - __buflen: usize, - __result: *mut *mut protoent, - ) -> ::std::os::raw::c_int; -} -#[pg_guard] -extern "C" { - pub fn setnetgrent(__netgroup: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; -} -#[pg_guard] -extern "C" { - pub fn endnetgrent(); -} -#[pg_guard] -extern "C" { - pub fn getnetgrent( - __hostp: *mut *mut ::std::os::raw::c_char, - __userp: *mut *mut ::std::os::raw::c_char, - __domainp: *mut *mut ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; -} -#[pg_guard] -extern "C" { - pub fn innetgr( - __netgroup: *const ::std::os::raw::c_char, - __host: *const ::std::os::raw::c_char, - __user: *const ::std::os::raw::c_char, - __domain: *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; -} -#[pg_guard] -extern "C" { - pub fn getnetgrent_r( - __hostp: *mut *mut ::std::os::raw::c_char, - __userp: *mut *mut ::std::os::raw::c_char, - __domainp: *mut *mut ::std::os::raw::c_char, - __buffer: *mut ::std::os::raw::c_char, - __buflen: usize, - ) -> ::std::os::raw::c_int; -} -#[pg_guard] -extern "C" { - pub fn rcmd( - __ahost: *mut *mut ::std::os::raw::c_char, - __rport: ::std::os::raw::c_ushort, - __locuser: *const ::std::os::raw::c_char, - __remuser: *const ::std::os::raw::c_char, - __cmd: *const ::std::os::raw::c_char, - __fd2p: *mut ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; -} -#[pg_guard] -extern "C" { - pub fn rcmd_af( - __ahost: *mut *mut ::std::os::raw::c_char, - __rport: ::std::os::raw::c_ushort, - __locuser: *const ::std::os::raw::c_char, - __remuser: *const ::std::os::raw::c_char, - __cmd: *const ::std::os::raw::c_char, - __fd2p: *mut ::std::os::raw::c_int, - __af: sa_family_t, - ) -> ::std::os::raw::c_int; -} -#[pg_guard] -extern "C" { - pub fn rexec( - __ahost: *mut *mut ::std::os::raw::c_char, - __rport: ::std::os::raw::c_int, - __name: *const ::std::os::raw::c_char, - __pass: *const ::std::os::raw::c_char, - __cmd: *const ::std::os::raw::c_char, - __fd2p: *mut ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; -} -#[pg_guard] -extern "C" { - pub fn rexec_af( - __ahost: *mut *mut ::std::os::raw::c_char, - __rport: ::std::os::raw::c_int, - __name: *const ::std::os::raw::c_char, - __pass: *const ::std::os::raw::c_char, - __cmd: *const ::std::os::raw::c_char, - __fd2p: *mut ::std::os::raw::c_int, - __af: sa_family_t, - ) -> ::std::os::raw::c_int; -} -#[pg_guard] -extern "C" { - pub fn ruserok( - __rhost: *const ::std::os::raw::c_char, - __suser: ::std::os::raw::c_int, - __remuser: *const ::std::os::raw::c_char, - __locuser: *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; -} -#[pg_guard] -extern "C" { - pub fn ruserok_af( - __rhost: *const ::std::os::raw::c_char, - __suser: ::std::os::raw::c_int, - __remuser: *const ::std::os::raw::c_char, - __locuser: *const ::std::os::raw::c_char, - __af: sa_family_t, - ) -> ::std::os::raw::c_int; -} -#[pg_guard] -extern "C" { - pub fn iruserok( - __raddr: u32, - __suser: ::std::os::raw::c_int, - __remuser: *const ::std::os::raw::c_char, - __locuser: *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; -} -#[pg_guard] -extern "C" { - pub fn iruserok_af( - __raddr: *const ::std::os::raw::c_void, - __suser: ::std::os::raw::c_int, - __remuser: *const ::std::os::raw::c_char, - __locuser: *const ::std::os::raw::c_char, - __af: sa_family_t, - ) -> ::std::os::raw::c_int; -} -#[pg_guard] -extern "C" { - pub fn rresvport(__alport: *mut ::std::os::raw::c_int) -> ::std::os::raw::c_int; -} -#[pg_guard] -extern "C" { - pub fn rresvport_af( - __alport: *mut ::std::os::raw::c_int, - __af: sa_family_t, - ) -> ::std::os::raw::c_int; -} #[repr(C)] #[derive(Debug, Copy, Clone)] -pub struct addrinfo { - pub ai_flags: ::std::os::raw::c_int, - pub ai_family: ::std::os::raw::c_int, - pub ai_socktype: ::std::os::raw::c_int, - pub ai_protocol: ::std::os::raw::c_int, - pub ai_addrlen: socklen_t, - pub ai_addr: *mut sockaddr, - pub ai_canonname: *mut ::std::os::raw::c_char, - pub ai_next: *mut addrinfo, +pub struct msghdr { + pub msg_name: *mut ::std::os::raw::c_void, + pub msg_namelen: socklen_t, + pub msg_iov: *mut iovec, + pub msg_iovlen: ::std::os::raw::c_int, + pub msg_control: *mut ::std::os::raw::c_void, + pub msg_controllen: socklen_t, + pub msg_flags: ::std::os::raw::c_int, } -impl Default for addrinfo { +impl Default for msghdr { fn default() -> Self { let mut s = ::std::mem::MaybeUninit::::uninit(); unsafe { @@ -6626,47 +6815,22 @@ impl Default for addrinfo { } } } -#[pg_guard] -extern "C" { - pub fn getaddrinfo( - __name: *const ::std::os::raw::c_char, - __service: *const ::std::os::raw::c_char, - __req: *const addrinfo, - __pai: *mut *mut addrinfo, - ) -> ::std::os::raw::c_int; -} -#[pg_guard] -extern "C" { - pub fn freeaddrinfo(__ai: *mut addrinfo); -} -#[pg_guard] -extern "C" { - pub fn gai_strerror(__ecode: ::std::os::raw::c_int) -> *const ::std::os::raw::c_char; -} -#[pg_guard] -extern "C" { - pub fn getnameinfo( - __sa: *const sockaddr, - __salen: socklen_t, - __host: *mut ::std::os::raw::c_char, - __hostlen: socklen_t, - __serv: *mut ::std::os::raw::c_char, - __servlen: socklen_t, - __flags: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; +#[repr(C)] +#[derive(Debug, Default, Copy, Clone)] +pub struct cmsghdr { + pub cmsg_len: socklen_t, + pub cmsg_level: ::std::os::raw::c_int, + pub cmsg_type: ::std::os::raw::c_int, } #[repr(C)] #[derive(Debug, Copy, Clone)] -pub struct passwd { - pub pw_name: *mut ::std::os::raw::c_char, - pub pw_passwd: *mut ::std::os::raw::c_char, - pub pw_uid: __uid_t, - pub pw_gid: __gid_t, - pub pw_gecos: *mut ::std::os::raw::c_char, - pub pw_dir: *mut ::std::os::raw::c_char, - pub pw_shell: *mut ::std::os::raw::c_char, +pub struct sf_hdtr { + pub headers: *mut iovec, + pub hdr_cnt: ::std::os::raw::c_int, + pub trailers: *mut iovec, + pub trl_cnt: ::std::os::raw::c_int, } -impl Default for passwd { +impl Default for sf_hdtr { fn default() -> Self { let mut s = ::std::mem::MaybeUninit::::uninit(); unsafe { @@ -6677,2206 +6841,2270 @@ impl Default for passwd { } #[pg_guard] extern "C" { - pub fn setpwent(); -} -#[pg_guard] -extern "C" { - pub fn endpwent(); -} -#[pg_guard] -extern "C" { - pub fn getpwent() -> *mut passwd; -} -#[pg_guard] -extern "C" { - pub fn fgetpwent(__stream: *mut FILE) -> *mut passwd; -} -#[pg_guard] -extern "C" { - pub fn putpwent(__p: *const passwd, __f: *mut FILE) -> ::std::os::raw::c_int; -} -#[pg_guard] -extern "C" { - pub fn getpwuid(__uid: __uid_t) -> *mut passwd; -} -#[pg_guard] -extern "C" { - pub fn getpwnam(__name: *const ::std::os::raw::c_char) -> *mut passwd; -} -#[pg_guard] -extern "C" { - pub fn getpwent_r( - __resultbuf: *mut passwd, - __buffer: *mut ::std::os::raw::c_char, - __buflen: usize, - __result: *mut *mut passwd, + pub fn accept( + arg1: ::std::os::raw::c_int, + arg2: *mut sockaddr, + arg3: *mut socklen_t, ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn getpwuid_r( - __uid: __uid_t, - __resultbuf: *mut passwd, - __buffer: *mut ::std::os::raw::c_char, - __buflen: usize, - __result: *mut *mut passwd, + pub fn bind( + arg1: ::std::os::raw::c_int, + arg2: *const sockaddr, + arg3: socklen_t, ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn getpwnam_r( - __name: *const ::std::os::raw::c_char, - __resultbuf: *mut passwd, - __buffer: *mut ::std::os::raw::c_char, - __buflen: usize, - __result: *mut *mut passwd, + pub fn connect( + arg1: ::std::os::raw::c_int, + arg2: *const sockaddr, + arg3: socklen_t, ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn fgetpwent_r( - __stream: *mut FILE, - __resultbuf: *mut passwd, - __buffer: *mut ::std::os::raw::c_char, - __buflen: usize, - __result: *mut *mut passwd, + pub fn getpeername( + arg1: ::std::os::raw::c_int, + arg2: *mut sockaddr, + arg3: *mut socklen_t, ) -> ::std::os::raw::c_int; } -pub type pgsocket = ::std::os::raw::c_int; -#[pg_guard] -extern "C" { - pub fn pg_set_noblock(sock: pgsocket) -> bool; -} -#[pg_guard] -extern "C" { - pub fn pg_set_block(sock: pgsocket) -> bool; -} -#[pg_guard] -extern "C" { - pub fn has_drive_prefix(filename: *const ::std::os::raw::c_char) -> bool; -} -#[pg_guard] -extern "C" { - pub fn first_dir_separator( - filename: *const ::std::os::raw::c_char, - ) -> *mut ::std::os::raw::c_char; -} -#[pg_guard] -extern "C" { - pub fn last_dir_separator( - filename: *const ::std::os::raw::c_char, - ) -> *mut ::std::os::raw::c_char; -} -#[pg_guard] -extern "C" { - pub fn first_path_var_separator( - pathlist: *const ::std::os::raw::c_char, - ) -> *mut ::std::os::raw::c_char; -} -#[pg_guard] -extern "C" { - pub fn join_path_components( - ret_path: *mut ::std::os::raw::c_char, - head: *const ::std::os::raw::c_char, - tail: *const ::std::os::raw::c_char, - ); -} -#[pg_guard] -extern "C" { - pub fn canonicalize_path(path: *mut ::std::os::raw::c_char); -} -#[pg_guard] -extern "C" { - pub fn make_native_path(path: *mut ::std::os::raw::c_char); -} -#[pg_guard] -extern "C" { - pub fn cleanup_path(path: *mut ::std::os::raw::c_char); -} -#[pg_guard] -extern "C" { - pub fn path_contains_parent_reference(path: *const ::std::os::raw::c_char) -> bool; -} -#[pg_guard] -extern "C" { - pub fn path_is_relative_and_below_cwd(path: *const ::std::os::raw::c_char) -> bool; -} -#[pg_guard] -extern "C" { - pub fn path_is_prefix_of_path( - path1: *const ::std::os::raw::c_char, - path2: *const ::std::os::raw::c_char, - ) -> bool; -} -#[pg_guard] -extern "C" { - pub fn make_absolute_path(path: *const ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; -} -#[pg_guard] -extern "C" { - pub fn get_progname(argv0: *const ::std::os::raw::c_char) -> *const ::std::os::raw::c_char; -} -#[pg_guard] -extern "C" { - pub fn get_share_path( - my_exec_path: *const ::std::os::raw::c_char, - ret_path: *mut ::std::os::raw::c_char, - ); -} -#[pg_guard] -extern "C" { - pub fn get_etc_path( - my_exec_path: *const ::std::os::raw::c_char, - ret_path: *mut ::std::os::raw::c_char, - ); -} -#[pg_guard] -extern "C" { - pub fn get_include_path( - my_exec_path: *const ::std::os::raw::c_char, - ret_path: *mut ::std::os::raw::c_char, - ); -} -#[pg_guard] -extern "C" { - pub fn get_pkginclude_path( - my_exec_path: *const ::std::os::raw::c_char, - ret_path: *mut ::std::os::raw::c_char, - ); -} -#[pg_guard] -extern "C" { - pub fn get_includeserver_path( - my_exec_path: *const ::std::os::raw::c_char, - ret_path: *mut ::std::os::raw::c_char, - ); -} -#[pg_guard] -extern "C" { - pub fn get_lib_path( - my_exec_path: *const ::std::os::raw::c_char, - ret_path: *mut ::std::os::raw::c_char, - ); -} -#[pg_guard] -extern "C" { - pub fn get_pkglib_path( - my_exec_path: *const ::std::os::raw::c_char, - ret_path: *mut ::std::os::raw::c_char, - ); -} -#[pg_guard] -extern "C" { - pub fn get_locale_path( - my_exec_path: *const ::std::os::raw::c_char, - ret_path: *mut ::std::os::raw::c_char, - ); -} -#[pg_guard] -extern "C" { - pub fn get_doc_path( - my_exec_path: *const ::std::os::raw::c_char, - ret_path: *mut ::std::os::raw::c_char, - ); -} -#[pg_guard] -extern "C" { - pub fn get_html_path( - my_exec_path: *const ::std::os::raw::c_char, - ret_path: *mut ::std::os::raw::c_char, - ); -} -#[pg_guard] -extern "C" { - pub fn get_man_path( - my_exec_path: *const ::std::os::raw::c_char, - ret_path: *mut ::std::os::raw::c_char, - ); -} -#[pg_guard] -extern "C" { - pub fn get_home_path(ret_path: *mut ::std::os::raw::c_char) -> bool; -} -#[pg_guard] -extern "C" { - pub fn get_parent_directory(path: *mut ::std::os::raw::c_char); -} #[pg_guard] extern "C" { - pub fn pgfnames(path: *const ::std::os::raw::c_char) -> *mut *mut ::std::os::raw::c_char; -} -#[pg_guard] -extern "C" { - pub fn pgfnames_cleanup(filenames: *mut *mut ::std::os::raw::c_char); -} -#[pg_guard] -extern "C" { - pub fn set_pglocale_pgservice( - argv0: *const ::std::os::raw::c_char, - app: *const ::std::os::raw::c_char, - ); -} -#[pg_guard] -extern "C" { - pub fn find_my_exec( - argv0: *const ::std::os::raw::c_char, - retpath: *mut ::std::os::raw::c_char, + pub fn getsockname( + arg1: ::std::os::raw::c_int, + arg2: *mut sockaddr, + arg3: *mut socklen_t, ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn find_other_exec( - argv0: *const ::std::os::raw::c_char, - target: *const ::std::os::raw::c_char, - versionstr: *const ::std::os::raw::c_char, - retpath: *mut ::std::os::raw::c_char, + pub fn getsockopt( + arg1: ::std::os::raw::c_int, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_void, + arg5: *mut socklen_t, ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn pg_usleep(microsec: ::std::os::raw::c_long); -} -#[pg_guard] -extern "C" { - pub fn pg_strcasecmp( - s1: *const ::std::os::raw::c_char, - s2: *const ::std::os::raw::c_char, + pub fn listen( + arg1: ::std::os::raw::c_int, + arg2: ::std::os::raw::c_int, ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn pg_strncasecmp( - s1: *const ::std::os::raw::c_char, - s2: *const ::std::os::raw::c_char, - n: usize, - ) -> ::std::os::raw::c_int; + pub fn recv( + arg1: ::std::os::raw::c_int, + arg2: *mut ::std::os::raw::c_void, + arg3: usize, + arg4: ::std::os::raw::c_int, + ) -> isize; } #[pg_guard] extern "C" { - pub fn pg_toupper(ch: ::std::os::raw::c_uchar) -> ::std::os::raw::c_uchar; + pub fn recvfrom( + arg1: ::std::os::raw::c_int, + arg2: *mut ::std::os::raw::c_void, + arg3: usize, + arg4: ::std::os::raw::c_int, + arg5: *mut sockaddr, + arg6: *mut socklen_t, + ) -> isize; } #[pg_guard] extern "C" { - pub fn pg_tolower(ch: ::std::os::raw::c_uchar) -> ::std::os::raw::c_uchar; + pub fn recvmsg( + arg1: ::std::os::raw::c_int, + arg2: *mut msghdr, + arg3: ::std::os::raw::c_int, + ) -> isize; } #[pg_guard] extern "C" { - pub fn pg_ascii_toupper(ch: ::std::os::raw::c_uchar) -> ::std::os::raw::c_uchar; + pub fn send( + arg1: ::std::os::raw::c_int, + arg2: *const ::std::os::raw::c_void, + arg3: usize, + arg4: ::std::os::raw::c_int, + ) -> isize; } #[pg_guard] extern "C" { - pub fn pg_ascii_tolower(ch: ::std::os::raw::c_uchar) -> ::std::os::raw::c_uchar; + pub fn sendmsg( + arg1: ::std::os::raw::c_int, + arg2: *const msghdr, + arg3: ::std::os::raw::c_int, + ) -> isize; } #[pg_guard] extern "C" { - pub fn pg_vsnprintf( - str_: *mut ::std::os::raw::c_char, - count: usize, - fmt: *const ::std::os::raw::c_char, - args: *mut __va_list_tag, - ) -> ::std::os::raw::c_int; + pub fn sendto( + arg1: ::std::os::raw::c_int, + arg2: *const ::std::os::raw::c_void, + arg3: usize, + arg4: ::std::os::raw::c_int, + arg5: *const sockaddr, + arg6: socklen_t, + ) -> isize; } #[pg_guard] extern "C" { - pub fn pg_snprintf( - str_: *mut ::std::os::raw::c_char, - count: usize, - fmt: *const ::std::os::raw::c_char, - ... + pub fn setsockopt( + arg1: ::std::os::raw::c_int, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + arg4: *const ::std::os::raw::c_void, + arg5: socklen_t, ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn pg_vsprintf( - str_: *mut ::std::os::raw::c_char, - fmt: *const ::std::os::raw::c_char, - args: *mut __va_list_tag, + pub fn shutdown( + arg1: ::std::os::raw::c_int, + arg2: ::std::os::raw::c_int, ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn pg_sprintf( - str_: *mut ::std::os::raw::c_char, - fmt: *const ::std::os::raw::c_char, - ... - ) -> ::std::os::raw::c_int; + pub fn sockatmark(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn pg_vfprintf( - stream: *mut FILE, - fmt: *const ::std::os::raw::c_char, - args: *mut __va_list_tag, + pub fn socket( + arg1: ::std::os::raw::c_int, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn pg_fprintf( - stream: *mut FILE, - fmt: *const ::std::os::raw::c_char, - ... + pub fn socketpair( + arg1: ::std::os::raw::c_int, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn pg_vprintf( - fmt: *const ::std::os::raw::c_char, - args: *mut __va_list_tag, + pub fn sendfile( + arg1: ::std::os::raw::c_int, + arg2: ::std::os::raw::c_int, + arg3: off_t, + arg4: *mut off_t, + arg5: *mut sf_hdtr, + arg6: ::std::os::raw::c_int, ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn pg_printf(fmt: *const ::std::os::raw::c_char, ...) -> ::std::os::raw::c_int; + pub fn pfctlinput(arg1: ::std::os::raw::c_int, arg2: *mut sockaddr); } #[pg_guard] extern "C" { - pub fn pg_strfromd( - str_: *mut ::std::os::raw::c_char, - count: usize, - precision: ::std::os::raw::c_int, - value: f64, + pub fn connectx( + arg1: ::std::os::raw::c_int, + arg2: *const sa_endpoints_t, + arg3: sae_associd_t, + arg4: ::std::os::raw::c_uint, + arg5: *const iovec, + arg6: ::std::os::raw::c_uint, + arg7: *mut usize, + arg8: *mut sae_connid_t, ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn pg_strerror(errnum: ::std::os::raw::c_int) -> *mut ::std::os::raw::c_char; -} -#[pg_guard] -extern "C" { - pub fn pg_strerror_r( - errnum: ::std::os::raw::c_int, - buf: *mut ::std::os::raw::c_char, - buflen: usize, - ) -> *mut ::std::os::raw::c_char; -} -#[pg_guard] -extern "C" { - pub fn pg_strsignal(signum: ::std::os::raw::c_int) -> *const ::std::os::raw::c_char; -} -#[pg_guard] -extern "C" { - pub fn simple_prompt( - prompt: *const ::std::os::raw::c_char, - destination: *mut ::std::os::raw::c_char, - destlen: usize, - echo: bool, - ); -} -#[pg_guard] -extern "C" { - pub fn pclose_check(stream: *mut FILE) -> ::std::os::raw::c_int; -} -#[pg_guard] -extern "C" { - pub fn rmtree(path: *const ::std::os::raw::c_char, rmtopdir: bool) -> bool; -} -#[pg_guard] -extern "C" { - pub fn pg_erand48(xseed: *mut ::std::os::raw::c_ushort) -> f64; -} -#[pg_guard] -extern "C" { - pub fn pg_lrand48() -> ::std::os::raw::c_long; -} -#[pg_guard] -extern "C" { - pub fn pg_jrand48(xseed: *mut ::std::os::raw::c_ushort) -> ::std::os::raw::c_long; -} -#[pg_guard] -extern "C" { - pub fn pg_srand48(seed: ::std::os::raw::c_long); -} -#[pg_guard] -extern "C" { - pub fn fls(mask: ::std::os::raw::c_int) -> ::std::os::raw::c_int; -} -#[pg_guard] -extern "C" { - pub fn getpeereid( - sock: ::std::os::raw::c_int, - uid: *mut uid_t, - gid: *mut gid_t, + pub fn disconnectx( + arg1: ::std::os::raw::c_int, + arg2: sae_associd_t, + arg3: sae_connid_t, ) -> ::std::os::raw::c_int; } -pub type float_t = f32; -pub type double_t = f64; -#[pg_guard] -extern "C" { - pub fn __fpclassify(__value: f64) -> ::std::os::raw::c_int; +#[repr(C)] +#[derive(Debug, Default, Copy, Clone)] +pub struct in_addr { + pub s_addr: in_addr_t, } -#[pg_guard] -extern "C" { - pub fn __signbit(__value: f64) -> ::std::os::raw::c_int; +#[repr(C)] +#[derive(Debug, Default, Copy, Clone)] +pub struct sockaddr_in { + pub sin_len: __uint8_t, + pub sin_family: sa_family_t, + pub sin_port: in_port_t, + pub sin_addr: in_addr, + pub sin_zero: [::std::os::raw::c_char; 8usize], } -#[pg_guard] -extern "C" { - pub fn __isinf(__value: f64) -> ::std::os::raw::c_int; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct ip_opts { + pub ip_dst: in_addr, + pub ip_opts: [::std::os::raw::c_char; 40usize], } -#[pg_guard] -extern "C" { - pub fn __finite(__value: f64) -> ::std::os::raw::c_int; +impl Default for ip_opts { + fn default() -> Self { + let mut s = ::std::mem::MaybeUninit::::uninit(); + unsafe { + ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); + s.assume_init() + } + } } -#[pg_guard] -extern "C" { - pub fn __isnan(__value: f64) -> ::std::os::raw::c_int; +#[repr(C)] +#[derive(Debug, Default, Copy, Clone)] +pub struct ip_mreq { + pub imr_multiaddr: in_addr, + pub imr_interface: in_addr, } -#[pg_guard] -extern "C" { - pub fn __iseqsig(__x: f64, __y: f64) -> ::std::os::raw::c_int; +#[repr(C)] +#[derive(Debug, Default, Copy, Clone)] +pub struct ip_mreqn { + pub imr_multiaddr: in_addr, + pub imr_address: in_addr, + pub imr_ifindex: ::std::os::raw::c_int, } -#[pg_guard] -extern "C" { - pub fn __issignaling(__value: f64) -> ::std::os::raw::c_int; +#[repr(C)] +#[derive(Debug, Default, Copy, Clone)] +pub struct ip_mreq_source { + pub imr_multiaddr: in_addr, + pub imr_sourceaddr: in_addr, + pub imr_interface: in_addr, } -#[pg_guard] -extern "C" { - pub fn acos(__x: f64) -> f64; +#[repr(C, packed(4))] +#[derive(Debug, Copy, Clone)] +pub struct group_req { + pub gr_interface: u32, + pub gr_group: sockaddr_storage, } -#[pg_guard] -extern "C" { - pub fn __acos(__x: f64) -> f64; +impl Default for group_req { + fn default() -> Self { + let mut s = ::std::mem::MaybeUninit::::uninit(); + unsafe { + ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); + s.assume_init() + } + } } -#[pg_guard] -extern "C" { - pub fn asin(__x: f64) -> f64; +#[repr(C, packed(4))] +#[derive(Debug, Copy, Clone)] +pub struct group_source_req { + pub gsr_interface: u32, + pub gsr_group: sockaddr_storage, + pub gsr_source: sockaddr_storage, } -#[pg_guard] -extern "C" { - pub fn __asin(__x: f64) -> f64; +impl Default for group_source_req { + fn default() -> Self { + let mut s = ::std::mem::MaybeUninit::::uninit(); + unsafe { + ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); + s.assume_init() + } + } } -#[pg_guard] -extern "C" { - pub fn atan(__x: f64) -> f64; +#[repr(C, packed(4))] +#[derive(Debug, Copy, Clone)] +pub struct __msfilterreq { + pub msfr_ifindex: u32, + pub msfr_fmode: u32, + pub msfr_nsrcs: u32, + pub __msfr_align: u32, + pub msfr_group: sockaddr_storage, + pub msfr_srcs: *mut sockaddr_storage, } -#[pg_guard] -extern "C" { - pub fn __atan(__x: f64) -> f64; +impl Default for __msfilterreq { + fn default() -> Self { + let mut s = ::std::mem::MaybeUninit::::uninit(); + unsafe { + ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); + s.assume_init() + } + } } #[pg_guard] extern "C" { - pub fn atan2(__y: f64, __x: f64) -> f64; + pub fn setipv4sourcefilter( + arg1: ::std::os::raw::c_int, + arg2: in_addr, + arg3: in_addr, + arg4: u32, + arg5: u32, + arg6: *mut in_addr, + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn __atan2(__y: f64, __x: f64) -> f64; + pub fn getipv4sourcefilter( + arg1: ::std::os::raw::c_int, + arg2: in_addr, + arg3: in_addr, + arg4: *mut u32, + arg5: *mut u32, + arg6: *mut in_addr, + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn cos(__x: f64) -> f64; + pub fn setsourcefilter( + arg1: ::std::os::raw::c_int, + arg2: u32, + arg3: *mut sockaddr, + arg4: socklen_t, + arg5: u32, + arg6: u32, + arg7: *mut sockaddr_storage, + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn __cos(__x: f64) -> f64; + pub fn getsourcefilter( + arg1: ::std::os::raw::c_int, + arg2: u32, + arg3: *mut sockaddr, + arg4: socklen_t, + arg5: *mut u32, + arg6: *mut u32, + arg7: *mut sockaddr_storage, + ) -> ::std::os::raw::c_int; } -#[pg_guard] -extern "C" { - pub fn sin(__x: f64) -> f64; +#[repr(C)] +#[derive(Debug, Default, Copy, Clone)] +pub struct in_pktinfo { + pub ipi_ifindex: ::std::os::raw::c_uint, + pub ipi_spec_dst: in_addr, + pub ipi_addr: in_addr, } -#[pg_guard] -extern "C" { - pub fn __sin(__x: f64) -> f64; +#[repr(C)] +#[derive(Copy, Clone)] +pub struct in6_addr { + pub __u6_addr: in6_addr__bindgen_ty_1, } -#[pg_guard] -extern "C" { - pub fn tan(__x: f64) -> f64; +#[repr(C)] +#[derive(Copy, Clone)] +pub union in6_addr__bindgen_ty_1 { + pub __u6_addr8: [__uint8_t; 16usize], + pub __u6_addr16: [__uint16_t; 8usize], + pub __u6_addr32: [__uint32_t; 4usize], } -#[pg_guard] -extern "C" { - pub fn __tan(__x: f64) -> f64; +impl Default for in6_addr__bindgen_ty_1 { + fn default() -> Self { + let mut s = ::std::mem::MaybeUninit::::uninit(); + unsafe { + ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); + s.assume_init() + } + } } -#[pg_guard] -extern "C" { - pub fn cosh(__x: f64) -> f64; +impl Default for in6_addr { + fn default() -> Self { + let mut s = ::std::mem::MaybeUninit::::uninit(); + unsafe { + ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); + s.assume_init() + } + } } -#[pg_guard] -extern "C" { - pub fn __cosh(__x: f64) -> f64; +pub type in6_addr_t = in6_addr; +#[repr(C)] +#[derive(Copy, Clone)] +pub struct sockaddr_in6 { + pub sin6_len: __uint8_t, + pub sin6_family: sa_family_t, + pub sin6_port: in_port_t, + pub sin6_flowinfo: __uint32_t, + pub sin6_addr: in6_addr, + pub sin6_scope_id: __uint32_t, } -#[pg_guard] -extern "C" { - pub fn sinh(__x: f64) -> f64; +impl Default for sockaddr_in6 { + fn default() -> Self { + let mut s = ::std::mem::MaybeUninit::::uninit(); + unsafe { + ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); + s.assume_init() + } + } } #[pg_guard] extern "C" { - pub fn __sinh(__x: f64) -> f64; + pub static in6addr_any: in6_addr; } #[pg_guard] extern "C" { - pub fn tanh(__x: f64) -> f64; + pub static in6addr_loopback: in6_addr; } #[pg_guard] extern "C" { - pub fn __tanh(__x: f64) -> f64; + pub static in6addr_nodelocal_allnodes: in6_addr; } #[pg_guard] extern "C" { - pub fn acosh(__x: f64) -> f64; + pub static in6addr_linklocal_allnodes: in6_addr; } #[pg_guard] extern "C" { - pub fn __acosh(__x: f64) -> f64; + pub static in6addr_linklocal_allrouters: in6_addr; } #[pg_guard] extern "C" { - pub fn asinh(__x: f64) -> f64; + pub static in6addr_linklocal_allv2routers: in6_addr; } -#[pg_guard] -extern "C" { - pub fn __asinh(__x: f64) -> f64; +#[repr(C)] +#[derive(Copy, Clone)] +pub struct ipv6_mreq { + pub ipv6mr_multiaddr: in6_addr, + pub ipv6mr_interface: ::std::os::raw::c_uint, } -#[pg_guard] -extern "C" { - pub fn atanh(__x: f64) -> f64; +impl Default for ipv6_mreq { + fn default() -> Self { + let mut s = ::std::mem::MaybeUninit::::uninit(); + unsafe { + ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); + s.assume_init() + } + } } -#[pg_guard] -extern "C" { - pub fn __atanh(__x: f64) -> f64; +#[repr(C)] +#[derive(Copy, Clone)] +pub struct in6_pktinfo { + pub ipi6_addr: in6_addr, + pub ipi6_ifindex: ::std::os::raw::c_uint, } -#[pg_guard] -extern "C" { - pub fn exp(__x: f64) -> f64; +impl Default for in6_pktinfo { + fn default() -> Self { + let mut s = ::std::mem::MaybeUninit::::uninit(); + unsafe { + ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); + s.assume_init() + } + } } -#[pg_guard] -extern "C" { - pub fn __exp(__x: f64) -> f64; +#[repr(C)] +#[derive(Copy, Clone)] +pub struct ip6_mtuinfo { + pub ip6m_addr: sockaddr_in6, + pub ip6m_mtu: u32, } -#[pg_guard] -extern "C" { - pub fn frexp(__x: f64, __exponent: *mut ::std::os::raw::c_int) -> f64; +impl Default for ip6_mtuinfo { + fn default() -> Self { + let mut s = ::std::mem::MaybeUninit::::uninit(); + unsafe { + ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); + s.assume_init() + } + } } #[pg_guard] extern "C" { - pub fn __frexp(__x: f64, __exponent: *mut ::std::os::raw::c_int) -> f64; + pub fn inet6_option_space(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn ldexp(__x: f64, __exponent: ::std::os::raw::c_int) -> f64; + pub fn inet6_option_init( + arg1: *mut ::std::os::raw::c_void, + arg2: *mut *mut cmsghdr, + arg3: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn __ldexp(__x: f64, __exponent: ::std::os::raw::c_int) -> f64; + pub fn inet6_option_append( + arg1: *mut cmsghdr, + arg2: *const __uint8_t, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn log(__x: f64) -> f64; + pub fn inet6_option_alloc( + arg1: *mut cmsghdr, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> *mut __uint8_t; } #[pg_guard] extern "C" { - pub fn __log(__x: f64) -> f64; + pub fn inet6_option_next( + arg1: *const cmsghdr, + arg2: *mut *mut __uint8_t, + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn log10(__x: f64) -> f64; + pub fn inet6_option_find( + arg1: *const cmsghdr, + arg2: *mut *mut __uint8_t, + arg3: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn __log10(__x: f64) -> f64; + pub fn inet6_rthdr_space(arg1: ::std::os::raw::c_int, arg2: ::std::os::raw::c_int) -> usize; } #[pg_guard] extern "C" { - pub fn modf(__x: f64, __iptr: *mut f64) -> f64; + pub fn inet6_rthdr_init( + arg1: *mut ::std::os::raw::c_void, + arg2: ::std::os::raw::c_int, + ) -> *mut cmsghdr; } #[pg_guard] extern "C" { - pub fn __modf(__x: f64, __iptr: *mut f64) -> f64; + pub fn inet6_rthdr_add( + arg1: *mut cmsghdr, + arg2: *const in6_addr, + arg3: ::std::os::raw::c_uint, + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn expm1(__x: f64) -> f64; + pub fn inet6_rthdr_lasthop( + arg1: *mut cmsghdr, + arg2: ::std::os::raw::c_uint, + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn __expm1(__x: f64) -> f64; + pub fn inet6_rthdr_segments(arg1: *const cmsghdr) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn log1p(__x: f64) -> f64; + pub fn inet6_rthdr_getaddr(arg1: *mut cmsghdr, arg2: ::std::os::raw::c_int) -> *mut in6_addr; } #[pg_guard] extern "C" { - pub fn __log1p(__x: f64) -> f64; + pub fn inet6_rthdr_getflags( + arg1: *const cmsghdr, + arg2: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn logb(__x: f64) -> f64; + pub fn inet6_opt_init( + arg1: *mut ::std::os::raw::c_void, + arg2: socklen_t, + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn __logb(__x: f64) -> f64; + pub fn inet6_opt_append( + arg1: *mut ::std::os::raw::c_void, + arg2: socklen_t, + arg3: ::std::os::raw::c_int, + arg4: __uint8_t, + arg5: socklen_t, + arg6: __uint8_t, + arg7: *mut *mut ::std::os::raw::c_void, + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn exp2(__x: f64) -> f64; + pub fn inet6_opt_finish( + arg1: *mut ::std::os::raw::c_void, + arg2: socklen_t, + arg3: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn __exp2(__x: f64) -> f64; + pub fn inet6_opt_set_val( + arg1: *mut ::std::os::raw::c_void, + arg2: ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_void, + arg4: socklen_t, + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn log2(__x: f64) -> f64; + pub fn inet6_opt_next( + arg1: *mut ::std::os::raw::c_void, + arg2: socklen_t, + arg3: ::std::os::raw::c_int, + arg4: *mut __uint8_t, + arg5: *mut socklen_t, + arg6: *mut *mut ::std::os::raw::c_void, + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn __log2(__x: f64) -> f64; + pub fn inet6_opt_find( + arg1: *mut ::std::os::raw::c_void, + arg2: socklen_t, + arg3: ::std::os::raw::c_int, + arg4: __uint8_t, + arg5: *mut socklen_t, + arg6: *mut *mut ::std::os::raw::c_void, + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn pow(__x: f64, __y: f64) -> f64; + pub fn inet6_opt_get_val( + arg1: *mut ::std::os::raw::c_void, + arg2: ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_void, + arg4: socklen_t, + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn __pow(__x: f64, __y: f64) -> f64; + pub fn inet6_rth_space(arg1: ::std::os::raw::c_int, arg2: ::std::os::raw::c_int) -> socklen_t; } #[pg_guard] extern "C" { - pub fn sqrt(__x: f64) -> f64; + pub fn inet6_rth_init( + arg1: *mut ::std::os::raw::c_void, + arg2: socklen_t, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> *mut ::std::os::raw::c_void; } #[pg_guard] extern "C" { - pub fn __sqrt(__x: f64) -> f64; + pub fn inet6_rth_add( + arg1: *mut ::std::os::raw::c_void, + arg2: *const in6_addr, + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn hypot(__x: f64, __y: f64) -> f64; + pub fn inet6_rth_reverse( + arg1: *const ::std::os::raw::c_void, + arg2: *mut ::std::os::raw::c_void, + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn __hypot(__x: f64, __y: f64) -> f64; + pub fn inet6_rth_segments(arg1: *const ::std::os::raw::c_void) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn cbrt(__x: f64) -> f64; + pub fn inet6_rth_getaddr( + arg1: *const ::std::os::raw::c_void, + arg2: ::std::os::raw::c_int, + ) -> *mut in6_addr; } #[pg_guard] extern "C" { - pub fn __cbrt(__x: f64) -> f64; + pub fn bindresvport( + arg1: ::std::os::raw::c_int, + arg2: *mut sockaddr_in, + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn ceil(__x: f64) -> f64; + pub fn bindresvport_sa( + arg1: ::std::os::raw::c_int, + arg2: *mut sockaddr, + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn __ceil(__x: f64) -> f64; + pub static mut h_errno: ::std::os::raw::c_int; } -#[pg_guard] -extern "C" { - pub fn fabs(__x: f64) -> f64; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct hostent { + pub h_name: *mut ::std::os::raw::c_char, + pub h_aliases: *mut *mut ::std::os::raw::c_char, + pub h_addrtype: ::std::os::raw::c_int, + pub h_length: ::std::os::raw::c_int, + pub h_addr_list: *mut *mut ::std::os::raw::c_char, } -#[pg_guard] -extern "C" { - pub fn __fabs(__x: f64) -> f64; +impl Default for hostent { + fn default() -> Self { + let mut s = ::std::mem::MaybeUninit::::uninit(); + unsafe { + ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); + s.assume_init() + } + } } -#[pg_guard] -extern "C" { - pub fn floor(__x: f64) -> f64; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct netent { + pub n_name: *mut ::std::os::raw::c_char, + pub n_aliases: *mut *mut ::std::os::raw::c_char, + pub n_addrtype: ::std::os::raw::c_int, + pub n_net: u32, } -#[pg_guard] -extern "C" { - pub fn __floor(__x: f64) -> f64; +impl Default for netent { + fn default() -> Self { + let mut s = ::std::mem::MaybeUninit::::uninit(); + unsafe { + ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); + s.assume_init() + } + } } -#[pg_guard] -extern "C" { - pub fn fmod(__x: f64, __y: f64) -> f64; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct servent { + pub s_name: *mut ::std::os::raw::c_char, + pub s_aliases: *mut *mut ::std::os::raw::c_char, + pub s_port: ::std::os::raw::c_int, + pub s_proto: *mut ::std::os::raw::c_char, } -#[pg_guard] -extern "C" { - pub fn __fmod(__x: f64, __y: f64) -> f64; +impl Default for servent { + fn default() -> Self { + let mut s = ::std::mem::MaybeUninit::::uninit(); + unsafe { + ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); + s.assume_init() + } + } } -#[pg_guard] -extern "C" { - pub fn isinf(__value: f64) -> ::std::os::raw::c_int; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct protoent { + pub p_name: *mut ::std::os::raw::c_char, + pub p_aliases: *mut *mut ::std::os::raw::c_char, + pub p_proto: ::std::os::raw::c_int, } -#[pg_guard] -extern "C" { - pub fn finite(__value: f64) -> ::std::os::raw::c_int; +impl Default for protoent { + fn default() -> Self { + let mut s = ::std::mem::MaybeUninit::::uninit(); + unsafe { + ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); + s.assume_init() + } + } } -#[pg_guard] -extern "C" { - pub fn drem(__x: f64, __y: f64) -> f64; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct addrinfo { + pub ai_flags: ::std::os::raw::c_int, + pub ai_family: ::std::os::raw::c_int, + pub ai_socktype: ::std::os::raw::c_int, + pub ai_protocol: ::std::os::raw::c_int, + pub ai_addrlen: socklen_t, + pub ai_canonname: *mut ::std::os::raw::c_char, + pub ai_addr: *mut sockaddr, + pub ai_next: *mut addrinfo, } -#[pg_guard] -extern "C" { - pub fn __drem(__x: f64, __y: f64) -> f64; +impl Default for addrinfo { + fn default() -> Self { + let mut s = ::std::mem::MaybeUninit::::uninit(); + unsafe { + ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); + s.assume_init() + } + } } -#[pg_guard] -extern "C" { - pub fn significand(__x: f64) -> f64; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct rpcent { + pub r_name: *mut ::std::os::raw::c_char, + pub r_aliases: *mut *mut ::std::os::raw::c_char, + pub r_number: ::std::os::raw::c_int, } -#[pg_guard] -extern "C" { - pub fn __significand(__x: f64) -> f64; +impl Default for rpcent { + fn default() -> Self { + let mut s = ::std::mem::MaybeUninit::::uninit(); + unsafe { + ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); + s.assume_init() + } + } } #[pg_guard] extern "C" { - pub fn copysign(__x: f64, __y: f64) -> f64; + pub fn endhostent(); } #[pg_guard] extern "C" { - pub fn __copysign(__x: f64, __y: f64) -> f64; + pub fn endnetent(); } #[pg_guard] extern "C" { - pub fn nan(__tagb: *const ::std::os::raw::c_char) -> f64; + pub fn endprotoent(); } #[pg_guard] extern "C" { - pub fn __nan(__tagb: *const ::std::os::raw::c_char) -> f64; + pub fn endservent(); } #[pg_guard] extern "C" { - pub fn isnan(__value: f64) -> ::std::os::raw::c_int; + pub fn freeaddrinfo(arg1: *mut addrinfo); } #[pg_guard] extern "C" { - pub fn j0(arg1: f64) -> f64; + pub fn gai_strerror(arg1: ::std::os::raw::c_int) -> *const ::std::os::raw::c_char; } #[pg_guard] extern "C" { - pub fn __j0(arg1: f64) -> f64; + pub fn getaddrinfo( + arg1: *const ::std::os::raw::c_char, + arg2: *const ::std::os::raw::c_char, + arg3: *const addrinfo, + arg4: *mut *mut addrinfo, + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn j1(arg1: f64) -> f64; + pub fn gethostbyaddr( + arg1: *const ::std::os::raw::c_void, + arg2: socklen_t, + arg3: ::std::os::raw::c_int, + ) -> *mut hostent; } #[pg_guard] extern "C" { - pub fn __j1(arg1: f64) -> f64; + pub fn gethostbyname(arg1: *const ::std::os::raw::c_char) -> *mut hostent; } #[pg_guard] extern "C" { - pub fn jn(arg1: ::std::os::raw::c_int, arg2: f64) -> f64; + pub fn gethostent() -> *mut hostent; } #[pg_guard] extern "C" { - pub fn __jn(arg1: ::std::os::raw::c_int, arg2: f64) -> f64; + pub fn getnameinfo( + arg1: *const sockaddr, + arg2: socklen_t, + arg3: *mut ::std::os::raw::c_char, + arg4: socklen_t, + arg5: *mut ::std::os::raw::c_char, + arg6: socklen_t, + arg7: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn y0(arg1: f64) -> f64; + pub fn getnetbyaddr(arg1: u32, arg2: ::std::os::raw::c_int) -> *mut netent; } #[pg_guard] extern "C" { - pub fn __y0(arg1: f64) -> f64; + pub fn getnetbyname(arg1: *const ::std::os::raw::c_char) -> *mut netent; } #[pg_guard] extern "C" { - pub fn y1(arg1: f64) -> f64; + pub fn getnetent() -> *mut netent; } #[pg_guard] extern "C" { - pub fn __y1(arg1: f64) -> f64; + pub fn getprotobyname(arg1: *const ::std::os::raw::c_char) -> *mut protoent; } #[pg_guard] extern "C" { - pub fn yn(arg1: ::std::os::raw::c_int, arg2: f64) -> f64; + pub fn getprotobynumber(arg1: ::std::os::raw::c_int) -> *mut protoent; } #[pg_guard] extern "C" { - pub fn __yn(arg1: ::std::os::raw::c_int, arg2: f64) -> f64; + pub fn getprotoent() -> *mut protoent; } #[pg_guard] extern "C" { - pub fn erf(arg1: f64) -> f64; + pub fn getservbyname( + arg1: *const ::std::os::raw::c_char, + arg2: *const ::std::os::raw::c_char, + ) -> *mut servent; } #[pg_guard] extern "C" { - pub fn __erf(arg1: f64) -> f64; + pub fn getservbyport( + arg1: ::std::os::raw::c_int, + arg2: *const ::std::os::raw::c_char, + ) -> *mut servent; } #[pg_guard] extern "C" { - pub fn erfc(arg1: f64) -> f64; + pub fn getservent() -> *mut servent; } #[pg_guard] extern "C" { - pub fn __erfc(arg1: f64) -> f64; + pub fn sethostent(arg1: ::std::os::raw::c_int); } #[pg_guard] extern "C" { - pub fn lgamma(arg1: f64) -> f64; + pub fn setnetent(arg1: ::std::os::raw::c_int); } #[pg_guard] extern "C" { - pub fn __lgamma(arg1: f64) -> f64; + pub fn setprotoent(arg1: ::std::os::raw::c_int); } #[pg_guard] extern "C" { - pub fn tgamma(arg1: f64) -> f64; + pub fn setservent(arg1: ::std::os::raw::c_int); } #[pg_guard] extern "C" { - pub fn __tgamma(arg1: f64) -> f64; + pub fn freehostent(arg1: *mut hostent); } #[pg_guard] extern "C" { - pub fn gamma(arg1: f64) -> f64; + pub fn gethostbyname2( + arg1: *const ::std::os::raw::c_char, + arg2: ::std::os::raw::c_int, + ) -> *mut hostent; } #[pg_guard] extern "C" { - pub fn __gamma(arg1: f64) -> f64; + pub fn getipnodebyaddr( + arg1: *const ::std::os::raw::c_void, + arg2: usize, + arg3: ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + ) -> *mut hostent; } #[pg_guard] extern "C" { - pub fn lgamma_r(arg1: f64, __signgamp: *mut ::std::os::raw::c_int) -> f64; + pub fn getipnodebyname( + arg1: *const ::std::os::raw::c_char, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + ) -> *mut hostent; } #[pg_guard] extern "C" { - pub fn __lgamma_r(arg1: f64, __signgamp: *mut ::std::os::raw::c_int) -> f64; + pub fn getrpcbyname(name: *const ::std::os::raw::c_char) -> *mut rpcent; } #[pg_guard] extern "C" { - pub fn rint(__x: f64) -> f64; + pub fn getrpcbynumber(number: ::std::os::raw::c_int) -> *mut rpcent; } #[pg_guard] extern "C" { - pub fn __rint(__x: f64) -> f64; + pub fn getrpcent() -> *mut rpcent; } #[pg_guard] extern "C" { - pub fn nextafter(__x: f64, __y: f64) -> f64; + pub fn setrpcent(stayopen: ::std::os::raw::c_int); } #[pg_guard] extern "C" { - pub fn __nextafter(__x: f64, __y: f64) -> f64; + pub fn endrpcent(); } #[pg_guard] extern "C" { - pub fn nexttoward(__x: f64, __y: u128) -> f64; + pub fn herror(arg1: *const ::std::os::raw::c_char); } #[pg_guard] extern "C" { - pub fn __nexttoward(__x: f64, __y: u128) -> f64; + pub fn hstrerror(arg1: ::std::os::raw::c_int) -> *const ::std::os::raw::c_char; } #[pg_guard] extern "C" { - pub fn remainder(__x: f64, __y: f64) -> f64; + pub fn innetgr( + arg1: *const ::std::os::raw::c_char, + arg2: *const ::std::os::raw::c_char, + arg3: *const ::std::os::raw::c_char, + arg4: *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn __remainder(__x: f64, __y: f64) -> f64; + pub fn getnetgrent( + arg1: *mut *mut ::std::os::raw::c_char, + arg2: *mut *mut ::std::os::raw::c_char, + arg3: *mut *mut ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn scalbn(__x: f64, __n: ::std::os::raw::c_int) -> f64; + pub fn endnetgrent(); } #[pg_guard] extern "C" { - pub fn __scalbn(__x: f64, __n: ::std::os::raw::c_int) -> f64; + pub fn setnetgrent(arg1: *const ::std::os::raw::c_char); } -#[pg_guard] -extern "C" { - pub fn ilogb(__x: f64) -> ::std::os::raw::c_int; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct passwd { + pub pw_name: *mut ::std::os::raw::c_char, + pub pw_passwd: *mut ::std::os::raw::c_char, + pub pw_uid: uid_t, + pub pw_gid: gid_t, + pub pw_change: __darwin_time_t, + pub pw_class: *mut ::std::os::raw::c_char, + pub pw_gecos: *mut ::std::os::raw::c_char, + pub pw_dir: *mut ::std::os::raw::c_char, + pub pw_shell: *mut ::std::os::raw::c_char, + pub pw_expire: __darwin_time_t, } -#[pg_guard] -extern "C" { - pub fn __ilogb(__x: f64) -> ::std::os::raw::c_int; +impl Default for passwd { + fn default() -> Self { + let mut s = ::std::mem::MaybeUninit::::uninit(); + unsafe { + ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); + s.assume_init() + } + } } #[pg_guard] extern "C" { - pub fn scalbln(__x: f64, __n: ::std::os::raw::c_long) -> f64; + pub fn getpwuid(arg1: uid_t) -> *mut passwd; } #[pg_guard] extern "C" { - pub fn __scalbln(__x: f64, __n: ::std::os::raw::c_long) -> f64; + pub fn getpwnam(arg1: *const ::std::os::raw::c_char) -> *mut passwd; } #[pg_guard] extern "C" { - pub fn nearbyint(__x: f64) -> f64; + pub fn getpwuid_r( + arg1: uid_t, + arg2: *mut passwd, + arg3: *mut ::std::os::raw::c_char, + arg4: usize, + arg5: *mut *mut passwd, + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn __nearbyint(__x: f64) -> f64; + pub fn getpwnam_r( + arg1: *const ::std::os::raw::c_char, + arg2: *mut passwd, + arg3: *mut ::std::os::raw::c_char, + arg4: usize, + arg5: *mut *mut passwd, + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn round(__x: f64) -> f64; + pub fn getpwent() -> *mut passwd; } #[pg_guard] extern "C" { - pub fn __round(__x: f64) -> f64; + pub fn setpwent(); } #[pg_guard] extern "C" { - pub fn trunc(__x: f64) -> f64; + pub fn endpwent(); } +pub type uuid_t = __darwin_uuid_t; +pub type uuid_string_t = __darwin_uuid_string_t; #[pg_guard] extern "C" { - pub fn __trunc(__x: f64) -> f64; + pub static UUID_NULL: uuid_t; } #[pg_guard] extern "C" { - pub fn remquo(__x: f64, __y: f64, __quo: *mut ::std::os::raw::c_int) -> f64; + pub fn uuid_clear(uu: *mut ::std::os::raw::c_uchar); } #[pg_guard] extern "C" { - pub fn __remquo(__x: f64, __y: f64, __quo: *mut ::std::os::raw::c_int) -> f64; + pub fn uuid_compare( + uu1: *mut ::std::os::raw::c_uchar, + uu2: *mut ::std::os::raw::c_uchar, + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn lrint(__x: f64) -> ::std::os::raw::c_long; + pub fn uuid_copy(dst: *mut ::std::os::raw::c_uchar, src: *mut ::std::os::raw::c_uchar); } #[pg_guard] extern "C" { - pub fn __lrint(__x: f64) -> ::std::os::raw::c_long; + pub fn uuid_generate(out: *mut ::std::os::raw::c_uchar); } #[pg_guard] extern "C" { - pub fn llrint(__x: f64) -> ::std::os::raw::c_longlong; + pub fn uuid_generate_random(out: *mut ::std::os::raw::c_uchar); } #[pg_guard] extern "C" { - pub fn __llrint(__x: f64) -> ::std::os::raw::c_longlong; + pub fn uuid_generate_time(out: *mut ::std::os::raw::c_uchar); } #[pg_guard] extern "C" { - pub fn lround(__x: f64) -> ::std::os::raw::c_long; + pub fn uuid_is_null(uu: *mut ::std::os::raw::c_uchar) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn __lround(__x: f64) -> ::std::os::raw::c_long; + pub fn uuid_parse( + in_: *mut ::std::os::raw::c_char, + uu: *mut ::std::os::raw::c_uchar, + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn llround(__x: f64) -> ::std::os::raw::c_longlong; + pub fn uuid_unparse(uu: *mut ::std::os::raw::c_uchar, out: *mut ::std::os::raw::c_char); } #[pg_guard] extern "C" { - pub fn __llround(__x: f64) -> ::std::os::raw::c_longlong; + pub fn uuid_unparse_lower(uu: *mut ::std::os::raw::c_uchar, out: *mut ::std::os::raw::c_char); } #[pg_guard] extern "C" { - pub fn fdim(__x: f64, __y: f64) -> f64; + pub fn uuid_unparse_upper(uu: *mut ::std::os::raw::c_uchar, out: *mut ::std::os::raw::c_char); } #[pg_guard] extern "C" { - pub fn __fdim(__x: f64, __y: f64) -> f64; + pub fn setpassent(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn fmax(__x: f64, __y: f64) -> f64; + pub fn user_from_uid(arg1: uid_t, arg2: ::std::os::raw::c_int) -> *mut ::std::os::raw::c_char; } #[pg_guard] extern "C" { - pub fn __fmax(__x: f64, __y: f64) -> f64; + pub fn getpwuuid(arg1: *mut ::std::os::raw::c_uchar) -> *mut passwd; } #[pg_guard] extern "C" { - pub fn fmin(__x: f64, __y: f64) -> f64; + pub fn getpwuuid_r( + arg1: *mut ::std::os::raw::c_uchar, + arg2: *mut passwd, + arg3: *mut ::std::os::raw::c_char, + arg4: usize, + arg5: *mut *mut passwd, + ) -> ::std::os::raw::c_int; } +pub type pgsocket = ::std::os::raw::c_int; #[pg_guard] extern "C" { - pub fn __fmin(__x: f64, __y: f64) -> f64; + pub fn pg_set_noblock(sock: pgsocket) -> bool; } #[pg_guard] extern "C" { - pub fn fma(__x: f64, __y: f64, __z: f64) -> f64; + pub fn pg_set_block(sock: pgsocket) -> bool; } #[pg_guard] extern "C" { - pub fn __fma(__x: f64, __y: f64, __z: f64) -> f64; + pub fn has_drive_prefix(filename: *const ::std::os::raw::c_char) -> bool; } #[pg_guard] extern "C" { - pub fn scalb(__x: f64, __n: f64) -> f64; + pub fn first_dir_separator( + filename: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; } #[pg_guard] extern "C" { - pub fn __scalb(__x: f64, __n: f64) -> f64; + pub fn last_dir_separator( + filename: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; } #[pg_guard] extern "C" { - pub fn __fpclassifyf(__value: f32) -> ::std::os::raw::c_int; + pub fn first_path_var_separator( + pathlist: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; } #[pg_guard] extern "C" { - pub fn __signbitf(__value: f32) -> ::std::os::raw::c_int; + pub fn join_path_components( + ret_path: *mut ::std::os::raw::c_char, + head: *const ::std::os::raw::c_char, + tail: *const ::std::os::raw::c_char, + ); } #[pg_guard] extern "C" { - pub fn __isinff(__value: f32) -> ::std::os::raw::c_int; + pub fn canonicalize_path(path: *mut ::std::os::raw::c_char); } #[pg_guard] extern "C" { - pub fn __finitef(__value: f32) -> ::std::os::raw::c_int; + pub fn make_native_path(path: *mut ::std::os::raw::c_char); } #[pg_guard] extern "C" { - pub fn __isnanf(__value: f32) -> ::std::os::raw::c_int; + pub fn cleanup_path(path: *mut ::std::os::raw::c_char); } #[pg_guard] extern "C" { - pub fn __iseqsigf(__x: f32, __y: f32) -> ::std::os::raw::c_int; + pub fn path_contains_parent_reference(path: *const ::std::os::raw::c_char) -> bool; } #[pg_guard] extern "C" { - pub fn __issignalingf(__value: f32) -> ::std::os::raw::c_int; + pub fn path_is_relative_and_below_cwd(path: *const ::std::os::raw::c_char) -> bool; } #[pg_guard] extern "C" { - pub fn acosf(__x: f32) -> f32; + pub fn path_is_prefix_of_path( + path1: *const ::std::os::raw::c_char, + path2: *const ::std::os::raw::c_char, + ) -> bool; } #[pg_guard] extern "C" { - pub fn __acosf(__x: f32) -> f32; + pub fn make_absolute_path(path: *const ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; } #[pg_guard] extern "C" { - pub fn asinf(__x: f32) -> f32; + pub fn get_progname(argv0: *const ::std::os::raw::c_char) -> *const ::std::os::raw::c_char; } #[pg_guard] extern "C" { - pub fn __asinf(__x: f32) -> f32; + pub fn get_share_path( + my_exec_path: *const ::std::os::raw::c_char, + ret_path: *mut ::std::os::raw::c_char, + ); } #[pg_guard] extern "C" { - pub fn atanf(__x: f32) -> f32; + pub fn get_etc_path( + my_exec_path: *const ::std::os::raw::c_char, + ret_path: *mut ::std::os::raw::c_char, + ); } #[pg_guard] extern "C" { - pub fn __atanf(__x: f32) -> f32; + pub fn get_include_path( + my_exec_path: *const ::std::os::raw::c_char, + ret_path: *mut ::std::os::raw::c_char, + ); } #[pg_guard] extern "C" { - pub fn atan2f(__y: f32, __x: f32) -> f32; + pub fn get_pkginclude_path( + my_exec_path: *const ::std::os::raw::c_char, + ret_path: *mut ::std::os::raw::c_char, + ); } #[pg_guard] extern "C" { - pub fn __atan2f(__y: f32, __x: f32) -> f32; + pub fn get_includeserver_path( + my_exec_path: *const ::std::os::raw::c_char, + ret_path: *mut ::std::os::raw::c_char, + ); } #[pg_guard] extern "C" { - pub fn cosf(__x: f32) -> f32; + pub fn get_lib_path( + my_exec_path: *const ::std::os::raw::c_char, + ret_path: *mut ::std::os::raw::c_char, + ); } #[pg_guard] extern "C" { - pub fn __cosf(__x: f32) -> f32; + pub fn get_pkglib_path( + my_exec_path: *const ::std::os::raw::c_char, + ret_path: *mut ::std::os::raw::c_char, + ); } #[pg_guard] extern "C" { - pub fn sinf(__x: f32) -> f32; + pub fn get_locale_path( + my_exec_path: *const ::std::os::raw::c_char, + ret_path: *mut ::std::os::raw::c_char, + ); } #[pg_guard] extern "C" { - pub fn __sinf(__x: f32) -> f32; + pub fn get_doc_path( + my_exec_path: *const ::std::os::raw::c_char, + ret_path: *mut ::std::os::raw::c_char, + ); } #[pg_guard] extern "C" { - pub fn tanf(__x: f32) -> f32; + pub fn get_html_path( + my_exec_path: *const ::std::os::raw::c_char, + ret_path: *mut ::std::os::raw::c_char, + ); } #[pg_guard] extern "C" { - pub fn __tanf(__x: f32) -> f32; + pub fn get_man_path( + my_exec_path: *const ::std::os::raw::c_char, + ret_path: *mut ::std::os::raw::c_char, + ); } #[pg_guard] extern "C" { - pub fn coshf(__x: f32) -> f32; + pub fn get_home_path(ret_path: *mut ::std::os::raw::c_char) -> bool; } #[pg_guard] extern "C" { - pub fn __coshf(__x: f32) -> f32; + pub fn get_parent_directory(path: *mut ::std::os::raw::c_char); } #[pg_guard] extern "C" { - pub fn sinhf(__x: f32) -> f32; + pub fn pgfnames(path: *const ::std::os::raw::c_char) -> *mut *mut ::std::os::raw::c_char; } #[pg_guard] extern "C" { - pub fn __sinhf(__x: f32) -> f32; + pub fn pgfnames_cleanup(filenames: *mut *mut ::std::os::raw::c_char); } #[pg_guard] extern "C" { - pub fn tanhf(__x: f32) -> f32; + pub fn set_pglocale_pgservice( + argv0: *const ::std::os::raw::c_char, + app: *const ::std::os::raw::c_char, + ); } #[pg_guard] extern "C" { - pub fn __tanhf(__x: f32) -> f32; + pub fn find_my_exec( + argv0: *const ::std::os::raw::c_char, + retpath: *mut ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn acoshf(__x: f32) -> f32; + pub fn find_other_exec( + argv0: *const ::std::os::raw::c_char, + target: *const ::std::os::raw::c_char, + versionstr: *const ::std::os::raw::c_char, + retpath: *mut ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn __acoshf(__x: f32) -> f32; + pub fn pg_usleep(microsec: ::std::os::raw::c_long); } #[pg_guard] extern "C" { - pub fn asinhf(__x: f32) -> f32; + pub fn pg_strcasecmp( + s1: *const ::std::os::raw::c_char, + s2: *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn __asinhf(__x: f32) -> f32; + pub fn pg_strncasecmp( + s1: *const ::std::os::raw::c_char, + s2: *const ::std::os::raw::c_char, + n: usize, + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn atanhf(__x: f32) -> f32; + pub fn pg_toupper(ch: ::std::os::raw::c_uchar) -> ::std::os::raw::c_uchar; } #[pg_guard] extern "C" { - pub fn __atanhf(__x: f32) -> f32; + pub fn pg_tolower(ch: ::std::os::raw::c_uchar) -> ::std::os::raw::c_uchar; } #[pg_guard] extern "C" { - pub fn expf(__x: f32) -> f32; + pub fn pg_ascii_toupper(ch: ::std::os::raw::c_uchar) -> ::std::os::raw::c_uchar; } #[pg_guard] extern "C" { - pub fn __expf(__x: f32) -> f32; + pub fn pg_ascii_tolower(ch: ::std::os::raw::c_uchar) -> ::std::os::raw::c_uchar; } #[pg_guard] extern "C" { - pub fn frexpf(__x: f32, __exponent: *mut ::std::os::raw::c_int) -> f32; + pub fn pg_vsnprintf( + str_: *mut ::std::os::raw::c_char, + count: usize, + fmt: *const ::std::os::raw::c_char, + args: va_list, + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn __frexpf(__x: f32, __exponent: *mut ::std::os::raw::c_int) -> f32; + pub fn pg_snprintf( + str_: *mut ::std::os::raw::c_char, + count: usize, + fmt: *const ::std::os::raw::c_char, + ... + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn ldexpf(__x: f32, __exponent: ::std::os::raw::c_int) -> f32; + pub fn pg_vsprintf( + str_: *mut ::std::os::raw::c_char, + fmt: *const ::std::os::raw::c_char, + args: va_list, + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn __ldexpf(__x: f32, __exponent: ::std::os::raw::c_int) -> f32; + pub fn pg_sprintf( + str_: *mut ::std::os::raw::c_char, + fmt: *const ::std::os::raw::c_char, + ... + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn logf(__x: f32) -> f32; + pub fn pg_vfprintf( + stream: *mut FILE, + fmt: *const ::std::os::raw::c_char, + args: va_list, + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn __logf(__x: f32) -> f32; + pub fn pg_fprintf( + stream: *mut FILE, + fmt: *const ::std::os::raw::c_char, + ... + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn log10f(__x: f32) -> f32; + pub fn pg_vprintf(fmt: *const ::std::os::raw::c_char, args: va_list) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn __log10f(__x: f32) -> f32; + pub fn pg_printf(fmt: *const ::std::os::raw::c_char, ...) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn modff(__x: f32, __iptr: *mut f32) -> f32; + pub fn pg_strfromd( + str_: *mut ::std::os::raw::c_char, + count: usize, + precision: ::std::os::raw::c_int, + value: f64, + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn __modff(__x: f32, __iptr: *mut f32) -> f32; + pub fn pg_strerror(errnum: ::std::os::raw::c_int) -> *mut ::std::os::raw::c_char; } #[pg_guard] extern "C" { - pub fn expm1f(__x: f32) -> f32; + pub fn pg_strerror_r( + errnum: ::std::os::raw::c_int, + buf: *mut ::std::os::raw::c_char, + buflen: usize, + ) -> *mut ::std::os::raw::c_char; } #[pg_guard] extern "C" { - pub fn __expm1f(__x: f32) -> f32; + pub fn pg_strsignal(signum: ::std::os::raw::c_int) -> *const ::std::os::raw::c_char; } #[pg_guard] extern "C" { - pub fn log1pf(__x: f32) -> f32; + pub fn simple_prompt( + prompt: *const ::std::os::raw::c_char, + destination: *mut ::std::os::raw::c_char, + destlen: usize, + echo: bool, + ); } #[pg_guard] extern "C" { - pub fn __log1pf(__x: f32) -> f32; + pub fn pclose_check(stream: *mut FILE) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn logbf(__x: f32) -> f32; + pub fn rmtree(path: *const ::std::os::raw::c_char, rmtopdir: bool) -> bool; } #[pg_guard] extern "C" { - pub fn __logbf(__x: f32) -> f32; + pub fn pg_erand48(xseed: *mut ::std::os::raw::c_ushort) -> f64; } #[pg_guard] extern "C" { - pub fn exp2f(__x: f32) -> f32; + pub fn pg_lrand48() -> ::std::os::raw::c_long; } #[pg_guard] extern "C" { - pub fn __exp2f(__x: f32) -> f32; + pub fn pg_jrand48(xseed: *mut ::std::os::raw::c_ushort) -> ::std::os::raw::c_long; } #[pg_guard] extern "C" { - pub fn log2f(__x: f32) -> f32; + pub fn pg_srand48(seed: ::std::os::raw::c_long); } +pub type float_t = f32; +pub type double_t = f64; #[pg_guard] extern "C" { - pub fn __log2f(__x: f32) -> f32; + pub fn __math_errhandling() -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn powf(__x: f32, __y: f32) -> f32; + pub fn __fpclassifyf(arg1: f32) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn __powf(__x: f32, __y: f32) -> f32; + pub fn __fpclassifyd(arg1: f64) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn sqrtf(__x: f32) -> f32; + pub fn __fpclassifyl(arg1: f64) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn __sqrtf(__x: f32) -> f32; + pub fn acosf(arg1: f32) -> f32; } #[pg_guard] extern "C" { - pub fn hypotf(__x: f32, __y: f32) -> f32; + pub fn acos(arg1: f64) -> f64; } #[pg_guard] extern "C" { - pub fn __hypotf(__x: f32, __y: f32) -> f32; + pub fn acosl(arg1: f64) -> f64; } #[pg_guard] extern "C" { - pub fn cbrtf(__x: f32) -> f32; + pub fn asinf(arg1: f32) -> f32; } #[pg_guard] extern "C" { - pub fn __cbrtf(__x: f32) -> f32; + pub fn asin(arg1: f64) -> f64; } #[pg_guard] extern "C" { - pub fn ceilf(__x: f32) -> f32; + pub fn asinl(arg1: f64) -> f64; } #[pg_guard] extern "C" { - pub fn __ceilf(__x: f32) -> f32; + pub fn atanf(arg1: f32) -> f32; } #[pg_guard] extern "C" { - pub fn fabsf(__x: f32) -> f32; + pub fn atan(arg1: f64) -> f64; } #[pg_guard] extern "C" { - pub fn __fabsf(__x: f32) -> f32; + pub fn atanl(arg1: f64) -> f64; } #[pg_guard] extern "C" { - pub fn floorf(__x: f32) -> f32; + pub fn atan2f(arg1: f32, arg2: f32) -> f32; } #[pg_guard] extern "C" { - pub fn __floorf(__x: f32) -> f32; + pub fn atan2(arg1: f64, arg2: f64) -> f64; } #[pg_guard] extern "C" { - pub fn fmodf(__x: f32, __y: f32) -> f32; + pub fn atan2l(arg1: f64, arg2: f64) -> f64; } #[pg_guard] extern "C" { - pub fn __fmodf(__x: f32, __y: f32) -> f32; + pub fn cosf(arg1: f32) -> f32; } #[pg_guard] extern "C" { - pub fn isinff(__value: f32) -> ::std::os::raw::c_int; + pub fn cos(arg1: f64) -> f64; } #[pg_guard] extern "C" { - pub fn finitef(__value: f32) -> ::std::os::raw::c_int; + pub fn cosl(arg1: f64) -> f64; } #[pg_guard] extern "C" { - pub fn dremf(__x: f32, __y: f32) -> f32; + pub fn sinf(arg1: f32) -> f32; } #[pg_guard] extern "C" { - pub fn __dremf(__x: f32, __y: f32) -> f32; + pub fn sin(arg1: f64) -> f64; } #[pg_guard] extern "C" { - pub fn significandf(__x: f32) -> f32; + pub fn sinl(arg1: f64) -> f64; } #[pg_guard] extern "C" { - pub fn __significandf(__x: f32) -> f32; + pub fn tanf(arg1: f32) -> f32; } #[pg_guard] extern "C" { - pub fn copysignf(__x: f32, __y: f32) -> f32; + pub fn tan(arg1: f64) -> f64; } #[pg_guard] extern "C" { - pub fn __copysignf(__x: f32, __y: f32) -> f32; + pub fn tanl(arg1: f64) -> f64; } #[pg_guard] extern "C" { - pub fn nanf(__tagb: *const ::std::os::raw::c_char) -> f32; + pub fn acoshf(arg1: f32) -> f32; } #[pg_guard] extern "C" { - pub fn __nanf(__tagb: *const ::std::os::raw::c_char) -> f32; + pub fn acosh(arg1: f64) -> f64; } #[pg_guard] extern "C" { - pub fn isnanf(__value: f32) -> ::std::os::raw::c_int; + pub fn acoshl(arg1: f64) -> f64; } #[pg_guard] extern "C" { - pub fn j0f(arg1: f32) -> f32; + pub fn asinhf(arg1: f32) -> f32; } #[pg_guard] extern "C" { - pub fn __j0f(arg1: f32) -> f32; + pub fn asinh(arg1: f64) -> f64; } #[pg_guard] extern "C" { - pub fn j1f(arg1: f32) -> f32; + pub fn asinhl(arg1: f64) -> f64; } #[pg_guard] extern "C" { - pub fn __j1f(arg1: f32) -> f32; + pub fn atanhf(arg1: f32) -> f32; } #[pg_guard] extern "C" { - pub fn jnf(arg1: ::std::os::raw::c_int, arg2: f32) -> f32; + pub fn atanh(arg1: f64) -> f64; } #[pg_guard] extern "C" { - pub fn __jnf(arg1: ::std::os::raw::c_int, arg2: f32) -> f32; + pub fn atanhl(arg1: f64) -> f64; } #[pg_guard] extern "C" { - pub fn y0f(arg1: f32) -> f32; + pub fn coshf(arg1: f32) -> f32; } #[pg_guard] extern "C" { - pub fn __y0f(arg1: f32) -> f32; + pub fn cosh(arg1: f64) -> f64; } #[pg_guard] extern "C" { - pub fn y1f(arg1: f32) -> f32; + pub fn coshl(arg1: f64) -> f64; } #[pg_guard] extern "C" { - pub fn __y1f(arg1: f32) -> f32; + pub fn sinhf(arg1: f32) -> f32; } #[pg_guard] extern "C" { - pub fn ynf(arg1: ::std::os::raw::c_int, arg2: f32) -> f32; + pub fn sinh(arg1: f64) -> f64; } #[pg_guard] extern "C" { - pub fn __ynf(arg1: ::std::os::raw::c_int, arg2: f32) -> f32; + pub fn sinhl(arg1: f64) -> f64; } #[pg_guard] extern "C" { - pub fn erff(arg1: f32) -> f32; -} -#[pg_guard] -extern "C" { - pub fn __erff(arg1: f32) -> f32; -} -#[pg_guard] -extern "C" { - pub fn erfcf(arg1: f32) -> f32; -} -#[pg_guard] -extern "C" { - pub fn __erfcf(arg1: f32) -> f32; -} -#[pg_guard] -extern "C" { - pub fn lgammaf(arg1: f32) -> f32; -} -#[pg_guard] -extern "C" { - pub fn __lgammaf(arg1: f32) -> f32; -} -#[pg_guard] -extern "C" { - pub fn tgammaf(arg1: f32) -> f32; -} -#[pg_guard] -extern "C" { - pub fn __tgammaf(arg1: f32) -> f32; -} -#[pg_guard] -extern "C" { - pub fn gammaf(arg1: f32) -> f32; -} -#[pg_guard] -extern "C" { - pub fn __gammaf(arg1: f32) -> f32; -} -#[pg_guard] -extern "C" { - pub fn lgammaf_r(arg1: f32, __signgamp: *mut ::std::os::raw::c_int) -> f32; -} -#[pg_guard] -extern "C" { - pub fn __lgammaf_r(arg1: f32, __signgamp: *mut ::std::os::raw::c_int) -> f32; -} -#[pg_guard] -extern "C" { - pub fn rintf(__x: f32) -> f32; -} -#[pg_guard] -extern "C" { - pub fn __rintf(__x: f32) -> f32; -} -#[pg_guard] -extern "C" { - pub fn nextafterf(__x: f32, __y: f32) -> f32; -} -#[pg_guard] -extern "C" { - pub fn __nextafterf(__x: f32, __y: f32) -> f32; -} -#[pg_guard] -extern "C" { - pub fn nexttowardf(__x: f32, __y: u128) -> f32; -} -#[pg_guard] -extern "C" { - pub fn __nexttowardf(__x: f32, __y: u128) -> f32; -} -#[pg_guard] -extern "C" { - pub fn remainderf(__x: f32, __y: f32) -> f32; -} -#[pg_guard] -extern "C" { - pub fn __remainderf(__x: f32, __y: f32) -> f32; -} -#[pg_guard] -extern "C" { - pub fn scalbnf(__x: f32, __n: ::std::os::raw::c_int) -> f32; -} -#[pg_guard] -extern "C" { - pub fn __scalbnf(__x: f32, __n: ::std::os::raw::c_int) -> f32; -} -#[pg_guard] -extern "C" { - pub fn ilogbf(__x: f32) -> ::std::os::raw::c_int; -} -#[pg_guard] -extern "C" { - pub fn __ilogbf(__x: f32) -> ::std::os::raw::c_int; -} -#[pg_guard] -extern "C" { - pub fn scalblnf(__x: f32, __n: ::std::os::raw::c_long) -> f32; -} -#[pg_guard] -extern "C" { - pub fn __scalblnf(__x: f32, __n: ::std::os::raw::c_long) -> f32; -} -#[pg_guard] -extern "C" { - pub fn nearbyintf(__x: f32) -> f32; -} -#[pg_guard] -extern "C" { - pub fn __nearbyintf(__x: f32) -> f32; -} -#[pg_guard] -extern "C" { - pub fn roundf(__x: f32) -> f32; + pub fn tanhf(arg1: f32) -> f32; } #[pg_guard] extern "C" { - pub fn __roundf(__x: f32) -> f32; + pub fn tanh(arg1: f64) -> f64; } #[pg_guard] extern "C" { - pub fn truncf(__x: f32) -> f32; + pub fn tanhl(arg1: f64) -> f64; } #[pg_guard] extern "C" { - pub fn __truncf(__x: f32) -> f32; + pub fn expf(arg1: f32) -> f32; } #[pg_guard] extern "C" { - pub fn remquof(__x: f32, __y: f32, __quo: *mut ::std::os::raw::c_int) -> f32; + pub fn exp(arg1: f64) -> f64; } #[pg_guard] extern "C" { - pub fn __remquof(__x: f32, __y: f32, __quo: *mut ::std::os::raw::c_int) -> f32; + pub fn expl(arg1: f64) -> f64; } #[pg_guard] extern "C" { - pub fn lrintf(__x: f32) -> ::std::os::raw::c_long; + pub fn exp2f(arg1: f32) -> f32; } #[pg_guard] extern "C" { - pub fn __lrintf(__x: f32) -> ::std::os::raw::c_long; + pub fn exp2(arg1: f64) -> f64; } #[pg_guard] extern "C" { - pub fn llrintf(__x: f32) -> ::std::os::raw::c_longlong; + pub fn exp2l(arg1: f64) -> f64; } #[pg_guard] extern "C" { - pub fn __llrintf(__x: f32) -> ::std::os::raw::c_longlong; + pub fn expm1f(arg1: f32) -> f32; } #[pg_guard] extern "C" { - pub fn lroundf(__x: f32) -> ::std::os::raw::c_long; + pub fn expm1(arg1: f64) -> f64; } #[pg_guard] extern "C" { - pub fn __lroundf(__x: f32) -> ::std::os::raw::c_long; + pub fn expm1l(arg1: f64) -> f64; } #[pg_guard] extern "C" { - pub fn llroundf(__x: f32) -> ::std::os::raw::c_longlong; + pub fn logf(arg1: f32) -> f32; } #[pg_guard] extern "C" { - pub fn __llroundf(__x: f32) -> ::std::os::raw::c_longlong; + pub fn log(arg1: f64) -> f64; } #[pg_guard] extern "C" { - pub fn fdimf(__x: f32, __y: f32) -> f32; + pub fn logl(arg1: f64) -> f64; } #[pg_guard] extern "C" { - pub fn __fdimf(__x: f32, __y: f32) -> f32; + pub fn log10f(arg1: f32) -> f32; } #[pg_guard] extern "C" { - pub fn fmaxf(__x: f32, __y: f32) -> f32; + pub fn log10(arg1: f64) -> f64; } #[pg_guard] extern "C" { - pub fn __fmaxf(__x: f32, __y: f32) -> f32; + pub fn log10l(arg1: f64) -> f64; } #[pg_guard] extern "C" { - pub fn fminf(__x: f32, __y: f32) -> f32; + pub fn log2f(arg1: f32) -> f32; } #[pg_guard] extern "C" { - pub fn __fminf(__x: f32, __y: f32) -> f32; + pub fn log2(arg1: f64) -> f64; } #[pg_guard] extern "C" { - pub fn fmaf(__x: f32, __y: f32, __z: f32) -> f32; + pub fn log2l(arg1: f64) -> f64; } #[pg_guard] extern "C" { - pub fn __fmaf(__x: f32, __y: f32, __z: f32) -> f32; + pub fn log1pf(arg1: f32) -> f32; } #[pg_guard] extern "C" { - pub fn scalbf(__x: f32, __n: f32) -> f32; + pub fn log1p(arg1: f64) -> f64; } #[pg_guard] extern "C" { - pub fn __scalbf(__x: f32, __n: f32) -> f32; + pub fn log1pl(arg1: f64) -> f64; } #[pg_guard] extern "C" { - pub fn __fpclassifyl(__value: u128) -> ::std::os::raw::c_int; + pub fn logbf(arg1: f32) -> f32; } #[pg_guard] extern "C" { - pub fn __signbitl(__value: u128) -> ::std::os::raw::c_int; + pub fn logb(arg1: f64) -> f64; } #[pg_guard] extern "C" { - pub fn __isinfl(__value: u128) -> ::std::os::raw::c_int; + pub fn logbl(arg1: f64) -> f64; } #[pg_guard] extern "C" { - pub fn __finitel(__value: u128) -> ::std::os::raw::c_int; + pub fn modff(arg1: f32, arg2: *mut f32) -> f32; } #[pg_guard] extern "C" { - pub fn __isnanl(__value: u128) -> ::std::os::raw::c_int; + pub fn modf(arg1: f64, arg2: *mut f64) -> f64; } #[pg_guard] extern "C" { - pub fn __iseqsigl(__x: u128, __y: u128) -> ::std::os::raw::c_int; + pub fn modfl(arg1: f64, arg2: *mut f64) -> f64; } #[pg_guard] extern "C" { - pub fn __issignalingl(__value: u128) -> ::std::os::raw::c_int; + pub fn ldexpf(arg1: f32, arg2: ::std::os::raw::c_int) -> f32; } #[pg_guard] extern "C" { - pub fn acosl(__x: u128) -> u128; + pub fn ldexp(arg1: f64, arg2: ::std::os::raw::c_int) -> f64; } #[pg_guard] extern "C" { - pub fn __acosl(__x: u128) -> u128; + pub fn ldexpl(arg1: f64, arg2: ::std::os::raw::c_int) -> f64; } #[pg_guard] extern "C" { - pub fn asinl(__x: u128) -> u128; + pub fn frexpf(arg1: f32, arg2: *mut ::std::os::raw::c_int) -> f32; } #[pg_guard] extern "C" { - pub fn __asinl(__x: u128) -> u128; + pub fn frexp(arg1: f64, arg2: *mut ::std::os::raw::c_int) -> f64; } #[pg_guard] extern "C" { - pub fn atanl(__x: u128) -> u128; + pub fn frexpl(arg1: f64, arg2: *mut ::std::os::raw::c_int) -> f64; } #[pg_guard] extern "C" { - pub fn __atanl(__x: u128) -> u128; + pub fn ilogbf(arg1: f32) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn atan2l(__y: u128, __x: u128) -> u128; + pub fn ilogb(arg1: f64) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn __atan2l(__y: u128, __x: u128) -> u128; + pub fn ilogbl(arg1: f64) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn cosl(__x: u128) -> u128; + pub fn scalbnf(arg1: f32, arg2: ::std::os::raw::c_int) -> f32; } #[pg_guard] extern "C" { - pub fn __cosl(__x: u128) -> u128; + pub fn scalbn(arg1: f64, arg2: ::std::os::raw::c_int) -> f64; } #[pg_guard] extern "C" { - pub fn sinl(__x: u128) -> u128; + pub fn scalbnl(arg1: f64, arg2: ::std::os::raw::c_int) -> f64; } #[pg_guard] extern "C" { - pub fn __sinl(__x: u128) -> u128; + pub fn scalblnf(arg1: f32, arg2: ::std::os::raw::c_long) -> f32; } #[pg_guard] extern "C" { - pub fn tanl(__x: u128) -> u128; + pub fn scalbln(arg1: f64, arg2: ::std::os::raw::c_long) -> f64; } #[pg_guard] extern "C" { - pub fn __tanl(__x: u128) -> u128; + pub fn scalblnl(arg1: f64, arg2: ::std::os::raw::c_long) -> f64; } #[pg_guard] extern "C" { - pub fn coshl(__x: u128) -> u128; + pub fn fabsf(arg1: f32) -> f32; } #[pg_guard] extern "C" { - pub fn __coshl(__x: u128) -> u128; + pub fn fabs(arg1: f64) -> f64; } #[pg_guard] extern "C" { - pub fn sinhl(__x: u128) -> u128; + pub fn fabsl(arg1: f64) -> f64; } #[pg_guard] extern "C" { - pub fn __sinhl(__x: u128) -> u128; + pub fn cbrtf(arg1: f32) -> f32; } #[pg_guard] extern "C" { - pub fn tanhl(__x: u128) -> u128; + pub fn cbrt(arg1: f64) -> f64; } #[pg_guard] extern "C" { - pub fn __tanhl(__x: u128) -> u128; + pub fn cbrtl(arg1: f64) -> f64; } #[pg_guard] extern "C" { - pub fn acoshl(__x: u128) -> u128; + pub fn hypotf(arg1: f32, arg2: f32) -> f32; } #[pg_guard] extern "C" { - pub fn __acoshl(__x: u128) -> u128; + pub fn hypot(arg1: f64, arg2: f64) -> f64; } #[pg_guard] extern "C" { - pub fn asinhl(__x: u128) -> u128; + pub fn hypotl(arg1: f64, arg2: f64) -> f64; } #[pg_guard] extern "C" { - pub fn __asinhl(__x: u128) -> u128; + pub fn powf(arg1: f32, arg2: f32) -> f32; } #[pg_guard] extern "C" { - pub fn atanhl(__x: u128) -> u128; + pub fn pow(arg1: f64, arg2: f64) -> f64; } #[pg_guard] extern "C" { - pub fn __atanhl(__x: u128) -> u128; + pub fn powl(arg1: f64, arg2: f64) -> f64; } #[pg_guard] extern "C" { - pub fn expl(__x: u128) -> u128; + pub fn sqrtf(arg1: f32) -> f32; } #[pg_guard] extern "C" { - pub fn __expl(__x: u128) -> u128; + pub fn sqrt(arg1: f64) -> f64; } #[pg_guard] extern "C" { - pub fn frexpl(__x: u128, __exponent: *mut ::std::os::raw::c_int) -> u128; + pub fn sqrtl(arg1: f64) -> f64; } #[pg_guard] extern "C" { - pub fn __frexpl(__x: u128, __exponent: *mut ::std::os::raw::c_int) -> u128; -} -#[pg_guard] -extern "C" { - pub fn ldexpl(__x: u128, __exponent: ::std::os::raw::c_int) -> u128; -} -#[pg_guard] -extern "C" { - pub fn __ldexpl(__x: u128, __exponent: ::std::os::raw::c_int) -> u128; -} -#[pg_guard] -extern "C" { - pub fn logl(__x: u128) -> u128; -} -#[pg_guard] -extern "C" { - pub fn __logl(__x: u128) -> u128; -} -#[pg_guard] -extern "C" { - pub fn log10l(__x: u128) -> u128; -} -#[pg_guard] -extern "C" { - pub fn __log10l(__x: u128) -> u128; -} -#[pg_guard] -extern "C" { - pub fn modfl(__x: u128, __iptr: *mut u128) -> u128; -} -#[pg_guard] -extern "C" { - pub fn __modfl(__x: u128, __iptr: *mut u128) -> u128; -} -#[pg_guard] -extern "C" { - pub fn expm1l(__x: u128) -> u128; -} -#[pg_guard] -extern "C" { - pub fn __expm1l(__x: u128) -> u128; -} -#[pg_guard] -extern "C" { - pub fn log1pl(__x: u128) -> u128; -} -#[pg_guard] -extern "C" { - pub fn __log1pl(__x: u128) -> u128; -} -#[pg_guard] -extern "C" { - pub fn logbl(__x: u128) -> u128; -} -#[pg_guard] -extern "C" { - pub fn __logbl(__x: u128) -> u128; + pub fn erff(arg1: f32) -> f32; } #[pg_guard] extern "C" { - pub fn exp2l(__x: u128) -> u128; + pub fn erf(arg1: f64) -> f64; } #[pg_guard] extern "C" { - pub fn __exp2l(__x: u128) -> u128; + pub fn erfl(arg1: f64) -> f64; } #[pg_guard] extern "C" { - pub fn log2l(__x: u128) -> u128; + pub fn erfcf(arg1: f32) -> f32; } #[pg_guard] extern "C" { - pub fn __log2l(__x: u128) -> u128; + pub fn erfc(arg1: f64) -> f64; } #[pg_guard] extern "C" { - pub fn powl(__x: u128, __y: u128) -> u128; + pub fn erfcl(arg1: f64) -> f64; } #[pg_guard] extern "C" { - pub fn __powl(__x: u128, __y: u128) -> u128; + pub fn lgammaf(arg1: f32) -> f32; } #[pg_guard] extern "C" { - pub fn sqrtl(__x: u128) -> u128; + pub fn lgamma(arg1: f64) -> f64; } #[pg_guard] extern "C" { - pub fn __sqrtl(__x: u128) -> u128; + pub fn lgammal(arg1: f64) -> f64; } #[pg_guard] extern "C" { - pub fn hypotl(__x: u128, __y: u128) -> u128; + pub fn tgammaf(arg1: f32) -> f32; } #[pg_guard] extern "C" { - pub fn __hypotl(__x: u128, __y: u128) -> u128; + pub fn tgamma(arg1: f64) -> f64; } #[pg_guard] extern "C" { - pub fn cbrtl(__x: u128) -> u128; + pub fn tgammal(arg1: f64) -> f64; } #[pg_guard] extern "C" { - pub fn __cbrtl(__x: u128) -> u128; + pub fn ceilf(arg1: f32) -> f32; } #[pg_guard] extern "C" { - pub fn ceill(__x: u128) -> u128; + pub fn ceil(arg1: f64) -> f64; } #[pg_guard] extern "C" { - pub fn __ceill(__x: u128) -> u128; + pub fn ceill(arg1: f64) -> f64; } #[pg_guard] extern "C" { - pub fn fabsl(__x: u128) -> u128; + pub fn floorf(arg1: f32) -> f32; } #[pg_guard] extern "C" { - pub fn __fabsl(__x: u128) -> u128; + pub fn floor(arg1: f64) -> f64; } #[pg_guard] extern "C" { - pub fn floorl(__x: u128) -> u128; + pub fn floorl(arg1: f64) -> f64; } #[pg_guard] extern "C" { - pub fn __floorl(__x: u128) -> u128; + pub fn nearbyintf(arg1: f32) -> f32; } #[pg_guard] extern "C" { - pub fn fmodl(__x: u128, __y: u128) -> u128; + pub fn nearbyint(arg1: f64) -> f64; } #[pg_guard] extern "C" { - pub fn __fmodl(__x: u128, __y: u128) -> u128; + pub fn nearbyintl(arg1: f64) -> f64; } #[pg_guard] extern "C" { - pub fn isinfl(__value: u128) -> ::std::os::raw::c_int; + pub fn rintf(arg1: f32) -> f32; } #[pg_guard] extern "C" { - pub fn finitel(__value: u128) -> ::std::os::raw::c_int; + pub fn rint(arg1: f64) -> f64; } #[pg_guard] extern "C" { - pub fn dreml(__x: u128, __y: u128) -> u128; + pub fn rintl(arg1: f64) -> f64; } #[pg_guard] extern "C" { - pub fn __dreml(__x: u128, __y: u128) -> u128; + pub fn lrintf(arg1: f32) -> ::std::os::raw::c_long; } #[pg_guard] extern "C" { - pub fn significandl(__x: u128) -> u128; + pub fn lrint(arg1: f64) -> ::std::os::raw::c_long; } #[pg_guard] extern "C" { - pub fn __significandl(__x: u128) -> u128; + pub fn lrintl(arg1: f64) -> ::std::os::raw::c_long; } #[pg_guard] extern "C" { - pub fn copysignl(__x: u128, __y: u128) -> u128; + pub fn roundf(arg1: f32) -> f32; } #[pg_guard] extern "C" { - pub fn __copysignl(__x: u128, __y: u128) -> u128; + pub fn round(arg1: f64) -> f64; } #[pg_guard] extern "C" { - pub fn nanl(__tagb: *const ::std::os::raw::c_char) -> u128; + pub fn roundl(arg1: f64) -> f64; } #[pg_guard] extern "C" { - pub fn __nanl(__tagb: *const ::std::os::raw::c_char) -> u128; + pub fn lroundf(arg1: f32) -> ::std::os::raw::c_long; } #[pg_guard] extern "C" { - pub fn isnanl(__value: u128) -> ::std::os::raw::c_int; + pub fn lround(arg1: f64) -> ::std::os::raw::c_long; } #[pg_guard] extern "C" { - pub fn j0l(arg1: u128) -> u128; + pub fn lroundl(arg1: f64) -> ::std::os::raw::c_long; } #[pg_guard] extern "C" { - pub fn __j0l(arg1: u128) -> u128; + pub fn llrintf(arg1: f32) -> ::std::os::raw::c_longlong; } #[pg_guard] extern "C" { - pub fn j1l(arg1: u128) -> u128; + pub fn llrint(arg1: f64) -> ::std::os::raw::c_longlong; } #[pg_guard] extern "C" { - pub fn __j1l(arg1: u128) -> u128; + pub fn llrintl(arg1: f64) -> ::std::os::raw::c_longlong; } #[pg_guard] extern "C" { - pub fn jnl(arg1: ::std::os::raw::c_int, arg2: u128) -> u128; + pub fn llroundf(arg1: f32) -> ::std::os::raw::c_longlong; } #[pg_guard] extern "C" { - pub fn __jnl(arg1: ::std::os::raw::c_int, arg2: u128) -> u128; + pub fn llround(arg1: f64) -> ::std::os::raw::c_longlong; } #[pg_guard] extern "C" { - pub fn y0l(arg1: u128) -> u128; + pub fn llroundl(arg1: f64) -> ::std::os::raw::c_longlong; } #[pg_guard] extern "C" { - pub fn __y0l(arg1: u128) -> u128; + pub fn truncf(arg1: f32) -> f32; } #[pg_guard] extern "C" { - pub fn y1l(arg1: u128) -> u128; + pub fn trunc(arg1: f64) -> f64; } #[pg_guard] extern "C" { - pub fn __y1l(arg1: u128) -> u128; + pub fn truncl(arg1: f64) -> f64; } #[pg_guard] extern "C" { - pub fn ynl(arg1: ::std::os::raw::c_int, arg2: u128) -> u128; + pub fn fmodf(arg1: f32, arg2: f32) -> f32; } #[pg_guard] extern "C" { - pub fn __ynl(arg1: ::std::os::raw::c_int, arg2: u128) -> u128; + pub fn fmod(arg1: f64, arg2: f64) -> f64; } #[pg_guard] extern "C" { - pub fn erfl(arg1: u128) -> u128; + pub fn fmodl(arg1: f64, arg2: f64) -> f64; } #[pg_guard] extern "C" { - pub fn __erfl(arg1: u128) -> u128; + pub fn remainderf(arg1: f32, arg2: f32) -> f32; } #[pg_guard] extern "C" { - pub fn erfcl(arg1: u128) -> u128; + pub fn remainder(arg1: f64, arg2: f64) -> f64; } #[pg_guard] extern "C" { - pub fn __erfcl(arg1: u128) -> u128; + pub fn remainderl(arg1: f64, arg2: f64) -> f64; } #[pg_guard] extern "C" { - pub fn lgammal(arg1: u128) -> u128; + pub fn remquof(arg1: f32, arg2: f32, arg3: *mut ::std::os::raw::c_int) -> f32; } #[pg_guard] extern "C" { - pub fn __lgammal(arg1: u128) -> u128; + pub fn remquo(arg1: f64, arg2: f64, arg3: *mut ::std::os::raw::c_int) -> f64; } #[pg_guard] extern "C" { - pub fn tgammal(arg1: u128) -> u128; + pub fn remquol(arg1: f64, arg2: f64, arg3: *mut ::std::os::raw::c_int) -> f64; } #[pg_guard] extern "C" { - pub fn __tgammal(arg1: u128) -> u128; + pub fn copysignf(arg1: f32, arg2: f32) -> f32; } #[pg_guard] extern "C" { - pub fn gammal(arg1: u128) -> u128; + pub fn copysign(arg1: f64, arg2: f64) -> f64; } #[pg_guard] extern "C" { - pub fn __gammal(arg1: u128) -> u128; + pub fn copysignl(arg1: f64, arg2: f64) -> f64; } #[pg_guard] extern "C" { - pub fn lgammal_r(arg1: u128, __signgamp: *mut ::std::os::raw::c_int) -> u128; + pub fn nanf(arg1: *const ::std::os::raw::c_char) -> f32; } #[pg_guard] extern "C" { - pub fn __lgammal_r(arg1: u128, __signgamp: *mut ::std::os::raw::c_int) -> u128; + pub fn nan(arg1: *const ::std::os::raw::c_char) -> f64; } #[pg_guard] extern "C" { - pub fn rintl(__x: u128) -> u128; + pub fn nanl(arg1: *const ::std::os::raw::c_char) -> f64; } #[pg_guard] extern "C" { - pub fn __rintl(__x: u128) -> u128; + pub fn nextafterf(arg1: f32, arg2: f32) -> f32; } #[pg_guard] extern "C" { - pub fn nextafterl(__x: u128, __y: u128) -> u128; + pub fn nextafter(arg1: f64, arg2: f64) -> f64; } #[pg_guard] extern "C" { - pub fn __nextafterl(__x: u128, __y: u128) -> u128; + pub fn nextafterl(arg1: f64, arg2: f64) -> f64; } #[pg_guard] extern "C" { - pub fn nexttowardl(__x: u128, __y: u128) -> u128; + pub fn nexttoward(arg1: f64, arg2: f64) -> f64; } #[pg_guard] extern "C" { - pub fn __nexttowardl(__x: u128, __y: u128) -> u128; + pub fn nexttowardf(arg1: f32, arg2: f64) -> f32; } #[pg_guard] extern "C" { - pub fn remainderl(__x: u128, __y: u128) -> u128; + pub fn nexttowardl(arg1: f64, arg2: f64) -> f64; } #[pg_guard] extern "C" { - pub fn __remainderl(__x: u128, __y: u128) -> u128; + pub fn fdimf(arg1: f32, arg2: f32) -> f32; } #[pg_guard] extern "C" { - pub fn scalbnl(__x: u128, __n: ::std::os::raw::c_int) -> u128; + pub fn fdim(arg1: f64, arg2: f64) -> f64; } #[pg_guard] extern "C" { - pub fn __scalbnl(__x: u128, __n: ::std::os::raw::c_int) -> u128; + pub fn fdiml(arg1: f64, arg2: f64) -> f64; } #[pg_guard] extern "C" { - pub fn ilogbl(__x: u128) -> ::std::os::raw::c_int; + pub fn fmaxf(arg1: f32, arg2: f32) -> f32; } #[pg_guard] extern "C" { - pub fn __ilogbl(__x: u128) -> ::std::os::raw::c_int; + pub fn fmax(arg1: f64, arg2: f64) -> f64; } #[pg_guard] extern "C" { - pub fn scalblnl(__x: u128, __n: ::std::os::raw::c_long) -> u128; + pub fn fmaxl(arg1: f64, arg2: f64) -> f64; } #[pg_guard] extern "C" { - pub fn __scalblnl(__x: u128, __n: ::std::os::raw::c_long) -> u128; + pub fn fminf(arg1: f32, arg2: f32) -> f32; } #[pg_guard] extern "C" { - pub fn nearbyintl(__x: u128) -> u128; + pub fn fmin(arg1: f64, arg2: f64) -> f64; } #[pg_guard] extern "C" { - pub fn __nearbyintl(__x: u128) -> u128; + pub fn fminl(arg1: f64, arg2: f64) -> f64; } #[pg_guard] extern "C" { - pub fn roundl(__x: u128) -> u128; + pub fn fmaf(arg1: f32, arg2: f32, arg3: f32) -> f32; } #[pg_guard] extern "C" { - pub fn __roundl(__x: u128) -> u128; + pub fn fma(arg1: f64, arg2: f64, arg3: f64) -> f64; } #[pg_guard] extern "C" { - pub fn truncl(__x: u128) -> u128; + pub fn fmal(arg1: f64, arg2: f64, arg3: f64) -> f64; } #[pg_guard] extern "C" { - pub fn __truncl(__x: u128) -> u128; + pub fn __exp10f(arg1: f32) -> f32; } #[pg_guard] extern "C" { - pub fn remquol(__x: u128, __y: u128, __quo: *mut ::std::os::raw::c_int) -> u128; + pub fn __exp10(arg1: f64) -> f64; } #[pg_guard] extern "C" { - pub fn __remquol(__x: u128, __y: u128, __quo: *mut ::std::os::raw::c_int) -> u128; + pub fn __cospif(arg1: f32) -> f32; } #[pg_guard] extern "C" { - pub fn lrintl(__x: u128) -> ::std::os::raw::c_long; + pub fn __cospi(arg1: f64) -> f64; } #[pg_guard] extern "C" { - pub fn __lrintl(__x: u128) -> ::std::os::raw::c_long; + pub fn __sinpif(arg1: f32) -> f32; } #[pg_guard] extern "C" { - pub fn llrintl(__x: u128) -> ::std::os::raw::c_longlong; + pub fn __sinpi(arg1: f64) -> f64; } #[pg_guard] extern "C" { - pub fn __llrintl(__x: u128) -> ::std::os::raw::c_longlong; + pub fn __tanpif(arg1: f32) -> f32; } #[pg_guard] extern "C" { - pub fn lroundl(__x: u128) -> ::std::os::raw::c_long; + pub fn __tanpi(arg1: f64) -> f64; } -#[pg_guard] -extern "C" { - pub fn __lroundl(__x: u128) -> ::std::os::raw::c_long; +#[repr(C)] +#[derive(Debug, Default, Copy, Clone)] +pub struct __float2 { + pub __sinval: f32, + pub __cosval: f32, } -#[pg_guard] -extern "C" { - pub fn llroundl(__x: u128) -> ::std::os::raw::c_longlong; +#[repr(C)] +#[derive(Debug, Default, Copy, Clone)] +pub struct __double2 { + pub __sinval: f64, + pub __cosval: f64, } #[pg_guard] extern "C" { - pub fn __llroundl(__x: u128) -> ::std::os::raw::c_longlong; + pub fn __sincosf_stret(arg1: f32) -> __float2; } #[pg_guard] extern "C" { - pub fn fdiml(__x: u128, __y: u128) -> u128; + pub fn __sincos_stret(arg1: f64) -> __double2; } #[pg_guard] extern "C" { - pub fn __fdiml(__x: u128, __y: u128) -> u128; + pub fn __sincospif_stret(arg1: f32) -> __float2; } #[pg_guard] extern "C" { - pub fn fmaxl(__x: u128, __y: u128) -> u128; + pub fn __sincospi_stret(arg1: f64) -> __double2; } #[pg_guard] extern "C" { - pub fn __fmaxl(__x: u128, __y: u128) -> u128; + pub fn j0(arg1: f64) -> f64; } #[pg_guard] extern "C" { - pub fn fminl(__x: u128, __y: u128) -> u128; + pub fn j1(arg1: f64) -> f64; } #[pg_guard] extern "C" { - pub fn __fminl(__x: u128, __y: u128) -> u128; + pub fn jn(arg1: ::std::os::raw::c_int, arg2: f64) -> f64; } #[pg_guard] extern "C" { - pub fn fmal(__x: u128, __y: u128, __z: u128) -> u128; + pub fn y0(arg1: f64) -> f64; } #[pg_guard] extern "C" { - pub fn __fmal(__x: u128, __y: u128, __z: u128) -> u128; + pub fn y1(arg1: f64) -> f64; } #[pg_guard] extern "C" { - pub fn scalbl(__x: u128, __n: u128) -> u128; + pub fn yn(arg1: ::std::os::raw::c_int, arg2: f64) -> f64; } #[pg_guard] extern "C" { - pub fn __scalbl(__x: u128, __n: u128) -> u128; + pub fn scalb(arg1: f64, arg2: f64) -> f64; } #[pg_guard] extern "C" { pub static mut signgam: ::std::os::raw::c_int; } -pub const FP_NAN: ::std::os::raw::c_uint = 0; -pub const FP_INFINITE: ::std::os::raw::c_uint = 1; -pub const FP_ZERO: ::std::os::raw::c_uint = 2; -pub const FP_SUBNORMAL: ::std::os::raw::c_uint = 3; -pub const FP_NORMAL: ::std::os::raw::c_uint = 4; -pub type _bindgen_ty_8 = ::std::os::raw::c_uint; -#[pg_guard] -extern "C" { - pub fn strlcat( - dst: *mut ::std::os::raw::c_char, - src: *const ::std::os::raw::c_char, - siz: usize, - ) -> usize; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct exception { + pub type_: ::std::os::raw::c_int, + pub name: *mut ::std::os::raw::c_char, + pub arg1: f64, + pub arg2: f64, + pub retval: f64, } -#[pg_guard] -extern "C" { - pub fn strlcpy( - dst: *mut ::std::os::raw::c_char, - src: *const ::std::os::raw::c_char, - siz: usize, - ) -> usize; +impl Default for exception { + fn default() -> Self { + let mut s = ::std::mem::MaybeUninit::::uninit(); + unsafe { + ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); + s.assume_init() + } + } } #[pg_guard] extern "C" { @@ -8998,39 +9226,28 @@ extern "C" { include_command_not_found: bool, ) -> bool; } -pub type __jmp_buf = [::std::os::raw::c_long; 8usize]; -#[repr(C)] -#[derive(Debug, Default, Copy, Clone)] -pub struct __jmp_buf_tag { - pub __jmpbuf: __jmp_buf, - pub __mask_was_saved: ::std::os::raw::c_int, - pub __saved_mask: __sigset_t, -} -pub type jmp_buf = [__jmp_buf_tag; 1usize]; +pub type jmp_buf = [::std::os::raw::c_int; 48usize]; +pub type sigjmp_buf = [::std::os::raw::c_int; 49usize]; #[pg_guard] extern "C" { - pub fn setjmp(__env: *mut __jmp_buf_tag) -> ::std::os::raw::c_int; + pub fn setjmp(arg1: *mut ::std::os::raw::c_int) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn __sigsetjmp( - __env: *mut __jmp_buf_tag, - __savemask: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; + pub fn longjmp(arg1: *mut ::std::os::raw::c_int, arg2: ::std::os::raw::c_int); } #[pg_guard] extern "C" { - pub fn _setjmp(__env: *mut __jmp_buf_tag) -> ::std::os::raw::c_int; + pub fn _setjmp(arg1: *mut ::std::os::raw::c_int) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn longjmp(__env: *mut __jmp_buf_tag, __val: ::std::os::raw::c_int); + pub fn _longjmp(arg1: *mut ::std::os::raw::c_int, arg2: ::std::os::raw::c_int); } #[pg_guard] extern "C" { - pub fn _longjmp(__env: *mut __jmp_buf_tag, __val: ::std::os::raw::c_int); + pub fn longjmperror(); } -pub type sigjmp_buf = [__jmp_buf_tag; 1usize]; #[pg_guard] extern "C" { pub fn errstart( @@ -9457,7 +9674,7 @@ extern "C" { buf: *mut ::std::os::raw::c_char, len: usize, fmt: *const ::std::os::raw::c_char, - args: *mut __va_list_tag, + args: va_list, ) -> usize; } #[repr(C)] @@ -11297,83 +11514,251 @@ extern "C" { #[repr(C)] #[derive(Debug, Default, Copy, Clone)] pub struct flock { + pub l_start: off_t, + pub l_len: off_t, + pub l_pid: pid_t, pub l_type: ::std::os::raw::c_short, pub l_whence: ::std::os::raw::c_short, - pub l_start: __off_t, - pub l_len: __off_t, - pub l_pid: __pid_t, } #[repr(C)] #[derive(Debug, Default, Copy, Clone)] -pub struct stat { - pub st_dev: __dev_t, - pub st_ino: __ino_t, - pub st_nlink: __nlink_t, - pub st_mode: __mode_t, - pub st_uid: __uid_t, - pub st_gid: __gid_t, - pub __pad0: ::std::os::raw::c_int, - pub st_rdev: __dev_t, - pub st_size: __off_t, - pub st_blksize: __blksize_t, - pub st_blocks: __blkcnt_t, - pub st_atim: timespec, - pub st_mtim: timespec, - pub st_ctim: timespec, - pub __glibc_reserved: [__syscall_slong_t; 3usize], +pub struct timespec { + pub tv_sec: __darwin_time_t, + pub tv_nsec: ::std::os::raw::c_long, +} +#[repr(C)] +#[derive(Debug, Default, Copy, Clone)] +pub struct flocktimeout { + pub fl: flock, + pub timeout: timespec, +} +#[repr(C)] +#[derive(Debug, Default, Copy, Clone)] +pub struct radvisory { + pub ra_offset: off_t, + pub ra_count: ::std::os::raw::c_int, +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct fsignatures { + pub fs_file_start: off_t, + pub fs_blob_start: *mut ::std::os::raw::c_void, + pub fs_blob_size: usize, + pub fs_fsignatures_size: usize, + pub fs_cdhash: [::std::os::raw::c_char; 20usize], + pub fs_hash_type: ::std::os::raw::c_int, +} +impl Default for fsignatures { + fn default() -> Self { + let mut s = ::std::mem::MaybeUninit::::uninit(); + unsafe { + ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); + s.assume_init() + } + } +} +pub type fsignatures_t = fsignatures; +#[repr(C)] +#[derive(Debug, Default, Copy, Clone)] +pub struct fsupplement { + pub fs_file_start: off_t, + pub fs_blob_start: off_t, + pub fs_blob_size: usize, + pub fs_orig_fd: ::std::os::raw::c_int, +} +pub type fsupplement_t = fsupplement; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct fchecklv { + pub lv_file_start: off_t, + pub lv_error_message_size: usize, + pub lv_error_message: *mut ::std::os::raw::c_void, +} +impl Default for fchecklv { + fn default() -> Self { + let mut s = ::std::mem::MaybeUninit::::uninit(); + unsafe { + ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); + s.assume_init() + } + } +} +pub type fchecklv_t = fchecklv; +#[repr(C)] +#[derive(Debug, Default, Copy, Clone)] +pub struct fgetsigsinfo { + pub fg_file_start: off_t, + pub fg_info_request: ::std::os::raw::c_int, + pub fg_sig_is_platform: ::std::os::raw::c_int, +} +pub type fgetsigsinfo_t = fgetsigsinfo; +#[repr(C)] +#[derive(Debug, Default, Copy, Clone)] +pub struct fstore { + pub fst_flags: ::std::os::raw::c_uint, + pub fst_posmode: ::std::os::raw::c_int, + pub fst_offset: off_t, + pub fst_length: off_t, + pub fst_bytesalloc: off_t, +} +pub type fstore_t = fstore; +#[repr(C)] +#[derive(Debug, Default, Copy, Clone)] +pub struct fpunchhole { + pub fp_flags: ::std::os::raw::c_uint, + pub reserved: ::std::os::raw::c_uint, + pub fp_offset: off_t, + pub fp_length: off_t, +} +pub type fpunchhole_t = fpunchhole; +#[repr(C)] +#[derive(Debug, Default, Copy, Clone)] +pub struct ftrimactivefile { + pub fta_offset: off_t, + pub fta_length: off_t, +} +pub type ftrimactivefile_t = ftrimactivefile; +#[repr(C)] +#[derive(Debug, Default, Copy, Clone)] +pub struct fspecread { + pub fsr_flags: ::std::os::raw::c_uint, + pub reserved: ::std::os::raw::c_uint, + pub fsr_offset: off_t, + pub fsr_length: off_t, +} +pub type fspecread_t = fspecread; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct fbootstraptransfer { + pub fbt_offset: off_t, + pub fbt_length: usize, + pub fbt_buffer: *mut ::std::os::raw::c_void, +} +impl Default for fbootstraptransfer { + fn default() -> Self { + let mut s = ::std::mem::MaybeUninit::::uninit(); + unsafe { + ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); + s.assume_init() + } + } +} +pub type fbootstraptransfer_t = fbootstraptransfer; +#[repr(C, packed(4))] +#[derive(Debug, Default, Copy, Clone)] +pub struct log2phys { + pub l2p_flags: ::std::os::raw::c_uint, + pub l2p_contigbytes: off_t, + pub l2p_devoffset: off_t, +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _filesec { + _unused: [u8; 0], } +pub type filesec_t = *mut _filesec; +pub const filesec_property_t_FILESEC_OWNER: filesec_property_t = 1; +pub const filesec_property_t_FILESEC_GROUP: filesec_property_t = 2; +pub const filesec_property_t_FILESEC_UUID: filesec_property_t = 3; +pub const filesec_property_t_FILESEC_MODE: filesec_property_t = 4; +pub const filesec_property_t_FILESEC_ACL: filesec_property_t = 5; +pub const filesec_property_t_FILESEC_GRPUUID: filesec_property_t = 6; +pub const filesec_property_t_FILESEC_ACL_RAW: filesec_property_t = 100; +pub const filesec_property_t_FILESEC_ACL_ALLOCSIZE: filesec_property_t = 101; +pub type filesec_property_t = ::std::os::raw::c_uint; #[pg_guard] extern "C" { - pub fn fcntl( - __fd: ::std::os::raw::c_int, - __cmd: ::std::os::raw::c_int, + pub fn open( + arg1: *const ::std::os::raw::c_char, + arg2: ::std::os::raw::c_int, ... ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn open( - __file: *const ::std::os::raw::c_char, - __oflag: ::std::os::raw::c_int, + pub fn openat( + arg1: ::std::os::raw::c_int, + arg2: *const ::std::os::raw::c_char, + arg3: ::std::os::raw::c_int, ... ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn openat( - __fd: ::std::os::raw::c_int, - __file: *const ::std::os::raw::c_char, - __oflag: ::std::os::raw::c_int, + pub fn creat(arg1: *const ::std::os::raw::c_char, arg2: mode_t) -> ::std::os::raw::c_int; +} +#[pg_guard] +extern "C" { + pub fn fcntl( + arg1: ::std::os::raw::c_int, + arg2: ::std::os::raw::c_int, ... ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn creat(__file: *const ::std::os::raw::c_char, __mode: mode_t) -> ::std::os::raw::c_int; + pub fn openx_np( + arg1: *const ::std::os::raw::c_char, + arg2: ::std::os::raw::c_int, + arg3: filesec_t, + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn lockf( - __fd: ::std::os::raw::c_int, - __cmd: ::std::os::raw::c_int, - __len: off_t, + pub fn open_dprotected_np( + arg1: *const ::std::os::raw::c_char, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ... ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn posix_fadvise( - __fd: ::std::os::raw::c_int, - __offset: off_t, - __len: off_t, - __advise: ::std::os::raw::c_int, + pub fn flock(arg1: ::std::os::raw::c_int, arg2: ::std::os::raw::c_int) + -> ::std::os::raw::c_int; +} +#[pg_guard] +extern "C" { + pub fn filesec_init() -> filesec_t; +} +#[pg_guard] +extern "C" { + pub fn filesec_dup(arg1: filesec_t) -> filesec_t; +} +#[pg_guard] +extern "C" { + pub fn filesec_free(arg1: filesec_t); +} +#[pg_guard] +extern "C" { + pub fn filesec_get_property( + arg1: filesec_t, + arg2: filesec_property_t, + arg3: *mut ::std::os::raw::c_void, ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn posix_fallocate( - __fd: ::std::os::raw::c_int, - __offset: off_t, - __len: off_t, + pub fn filesec_query_property( + arg1: filesec_t, + arg2: filesec_property_t, + arg3: *mut ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; +} +#[pg_guard] +extern "C" { + pub fn filesec_set_property( + arg1: filesec_t, + arg2: filesec_property_t, + arg3: *const ::std::os::raw::c_void, + ) -> ::std::os::raw::c_int; +} +#[pg_guard] +extern "C" { + pub fn filesec_unset_property( + arg1: filesec_t, + arg2: filesec_property_t, ) -> ::std::os::raw::c_int; } pub type XLogRecPtr = uint64; @@ -12346,7 +12731,7 @@ pub struct tm { pub tm_yday: ::std::os::raw::c_int, pub tm_isdst: ::std::os::raw::c_int, pub tm_gmtoff: ::std::os::raw::c_long, - pub tm_zone: *const ::std::os::raw::c_char, + pub tm_zone: *mut ::std::os::raw::c_char, } impl Default for tm { fn default() -> Self { @@ -12357,100 +12742,74 @@ impl Default for tm { } } } -#[repr(C)] -#[derive(Debug, Default, Copy, Clone)] -pub struct itimerspec { - pub it_interval: timespec, - pub it_value: timespec, -} #[pg_guard] extern "C" { - pub fn clock() -> clock_t; + pub static mut tzname: [*mut ::std::os::raw::c_char; 0usize]; } #[pg_guard] extern "C" { - pub fn time(__timer: *mut time_t) -> time_t; + pub static mut getdate_err: ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn difftime(__time1: time_t, __time0: time_t) -> f64; + pub static mut timezone: ::std::os::raw::c_long; } #[pg_guard] extern "C" { - pub fn mktime(__tp: *mut tm) -> time_t; + pub static mut daylight: ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn strftime( - __s: *mut ::std::os::raw::c_char, - __maxsize: usize, - __format: *const ::std::os::raw::c_char, - __tp: *const tm, - ) -> usize; + pub fn asctime(arg1: *const tm) -> *mut ::std::os::raw::c_char; } #[pg_guard] extern "C" { - pub fn strftime_l( - __s: *mut ::std::os::raw::c_char, - __maxsize: usize, - __format: *const ::std::os::raw::c_char, - __tp: *const tm, - __loc: locale_t, - ) -> usize; + pub fn clock() -> clock_t; } #[pg_guard] extern "C" { - pub fn gmtime(__timer: *const time_t) -> *mut tm; + pub fn ctime(arg1: *const time_t) -> *mut ::std::os::raw::c_char; } #[pg_guard] extern "C" { - pub fn localtime(__timer: *const time_t) -> *mut tm; + pub fn difftime(arg1: time_t, arg2: time_t) -> f64; } #[pg_guard] extern "C" { - pub fn gmtime_r(__timer: *const time_t, __tp: *mut tm) -> *mut tm; + pub fn getdate(arg1: *const ::std::os::raw::c_char) -> *mut tm; } #[pg_guard] extern "C" { - pub fn localtime_r(__timer: *const time_t, __tp: *mut tm) -> *mut tm; + pub fn gmtime(arg1: *const time_t) -> *mut tm; } #[pg_guard] extern "C" { - pub fn asctime(__tp: *const tm) -> *mut ::std::os::raw::c_char; + pub fn localtime(arg1: *const time_t) -> *mut tm; } #[pg_guard] extern "C" { - pub fn ctime(__timer: *const time_t) -> *mut ::std::os::raw::c_char; + pub fn mktime(arg1: *mut tm) -> time_t; } #[pg_guard] extern "C" { - pub fn asctime_r( - __tp: *const tm, - __buf: *mut ::std::os::raw::c_char, - ) -> *mut ::std::os::raw::c_char; + pub fn strftime( + arg1: *mut ::std::os::raw::c_char, + arg2: usize, + arg3: *const ::std::os::raw::c_char, + arg4: *const tm, + ) -> usize; } #[pg_guard] extern "C" { - pub fn ctime_r( - __timer: *const time_t, - __buf: *mut ::std::os::raw::c_char, + pub fn strptime( + arg1: *const ::std::os::raw::c_char, + arg2: *const ::std::os::raw::c_char, + arg3: *mut tm, ) -> *mut ::std::os::raw::c_char; } #[pg_guard] extern "C" { - pub static mut __tzname: [*mut ::std::os::raw::c_char; 2usize]; -} -#[pg_guard] -extern "C" { - pub static mut __daylight: ::std::os::raw::c_int; -} -#[pg_guard] -extern "C" { - pub static mut __timezone: ::std::os::raw::c_long; -} -#[pg_guard] -extern "C" { - pub static mut tzname: [*mut ::std::os::raw::c_char; 2usize]; + pub fn time(arg1: *mut time_t) -> time_t; } #[pg_guard] extern "C" { @@ -12458,91 +12817,78 @@ extern "C" { } #[pg_guard] extern "C" { - pub static mut daylight: ::std::os::raw::c_int; -} -#[pg_guard] -extern "C" { - pub static mut timezone: ::std::os::raw::c_long; -} -#[pg_guard] -extern "C" { - pub fn timegm(__tp: *mut tm) -> time_t; + pub fn asctime_r( + arg1: *const tm, + arg2: *mut ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; } #[pg_guard] extern "C" { - pub fn timelocal(__tp: *mut tm) -> time_t; + pub fn ctime_r( + arg1: *const time_t, + arg2: *mut ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; } #[pg_guard] extern "C" { - pub fn dysize(__year: ::std::os::raw::c_int) -> ::std::os::raw::c_int; + pub fn gmtime_r(arg1: *const time_t, arg2: *mut tm) -> *mut tm; } #[pg_guard] extern "C" { - pub fn nanosleep( - __requested_time: *const timespec, - __remaining: *mut timespec, - ) -> ::std::os::raw::c_int; + pub fn localtime_r(arg1: *const time_t, arg2: *mut tm) -> *mut tm; } #[pg_guard] extern "C" { - pub fn clock_getres(__clock_id: clockid_t, __res: *mut timespec) -> ::std::os::raw::c_int; + pub fn posix2time(arg1: time_t) -> time_t; } #[pg_guard] extern "C" { - pub fn clock_gettime(__clock_id: clockid_t, __tp: *mut timespec) -> ::std::os::raw::c_int; + pub fn tzsetwall(); } #[pg_guard] extern "C" { - pub fn clock_settime(__clock_id: clockid_t, __tp: *const timespec) -> ::std::os::raw::c_int; + pub fn time2posix(arg1: time_t) -> time_t; } #[pg_guard] extern "C" { - pub fn clock_nanosleep( - __clock_id: clockid_t, - __flags: ::std::os::raw::c_int, - __req: *const timespec, - __rem: *mut timespec, - ) -> ::std::os::raw::c_int; + pub fn timelocal(arg1: *mut tm) -> time_t; } #[pg_guard] extern "C" { - pub fn clock_getcpuclockid(__pid: pid_t, __clock_id: *mut clockid_t) -> ::std::os::raw::c_int; + pub fn timegm(arg1: *mut tm) -> time_t; } #[pg_guard] extern "C" { - pub fn timer_create( - __clock_id: clockid_t, - __evp: *mut sigevent, - __timerid: *mut timer_t, - ) -> ::std::os::raw::c_int; + pub fn nanosleep(__rqtp: *const timespec, __rmtp: *mut timespec) -> ::std::os::raw::c_int; } +pub const clockid_t__CLOCK_REALTIME: clockid_t = 0; +pub const clockid_t__CLOCK_MONOTONIC: clockid_t = 6; +pub const clockid_t__CLOCK_MONOTONIC_RAW: clockid_t = 4; +pub const clockid_t__CLOCK_MONOTONIC_RAW_APPROX: clockid_t = 5; +pub const clockid_t__CLOCK_UPTIME_RAW: clockid_t = 8; +pub const clockid_t__CLOCK_UPTIME_RAW_APPROX: clockid_t = 9; +pub const clockid_t__CLOCK_PROCESS_CPUTIME_ID: clockid_t = 12; +pub const clockid_t__CLOCK_THREAD_CPUTIME_ID: clockid_t = 16; +pub type clockid_t = ::std::os::raw::c_uint; #[pg_guard] extern "C" { - pub fn timer_delete(__timerid: timer_t) -> ::std::os::raw::c_int; + pub fn clock_getres(__clock_id: clockid_t, __res: *mut timespec) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn timer_settime( - __timerid: timer_t, - __flags: ::std::os::raw::c_int, - __value: *const itimerspec, - __ovalue: *mut itimerspec, - ) -> ::std::os::raw::c_int; + pub fn clock_gettime(__clock_id: clockid_t, __tp: *mut timespec) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn timer_gettime(__timerid: timer_t, __value: *mut itimerspec) -> ::std::os::raw::c_int; + pub fn clock_gettime_nsec_np(__clock_id: clockid_t) -> __uint64_t; } #[pg_guard] extern "C" { - pub fn timer_getoverrun(__timerid: timer_t) -> ::std::os::raw::c_int; + pub fn clock_settime(__clock_id: clockid_t, __tp: *const timespec) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn timespec_get( - __ts: *mut timespec, - __base: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; + pub fn timespec_get(ts: *mut timespec, base: ::std::os::raw::c_int) -> ::std::os::raw::c_int; } pub type instr_time = timespec; #[repr(C)] @@ -12674,7 +13020,7 @@ extern "C" { pub fn appendStringInfoVA( str_: StringInfo, fmt: *const ::std::os::raw::c_char, - args: *mut __va_list_tag, + args: va_list, ) -> ::std::os::raw::c_int; } #[pg_guard] @@ -14230,7 +14576,6 @@ pub struct IndexOnlyScan { pub indexorderby: *mut List, pub indextlist: *mut List, pub indexorderdir: ScanDirection, - pub recheckqual: *mut List, } impl Default for IndexOnlyScan { fn default() -> Self { @@ -15269,11 +15614,12 @@ impl Default for TriggerDesc { #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct dirent { - pub d_ino: __ino_t, - pub d_off: __off_t, - pub d_reclen: ::std::os::raw::c_ushort, - pub d_type: ::std::os::raw::c_uchar, - pub d_name: [::std::os::raw::c_char; 256usize], + pub d_ino: __uint64_t, + pub d_seekoff: __uint64_t, + pub d_reclen: __uint16_t, + pub d_namlen: __uint16_t, + pub d_type: __uint8_t, + pub d_name: [::std::os::raw::c_char; 1024usize], } impl Default for dirent { fn default() -> Self { @@ -15284,71 +15630,87 @@ impl Default for dirent { } } } -pub const DT_UNKNOWN: ::std::os::raw::c_uint = 0; -pub const DT_FIFO: ::std::os::raw::c_uint = 1; -pub const DT_CHR: ::std::os::raw::c_uint = 2; -pub const DT_DIR: ::std::os::raw::c_uint = 4; -pub const DT_BLK: ::std::os::raw::c_uint = 6; -pub const DT_REG: ::std::os::raw::c_uint = 8; -pub const DT_LNK: ::std::os::raw::c_uint = 10; -pub const DT_SOCK: ::std::os::raw::c_uint = 12; -pub const DT_WHT: ::std::os::raw::c_uint = 14; -pub type _bindgen_ty_9 = ::std::os::raw::c_uint; #[repr(C)] #[derive(Debug, Copy, Clone)] -pub struct __dirstream { +pub struct _telldir { _unused: [u8; 0], } -pub type DIR = __dirstream; -#[pg_guard] -extern "C" { - pub fn opendir(__name: *const ::std::os::raw::c_char) -> *mut DIR; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct DIR { + pub __dd_fd: ::std::os::raw::c_int, + pub __dd_loc: ::std::os::raw::c_long, + pub __dd_size: ::std::os::raw::c_long, + pub __dd_buf: *mut ::std::os::raw::c_char, + pub __dd_len: ::std::os::raw::c_int, + pub __dd_seek: ::std::os::raw::c_long, + pub __padding: ::std::os::raw::c_long, + pub __dd_flags: ::std::os::raw::c_int, + pub __dd_lock: __darwin_pthread_mutex_t, + pub __dd_td: *mut _telldir, +} +impl Default for DIR { + fn default() -> Self { + let mut s = ::std::mem::MaybeUninit::::uninit(); + unsafe { + ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); + s.assume_init() + } + } } #[pg_guard] extern "C" { - pub fn fdopendir(__fd: ::std::os::raw::c_int) -> *mut DIR; + pub fn closedir(arg1: *mut DIR) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn closedir(__dirp: *mut DIR) -> ::std::os::raw::c_int; + pub fn opendir(arg1: *const ::std::os::raw::c_char) -> *mut DIR; } #[pg_guard] extern "C" { - pub fn readdir(__dirp: *mut DIR) -> *mut dirent; + pub fn readdir(arg1: *mut DIR) -> *mut dirent; } #[pg_guard] extern "C" { pub fn readdir_r( - __dirp: *mut DIR, - __entry: *mut dirent, - __result: *mut *mut dirent, + arg1: *mut DIR, + arg2: *mut dirent, + arg3: *mut *mut dirent, ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn rewinddir(__dirp: *mut DIR); + pub fn rewinddir(arg1: *mut DIR); } #[pg_guard] extern "C" { - pub fn seekdir(__dirp: *mut DIR, __pos: ::std::os::raw::c_long); + pub fn seekdir(arg1: *mut DIR, arg2: ::std::os::raw::c_long); } #[pg_guard] extern "C" { - pub fn telldir(__dirp: *mut DIR) -> ::std::os::raw::c_long; + pub fn telldir(arg1: *mut DIR) -> ::std::os::raw::c_long; } #[pg_guard] extern "C" { - pub fn dirfd(__dirp: *mut DIR) -> ::std::os::raw::c_int; + pub fn fdopendir(arg1: ::std::os::raw::c_int) -> *mut DIR; +} +#[pg_guard] +extern "C" { + pub fn alphasort(arg1: *mut *const dirent, arg2: *mut *const dirent) -> ::std::os::raw::c_int; +} +#[pg_guard] +extern "C" { + pub fn dirfd(dirp: *mut DIR) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { pub fn scandir( - __dir: *const ::std::os::raw::c_char, - __namelist: *mut *mut *mut dirent, - __selector: ::std::option::Option< + arg1: *const ::std::os::raw::c_char, + arg2: *mut *mut *mut dirent, + arg3: ::std::option::Option< unsafe extern "C" fn(arg1: *const dirent) -> ::std::os::raw::c_int, >, - __cmp: ::std::option::Option< + arg4: ::std::option::Option< unsafe extern "C" fn( arg1: *mut *const dirent, arg2: *mut *const dirent, @@ -15358,16 +15720,27 @@ extern "C" { } #[pg_guard] extern "C" { - pub fn alphasort(__e1: *mut *const dirent, __e2: *mut *const dirent) -> ::std::os::raw::c_int; + pub fn scandir_b( + arg1: *const ::std::os::raw::c_char, + arg2: *mut *mut *mut dirent, + arg3: *mut ::std::os::raw::c_void, + arg4: *mut ::std::os::raw::c_void, + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { + #[link_name = "\u{1}_getdirentries_is_not_available_when_64_bit_inodes_are_in_effect"] pub fn getdirentries( - __fd: ::std::os::raw::c_int, - __buf: *mut ::std::os::raw::c_char, - __nbytes: usize, - __basep: *mut __off_t, - ) -> __ssize_t; + arg1: ::std::os::raw::c_int, + arg2: *mut ::std::os::raw::c_char, + arg3: ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_long, + ) -> ::std::os::raw::c_int; +} +#[pg_guard] +extern "C" { + pub fn __opendir2(arg1: *const ::std::os::raw::c_char, arg2: ::std::os::raw::c_int) + -> *mut DIR; } pub type File = ::std::os::raw::c_int; #[pg_guard] @@ -15814,7 +16187,7 @@ extern "C" { extern "C" { pub fn reset_on_dsm_detach(); } -pub type slock_t = ::std::os::raw::c_uchar; +pub type slock_t = ::std::os::raw::c_int; #[pg_guard] extern "C" { pub static mut dummy_spinlock: slock_t; @@ -16634,7 +17007,7 @@ extern "C" { #[repr(C)] #[derive(Debug, Default, Copy, Clone)] pub struct pg_atomic_flag { - pub value: ::std::os::raw::c_char, + pub value: ::std::os::raw::c_int, } #[repr(C)] #[derive(Debug, Default, Copy, Clone)] @@ -17901,7 +18274,7 @@ impl Default for IndexScanState { #[derive(Debug, Copy, Clone)] pub struct IndexOnlyScanState { pub ss: ScanState, - pub recheckqual: *mut ExprState, + pub indexqual: *mut ExprState, pub ioss_ScanKeys: *mut ScanKeyData, pub ioss_NumScanKeys: ::std::os::raw::c_int, pub ioss_OrderByKeys: *mut ScanKeyData, @@ -23624,736 +23997,161 @@ extern "C" { nulls: *mut *mut bool, ) -> ::std::os::raw::c_int; } -pub type sig_atomic_t = __sig_atomic_t; -#[repr(C)] -#[derive(Copy, Clone)] -pub union sigval { - pub sival_int: ::std::os::raw::c_int, - pub sival_ptr: *mut ::std::os::raw::c_void, -} -impl Default for sigval { - fn default() -> Self { - let mut s = ::std::mem::MaybeUninit::::uninit(); - unsafe { - ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); - s.assume_init() - } - } -} -pub type __sigval_t = sigval; -#[repr(C)] -#[derive(Copy, Clone)] -pub struct siginfo_t { - pub si_signo: ::std::os::raw::c_int, - pub si_errno: ::std::os::raw::c_int, - pub si_code: ::std::os::raw::c_int, - pub __pad0: ::std::os::raw::c_int, - pub _sifields: siginfo_t__bindgen_ty_1, -} -#[repr(C)] -#[derive(Copy, Clone)] -pub union siginfo_t__bindgen_ty_1 { - pub _pad: [::std::os::raw::c_int; 28usize], - pub _kill: siginfo_t__bindgen_ty_1__bindgen_ty_1, - pub _timer: siginfo_t__bindgen_ty_1__bindgen_ty_2, - pub _rt: siginfo_t__bindgen_ty_1__bindgen_ty_3, - pub _sigchld: siginfo_t__bindgen_ty_1__bindgen_ty_4, - pub _sigfault: siginfo_t__bindgen_ty_1__bindgen_ty_5, - pub _sigpoll: siginfo_t__bindgen_ty_1__bindgen_ty_6, - pub _sigsys: siginfo_t__bindgen_ty_1__bindgen_ty_7, -} -#[repr(C)] -#[derive(Debug, Default, Copy, Clone)] -pub struct siginfo_t__bindgen_ty_1__bindgen_ty_1 { - pub si_pid: __pid_t, - pub si_uid: __uid_t, -} -#[repr(C)] -#[derive(Copy, Clone)] -pub struct siginfo_t__bindgen_ty_1__bindgen_ty_2 { - pub si_tid: ::std::os::raw::c_int, - pub si_overrun: ::std::os::raw::c_int, - pub si_sigval: __sigval_t, -} -impl Default for siginfo_t__bindgen_ty_1__bindgen_ty_2 { - fn default() -> Self { - let mut s = ::std::mem::MaybeUninit::::uninit(); - unsafe { - ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); - s.assume_init() - } - } -} -#[repr(C)] -#[derive(Copy, Clone)] -pub struct siginfo_t__bindgen_ty_1__bindgen_ty_3 { - pub si_pid: __pid_t, - pub si_uid: __uid_t, - pub si_sigval: __sigval_t, -} -impl Default for siginfo_t__bindgen_ty_1__bindgen_ty_3 { - fn default() -> Self { - let mut s = ::std::mem::MaybeUninit::::uninit(); - unsafe { - ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); - s.assume_init() - } - } -} -#[repr(C)] -#[derive(Debug, Default, Copy, Clone)] -pub struct siginfo_t__bindgen_ty_1__bindgen_ty_4 { - pub si_pid: __pid_t, - pub si_uid: __uid_t, - pub si_status: ::std::os::raw::c_int, - pub si_utime: __clock_t, - pub si_stime: __clock_t, -} -#[repr(C)] -#[derive(Copy, Clone)] -pub struct siginfo_t__bindgen_ty_1__bindgen_ty_5 { - pub si_addr: *mut ::std::os::raw::c_void, - pub si_addr_lsb: ::std::os::raw::c_short, - pub _bounds: siginfo_t__bindgen_ty_1__bindgen_ty_5__bindgen_ty_1, -} -#[repr(C)] -#[derive(Copy, Clone)] -pub union siginfo_t__bindgen_ty_1__bindgen_ty_5__bindgen_ty_1 { - pub _addr_bnd: siginfo_t__bindgen_ty_1__bindgen_ty_5__bindgen_ty_1__bindgen_ty_1, - pub _pkey: __uint32_t, -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct siginfo_t__bindgen_ty_1__bindgen_ty_5__bindgen_ty_1__bindgen_ty_1 { - pub _lower: *mut ::std::os::raw::c_void, - pub _upper: *mut ::std::os::raw::c_void, -} -impl Default for siginfo_t__bindgen_ty_1__bindgen_ty_5__bindgen_ty_1__bindgen_ty_1 { - fn default() -> Self { - let mut s = ::std::mem::MaybeUninit::::uninit(); - unsafe { - ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); - s.assume_init() - } - } -} -impl Default for siginfo_t__bindgen_ty_1__bindgen_ty_5__bindgen_ty_1 { - fn default() -> Self { - let mut s = ::std::mem::MaybeUninit::::uninit(); - unsafe { - ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); - s.assume_init() - } - } -} -impl Default for siginfo_t__bindgen_ty_1__bindgen_ty_5 { - fn default() -> Self { - let mut s = ::std::mem::MaybeUninit::::uninit(); - unsafe { - ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); - s.assume_init() - } - } -} -#[repr(C)] -#[derive(Debug, Default, Copy, Clone)] -pub struct siginfo_t__bindgen_ty_1__bindgen_ty_6 { - pub si_band: ::std::os::raw::c_long, - pub si_fd: ::std::os::raw::c_int, -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct siginfo_t__bindgen_ty_1__bindgen_ty_7 { - pub _call_addr: *mut ::std::os::raw::c_void, - pub _syscall: ::std::os::raw::c_int, - pub _arch: ::std::os::raw::c_uint, -} -impl Default for siginfo_t__bindgen_ty_1__bindgen_ty_7 { - fn default() -> Self { - let mut s = ::std::mem::MaybeUninit::::uninit(); - unsafe { - ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); - s.assume_init() - } - } -} -impl Default for siginfo_t__bindgen_ty_1 { - fn default() -> Self { - let mut s = ::std::mem::MaybeUninit::::uninit(); - unsafe { - ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); - s.assume_init() - } - } -} -impl Default for siginfo_t { - fn default() -> Self { - let mut s = ::std::mem::MaybeUninit::::uninit(); - unsafe { - ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); - s.assume_init() - } - } -} -pub const SI_ASYNCNL: ::std::os::raw::c_int = -60; -pub const SI_DETHREAD: ::std::os::raw::c_int = -7; -pub const SI_TKILL: ::std::os::raw::c_int = -6; -pub const SI_SIGIO: ::std::os::raw::c_int = -5; -pub const SI_ASYNCIO: ::std::os::raw::c_int = -4; -pub const SI_MESGQ: ::std::os::raw::c_int = -3; -pub const SI_TIMER: ::std::os::raw::c_int = -2; -pub const SI_QUEUE: ::std::os::raw::c_int = -1; -pub const SI_USER: ::std::os::raw::c_int = 0; -pub const SI_KERNEL: ::std::os::raw::c_int = 128; -pub type _bindgen_ty_10 = ::std::os::raw::c_int; -pub const ILL_ILLOPC: ::std::os::raw::c_uint = 1; -pub const ILL_ILLOPN: ::std::os::raw::c_uint = 2; -pub const ILL_ILLADR: ::std::os::raw::c_uint = 3; -pub const ILL_ILLTRP: ::std::os::raw::c_uint = 4; -pub const ILL_PRVOPC: ::std::os::raw::c_uint = 5; -pub const ILL_PRVREG: ::std::os::raw::c_uint = 6; -pub const ILL_COPROC: ::std::os::raw::c_uint = 7; -pub const ILL_BADSTK: ::std::os::raw::c_uint = 8; -pub const ILL_BADIADDR: ::std::os::raw::c_uint = 9; -pub type _bindgen_ty_11 = ::std::os::raw::c_uint; -pub const FPE_INTDIV: ::std::os::raw::c_uint = 1; -pub const FPE_INTOVF: ::std::os::raw::c_uint = 2; -pub const FPE_FLTDIV: ::std::os::raw::c_uint = 3; -pub const FPE_FLTOVF: ::std::os::raw::c_uint = 4; -pub const FPE_FLTUND: ::std::os::raw::c_uint = 5; -pub const FPE_FLTRES: ::std::os::raw::c_uint = 6; -pub const FPE_FLTINV: ::std::os::raw::c_uint = 7; -pub const FPE_FLTSUB: ::std::os::raw::c_uint = 8; -pub const FPE_FLTUNK: ::std::os::raw::c_uint = 14; -pub const FPE_CONDTRAP: ::std::os::raw::c_uint = 15; -pub type _bindgen_ty_12 = ::std::os::raw::c_uint; -pub const SEGV_MAPERR: ::std::os::raw::c_uint = 1; -pub const SEGV_ACCERR: ::std::os::raw::c_uint = 2; -pub const SEGV_BNDERR: ::std::os::raw::c_uint = 3; -pub const SEGV_PKUERR: ::std::os::raw::c_uint = 4; -pub const SEGV_ACCADI: ::std::os::raw::c_uint = 5; -pub const SEGV_ADIDERR: ::std::os::raw::c_uint = 6; -pub const SEGV_ADIPERR: ::std::os::raw::c_uint = 7; -pub const SEGV_MTEAERR: ::std::os::raw::c_uint = 8; -pub const SEGV_MTESERR: ::std::os::raw::c_uint = 9; -pub type _bindgen_ty_13 = ::std::os::raw::c_uint; -pub const BUS_ADRALN: ::std::os::raw::c_uint = 1; -pub const BUS_ADRERR: ::std::os::raw::c_uint = 2; -pub const BUS_OBJERR: ::std::os::raw::c_uint = 3; -pub const BUS_MCEERR_AR: ::std::os::raw::c_uint = 4; -pub const BUS_MCEERR_AO: ::std::os::raw::c_uint = 5; -pub type _bindgen_ty_14 = ::std::os::raw::c_uint; -pub const CLD_EXITED: ::std::os::raw::c_uint = 1; -pub const CLD_KILLED: ::std::os::raw::c_uint = 2; -pub const CLD_DUMPED: ::std::os::raw::c_uint = 3; -pub const CLD_TRAPPED: ::std::os::raw::c_uint = 4; -pub const CLD_STOPPED: ::std::os::raw::c_uint = 5; -pub const CLD_CONTINUED: ::std::os::raw::c_uint = 6; -pub type _bindgen_ty_15 = ::std::os::raw::c_uint; -pub const POLL_IN: ::std::os::raw::c_uint = 1; -pub const POLL_OUT: ::std::os::raw::c_uint = 2; -pub const POLL_MSG: ::std::os::raw::c_uint = 3; -pub const POLL_ERR: ::std::os::raw::c_uint = 4; -pub const POLL_PRI: ::std::os::raw::c_uint = 5; -pub const POLL_HUP: ::std::os::raw::c_uint = 6; -pub type _bindgen_ty_16 = ::std::os::raw::c_uint; -pub type sigval_t = __sigval_t; -#[repr(C)] -#[derive(Copy, Clone)] -pub struct sigevent { - pub sigev_value: __sigval_t, - pub sigev_signo: ::std::os::raw::c_int, - pub sigev_notify: ::std::os::raw::c_int, - pub _sigev_un: sigevent__bindgen_ty_1, -} -#[repr(C)] -#[derive(Copy, Clone)] -pub union sigevent__bindgen_ty_1 { - pub _pad: [::std::os::raw::c_int; 12usize], - pub _tid: __pid_t, - pub _sigev_thread: sigevent__bindgen_ty_1__bindgen_ty_1, -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct sigevent__bindgen_ty_1__bindgen_ty_1 { - pub _function: ::std::option::Option, - pub _attribute: *mut pthread_attr_t, -} -impl Default for sigevent__bindgen_ty_1__bindgen_ty_1 { - fn default() -> Self { - let mut s = ::std::mem::MaybeUninit::::uninit(); - unsafe { - ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); - s.assume_init() - } - } -} -impl Default for sigevent__bindgen_ty_1 { - fn default() -> Self { - let mut s = ::std::mem::MaybeUninit::::uninit(); - unsafe { - ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); - s.assume_init() - } - } -} -impl Default for sigevent { - fn default() -> Self { - let mut s = ::std::mem::MaybeUninit::::uninit(); - unsafe { - ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); - s.assume_init() - } - } -} -pub type sigevent_t = sigevent; -pub const SIGEV_SIGNAL: ::std::os::raw::c_uint = 0; -pub const SIGEV_NONE: ::std::os::raw::c_uint = 1; -pub const SIGEV_THREAD: ::std::os::raw::c_uint = 2; -pub const SIGEV_THREAD_ID: ::std::os::raw::c_uint = 4; -pub type _bindgen_ty_17 = ::std::os::raw::c_uint; -pub type __sighandler_t = ::std::option::Option; #[pg_guard] extern "C" { - pub fn __sysv_signal(__sig: ::std::os::raw::c_int, __handler: __sighandler_t) - -> __sighandler_t; + pub static sys_signame: [*const ::std::os::raw::c_char; 32usize]; } #[pg_guard] extern "C" { - pub fn signal(__sig: ::std::os::raw::c_int, __handler: __sighandler_t) -> __sighandler_t; + pub static sys_siglist: [*const ::std::os::raw::c_char; 32usize]; } #[pg_guard] extern "C" { - pub fn kill(__pid: __pid_t, __sig: ::std::os::raw::c_int) -> ::std::os::raw::c_int; + pub fn raise(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn killpg(__pgrp: __pid_t, __sig: ::std::os::raw::c_int) -> ::std::os::raw::c_int; -} -#[pg_guard] -extern "C" { - pub fn raise(__sig: ::std::os::raw::c_int) -> ::std::os::raw::c_int; + pub fn bsd_signal( + arg1: ::std::os::raw::c_int, + arg2: ::std::option::Option, + ) -> ::std::option::Option< + unsafe extern "C" fn( + arg1: ::std::os::raw::c_int, + arg2: ::std::option::Option, + ), + >; } #[pg_guard] extern "C" { - pub fn ssignal(__sig: ::std::os::raw::c_int, __handler: __sighandler_t) -> __sighandler_t; + pub fn kill(arg1: pid_t, arg2: ::std::os::raw::c_int) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn gsignal(__sig: ::std::os::raw::c_int) -> ::std::os::raw::c_int; + pub fn killpg(arg1: pid_t, arg2: ::std::os::raw::c_int) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn psignal(__sig: ::std::os::raw::c_int, __s: *const ::std::os::raw::c_char); + pub fn pthread_kill(arg1: pthread_t, arg2: ::std::os::raw::c_int) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn psiginfo(__pinfo: *const siginfo_t, __s: *const ::std::os::raw::c_char); + pub fn pthread_sigmask( + arg1: ::std::os::raw::c_int, + arg2: *const sigset_t, + arg3: *mut sigset_t, + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn sigblock(__mask: ::std::os::raw::c_int) -> ::std::os::raw::c_int; + pub fn sigaction( + arg1: ::std::os::raw::c_int, + arg2: *const sigaction, + arg3: *mut sigaction, + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn sigsetmask(__mask: ::std::os::raw::c_int) -> ::std::os::raw::c_int; + pub fn sigaddset(arg1: *mut sigset_t, arg2: ::std::os::raw::c_int) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn siggetmask() -> ::std::os::raw::c_int; + pub fn sigaltstack(arg1: *const stack_t, arg2: *mut stack_t) -> ::std::os::raw::c_int; } -pub type sig_t = __sighandler_t; #[pg_guard] extern "C" { - pub fn sigemptyset(__set: *mut sigset_t) -> ::std::os::raw::c_int; + pub fn sigdelset(arg1: *mut sigset_t, arg2: ::std::os::raw::c_int) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn sigfillset(__set: *mut sigset_t) -> ::std::os::raw::c_int; + pub fn sigemptyset(arg1: *mut sigset_t) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn sigaddset(__set: *mut sigset_t, __signo: ::std::os::raw::c_int) - -> ::std::os::raw::c_int; + pub fn sigfillset(arg1: *mut sigset_t) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn sigdelset(__set: *mut sigset_t, __signo: ::std::os::raw::c_int) - -> ::std::os::raw::c_int; + pub fn sighold(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn sigismember( - __set: *const sigset_t, - __signo: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; -} -#[repr(C)] -#[derive(Copy, Clone)] -pub struct sigaction { - pub __sigaction_handler: sigaction__bindgen_ty_1, - pub sa_mask: __sigset_t, - pub sa_flags: ::std::os::raw::c_int, - pub sa_restorer: ::std::option::Option, -} -#[repr(C)] -#[derive(Copy, Clone)] -pub union sigaction__bindgen_ty_1 { - pub sa_handler: __sighandler_t, - pub sa_sigaction: ::std::option::Option< - unsafe extern "C" fn( - arg1: ::std::os::raw::c_int, - arg2: *mut siginfo_t, - arg3: *mut ::std::os::raw::c_void, - ), - >, -} -impl Default for sigaction__bindgen_ty_1 { - fn default() -> Self { - let mut s = ::std::mem::MaybeUninit::::uninit(); - unsafe { - ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); - s.assume_init() - } - } -} -impl Default for sigaction { - fn default() -> Self { - let mut s = ::std::mem::MaybeUninit::::uninit(); - unsafe { - ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); - s.assume_init() - } - } + pub fn sigignore(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn sigprocmask( - __how: ::std::os::raw::c_int, - __set: *const sigset_t, - __oset: *mut sigset_t, + pub fn siginterrupt( + arg1: ::std::os::raw::c_int, + arg2: ::std::os::raw::c_int, ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn sigsuspend(__set: *const sigset_t) -> ::std::os::raw::c_int; + pub fn sigismember(arg1: *const sigset_t, arg2: ::std::os::raw::c_int) + -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn sigaction( - __sig: ::std::os::raw::c_int, - __act: *const sigaction, - __oact: *mut sigaction, - ) -> ::std::os::raw::c_int; + pub fn sigpause(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn sigpending(__set: *mut sigset_t) -> ::std::os::raw::c_int; + pub fn sigpending(arg1: *mut sigset_t) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn sigwait( - __set: *const sigset_t, - __sig: *mut ::std::os::raw::c_int, + pub fn sigprocmask( + arg1: ::std::os::raw::c_int, + arg2: *const sigset_t, + arg3: *mut sigset_t, ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn sigwaitinfo(__set: *const sigset_t, __info: *mut siginfo_t) -> ::std::os::raw::c_int; + pub fn sigrelse(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn sigtimedwait( - __set: *const sigset_t, - __info: *mut siginfo_t, - __timeout: *const timespec, - ) -> ::std::os::raw::c_int; -} -#[pg_guard] -extern "C" { - pub fn sigqueue( - __pid: __pid_t, - __sig: ::std::os::raw::c_int, - __val: sigval, - ) -> ::std::os::raw::c_int; -} -#[repr(C)] -#[derive(Debug, Default, Copy, Clone)] -pub struct _fpx_sw_bytes { - pub magic1: __uint32_t, - pub extended_size: __uint32_t, - pub xstate_bv: __uint64_t, - pub xstate_size: __uint32_t, - pub __glibc_reserved1: [__uint32_t; 7usize], -} -#[repr(C)] -#[derive(Debug, Default, Copy, Clone)] -pub struct _fpreg { - pub significand: [::std::os::raw::c_ushort; 4usize], - pub exponent: ::std::os::raw::c_ushort, -} -#[repr(C)] -#[derive(Debug, Default, Copy, Clone)] -pub struct _fpxreg { - pub significand: [::std::os::raw::c_ushort; 4usize], - pub exponent: ::std::os::raw::c_ushort, - pub __glibc_reserved1: [::std::os::raw::c_ushort; 3usize], -} -#[repr(C)] -#[derive(Debug, Default, Copy, Clone)] -pub struct _xmmreg { - pub element: [__uint32_t; 4usize], -} -#[repr(C)] -#[derive(Debug, Default, Copy, Clone)] -pub struct _fpstate { - pub cwd: __uint16_t, - pub swd: __uint16_t, - pub ftw: __uint16_t, - pub fop: __uint16_t, - pub rip: __uint64_t, - pub rdp: __uint64_t, - pub mxcsr: __uint32_t, - pub mxcr_mask: __uint32_t, - pub _st: [_fpxreg; 8usize], - pub _xmm: [_xmmreg; 16usize], - pub __glibc_reserved1: [__uint32_t; 24usize], -} -#[repr(C)] -#[derive(Copy, Clone)] -pub struct sigcontext { - pub r8: __uint64_t, - pub r9: __uint64_t, - pub r10: __uint64_t, - pub r11: __uint64_t, - pub r12: __uint64_t, - pub r13: __uint64_t, - pub r14: __uint64_t, - pub r15: __uint64_t, - pub rdi: __uint64_t, - pub rsi: __uint64_t, - pub rbp: __uint64_t, - pub rbx: __uint64_t, - pub rdx: __uint64_t, - pub rax: __uint64_t, - pub rcx: __uint64_t, - pub rsp: __uint64_t, - pub rip: __uint64_t, - pub eflags: __uint64_t, - pub cs: ::std::os::raw::c_ushort, - pub gs: ::std::os::raw::c_ushort, - pub fs: ::std::os::raw::c_ushort, - pub __pad0: ::std::os::raw::c_ushort, - pub err: __uint64_t, - pub trapno: __uint64_t, - pub oldmask: __uint64_t, - pub cr2: __uint64_t, - pub __bindgen_anon_1: sigcontext__bindgen_ty_1, - pub __reserved1: [__uint64_t; 8usize], -} -#[repr(C)] -#[derive(Copy, Clone)] -pub union sigcontext__bindgen_ty_1 { - pub fpstate: *mut _fpstate, - pub __fpstate_word: __uint64_t, -} -impl Default for sigcontext__bindgen_ty_1 { - fn default() -> Self { - let mut s = ::std::mem::MaybeUninit::::uninit(); - unsafe { - ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); - s.assume_init() - } - } -} -impl Default for sigcontext { - fn default() -> Self { - let mut s = ::std::mem::MaybeUninit::::uninit(); - unsafe { - ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); - s.assume_init() - } - } -} -#[repr(C)] -#[derive(Debug, Default, Copy, Clone)] -pub struct _xsave_hdr { - pub xstate_bv: __uint64_t, - pub __glibc_reserved1: [__uint64_t; 2usize], - pub __glibc_reserved2: [__uint64_t; 5usize], -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _ymmh_state { - pub ymmh_space: [__uint32_t; 64usize], -} -impl Default for _ymmh_state { - fn default() -> Self { - let mut s = ::std::mem::MaybeUninit::::uninit(); - unsafe { - ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); - s.assume_init() - } - } -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _xstate { - pub fpstate: _fpstate, - pub xstate_hdr: _xsave_hdr, - pub ymmh: _ymmh_state, -} -impl Default for _xstate { - fn default() -> Self { - let mut s = ::std::mem::MaybeUninit::::uninit(); - unsafe { - ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); - s.assume_init() - } - } + pub fn sigset( + arg1: ::std::os::raw::c_int, + arg2: ::std::option::Option, + ) -> ::std::option::Option< + unsafe extern "C" fn( + arg1: ::std::os::raw::c_int, + arg2: ::std::option::Option, + ), + >; } #[pg_guard] extern "C" { - pub fn sigreturn(__scp: *mut sigcontext) -> ::std::os::raw::c_int; -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct stack_t { - pub ss_sp: *mut ::std::os::raw::c_void, - pub ss_flags: ::std::os::raw::c_int, - pub ss_size: usize, -} -impl Default for stack_t { - fn default() -> Self { - let mut s = ::std::mem::MaybeUninit::::uninit(); - unsafe { - ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); - s.assume_init() - } - } -} -pub type greg_t = ::std::os::raw::c_longlong; -pub type gregset_t = [greg_t; 23usize]; -#[repr(C)] -#[derive(Debug, Default, Copy, Clone)] -pub struct _libc_fpxreg { - pub significand: [::std::os::raw::c_ushort; 4usize], - pub exponent: ::std::os::raw::c_ushort, - pub __glibc_reserved1: [::std::os::raw::c_ushort; 3usize], -} -#[repr(C)] -#[derive(Debug, Default, Copy, Clone)] -pub struct _libc_xmmreg { - pub element: [__uint32_t; 4usize], -} -#[repr(C)] -#[derive(Debug, Default, Copy, Clone)] -pub struct _libc_fpstate { - pub cwd: __uint16_t, - pub swd: __uint16_t, - pub ftw: __uint16_t, - pub fop: __uint16_t, - pub rip: __uint64_t, - pub rdp: __uint64_t, - pub mxcsr: __uint32_t, - pub mxcr_mask: __uint32_t, - pub _st: [_libc_fpxreg; 8usize], - pub _xmm: [_libc_xmmreg; 16usize], - pub __glibc_reserved1: [__uint32_t; 24usize], -} -pub type fpregset_t = *mut _libc_fpstate; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct mcontext_t { - pub gregs: gregset_t, - pub fpregs: fpregset_t, - pub __reserved1: [::std::os::raw::c_ulonglong; 8usize], -} -impl Default for mcontext_t { - fn default() -> Self { - let mut s = ::std::mem::MaybeUninit::::uninit(); - unsafe { - ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); - s.assume_init() - } - } -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct ucontext_t { - pub uc_flags: ::std::os::raw::c_ulong, - pub uc_link: *mut ucontext_t, - pub uc_stack: stack_t, - pub uc_mcontext: mcontext_t, - pub uc_sigmask: sigset_t, - pub __fpregs_mem: _libc_fpstate, - pub __ssp: [::std::os::raw::c_ulonglong; 4usize], -} -impl Default for ucontext_t { - fn default() -> Self { - let mut s = ::std::mem::MaybeUninit::::uninit(); - unsafe { - ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); - s.assume_init() - } - } + pub fn sigsuspend(arg1: *const sigset_t) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn siginterrupt( - __sig: ::std::os::raw::c_int, - __interrupt: ::std::os::raw::c_int, + pub fn sigwait( + arg1: *const sigset_t, + arg2: *mut ::std::os::raw::c_int, ) -> ::std::os::raw::c_int; } -pub const SS_ONSTACK: ::std::os::raw::c_uint = 1; -pub const SS_DISABLE: ::std::os::raw::c_uint = 2; -pub type _bindgen_ty_18 = ::std::os::raw::c_uint; #[pg_guard] extern "C" { - pub fn sigaltstack(__ss: *const stack_t, __oss: *mut stack_t) -> ::std::os::raw::c_int; -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct sigstack { - pub ss_sp: *mut ::std::os::raw::c_void, - pub ss_onstack: ::std::os::raw::c_int, -} -impl Default for sigstack { - fn default() -> Self { - let mut s = ::std::mem::MaybeUninit::::uninit(); - unsafe { - ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); - s.assume_init() - } - } + pub fn psignal(arg1: ::std::os::raw::c_uint, arg2: *const ::std::os::raw::c_char); } #[pg_guard] extern "C" { - pub fn sigstack(__ss: *mut sigstack, __oss: *mut sigstack) -> ::std::os::raw::c_int; + pub fn sigblock(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn pthread_sigmask( - __how: ::std::os::raw::c_int, - __newmask: *const __sigset_t, - __oldmask: *mut __sigset_t, - ) -> ::std::os::raw::c_int; + pub fn sigsetmask(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn pthread_kill( - __threadid: pthread_t, - __signo: ::std::os::raw::c_int, + pub fn sigvec( + arg1: ::std::os::raw::c_int, + arg2: *mut sigvec, + arg3: *mut sigvec, ) -> ::std::os::raw::c_int; } -#[pg_guard] -extern "C" { - pub fn __libc_current_sigrtmin() -> ::std::os::raw::c_int; -} -#[pg_guard] -extern "C" { - pub fn __libc_current_sigrtmax() -> ::std::os::raw::c_int; -} pub type pg_time_t = int64; #[repr(C)] #[derive(Debug, Copy, Clone)] @@ -25028,8 +24826,9 @@ extern "C" { #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct sockaddr_un { + pub sun_len: ::std::os::raw::c_uchar, pub sun_family: sa_family_t, - pub sun_path: [::std::os::raw::c_char; 108usize], + pub sun_path: [::std::os::raw::c_char; 104usize], } impl Default for sockaddr_un { fn default() -> Self { @@ -25121,25 +24920,7 @@ pub type RmgrIds = ::std::os::raw::c_uint; pub type pg_crc32c = uint32; #[pg_guard] extern "C" { - pub fn pg_comp_crc32c_sb8( - crc: pg_crc32c, - data: *const ::std::os::raw::c_void, - len: usize, - ) -> pg_crc32c; -} -#[pg_guard] -extern "C" { - pub static mut pg_comp_crc32c: ::std::option::Option< - unsafe extern "C" fn( - crc: pg_crc32c, - data: *const ::std::os::raw::c_void, - len: usize, - ) -> pg_crc32c, - >; -} -#[pg_guard] -extern "C" { - pub fn pg_comp_crc32c_sse42( + pub fn pg_comp_crc32c_armv8( crc: pg_crc32c, data: *const ::std::os::raw::c_void, len: usize, @@ -34716,6 +34497,59 @@ extern "C" { pub fn AtEOXact_Enum(); } #[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct FormData_pg_operator { + pub oid: Oid, + pub oprname: NameData, + pub oprnamespace: Oid, + pub oprowner: Oid, + pub oprkind: ::std::os::raw::c_char, + pub oprcanmerge: bool, + pub oprcanhash: bool, + pub oprleft: Oid, + pub oprright: Oid, + pub oprresult: Oid, + pub oprcom: Oid, + pub oprnegate: Oid, + pub oprcode: regproc, + pub oprrest: regproc, + pub oprjoin: regproc, +} +impl Default for FormData_pg_operator { + fn default() -> Self { + let mut s = ::std::mem::MaybeUninit::::uninit(); + unsafe { + ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); + s.assume_init() + } + } +} +pub type Form_pg_operator = *mut FormData_pg_operator; +#[pg_guard] +extern "C" { + pub fn OperatorCreate( + operatorName: *const ::std::os::raw::c_char, + operatorNamespace: Oid, + leftTypeId: Oid, + rightTypeId: Oid, + procedureId: Oid, + commutatorName: *mut List, + negatorName: *mut List, + restrictionId: Oid, + joinId: Oid, + canMerge: bool, + canHash: bool, + ) -> ObjectAddress; +} +#[pg_guard] +extern "C" { + pub fn makeOperatorDependencies(tuple: HeapTuple, isUpdate: bool) -> ObjectAddress; +} +#[pg_guard] +extern "C" { + pub fn OperatorUpd(baseId: Oid, commId: Oid, negId: Oid, isDelete: bool); +} +#[repr(C)] #[derive(Debug)] pub struct FormData_pg_proc { pub oid: Oid, @@ -57031,13 +56865,6 @@ extern "C" { ) -> ::std::os::raw::c_int; } #[pg_guard] -extern "C" { - pub fn xidLogicalComparator( - arg1: *const ::std::os::raw::c_void, - arg2: *const ::std::os::raw::c_void, - ) -> ::std::os::raw::c_int; -} -#[pg_guard] extern "C" { pub fn inet_cidr_ntop( af: ::std::os::raw::c_int, @@ -58889,29 +58716,8 @@ extern "C" { extern "C" { pub fn SharedRecordTypmodRegistryAttach(arg1: *mut SharedRecordTypmodRegistry); } -pub type __builtin_va_list = [__va_list_tag; 1usize]; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct __va_list_tag { - pub gp_offset: ::std::os::raw::c_uint, - pub fp_offset: ::std::os::raw::c_uint, - pub overflow_arg_area: *mut ::std::os::raw::c_void, - pub reg_save_area: *mut ::std::os::raw::c_void, -} -impl Default for __va_list_tag { - fn default() -> Self { - let mut s = ::std::mem::MaybeUninit::::uninit(); - unsafe { - ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); - s.assume_init() - } - } -} -#[repr(C)] -#[derive(Debug, Default, Copy, Clone)] -pub struct __locale_data { - pub _address: u8, -} +pub type __builtin_va_list = *mut ::std::os::raw::c_char; +pub type __uint128_t = u128; #[repr(C)] #[derive(Debug, Default, Copy, Clone)] pub struct AttrMissing { diff --git a/pgx-pg-sys/src/pg13.rs b/pgx-pg-sys/src/pg13.rs index 4d00eda1a..ab5cd8bc7 100644 --- a/pgx-pg-sys/src/pg13.rs +++ b/pgx-pg-sys/src/pg13.rs @@ -178,29 +178,30 @@ pub const ALIGNOF_LONG: u32 = 8; pub const ALIGNOF_PG_INT128_TYPE: u32 = 16; pub const ALIGNOF_SHORT: u32 = 2; pub const BLCKSZ: u32 = 8192; -pub const CONFIGURE_ARGS : & [u8 ; 102usize] = b" '--prefix=/home/ana/.pgx/13.6/pgx-install' '--with-pgport=28813' '--enable-debug' '--enable-cassert'\0" ; +pub const CONFIGURE_ARGS : & [u8 ; 107usize] = b" '--prefix=/Users/e_ridge/.pgx/13.5/pgx-install' '--with-pgport=28813' '--enable-debug' '--enable-cassert'\0" ; pub const DEF_PGPORT: u32 = 28813; pub const DEF_PGPORT_STR: &[u8; 6usize] = b"28813\0"; pub const ENABLE_THREAD_SAFETY: u32 = 1; -pub const HAVE_APPEND_HISTORY: u32 = 1; pub const HAVE_ATOMICS: u32 = 1; pub const HAVE_BACKTRACE_SYMBOLS: u32 = 1; pub const HAVE_CLOCK_GETTIME: u32 = 1; pub const HAVE_COMPUTED_GOTO: u32 = 1; -pub const HAVE_DECL_FDATASYNC: u32 = 1; -pub const HAVE_DECL_F_FULLFSYNC: u32 = 0; -pub const HAVE_DECL_POSIX_FADVISE: u32 = 1; +pub const HAVE_COPYFILE: u32 = 1; +pub const HAVE_COPYFILE_H: u32 = 1; +pub const HAVE_DECL_FDATASYNC: u32 = 0; +pub const HAVE_DECL_F_FULLFSYNC: u32 = 1; +pub const HAVE_DECL_POSIX_FADVISE: u32 = 0; pub const HAVE_DECL_RTLD_GLOBAL: u32 = 1; pub const HAVE_DECL_RTLD_NOW: u32 = 1; -pub const HAVE_DECL_STRLCAT: u32 = 0; -pub const HAVE_DECL_STRLCPY: u32 = 0; +pub const HAVE_DECL_STRLCAT: u32 = 1; +pub const HAVE_DECL_STRLCPY: u32 = 1; pub const HAVE_DECL_STRNLEN: u32 = 1; pub const HAVE_DECL_STRTOLL: u32 = 1; pub const HAVE_DECL_STRTOULL: u32 = 1; pub const HAVE_DLOPEN: u32 = 1; pub const HAVE_EXECINFO_H: u32 = 1; -pub const HAVE_EXPLICIT_BZERO: u32 = 1; pub const HAVE_FDATASYNC: u32 = 1; +pub const HAVE_FLS: u32 = 1; pub const HAVE_FSEEKO: u32 = 1; pub const HAVE_FUNCNAME__FUNC: u32 = 1; pub const HAVE_GCC__ATOMIC_INT32_CAS: u32 = 1; @@ -210,11 +211,11 @@ pub const HAVE_GCC__SYNC_INT32_CAS: u32 = 1; pub const HAVE_GCC__SYNC_INT32_TAS: u32 = 1; pub const HAVE_GCC__SYNC_INT64_CAS: u32 = 1; pub const HAVE_GETADDRINFO: u32 = 1; -pub const HAVE_GETHOSTBYNAME_R: u32 = 1; pub const HAVE_GETIFADDRS: u32 = 1; pub const HAVE_GETOPT: u32 = 1; pub const HAVE_GETOPT_H: u32 = 1; pub const HAVE_GETOPT_LONG: u32 = 1; +pub const HAVE_GETPEEREID: u32 = 1; pub const HAVE_GETPWUID_R: u32 = 1; pub const HAVE_GETRLIMIT: u32 = 1; pub const HAVE_GETRUSAGE: u32 = 1; @@ -223,8 +224,10 @@ pub const HAVE_IFADDRS_H: u32 = 1; pub const HAVE_INET_ATON: u32 = 1; pub const HAVE_INTTYPES_H: u32 = 1; pub const HAVE_INT_OPTERR: u32 = 1; +pub const HAVE_INT_OPTRESET: u32 = 1; pub const HAVE_INT_TIMEZONE: u32 = 1; pub const HAVE_IPV6: u32 = 1; +pub const HAVE_KQUEUE: u32 = 1; pub const HAVE_LANGINFO_H: u32 = 1; pub const HAVE_LIBM: u32 = 1; pub const HAVE_LIBREADLINE: u32 = 1; @@ -232,17 +235,17 @@ pub const HAVE_LIBZ: u32 = 1; pub const HAVE_LINK: u32 = 1; pub const HAVE_LOCALE_T: u32 = 1; pub const HAVE_LONG_INT_64: u32 = 1; +pub const HAVE_MBSTOWCS_L: u32 = 1; pub const HAVE_MEMORY_H: u32 = 1; +pub const HAVE_MEMSET_S: u32 = 1; pub const HAVE_MKDTEMP: u32 = 1; pub const HAVE_NETINET_TCP_H: u32 = 1; pub const HAVE_NET_IF_H: u32 = 1; pub const HAVE_POLL: u32 = 1; pub const HAVE_POLL_H: u32 = 1; -pub const HAVE_POSIX_FADVISE: u32 = 1; -pub const HAVE_POSIX_FALLOCATE: u32 = 1; -pub const HAVE_PPOLL: u32 = 1; pub const HAVE_PREAD: u32 = 1; pub const HAVE_PTHREAD: u32 = 1; +pub const HAVE_PTHREAD_IS_THREADED_NP: u32 = 1; pub const HAVE_PTHREAD_PRIO_INHERIT: u32 = 1; pub const HAVE_PWRITE: u32 = 1; pub const HAVE_RANDOM: u32 = 1; @@ -251,11 +254,7 @@ pub const HAVE_READLINE_READLINE_H: u32 = 1; pub const HAVE_READLINK: u32 = 1; pub const HAVE_RL_COMPLETION_APPEND_CHARACTER: u32 = 1; pub const HAVE_RL_COMPLETION_MATCHES: u32 = 1; -pub const HAVE_RL_COMPLETION_SUPPRESS_QUOTE: u32 = 1; pub const HAVE_RL_FILENAME_COMPLETION_FUNCTION: u32 = 1; -pub const HAVE_RL_FILENAME_QUOTE_CHARACTERS: u32 = 1; -pub const HAVE_RL_FILENAME_QUOTING_FUNCTION: u32 = 1; -pub const HAVE_RL_RESET_SCREEN_SIZE: u32 = 1; pub const HAVE_SETENV: u32 = 1; pub const HAVE_SETSID: u32 = 1; pub const HAVE_SHM_OPEN: u32 = 1; @@ -264,10 +263,11 @@ pub const HAVE_SRANDOM: u32 = 1; pub const HAVE_STDBOOL_H: u32 = 1; pub const HAVE_STDINT_H: u32 = 1; pub const HAVE_STDLIB_H: u32 = 1; -pub const HAVE_STRCHRNUL: u32 = 1; pub const HAVE_STRERROR_R: u32 = 1; pub const HAVE_STRINGS_H: u32 = 1; pub const HAVE_STRING_H: u32 = 1; +pub const HAVE_STRLCAT: u32 = 1; +pub const HAVE_STRLCPY: u32 = 1; pub const HAVE_STRNLEN: u32 = 1; pub const HAVE_STRSIGNAL: u32 = 1; pub const HAVE_STRTOF: u32 = 1; @@ -275,30 +275,33 @@ pub const HAVE_STRTOLL: u32 = 1; pub const HAVE_STRTOULL: u32 = 1; pub const HAVE_STRUCT_ADDRINFO: u32 = 1; pub const HAVE_STRUCT_OPTION: u32 = 1; +pub const HAVE_STRUCT_SOCKADDR_SA_LEN: u32 = 1; pub const HAVE_STRUCT_SOCKADDR_STORAGE: u32 = 1; pub const HAVE_STRUCT_SOCKADDR_STORAGE_SS_FAMILY: u32 = 1; +pub const HAVE_STRUCT_SOCKADDR_STORAGE_SS_LEN: u32 = 1; pub const HAVE_STRUCT_SOCKADDR_UN: u32 = 1; pub const HAVE_STRUCT_TM_TM_ZONE: u32 = 1; pub const HAVE_SYMLINK: u32 = 1; -pub const HAVE_SYNC_FILE_RANGE: u32 = 1; pub const HAVE_SYSLOG: u32 = 1; -pub const HAVE_SYS_EPOLL_H: u32 = 1; +pub const HAVE_SYS_EVENT_H: u32 = 1; pub const HAVE_SYS_IPC_H: u32 = 1; -pub const HAVE_SYS_PRCTL_H: u32 = 1; pub const HAVE_SYS_RESOURCE_H: u32 = 1; pub const HAVE_SYS_SELECT_H: u32 = 1; pub const HAVE_SYS_SEM_H: u32 = 1; pub const HAVE_SYS_SHM_H: u32 = 1; +pub const HAVE_SYS_SOCKIO_H: u32 = 1; pub const HAVE_SYS_STAT_H: u32 = 1; pub const HAVE_SYS_TYPES_H: u32 = 1; +pub const HAVE_SYS_UCRED_H: u32 = 1; pub const HAVE_SYS_UN_H: u32 = 1; pub const HAVE_TERMIOS_H: u32 = 1; pub const HAVE_TYPEOF: u32 = 1; +pub const HAVE_UNION_SEMUN: u32 = 1; pub const HAVE_UNISTD_H: u32 = 1; pub const HAVE_UNSETENV: u32 = 1; pub const HAVE_USELOCALE: u32 = 1; +pub const HAVE_WCSTOMBS_L: u32 = 1; pub const HAVE_WCTYPE_H: u32 = 1; -pub const HAVE_X86_64_POPCNTQ: u32 = 1; pub const HAVE__BOOL: u32 = 1; pub const HAVE__BUILTIN_BSWAP16: u32 = 1; pub const HAVE__BUILTIN_BSWAP32: u32 = 1; @@ -310,25 +313,25 @@ pub const HAVE__BUILTIN_OP_OVERFLOW: u32 = 1; pub const HAVE__BUILTIN_POPCOUNT: u32 = 1; pub const HAVE__BUILTIN_TYPES_COMPATIBLE_P: u32 = 1; pub const HAVE__BUILTIN_UNREACHABLE: u32 = 1; -pub const HAVE__GET_CPUID: u32 = 1; pub const HAVE__STATIC_ASSERT: u32 = 1; pub const INT64_MODIFIER: &[u8; 2usize] = b"l\0"; +pub const LOCALE_T_IN_XLOCALE: u32 = 1; pub const MAXIMUM_ALIGNOF: u32 = 8; pub const MEMSET_LOOP_LIMIT: u32 = 1024; pub const PACKAGE_BUGREPORT: &[u8; 32usize] = b"pgsql-bugs@lists.postgresql.org\0"; pub const PACKAGE_NAME: &[u8; 11usize] = b"PostgreSQL\0"; -pub const PACKAGE_STRING: &[u8; 16usize] = b"PostgreSQL 13.6\0"; +pub const PACKAGE_STRING: &[u8; 16usize] = b"PostgreSQL 13.5\0"; pub const PACKAGE_TARNAME: &[u8; 11usize] = b"postgresql\0"; pub const PACKAGE_URL: &[u8; 28usize] = b"https://www.postgresql.org/\0"; -pub const PACKAGE_VERSION: &[u8; 5usize] = b"13.6\0"; +pub const PACKAGE_VERSION: &[u8; 5usize] = b"13.5\0"; pub const PG_KRB_SRVNAM: &[u8; 9usize] = b"postgres\0"; pub const PG_MAJORVERSION: &[u8; 3usize] = b"13\0"; pub const PG_MAJORVERSION_NUM: u32 = 13; -pub const PG_MINORVERSION_NUM: u32 = 6; +pub const PG_MINORVERSION_NUM: u32 = 5; pub const PG_USE_STDBOOL: u32 = 1; -pub const PG_VERSION: &[u8; 5usize] = b"13.6\0"; -pub const PG_VERSION_NUM: u32 = 130006; -pub const PG_VERSION_STR : & [u8 ; 96usize] = b"PostgreSQL 13.6 on x86_64-pc-linux-gnu, compiled by gcc (Ubuntu 11.2.0-7ubuntu2) 11.2.0, 64-bit\0" ; +pub const PG_VERSION: &[u8; 5usize] = b"13.5\0"; +pub const PG_VERSION_NUM: u32 = 130005; +pub const PG_VERSION_STR : & [u8 ; 111usize] = b"PostgreSQL 13.5 on arm-apple-darwin21.3.0, compiled by Apple clang version 13.0.0 (clang-1300.0.29.30), 64-bit\0" ; pub const RELSEG_SIZE: u32 = 131072; pub const SIZEOF_BOOL: u32 = 1; pub const SIZEOF_LONG: u32 = 8; @@ -336,11 +339,13 @@ pub const SIZEOF_OFF_T: u32 = 8; pub const SIZEOF_SIZE_T: u32 = 8; pub const SIZEOF_VOID_P: u32 = 8; pub const STDC_HEADERS: u32 = 1; +pub const STRERROR_R_INT: u32 = 1; +pub const USE_ARMV8_CRC32C: u32 = 1; pub const USE_ASSERT_CHECKING: u32 = 1; pub const USE_DEV_URANDOM: u32 = 1; -pub const USE_SSE42_CRC32C_WITH_RUNTIME_CHECK: u32 = 1; +pub const USE_SYSV_SEMAPHORES: u32 = 1; pub const USE_SYSV_SHARED_MEMORY: u32 = 1; -pub const USE_UNNAMED_POSIX_SEMAPHORES: u32 = 1; +pub const WCSTOMBS_L_IN_XLOCALE: u32 = 1; pub const XLOG_BLCKSZ: u32 = 8192; pub const DEFAULT_XLOG_SEG_SIZE: u32 = 16777216; pub const NAMEDATALEN: u32 = 64; @@ -356,212 +361,548 @@ pub const BITS_PER_BYTE: u32 = 8; pub const ALIGNOF_BUFFER: u32 = 32; pub const HAVE_WORKING_LINK: u32 = 1; pub const DEFAULT_BACKEND_FLUSH_AFTER: u32 = 0; -pub const DEFAULT_BGWRITER_FLUSH_AFTER: u32 = 64; -pub const DEFAULT_CHECKPOINT_FLUSH_AFTER: u32 = 32; +pub const DEFAULT_BGWRITER_FLUSH_AFTER: u32 = 0; +pub const DEFAULT_CHECKPOINT_FLUSH_AFTER: u32 = 0; pub const WRITEBACK_MAX_PENDING_FLUSHES: u32 = 256; pub const DEFAULT_PGSOCKET_DIR: &[u8; 5usize] = b"/tmp\0"; pub const DEFAULT_EVENT_SOURCE: &[u8; 11usize] = b"PostgreSQL\0"; pub const PG_CACHE_LINE_SIZE: u32 = 128; pub const TRACE_SORT: u32 = 1; -pub const _STDIO_H: u32 = 1; -pub const _FEATURES_H: u32 = 1; -pub const _DEFAULT_SOURCE: u32 = 1; -pub const __GLIBC_USE_ISOC2X: u32 = 0; -pub const __USE_ISOC11: u32 = 1; -pub const __USE_ISOC99: u32 = 1; -pub const __USE_ISOC95: u32 = 1; -pub const __USE_POSIX_IMPLICITLY: u32 = 1; -pub const _POSIX_SOURCE: u32 = 1; -pub const _POSIX_C_SOURCE: u32 = 200809; -pub const __USE_POSIX: u32 = 1; -pub const __USE_POSIX2: u32 = 1; -pub const __USE_POSIX199309: u32 = 1; -pub const __USE_POSIX199506: u32 = 1; -pub const __USE_XOPEN2K: u32 = 1; -pub const __USE_XOPEN2K8: u32 = 1; -pub const _ATFILE_SOURCE: u32 = 1; -pub const __WORDSIZE: u32 = 64; -pub const __WORDSIZE_TIME64_COMPAT32: u32 = 1; -pub const __SYSCALL_WORDSIZE: u32 = 64; -pub const __TIMESIZE: u32 = 64; -pub const __USE_MISC: u32 = 1; -pub const __USE_ATFILE: u32 = 1; -pub const __USE_FORTIFY_LEVEL: u32 = 0; -pub const __GLIBC_USE_DEPRECATED_GETS: u32 = 0; -pub const __GLIBC_USE_DEPRECATED_SCANF: u32 = 0; -pub const _STDC_PREDEF_H: u32 = 1; -pub const __STDC_IEC_559__: u32 = 1; -pub const __STDC_IEC_559_COMPLEX__: u32 = 1; -pub const __STDC_ISO_10646__: u32 = 201706; -pub const __GNU_LIBRARY__: u32 = 6; -pub const __GLIBC__: u32 = 2; -pub const __GLIBC_MINOR__: u32 = 34; -pub const _SYS_CDEFS_H: u32 = 1; -pub const __glibc_c99_flexarr_available: u32 = 1; -pub const __LDOUBLE_REDIRECTS_TO_FLOAT128_ABI: u32 = 0; -pub const __HAVE_GENERIC_SELECTION: u32 = 1; -pub const __GLIBC_USE_LIB_EXT2: u32 = 0; -pub const __GLIBC_USE_IEC_60559_BFP_EXT: u32 = 0; -pub const __GLIBC_USE_IEC_60559_BFP_EXT_C2X: u32 = 0; -pub const __GLIBC_USE_IEC_60559_EXT: u32 = 0; -pub const __GLIBC_USE_IEC_60559_FUNCS_EXT: u32 = 0; -pub const __GLIBC_USE_IEC_60559_FUNCS_EXT_C2X: u32 = 0; -pub const __GLIBC_USE_IEC_60559_TYPES_EXT: u32 = 0; -pub const __GNUC_VA_LIST: u32 = 1; -pub const _BITS_TYPES_H: u32 = 1; -pub const _BITS_TYPESIZES_H: u32 = 1; -pub const __OFF_T_MATCHES_OFF64_T: u32 = 1; -pub const __INO_T_MATCHES_INO64_T: u32 = 1; -pub const __RLIM_T_MATCHES_RLIM64_T: u32 = 1; -pub const __STATFS_MATCHES_STATFS64: u32 = 1; -pub const __KERNEL_OLD_TIMEVAL_MATCHES_TIMEVAL64: u32 = 1; -pub const __FD_SETSIZE: u32 = 1024; -pub const _BITS_TIME64_H: u32 = 1; -pub const _____fpos_t_defined: u32 = 1; -pub const ____mbstate_t_defined: u32 = 1; -pub const _____fpos64_t_defined: u32 = 1; -pub const ____FILE_defined: u32 = 1; -pub const __FILE_defined: u32 = 1; -pub const __struct_FILE_defined: u32 = 1; -pub const _IO_EOF_SEEN: u32 = 16; -pub const _IO_ERR_SEEN: u32 = 32; -pub const _IO_USER_LOCK: u32 = 32768; +pub const __darwin__: u32 = 1; +pub const __DARWIN_ONLY_64_BIT_INO_T: u32 = 1; +pub const __DARWIN_ONLY_UNIX_CONFORMANCE: u32 = 1; +pub const __DARWIN_ONLY_VERS_1050: u32 = 1; +pub const __DARWIN_UNIX03: u32 = 1; +pub const __DARWIN_64_BIT_INO_T: u32 = 1; +pub const __DARWIN_VERS_1050: u32 = 1; +pub const __DARWIN_NON_CANCELABLE: u32 = 0; +pub const __DARWIN_SUF_EXTSN: &[u8; 14usize] = b"$DARWIN_EXTSN\0"; +pub const __DARWIN_C_ANSI: u32 = 4096; +pub const __DARWIN_C_FULL: u32 = 900000; +pub const __DARWIN_C_LEVEL: u32 = 900000; +pub const __STDC_WANT_LIB_EXT1__: u32 = 1; +pub const __DARWIN_NO_LONG_LONG: u32 = 0; +pub const _DARWIN_FEATURE_64_BIT_INODE: u32 = 1; +pub const _DARWIN_FEATURE_ONLY_64_BIT_INODE: u32 = 1; +pub const _DARWIN_FEATURE_ONLY_VERS_1050: u32 = 1; +pub const _DARWIN_FEATURE_ONLY_UNIX_CONFORMANCE: u32 = 1; +pub const _DARWIN_FEATURE_UNIX_CONFORMANCE: u32 = 3; +pub const __has_ptrcheck: u32 = 0; +pub const __API_TO_BE_DEPRECATED: u32 = 100000; +pub const __MAC_10_0: u32 = 1000; +pub const __MAC_10_1: u32 = 1010; +pub const __MAC_10_2: u32 = 1020; +pub const __MAC_10_3: u32 = 1030; +pub const __MAC_10_4: u32 = 1040; +pub const __MAC_10_5: u32 = 1050; +pub const __MAC_10_6: u32 = 1060; +pub const __MAC_10_7: u32 = 1070; +pub const __MAC_10_8: u32 = 1080; +pub const __MAC_10_9: u32 = 1090; +pub const __MAC_10_10: u32 = 101000; +pub const __MAC_10_10_2: u32 = 101002; +pub const __MAC_10_10_3: u32 = 101003; +pub const __MAC_10_11: u32 = 101100; +pub const __MAC_10_11_2: u32 = 101102; +pub const __MAC_10_11_3: u32 = 101103; +pub const __MAC_10_11_4: u32 = 101104; +pub const __MAC_10_12: u32 = 101200; +pub const __MAC_10_12_1: u32 = 101201; +pub const __MAC_10_12_2: u32 = 101202; +pub const __MAC_10_12_4: u32 = 101204; +pub const __MAC_10_13: u32 = 101300; +pub const __MAC_10_13_1: u32 = 101301; +pub const __MAC_10_13_2: u32 = 101302; +pub const __MAC_10_13_4: u32 = 101304; +pub const __MAC_10_14: u32 = 101400; +pub const __MAC_10_14_1: u32 = 101401; +pub const __MAC_10_14_4: u32 = 101404; +pub const __MAC_10_14_6: u32 = 101406; +pub const __MAC_10_15: u32 = 101500; +pub const __MAC_10_15_1: u32 = 101501; +pub const __MAC_10_15_4: u32 = 101504; +pub const __MAC_10_16: u32 = 101600; +pub const __MAC_11_0: u32 = 110000; +pub const __MAC_11_1: u32 = 110100; +pub const __MAC_11_3: u32 = 110300; +pub const __MAC_11_4: u32 = 110400; +pub const __MAC_11_5: u32 = 110500; +pub const __MAC_11_6: u32 = 110600; +pub const __MAC_12_0: u32 = 120000; +pub const __MAC_12_1: u32 = 120100; +pub const __MAC_12_2: u32 = 120200; +pub const __MAC_12_3: u32 = 120300; +pub const __IPHONE_2_0: u32 = 20000; +pub const __IPHONE_2_1: u32 = 20100; +pub const __IPHONE_2_2: u32 = 20200; +pub const __IPHONE_3_0: u32 = 30000; +pub const __IPHONE_3_1: u32 = 30100; +pub const __IPHONE_3_2: u32 = 30200; +pub const __IPHONE_4_0: u32 = 40000; +pub const __IPHONE_4_1: u32 = 40100; +pub const __IPHONE_4_2: u32 = 40200; +pub const __IPHONE_4_3: u32 = 40300; +pub const __IPHONE_5_0: u32 = 50000; +pub const __IPHONE_5_1: u32 = 50100; +pub const __IPHONE_6_0: u32 = 60000; +pub const __IPHONE_6_1: u32 = 60100; +pub const __IPHONE_7_0: u32 = 70000; +pub const __IPHONE_7_1: u32 = 70100; +pub const __IPHONE_8_0: u32 = 80000; +pub const __IPHONE_8_1: u32 = 80100; +pub const __IPHONE_8_2: u32 = 80200; +pub const __IPHONE_8_3: u32 = 80300; +pub const __IPHONE_8_4: u32 = 80400; +pub const __IPHONE_9_0: u32 = 90000; +pub const __IPHONE_9_1: u32 = 90100; +pub const __IPHONE_9_2: u32 = 90200; +pub const __IPHONE_9_3: u32 = 90300; +pub const __IPHONE_10_0: u32 = 100000; +pub const __IPHONE_10_1: u32 = 100100; +pub const __IPHONE_10_2: u32 = 100200; +pub const __IPHONE_10_3: u32 = 100300; +pub const __IPHONE_11_0: u32 = 110000; +pub const __IPHONE_11_1: u32 = 110100; +pub const __IPHONE_11_2: u32 = 110200; +pub const __IPHONE_11_3: u32 = 110300; +pub const __IPHONE_11_4: u32 = 110400; +pub const __IPHONE_12_0: u32 = 120000; +pub const __IPHONE_12_1: u32 = 120100; +pub const __IPHONE_12_2: u32 = 120200; +pub const __IPHONE_12_3: u32 = 120300; +pub const __IPHONE_12_4: u32 = 120400; +pub const __IPHONE_13_0: u32 = 130000; +pub const __IPHONE_13_1: u32 = 130100; +pub const __IPHONE_13_2: u32 = 130200; +pub const __IPHONE_13_3: u32 = 130300; +pub const __IPHONE_13_4: u32 = 130400; +pub const __IPHONE_13_5: u32 = 130500; +pub const __IPHONE_13_6: u32 = 130600; +pub const __IPHONE_13_7: u32 = 130700; +pub const __IPHONE_14_0: u32 = 140000; +pub const __IPHONE_14_1: u32 = 140100; +pub const __IPHONE_14_2: u32 = 140200; +pub const __IPHONE_14_3: u32 = 140300; +pub const __IPHONE_14_5: u32 = 140500; +pub const __IPHONE_14_6: u32 = 140600; +pub const __IPHONE_14_7: u32 = 140700; +pub const __IPHONE_14_8: u32 = 140800; +pub const __IPHONE_15_0: u32 = 150000; +pub const __IPHONE_15_1: u32 = 150100; +pub const __IPHONE_15_2: u32 = 150200; +pub const __IPHONE_15_3: u32 = 150300; +pub const __IPHONE_15_4: u32 = 150400; +pub const __TVOS_9_0: u32 = 90000; +pub const __TVOS_9_1: u32 = 90100; +pub const __TVOS_9_2: u32 = 90200; +pub const __TVOS_10_0: u32 = 100000; +pub const __TVOS_10_0_1: u32 = 100001; +pub const __TVOS_10_1: u32 = 100100; +pub const __TVOS_10_2: u32 = 100200; +pub const __TVOS_11_0: u32 = 110000; +pub const __TVOS_11_1: u32 = 110100; +pub const __TVOS_11_2: u32 = 110200; +pub const __TVOS_11_3: u32 = 110300; +pub const __TVOS_11_4: u32 = 110400; +pub const __TVOS_12_0: u32 = 120000; +pub const __TVOS_12_1: u32 = 120100; +pub const __TVOS_12_2: u32 = 120200; +pub const __TVOS_12_3: u32 = 120300; +pub const __TVOS_12_4: u32 = 120400; +pub const __TVOS_13_0: u32 = 130000; +pub const __TVOS_13_2: u32 = 130200; +pub const __TVOS_13_3: u32 = 130300; +pub const __TVOS_13_4: u32 = 130400; +pub const __TVOS_14_0: u32 = 140000; +pub const __TVOS_14_1: u32 = 140100; +pub const __TVOS_14_2: u32 = 140200; +pub const __TVOS_14_3: u32 = 140300; +pub const __TVOS_14_5: u32 = 140500; +pub const __TVOS_14_6: u32 = 140600; +pub const __TVOS_14_7: u32 = 140700; +pub const __TVOS_15_0: u32 = 150000; +pub const __TVOS_15_1: u32 = 150100; +pub const __TVOS_15_2: u32 = 150200; +pub const __TVOS_15_3: u32 = 150300; +pub const __TVOS_15_4: u32 = 150400; +pub const __WATCHOS_1_0: u32 = 10000; +pub const __WATCHOS_2_0: u32 = 20000; +pub const __WATCHOS_2_1: u32 = 20100; +pub const __WATCHOS_2_2: u32 = 20200; +pub const __WATCHOS_3_0: u32 = 30000; +pub const __WATCHOS_3_1: u32 = 30100; +pub const __WATCHOS_3_1_1: u32 = 30101; +pub const __WATCHOS_3_2: u32 = 30200; +pub const __WATCHOS_4_0: u32 = 40000; +pub const __WATCHOS_4_1: u32 = 40100; +pub const __WATCHOS_4_2: u32 = 40200; +pub const __WATCHOS_4_3: u32 = 40300; +pub const __WATCHOS_5_0: u32 = 50000; +pub const __WATCHOS_5_1: u32 = 50100; +pub const __WATCHOS_5_2: u32 = 50200; +pub const __WATCHOS_5_3: u32 = 50300; +pub const __WATCHOS_6_0: u32 = 60000; +pub const __WATCHOS_6_1: u32 = 60100; +pub const __WATCHOS_6_2: u32 = 60200; +pub const __WATCHOS_7_0: u32 = 70000; +pub const __WATCHOS_7_1: u32 = 70100; +pub const __WATCHOS_7_2: u32 = 70200; +pub const __WATCHOS_7_3: u32 = 70300; +pub const __WATCHOS_7_4: u32 = 70400; +pub const __WATCHOS_7_5: u32 = 70500; +pub const __WATCHOS_7_6: u32 = 70600; +pub const __WATCHOS_8_0: u32 = 80000; +pub const __WATCHOS_8_1: u32 = 80100; +pub const __WATCHOS_8_3: u32 = 80300; +pub const __WATCHOS_8_4: u32 = 80400; +pub const __WATCHOS_8_5: u32 = 80500; +pub const MAC_OS_X_VERSION_10_0: u32 = 1000; +pub const MAC_OS_X_VERSION_10_1: u32 = 1010; +pub const MAC_OS_X_VERSION_10_2: u32 = 1020; +pub const MAC_OS_X_VERSION_10_3: u32 = 1030; +pub const MAC_OS_X_VERSION_10_4: u32 = 1040; +pub const MAC_OS_X_VERSION_10_5: u32 = 1050; +pub const MAC_OS_X_VERSION_10_6: u32 = 1060; +pub const MAC_OS_X_VERSION_10_7: u32 = 1070; +pub const MAC_OS_X_VERSION_10_8: u32 = 1080; +pub const MAC_OS_X_VERSION_10_9: u32 = 1090; +pub const MAC_OS_X_VERSION_10_10: u32 = 101000; +pub const MAC_OS_X_VERSION_10_10_2: u32 = 101002; +pub const MAC_OS_X_VERSION_10_10_3: u32 = 101003; +pub const MAC_OS_X_VERSION_10_11: u32 = 101100; +pub const MAC_OS_X_VERSION_10_11_2: u32 = 101102; +pub const MAC_OS_X_VERSION_10_11_3: u32 = 101103; +pub const MAC_OS_X_VERSION_10_11_4: u32 = 101104; +pub const MAC_OS_X_VERSION_10_12: u32 = 101200; +pub const MAC_OS_X_VERSION_10_12_1: u32 = 101201; +pub const MAC_OS_X_VERSION_10_12_2: u32 = 101202; +pub const MAC_OS_X_VERSION_10_12_4: u32 = 101204; +pub const MAC_OS_X_VERSION_10_13: u32 = 101300; +pub const MAC_OS_X_VERSION_10_13_1: u32 = 101301; +pub const MAC_OS_X_VERSION_10_13_2: u32 = 101302; +pub const MAC_OS_X_VERSION_10_13_4: u32 = 101304; +pub const MAC_OS_X_VERSION_10_14: u32 = 101400; +pub const MAC_OS_X_VERSION_10_14_1: u32 = 101401; +pub const MAC_OS_X_VERSION_10_14_4: u32 = 101404; +pub const MAC_OS_X_VERSION_10_14_6: u32 = 101406; +pub const MAC_OS_X_VERSION_10_15: u32 = 101500; +pub const MAC_OS_X_VERSION_10_15_1: u32 = 101501; +pub const MAC_OS_X_VERSION_10_16: u32 = 101600; +pub const MAC_OS_VERSION_11_0: u32 = 110000; +pub const MAC_OS_VERSION_12_0: u32 = 120000; +pub const __DRIVERKIT_19_0: u32 = 190000; +pub const __DRIVERKIT_20_0: u32 = 200000; +pub const __DRIVERKIT_21_0: u32 = 210000; +pub const __MAC_OS_X_VERSION_MAX_ALLOWED: u32 = 120300; +pub const __ENABLE_LEGACY_MAC_AVAILABILITY: u32 = 1; +pub const __PTHREAD_SIZE__: u32 = 8176; +pub const __PTHREAD_ATTR_SIZE__: u32 = 56; +pub const __PTHREAD_MUTEXATTR_SIZE__: u32 = 8; +pub const __PTHREAD_MUTEX_SIZE__: u32 = 56; +pub const __PTHREAD_CONDATTR_SIZE__: u32 = 8; +pub const __PTHREAD_COND_SIZE__: u32 = 40; +pub const __PTHREAD_ONCE_SIZE__: u32 = 8; +pub const __PTHREAD_RWLOCK_SIZE__: u32 = 192; +pub const __PTHREAD_RWLOCKATTR_SIZE__: u32 = 16; +pub const __DARWIN_WCHAR_MIN: i32 = -2147483648; +pub const _FORTIFY_SOURCE: u32 = 2; +pub const RENAME_SECLUDE: u32 = 1; +pub const RENAME_SWAP: u32 = 2; +pub const RENAME_EXCL: u32 = 4; +pub const RENAME_RESERVED1: u32 = 8; +pub const RENAME_NOFOLLOW_ANY: u32 = 16; +pub const __SLBF: u32 = 1; +pub const __SNBF: u32 = 2; +pub const __SRD: u32 = 4; +pub const __SWR: u32 = 8; +pub const __SRW: u32 = 16; +pub const __SEOF: u32 = 32; +pub const __SERR: u32 = 64; +pub const __SMBF: u32 = 128; +pub const __SAPP: u32 = 256; +pub const __SSTR: u32 = 512; +pub const __SOPT: u32 = 1024; +pub const __SNPT: u32 = 2048; +pub const __SOFF: u32 = 4096; +pub const __SMOD: u32 = 8192; +pub const __SALC: u32 = 16384; +pub const __SIGN: u32 = 32768; pub const _IOFBF: u32 = 0; pub const _IOLBF: u32 = 1; pub const _IONBF: u32 = 2; -pub const BUFSIZ: u32 = 8192; +pub const BUFSIZ: u32 = 1024; pub const EOF: i32 = -1; +pub const FOPEN_MAX: u32 = 20; +pub const FILENAME_MAX: u32 = 1024; +pub const P_tmpdir: &[u8; 10usize] = b"/var/tmp/\0"; +pub const L_tmpnam: u32 = 1024; +pub const TMP_MAX: u32 = 308915776; pub const SEEK_SET: u32 = 0; pub const SEEK_CUR: u32 = 1; pub const SEEK_END: u32 = 2; -pub const P_tmpdir: &[u8; 5usize] = b"/tmp\0"; -pub const _BITS_STDIO_LIM_H: u32 = 1; -pub const L_tmpnam: u32 = 20; -pub const TMP_MAX: u32 = 238328; -pub const FILENAME_MAX: u32 = 4096; -pub const L_ctermid: u32 = 9; -pub const FOPEN_MAX: u32 = 16; -pub const __HAVE_FLOAT128: u32 = 0; -pub const __HAVE_DISTINCT_FLOAT128: u32 = 0; -pub const __HAVE_FLOAT64X: u32 = 1; -pub const __HAVE_FLOAT64X_LONG_DOUBLE: u32 = 1; -pub const __HAVE_FLOAT16: u32 = 0; -pub const __HAVE_FLOAT32: u32 = 1; -pub const __HAVE_FLOAT64: u32 = 1; -pub const __HAVE_FLOAT32X: u32 = 1; -pub const __HAVE_FLOAT128X: u32 = 0; -pub const __HAVE_DISTINCT_FLOAT16: u32 = 0; -pub const __HAVE_DISTINCT_FLOAT32: u32 = 0; -pub const __HAVE_DISTINCT_FLOAT64: u32 = 0; -pub const __HAVE_DISTINCT_FLOAT32X: u32 = 0; -pub const __HAVE_DISTINCT_FLOAT64X: u32 = 0; -pub const __HAVE_DISTINCT_FLOAT128X: u32 = 0; -pub const __HAVE_FLOATN_NOT_TYPEDEF: u32 = 0; -pub const _STDLIB_H: u32 = 1; -pub const WNOHANG: u32 = 1; -pub const WUNTRACED: u32 = 2; -pub const WSTOPPED: u32 = 2; -pub const WEXITED: u32 = 4; -pub const WCONTINUED: u32 = 8; -pub const WNOWAIT: u32 = 16777216; -pub const __WNOTHREAD: u32 = 536870912; -pub const __WALL: u32 = 1073741824; -pub const __WCLONE: u32 = 2147483648; -pub const __W_CONTINUED: u32 = 65535; -pub const __WCOREFLAG: u32 = 128; -pub const __ldiv_t_defined: u32 = 1; -pub const __lldiv_t_defined: u32 = 1; -pub const RAND_MAX: u32 = 2147483647; -pub const EXIT_FAILURE: u32 = 1; -pub const EXIT_SUCCESS: u32 = 0; -pub const _SYS_TYPES_H: u32 = 1; -pub const __clock_t_defined: u32 = 1; -pub const __clockid_t_defined: u32 = 1; -pub const __time_t_defined: u32 = 1; -pub const __timer_t_defined: u32 = 1; -pub const _BITS_STDINT_INTN_H: u32 = 1; -pub const __BIT_TYPES_DEFINED__: u32 = 1; -pub const _ENDIAN_H: u32 = 1; -pub const _BITS_ENDIAN_H: u32 = 1; -pub const __LITTLE_ENDIAN: u32 = 1234; -pub const __BIG_ENDIAN: u32 = 4321; -pub const __PDP_ENDIAN: u32 = 3412; -pub const _BITS_ENDIANNESS_H: u32 = 1; -pub const __BYTE_ORDER: u32 = 1234; -pub const __FLOAT_WORD_ORDER: u32 = 1234; -pub const LITTLE_ENDIAN: u32 = 1234; -pub const BIG_ENDIAN: u32 = 4321; -pub const PDP_ENDIAN: u32 = 3412; -pub const BYTE_ORDER: u32 = 1234; -pub const _BITS_BYTESWAP_H: u32 = 1; -pub const _BITS_UINTN_IDENTITY_H: u32 = 1; -pub const _SYS_SELECT_H: u32 = 1; -pub const __sigset_t_defined: u32 = 1; -pub const __timeval_defined: u32 = 1; -pub const _STRUCT_TIMESPEC: u32 = 1; -pub const FD_SETSIZE: u32 = 1024; -pub const _BITS_PTHREADTYPES_COMMON_H: u32 = 1; -pub const _THREAD_SHARED_TYPES_H: u32 = 1; -pub const _BITS_PTHREADTYPES_ARCH_H: u32 = 1; -pub const __SIZEOF_PTHREAD_MUTEX_T: u32 = 40; -pub const __SIZEOF_PTHREAD_ATTR_T: u32 = 56; -pub const __SIZEOF_PTHREAD_RWLOCK_T: u32 = 56; -pub const __SIZEOF_PTHREAD_BARRIER_T: u32 = 32; -pub const __SIZEOF_PTHREAD_MUTEXATTR_T: u32 = 4; -pub const __SIZEOF_PTHREAD_COND_T: u32 = 48; -pub const __SIZEOF_PTHREAD_CONDATTR_T: u32 = 4; -pub const __SIZEOF_PTHREAD_RWLOCKATTR_T: u32 = 8; -pub const __SIZEOF_PTHREAD_BARRIERATTR_T: u32 = 4; -pub const _THREAD_MUTEX_INTERNAL_H: u32 = 1; -pub const __PTHREAD_MUTEX_HAVE_PREV: u32 = 1; -pub const __have_pthread_attr_t: u32 = 1; -pub const _ALLOCA_H: u32 = 1; -pub const _STRING_H: u32 = 1; -pub const _BITS_TYPES_LOCALE_T_H: u32 = 1; -pub const _BITS_TYPES___LOCALE_T_H: u32 = 1; -pub const _STRINGS_H: u32 = 1; -pub const _STDINT_H: u32 = 1; -pub const _BITS_WCHAR_H: u32 = 1; -pub const _BITS_STDINT_UINTN_H: u32 = 1; -pub const INT8_MIN: i32 = -128; -pub const INT16_MIN: i32 = -32768; -pub const INT32_MIN: i32 = -2147483648; +pub const L_ctermid: u32 = 1024; +pub const _USE_FORTIFY_LEVEL: u32 = 2; +pub const __DARWIN_NSIG: u32 = 32; +pub const NSIG: u32 = 32; +pub const _ARM_SIGNAL_: u32 = 1; +pub const SIGHUP: u32 = 1; +pub const SIGINT: u32 = 2; +pub const SIGQUIT: u32 = 3; +pub const SIGILL: u32 = 4; +pub const SIGTRAP: u32 = 5; +pub const SIGABRT: u32 = 6; +pub const SIGIOT: u32 = 6; +pub const SIGEMT: u32 = 7; +pub const SIGFPE: u32 = 8; +pub const SIGKILL: u32 = 9; +pub const SIGBUS: u32 = 10; +pub const SIGSEGV: u32 = 11; +pub const SIGSYS: u32 = 12; +pub const SIGPIPE: u32 = 13; +pub const SIGALRM: u32 = 14; +pub const SIGTERM: u32 = 15; +pub const SIGURG: u32 = 16; +pub const SIGSTOP: u32 = 17; +pub const SIGTSTP: u32 = 18; +pub const SIGCONT: u32 = 19; +pub const SIGCHLD: u32 = 20; +pub const SIGTTIN: u32 = 21; +pub const SIGTTOU: u32 = 22; +pub const SIGIO: u32 = 23; +pub const SIGXCPU: u32 = 24; +pub const SIGXFSZ: u32 = 25; +pub const SIGVTALRM: u32 = 26; +pub const SIGPROF: u32 = 27; +pub const SIGWINCH: u32 = 28; +pub const SIGINFO: u32 = 29; +pub const SIGUSR1: u32 = 30; +pub const SIGUSR2: u32 = 31; +pub const __DARWIN_OPAQUE_ARM_THREAD_STATE64: u32 = 0; +pub const SIGEV_NONE: u32 = 0; +pub const SIGEV_SIGNAL: u32 = 1; +pub const SIGEV_THREAD: u32 = 3; +pub const ILL_NOOP: u32 = 0; +pub const ILL_ILLOPC: u32 = 1; +pub const ILL_ILLTRP: u32 = 2; +pub const ILL_PRVOPC: u32 = 3; +pub const ILL_ILLOPN: u32 = 4; +pub const ILL_ILLADR: u32 = 5; +pub const ILL_PRVREG: u32 = 6; +pub const ILL_COPROC: u32 = 7; +pub const ILL_BADSTK: u32 = 8; +pub const FPE_NOOP: u32 = 0; +pub const FPE_FLTDIV: u32 = 1; +pub const FPE_FLTOVF: u32 = 2; +pub const FPE_FLTUND: u32 = 3; +pub const FPE_FLTRES: u32 = 4; +pub const FPE_FLTINV: u32 = 5; +pub const FPE_FLTSUB: u32 = 6; +pub const FPE_INTDIV: u32 = 7; +pub const FPE_INTOVF: u32 = 8; +pub const SEGV_NOOP: u32 = 0; +pub const SEGV_MAPERR: u32 = 1; +pub const SEGV_ACCERR: u32 = 2; +pub const BUS_NOOP: u32 = 0; +pub const BUS_ADRALN: u32 = 1; +pub const BUS_ADRERR: u32 = 2; +pub const BUS_OBJERR: u32 = 3; +pub const TRAP_BRKPT: u32 = 1; +pub const TRAP_TRACE: u32 = 2; +pub const CLD_NOOP: u32 = 0; +pub const CLD_EXITED: u32 = 1; +pub const CLD_KILLED: u32 = 2; +pub const CLD_DUMPED: u32 = 3; +pub const CLD_TRAPPED: u32 = 4; +pub const CLD_STOPPED: u32 = 5; +pub const CLD_CONTINUED: u32 = 6; +pub const POLL_IN: u32 = 1; +pub const POLL_OUT: u32 = 2; +pub const POLL_MSG: u32 = 3; +pub const POLL_ERR: u32 = 4; +pub const POLL_PRI: u32 = 5; +pub const POLL_HUP: u32 = 6; +pub const SA_ONSTACK: u32 = 1; +pub const SA_RESTART: u32 = 2; +pub const SA_RESETHAND: u32 = 4; +pub const SA_NOCLDSTOP: u32 = 8; +pub const SA_NODEFER: u32 = 16; +pub const SA_NOCLDWAIT: u32 = 32; +pub const SA_SIGINFO: u32 = 64; +pub const SA_USERTRAMP: u32 = 256; +pub const SA_64REGSET: u32 = 512; +pub const SA_USERSPACE_MASK: u32 = 127; +pub const SIG_BLOCK: u32 = 1; +pub const SIG_UNBLOCK: u32 = 2; +pub const SIG_SETMASK: u32 = 3; +pub const SI_USER: u32 = 65537; +pub const SI_QUEUE: u32 = 65538; +pub const SI_TIMER: u32 = 65539; +pub const SI_ASYNCIO: u32 = 65540; +pub const SI_MESGQ: u32 = 65541; +pub const SS_ONSTACK: u32 = 1; +pub const SS_DISABLE: u32 = 4; +pub const MINSIGSTKSZ: u32 = 32768; +pub const SIGSTKSZ: u32 = 131072; +pub const SV_ONSTACK: u32 = 1; +pub const SV_INTERRUPT: u32 = 2; +pub const SV_RESETHAND: u32 = 4; +pub const SV_NODEFER: u32 = 16; +pub const SV_NOCLDSTOP: u32 = 8; +pub const SV_SIGINFO: u32 = 64; +pub const __WORDSIZE: u32 = 64; pub const INT8_MAX: u32 = 127; pub const INT16_MAX: u32 = 32767; pub const INT32_MAX: u32 = 2147483647; +pub const INT64_MAX: u64 = 9223372036854775807; +pub const INT8_MIN: i32 = -128; +pub const INT16_MIN: i32 = -32768; +pub const INT32_MIN: i32 = -2147483648; +pub const INT64_MIN: i64 = -9223372036854775808; pub const UINT8_MAX: u32 = 255; pub const UINT16_MAX: u32 = 65535; pub const UINT32_MAX: u32 = 4294967295; +pub const UINT64_MAX: i32 = -1; pub const INT_LEAST8_MIN: i32 = -128; pub const INT_LEAST16_MIN: i32 = -32768; pub const INT_LEAST32_MIN: i32 = -2147483648; +pub const INT_LEAST64_MIN: i64 = -9223372036854775808; pub const INT_LEAST8_MAX: u32 = 127; pub const INT_LEAST16_MAX: u32 = 32767; pub const INT_LEAST32_MAX: u32 = 2147483647; +pub const INT_LEAST64_MAX: u64 = 9223372036854775807; pub const UINT_LEAST8_MAX: u32 = 255; pub const UINT_LEAST16_MAX: u32 = 65535; pub const UINT_LEAST32_MAX: u32 = 4294967295; +pub const UINT_LEAST64_MAX: i32 = -1; pub const INT_FAST8_MIN: i32 = -128; -pub const INT_FAST16_MIN: i64 = -9223372036854775808; -pub const INT_FAST32_MIN: i64 = -9223372036854775808; +pub const INT_FAST16_MIN: i32 = -32768; +pub const INT_FAST32_MIN: i32 = -2147483648; +pub const INT_FAST64_MIN: i64 = -9223372036854775808; pub const INT_FAST8_MAX: u32 = 127; -pub const INT_FAST16_MAX: u64 = 9223372036854775807; -pub const INT_FAST32_MAX: u64 = 9223372036854775807; +pub const INT_FAST16_MAX: u32 = 32767; +pub const INT_FAST32_MAX: u32 = 2147483647; +pub const INT_FAST64_MAX: u64 = 9223372036854775807; pub const UINT_FAST8_MAX: u32 = 255; -pub const UINT_FAST16_MAX: i32 = -1; -pub const UINT_FAST32_MAX: i32 = -1; -pub const INTPTR_MIN: i64 = -9223372036854775808; +pub const UINT_FAST16_MAX: u32 = 65535; +pub const UINT_FAST32_MAX: u32 = 4294967295; +pub const UINT_FAST64_MAX: i32 = -1; pub const INTPTR_MAX: u64 = 9223372036854775807; +pub const INTPTR_MIN: i64 = -9223372036854775808; pub const UINTPTR_MAX: i32 = -1; -pub const PTRDIFF_MIN: i64 = -9223372036854775808; -pub const PTRDIFF_MAX: u64 = 9223372036854775807; +pub const SIZE_MAX: i32 = -1; +pub const RSIZE_MAX: i32 = -1; +pub const WINT_MIN: i32 = -2147483648; +pub const WINT_MAX: u32 = 2147483647; pub const SIG_ATOMIC_MIN: i32 = -2147483648; pub const SIG_ATOMIC_MAX: u32 = 2147483647; -pub const SIZE_MAX: i32 = -1; -pub const WINT_MIN: u32 = 0; -pub const WINT_MAX: u32 = 4294967295; -pub const _ERRNO_H: u32 = 1; -pub const _BITS_ERRNO_H: u32 = 1; +pub const PRIO_PROCESS: u32 = 0; +pub const PRIO_PGRP: u32 = 1; +pub const PRIO_USER: u32 = 2; +pub const PRIO_DARWIN_THREAD: u32 = 3; +pub const PRIO_DARWIN_PROCESS: u32 = 4; +pub const PRIO_MIN: i32 = -20; +pub const PRIO_MAX: u32 = 20; +pub const PRIO_DARWIN_BG: u32 = 4096; +pub const PRIO_DARWIN_NONUI: u32 = 4097; +pub const RUSAGE_SELF: u32 = 0; +pub const RUSAGE_CHILDREN: i32 = -1; +pub const RUSAGE_INFO_V0: u32 = 0; +pub const RUSAGE_INFO_V1: u32 = 1; +pub const RUSAGE_INFO_V2: u32 = 2; +pub const RUSAGE_INFO_V3: u32 = 3; +pub const RUSAGE_INFO_V4: u32 = 4; +pub const RUSAGE_INFO_V5: u32 = 5; +pub const RUSAGE_INFO_CURRENT: u32 = 5; +pub const RU_PROC_RUNS_RESLIDE: u32 = 1; +pub const RLIMIT_CPU: u32 = 0; +pub const RLIMIT_FSIZE: u32 = 1; +pub const RLIMIT_DATA: u32 = 2; +pub const RLIMIT_STACK: u32 = 3; +pub const RLIMIT_CORE: u32 = 4; +pub const RLIMIT_AS: u32 = 5; +pub const RLIMIT_RSS: u32 = 5; +pub const RLIMIT_MEMLOCK: u32 = 6; +pub const RLIMIT_NPROC: u32 = 7; +pub const RLIMIT_NOFILE: u32 = 8; +pub const RLIM_NLIMITS: u32 = 9; +pub const _RLIMIT_POSIX_FLAG: u32 = 4096; +pub const RLIMIT_WAKEUPS_MONITOR: u32 = 1; +pub const RLIMIT_CPU_USAGE_MONITOR: u32 = 2; +pub const RLIMIT_THREAD_CPULIMITS: u32 = 3; +pub const RLIMIT_FOOTPRINT_INTERVAL: u32 = 4; +pub const WAKEMON_ENABLE: u32 = 1; +pub const WAKEMON_DISABLE: u32 = 2; +pub const WAKEMON_GET_PARAMS: u32 = 4; +pub const WAKEMON_SET_DEFAULTS: u32 = 8; +pub const WAKEMON_MAKE_FATAL: u32 = 16; +pub const CPUMON_MAKE_FATAL: u32 = 4096; +pub const FOOTPRINT_INTERVAL_RESET: u32 = 1; +pub const IOPOL_TYPE_DISK: u32 = 0; +pub const IOPOL_TYPE_VFS_ATIME_UPDATES: u32 = 2; +pub const IOPOL_TYPE_VFS_MATERIALIZE_DATALESS_FILES: u32 = 3; +pub const IOPOL_TYPE_VFS_STATFS_NO_DATA_VOLUME: u32 = 4; +pub const IOPOL_TYPE_VFS_TRIGGER_RESOLVE: u32 = 5; +pub const IOPOL_TYPE_VFS_IGNORE_CONTENT_PROTECTION: u32 = 6; +pub const IOPOL_TYPE_VFS_IGNORE_PERMISSIONS: u32 = 7; +pub const IOPOL_TYPE_VFS_SKIP_MTIME_UPDATE: u32 = 8; +pub const IOPOL_TYPE_VFS_ALLOW_LOW_SPACE_WRITES: u32 = 9; +pub const IOPOL_SCOPE_PROCESS: u32 = 0; +pub const IOPOL_SCOPE_THREAD: u32 = 1; +pub const IOPOL_SCOPE_DARWIN_BG: u32 = 2; +pub const IOPOL_DEFAULT: u32 = 0; +pub const IOPOL_IMPORTANT: u32 = 1; +pub const IOPOL_PASSIVE: u32 = 2; +pub const IOPOL_THROTTLE: u32 = 3; +pub const IOPOL_UTILITY: u32 = 4; +pub const IOPOL_STANDARD: u32 = 5; +pub const IOPOL_APPLICATION: u32 = 5; +pub const IOPOL_NORMAL: u32 = 1; +pub const IOPOL_ATIME_UPDATES_DEFAULT: u32 = 0; +pub const IOPOL_ATIME_UPDATES_OFF: u32 = 1; +pub const IOPOL_MATERIALIZE_DATALESS_FILES_DEFAULT: u32 = 0; +pub const IOPOL_MATERIALIZE_DATALESS_FILES_OFF: u32 = 1; +pub const IOPOL_MATERIALIZE_DATALESS_FILES_ON: u32 = 2; +pub const IOPOL_VFS_STATFS_NO_DATA_VOLUME_DEFAULT: u32 = 0; +pub const IOPOL_VFS_STATFS_FORCE_NO_DATA_VOLUME: u32 = 1; +pub const IOPOL_VFS_TRIGGER_RESOLVE_DEFAULT: u32 = 0; +pub const IOPOL_VFS_TRIGGER_RESOLVE_OFF: u32 = 1; +pub const IOPOL_VFS_CONTENT_PROTECTION_DEFAULT: u32 = 0; +pub const IOPOL_VFS_CONTENT_PROTECTION_IGNORE: u32 = 1; +pub const IOPOL_VFS_IGNORE_PERMISSIONS_OFF: u32 = 0; +pub const IOPOL_VFS_IGNORE_PERMISSIONS_ON: u32 = 1; +pub const IOPOL_VFS_SKIP_MTIME_UPDATE_OFF: u32 = 0; +pub const IOPOL_VFS_SKIP_MTIME_UPDATE_ON: u32 = 1; +pub const IOPOL_VFS_ALLOW_LOW_SPACE_WRITES_OFF: u32 = 0; +pub const IOPOL_VFS_ALLOW_LOW_SPACE_WRITES_ON: u32 = 1; +pub const WNOHANG: u32 = 1; +pub const WUNTRACED: u32 = 2; +pub const WCOREFLAG: u32 = 128; +pub const _WSTOPPED: u32 = 127; +pub const WEXITED: u32 = 4; +pub const WSTOPPED: u32 = 8; +pub const WCONTINUED: u32 = 16; +pub const WNOWAIT: u32 = 32; +pub const WAIT_ANY: i32 = -1; +pub const WAIT_MYPGRP: u32 = 0; +pub const _QUAD_HIGHWORD: u32 = 1; +pub const _QUAD_LOWWORD: u32 = 0; +pub const __DARWIN_LITTLE_ENDIAN: u32 = 1234; +pub const __DARWIN_BIG_ENDIAN: u32 = 4321; +pub const __DARWIN_PDP_ENDIAN: u32 = 3412; +pub const __DARWIN_BYTE_ORDER: u32 = 1234; +pub const LITTLE_ENDIAN: u32 = 1234; +pub const BIG_ENDIAN: u32 = 4321; +pub const PDP_ENDIAN: u32 = 3412; +pub const BYTE_ORDER: u32 = 1234; +pub const EXIT_FAILURE: u32 = 1; +pub const EXIT_SUCCESS: u32 = 0; +pub const RAND_MAX: u32 = 2147483647; +pub const __HAS_FIXED_CHK_PROTOTYPES: u32 = 1; +pub const __GNUC_VA_LIST: u32 = 1; +pub const __DARWIN_FD_SETSIZE: u32 = 1024; +pub const __DARWIN_NBBY: u32 = 8; +pub const NBBY: u32 = 8; +pub const FD_SETSIZE: u32 = 1024; pub const EPERM: u32 = 1; pub const ENOENT: u32 = 2; pub const ESRCH: u32 = 3; @@ -572,7 +913,7 @@ pub const E2BIG: u32 = 7; pub const ENOEXEC: u32 = 8; pub const EBADF: u32 = 9; pub const ECHILD: u32 = 10; -pub const EAGAIN: u32 = 11; +pub const EDEADLK: u32 = 11; pub const ENOMEM: u32 = 12; pub const EACCES: u32 = 13; pub const EFAULT: u32 = 14; @@ -596,147 +937,88 @@ pub const EMLINK: u32 = 31; pub const EPIPE: u32 = 32; pub const EDOM: u32 = 33; pub const ERANGE: u32 = 34; -pub const EDEADLK: u32 = 35; -pub const ENAMETOOLONG: u32 = 36; -pub const ENOLCK: u32 = 37; -pub const ENOSYS: u32 = 38; -pub const ENOTEMPTY: u32 = 39; -pub const ELOOP: u32 = 40; -pub const EWOULDBLOCK: u32 = 11; -pub const ENOMSG: u32 = 42; -pub const EIDRM: u32 = 43; -pub const ECHRNG: u32 = 44; -pub const EL2NSYNC: u32 = 45; -pub const EL3HLT: u32 = 46; -pub const EL3RST: u32 = 47; -pub const ELNRNG: u32 = 48; -pub const EUNATCH: u32 = 49; -pub const ENOCSI: u32 = 50; -pub const EL2HLT: u32 = 51; -pub const EBADE: u32 = 52; -pub const EBADR: u32 = 53; -pub const EXFULL: u32 = 54; -pub const ENOANO: u32 = 55; -pub const EBADRQC: u32 = 56; -pub const EBADSLT: u32 = 57; -pub const EDEADLOCK: u32 = 35; -pub const EBFONT: u32 = 59; -pub const ENOSTR: u32 = 60; -pub const ENODATA: u32 = 61; -pub const ETIME: u32 = 62; -pub const ENOSR: u32 = 63; -pub const ENONET: u32 = 64; -pub const ENOPKG: u32 = 65; -pub const EREMOTE: u32 = 66; -pub const ENOLINK: u32 = 67; -pub const EADV: u32 = 68; -pub const ESRMNT: u32 = 69; -pub const ECOMM: u32 = 70; -pub const EPROTO: u32 = 71; -pub const EMULTIHOP: u32 = 72; -pub const EDOTDOT: u32 = 73; -pub const EBADMSG: u32 = 74; -pub const EOVERFLOW: u32 = 75; -pub const ENOTUNIQ: u32 = 76; -pub const EBADFD: u32 = 77; -pub const EREMCHG: u32 = 78; -pub const ELIBACC: u32 = 79; -pub const ELIBBAD: u32 = 80; -pub const ELIBSCN: u32 = 81; -pub const ELIBMAX: u32 = 82; -pub const ELIBEXEC: u32 = 83; -pub const EILSEQ: u32 = 84; -pub const ERESTART: u32 = 85; -pub const ESTRPIPE: u32 = 86; -pub const EUSERS: u32 = 87; -pub const ENOTSOCK: u32 = 88; -pub const EDESTADDRREQ: u32 = 89; -pub const EMSGSIZE: u32 = 90; -pub const EPROTOTYPE: u32 = 91; -pub const ENOPROTOOPT: u32 = 92; -pub const EPROTONOSUPPORT: u32 = 93; -pub const ESOCKTNOSUPPORT: u32 = 94; -pub const EOPNOTSUPP: u32 = 95; -pub const EPFNOSUPPORT: u32 = 96; -pub const EAFNOSUPPORT: u32 = 97; -pub const EADDRINUSE: u32 = 98; -pub const EADDRNOTAVAIL: u32 = 99; -pub const ENETDOWN: u32 = 100; -pub const ENETUNREACH: u32 = 101; -pub const ENETRESET: u32 = 102; -pub const ECONNABORTED: u32 = 103; -pub const ECONNRESET: u32 = 104; -pub const ENOBUFS: u32 = 105; -pub const EISCONN: u32 = 106; -pub const ENOTCONN: u32 = 107; -pub const ESHUTDOWN: u32 = 108; -pub const ETOOMANYREFS: u32 = 109; -pub const ETIMEDOUT: u32 = 110; -pub const ECONNREFUSED: u32 = 111; -pub const EHOSTDOWN: u32 = 112; -pub const EHOSTUNREACH: u32 = 113; -pub const EALREADY: u32 = 114; -pub const EINPROGRESS: u32 = 115; -pub const ESTALE: u32 = 116; -pub const EUCLEAN: u32 = 117; -pub const ENOTNAM: u32 = 118; -pub const ENAVAIL: u32 = 119; -pub const EISNAM: u32 = 120; -pub const EREMOTEIO: u32 = 121; -pub const EDQUOT: u32 = 122; -pub const ENOMEDIUM: u32 = 123; -pub const EMEDIUMTYPE: u32 = 124; -pub const ECANCELED: u32 = 125; -pub const ENOKEY: u32 = 126; -pub const EKEYEXPIRED: u32 = 127; -pub const EKEYREVOKED: u32 = 128; -pub const EKEYREJECTED: u32 = 129; -pub const EOWNERDEAD: u32 = 130; -pub const ENOTRECOVERABLE: u32 = 131; -pub const ERFKILL: u32 = 132; -pub const EHWPOISON: u32 = 133; -pub const ENOTSUP: u32 = 95; -pub const _LOCALE_H: u32 = 1; -pub const _BITS_LOCALE_H: u32 = 1; -pub const __LC_CTYPE: u32 = 0; -pub const __LC_NUMERIC: u32 = 1; -pub const __LC_TIME: u32 = 2; -pub const __LC_COLLATE: u32 = 3; -pub const __LC_MONETARY: u32 = 4; -pub const __LC_MESSAGES: u32 = 5; -pub const __LC_ALL: u32 = 6; -pub const __LC_PAPER: u32 = 7; -pub const __LC_NAME: u32 = 8; -pub const __LC_ADDRESS: u32 = 9; -pub const __LC_TELEPHONE: u32 = 10; -pub const __LC_MEASUREMENT: u32 = 11; -pub const __LC_IDENTIFICATION: u32 = 12; -pub const LC_CTYPE: u32 = 0; -pub const LC_NUMERIC: u32 = 1; -pub const LC_TIME: u32 = 2; -pub const LC_COLLATE: u32 = 3; -pub const LC_MONETARY: u32 = 4; -pub const LC_MESSAGES: u32 = 5; -pub const LC_ALL: u32 = 6; -pub const LC_PAPER: u32 = 7; -pub const LC_NAME: u32 = 8; -pub const LC_ADDRESS: u32 = 9; -pub const LC_TELEPHONE: u32 = 10; -pub const LC_MEASUREMENT: u32 = 11; -pub const LC_IDENTIFICATION: u32 = 12; -pub const LC_CTYPE_MASK: u32 = 1; -pub const LC_NUMERIC_MASK: u32 = 2; -pub const LC_TIME_MASK: u32 = 4; -pub const LC_COLLATE_MASK: u32 = 8; -pub const LC_MONETARY_MASK: u32 = 16; -pub const LC_MESSAGES_MASK: u32 = 32; -pub const LC_PAPER_MASK: u32 = 128; -pub const LC_NAME_MASK: u32 = 256; -pub const LC_ADDRESS_MASK: u32 = 512; -pub const LC_TELEPHONE_MASK: u32 = 1024; -pub const LC_MEASUREMENT_MASK: u32 = 2048; -pub const LC_IDENTIFICATION_MASK: u32 = 4096; -pub const LC_ALL_MASK: u32 = 8127; +pub const EAGAIN: u32 = 35; +pub const EWOULDBLOCK: u32 = 35; +pub const EINPROGRESS: u32 = 36; +pub const EALREADY: u32 = 37; +pub const ENOTSOCK: u32 = 38; +pub const EDESTADDRREQ: u32 = 39; +pub const EMSGSIZE: u32 = 40; +pub const EPROTOTYPE: u32 = 41; +pub const ENOPROTOOPT: u32 = 42; +pub const EPROTONOSUPPORT: u32 = 43; +pub const ESOCKTNOSUPPORT: u32 = 44; +pub const ENOTSUP: u32 = 45; +pub const EPFNOSUPPORT: u32 = 46; +pub const EAFNOSUPPORT: u32 = 47; +pub const EADDRINUSE: u32 = 48; +pub const EADDRNOTAVAIL: u32 = 49; +pub const ENETDOWN: u32 = 50; +pub const ENETUNREACH: u32 = 51; +pub const ENETRESET: u32 = 52; +pub const ECONNABORTED: u32 = 53; +pub const ECONNRESET: u32 = 54; +pub const ENOBUFS: u32 = 55; +pub const EISCONN: u32 = 56; +pub const ENOTCONN: u32 = 57; +pub const ESHUTDOWN: u32 = 58; +pub const ETOOMANYREFS: u32 = 59; +pub const ETIMEDOUT: u32 = 60; +pub const ECONNREFUSED: u32 = 61; +pub const ELOOP: u32 = 62; +pub const ENAMETOOLONG: u32 = 63; +pub const EHOSTDOWN: u32 = 64; +pub const EHOSTUNREACH: u32 = 65; +pub const ENOTEMPTY: u32 = 66; +pub const EPROCLIM: u32 = 67; +pub const EUSERS: u32 = 68; +pub const EDQUOT: u32 = 69; +pub const ESTALE: u32 = 70; +pub const EREMOTE: u32 = 71; +pub const EBADRPC: u32 = 72; +pub const ERPCMISMATCH: u32 = 73; +pub const EPROGUNAVAIL: u32 = 74; +pub const EPROGMISMATCH: u32 = 75; +pub const EPROCUNAVAIL: u32 = 76; +pub const ENOLCK: u32 = 77; +pub const ENOSYS: u32 = 78; +pub const EFTYPE: u32 = 79; +pub const EAUTH: u32 = 80; +pub const ENEEDAUTH: u32 = 81; +pub const EPWROFF: u32 = 82; +pub const EDEVERR: u32 = 83; +pub const EOVERFLOW: u32 = 84; +pub const EBADEXEC: u32 = 85; +pub const EBADARCH: u32 = 86; +pub const ESHLIBVERS: u32 = 87; +pub const EBADMACHO: u32 = 88; +pub const ECANCELED: u32 = 89; +pub const EIDRM: u32 = 90; +pub const ENOMSG: u32 = 91; +pub const EILSEQ: u32 = 92; +pub const ENOATTR: u32 = 93; +pub const EBADMSG: u32 = 94; +pub const EMULTIHOP: u32 = 95; +pub const ENODATA: u32 = 96; +pub const ENOLINK: u32 = 97; +pub const ENOSR: u32 = 98; +pub const ENOSTR: u32 = 99; +pub const EPROTO: u32 = 100; +pub const ETIME: u32 = 101; +pub const EOPNOTSUPP: u32 = 102; +pub const ENOPOLICY: u32 = 103; +pub const ENOTRECOVERABLE: u32 = 104; +pub const EOWNERDEAD: u32 = 105; +pub const EQFULL: u32 = 106; +pub const ELAST: u32 = 106; +pub const LC_ALL: u32 = 0; +pub const LC_COLLATE: u32 = 1; +pub const LC_CTYPE: u32 = 2; +pub const LC_MONETARY: u32 = 3; +pub const LC_NUMERIC: u32 = 4; +pub const LC_TIME: u32 = 5; +pub const LC_MESSAGES: u32 = 6; +pub const _LC_LAST: u32 = 7; pub const HAVE_PG_ATTRIBUTE_NORETURN: u32 = 1; pub const true_: u32 = 1; pub const false_: u32 = 0; @@ -766,358 +1048,375 @@ pub const PG_BINARY: u32 = 0; pub const PG_BINARY_A: &[u8; 2usize] = b"a\0"; pub const PG_BINARY_R: &[u8; 2usize] = b"r\0"; pub const PG_BINARY_W: &[u8; 2usize] = b"w\0"; -pub const _CTYPE_H: u32 = 1; -pub const _NETDB_H: u32 = 1; -pub const _NETINET_IN_H: u32 = 1; -pub const _SYS_SOCKET_H: u32 = 1; -pub const __iovec_defined: u32 = 1; +pub const _CACHED_RUNES: u32 = 256; +pub const _CRMASK: i32 = -256; +pub const _RUNE_MAGIC_A: &[u8; 9usize] = b"RuneMagA\0"; +pub const _CTYPE_A: u32 = 256; +pub const _CTYPE_C: u32 = 512; +pub const _CTYPE_D: u32 = 1024; +pub const _CTYPE_G: u32 = 2048; +pub const _CTYPE_L: u32 = 4096; +pub const _CTYPE_P: u32 = 8192; +pub const _CTYPE_S: u32 = 16384; +pub const _CTYPE_U: u32 = 32768; +pub const _CTYPE_X: u32 = 65536; +pub const _CTYPE_B: u32 = 131072; +pub const _CTYPE_R: u32 = 262144; +pub const _CTYPE_I: u32 = 524288; +pub const _CTYPE_T: u32 = 1048576; +pub const _CTYPE_Q: u32 = 2097152; +pub const _CTYPE_SW0: u32 = 536870912; +pub const _CTYPE_SW1: u32 = 1073741824; +pub const _CTYPE_SW2: u32 = 2147483648; +pub const _CTYPE_SW3: u32 = 3221225472; +pub const _CTYPE_SWM: u32 = 3758096384; +pub const _CTYPE_SWS: u32 = 30; +pub const KEV_INET_SUBCLASS: u32 = 1; +pub const KEV_INET_NEW_ADDR: u32 = 1; +pub const KEV_INET_CHANGED_ADDR: u32 = 2; +pub const KEV_INET_ADDR_DELETED: u32 = 3; +pub const KEV_INET_SIFDSTADDR: u32 = 4; +pub const KEV_INET_SIFBRDADDR: u32 = 5; +pub const KEV_INET_SIFNETMASK: u32 = 6; +pub const KEV_INET_ARPCOLLISION: u32 = 7; +pub const KEV_INET_PORTINUSE: u32 = 8; +pub const KEV_INET_ARPRTRFAILURE: u32 = 9; +pub const KEV_INET_ARPRTRALIVE: u32 = 10; +pub const KEV_DL_SUBCLASS: u32 = 2; +pub const KEV_DL_SIFFLAGS: u32 = 1; +pub const KEV_DL_SIFMETRICS: u32 = 2; +pub const KEV_DL_SIFMTU: u32 = 3; +pub const KEV_DL_SIFPHYS: u32 = 4; +pub const KEV_DL_SIFMEDIA: u32 = 5; +pub const KEV_DL_SIFGENERIC: u32 = 6; +pub const KEV_DL_ADDMULTI: u32 = 7; +pub const KEV_DL_DELMULTI: u32 = 8; +pub const KEV_DL_IF_ATTACHED: u32 = 9; +pub const KEV_DL_IF_DETACHING: u32 = 10; +pub const KEV_DL_IF_DETACHED: u32 = 11; +pub const KEV_DL_LINK_OFF: u32 = 12; +pub const KEV_DL_LINK_ON: u32 = 13; +pub const KEV_DL_PROTO_ATTACHED: u32 = 14; +pub const KEV_DL_PROTO_DETACHED: u32 = 15; +pub const KEV_DL_LINK_ADDRESS_CHANGED: u32 = 16; +pub const KEV_DL_WAKEFLAGS_CHANGED: u32 = 17; +pub const KEV_DL_IF_IDLE_ROUTE_REFCNT: u32 = 18; +pub const KEV_DL_IFCAP_CHANGED: u32 = 19; +pub const KEV_DL_LINK_QUALITY_METRIC_CHANGED: u32 = 20; +pub const KEV_DL_NODE_PRESENCE: u32 = 21; +pub const KEV_DL_NODE_ABSENCE: u32 = 22; +pub const KEV_DL_PRIMARY_ELECTED: u32 = 23; +pub const KEV_DL_ISSUES: u32 = 24; +pub const KEV_DL_IFDELEGATE_CHANGED: u32 = 25; +pub const KEV_DL_AWDL_RESTRICTED: u32 = 26; +pub const KEV_DL_AWDL_UNRESTRICTED: u32 = 27; +pub const KEV_DL_RRC_STATE_CHANGED: u32 = 28; +pub const KEV_DL_QOS_MODE_CHANGED: u32 = 29; +pub const KEV_DL_LOW_POWER_MODE_CHANGED: u32 = 30; +pub const KEV_INET6_SUBCLASS: u32 = 6; +pub const KEV_INET6_NEW_USER_ADDR: u32 = 1; +pub const KEV_INET6_CHANGED_ADDR: u32 = 2; +pub const KEV_INET6_ADDR_DELETED: u32 = 3; +pub const KEV_INET6_NEW_LL_ADDR: u32 = 4; +pub const KEV_INET6_NEW_RTADV_ADDR: u32 = 5; +pub const KEV_INET6_DEFROUTER: u32 = 6; +pub const KEV_INET6_REQUEST_NAT64_PREFIX: u32 = 7; +pub const SOCK_STREAM: u32 = 1; +pub const SOCK_DGRAM: u32 = 2; +pub const SOCK_RAW: u32 = 3; +pub const SOCK_RDM: u32 = 4; +pub const SOCK_SEQPACKET: u32 = 5; +pub const SO_DEBUG: u32 = 1; +pub const SO_ACCEPTCONN: u32 = 2; +pub const SO_REUSEADDR: u32 = 4; +pub const SO_KEEPALIVE: u32 = 8; +pub const SO_DONTROUTE: u32 = 16; +pub const SO_BROADCAST: u32 = 32; +pub const SO_USELOOPBACK: u32 = 64; +pub const SO_LINGER: u32 = 128; +pub const SO_OOBINLINE: u32 = 256; +pub const SO_REUSEPORT: u32 = 512; +pub const SO_TIMESTAMP: u32 = 1024; +pub const SO_TIMESTAMP_MONOTONIC: u32 = 2048; +pub const SO_DONTTRUNC: u32 = 8192; +pub const SO_WANTMORE: u32 = 16384; +pub const SO_WANTOOBFLAG: u32 = 32768; +pub const SO_SNDBUF: u32 = 4097; +pub const SO_RCVBUF: u32 = 4098; +pub const SO_SNDLOWAT: u32 = 4099; +pub const SO_RCVLOWAT: u32 = 4100; +pub const SO_SNDTIMEO: u32 = 4101; +pub const SO_RCVTIMEO: u32 = 4102; +pub const SO_ERROR: u32 = 4103; +pub const SO_TYPE: u32 = 4104; +pub const SO_LABEL: u32 = 4112; +pub const SO_PEERLABEL: u32 = 4113; +pub const SO_NREAD: u32 = 4128; +pub const SO_NKE: u32 = 4129; +pub const SO_NOSIGPIPE: u32 = 4130; +pub const SO_NOADDRERR: u32 = 4131; +pub const SO_NWRITE: u32 = 4132; +pub const SO_REUSESHAREUID: u32 = 4133; +pub const SO_NOTIFYCONFLICT: u32 = 4134; +pub const SO_UPCALLCLOSEWAIT: u32 = 4135; +pub const SO_LINGER_SEC: u32 = 4224; +pub const SO_RANDOMPORT: u32 = 4226; +pub const SO_NP_EXTENSIONS: u32 = 4227; +pub const SO_NUMRCVPKT: u32 = 4370; +pub const SO_NET_SERVICE_TYPE: u32 = 4374; +pub const SO_NETSVC_MARKING_LEVEL: u32 = 4377; +pub const NET_SERVICE_TYPE_BE: u32 = 0; +pub const NET_SERVICE_TYPE_BK: u32 = 1; +pub const NET_SERVICE_TYPE_SIG: u32 = 2; +pub const NET_SERVICE_TYPE_VI: u32 = 3; +pub const NET_SERVICE_TYPE_VO: u32 = 4; +pub const NET_SERVICE_TYPE_RV: u32 = 5; +pub const NET_SERVICE_TYPE_AV: u32 = 6; +pub const NET_SERVICE_TYPE_OAM: u32 = 7; +pub const NET_SERVICE_TYPE_RD: u32 = 8; +pub const NETSVC_MRKNG_UNKNOWN: u32 = 0; +pub const NETSVC_MRKNG_LVL_L2: u32 = 1; +pub const NETSVC_MRKNG_LVL_L3L2_ALL: u32 = 2; +pub const NETSVC_MRKNG_LVL_L3L2_BK: u32 = 3; +pub const SAE_ASSOCID_ANY: u32 = 0; +pub const SAE_CONNID_ANY: u32 = 0; +pub const CONNECT_RESUME_ON_READ_WRITE: u32 = 1; +pub const CONNECT_DATA_IDEMPOTENT: u32 = 2; +pub const CONNECT_DATA_AUTHENTICATED: u32 = 4; +pub const SONPX_SETOPTSHUT: u32 = 1; +pub const SOL_SOCKET: u32 = 65535; +pub const AF_UNSPEC: u32 = 0; +pub const AF_UNIX: u32 = 1; +pub const AF_LOCAL: u32 = 1; +pub const AF_INET: u32 = 2; +pub const AF_IMPLINK: u32 = 3; +pub const AF_PUP: u32 = 4; +pub const AF_CHAOS: u32 = 5; +pub const AF_NS: u32 = 6; +pub const AF_ISO: u32 = 7; +pub const AF_OSI: u32 = 7; +pub const AF_ECMA: u32 = 8; +pub const AF_DATAKIT: u32 = 9; +pub const AF_CCITT: u32 = 10; +pub const AF_SNA: u32 = 11; +pub const AF_DECnet: u32 = 12; +pub const AF_DLI: u32 = 13; +pub const AF_LAT: u32 = 14; +pub const AF_HYLINK: u32 = 15; +pub const AF_APPLETALK: u32 = 16; +pub const AF_ROUTE: u32 = 17; +pub const AF_LINK: u32 = 18; +pub const pseudo_AF_XTP: u32 = 19; +pub const AF_COIP: u32 = 20; +pub const AF_CNT: u32 = 21; +pub const pseudo_AF_RTIP: u32 = 22; +pub const AF_IPX: u32 = 23; +pub const AF_SIP: u32 = 24; +pub const pseudo_AF_PIP: u32 = 25; +pub const AF_NDRV: u32 = 27; +pub const AF_ISDN: u32 = 28; +pub const AF_E164: u32 = 28; +pub const pseudo_AF_KEY: u32 = 29; +pub const AF_INET6: u32 = 30; +pub const AF_NATM: u32 = 31; +pub const AF_SYSTEM: u32 = 32; +pub const AF_NETBIOS: u32 = 33; +pub const AF_PPP: u32 = 34; +pub const pseudo_AF_HDRCMPLT: u32 = 35; +pub const AF_RESERVED_36: u32 = 36; +pub const AF_IEEE80211: u32 = 37; +pub const AF_UTUN: u32 = 38; +pub const AF_VSOCK: u32 = 40; +pub const AF_MAX: u32 = 41; +pub const SOCK_MAXADDRLEN: u32 = 255; +pub const _SS_MAXSIZE: u32 = 128; pub const PF_UNSPEC: u32 = 0; pub const PF_LOCAL: u32 = 1; pub const PF_UNIX: u32 = 1; -pub const PF_FILE: u32 = 1; pub const PF_INET: u32 = 2; -pub const PF_AX25: u32 = 3; -pub const PF_IPX: u32 = 4; -pub const PF_APPLETALK: u32 = 5; -pub const PF_NETROM: u32 = 6; -pub const PF_BRIDGE: u32 = 7; -pub const PF_ATMPVC: u32 = 8; -pub const PF_X25: u32 = 9; -pub const PF_INET6: u32 = 10; -pub const PF_ROSE: u32 = 11; +pub const PF_IMPLINK: u32 = 3; +pub const PF_PUP: u32 = 4; +pub const PF_CHAOS: u32 = 5; +pub const PF_NS: u32 = 6; +pub const PF_ISO: u32 = 7; +pub const PF_OSI: u32 = 7; +pub const PF_ECMA: u32 = 8; +pub const PF_DATAKIT: u32 = 9; +pub const PF_CCITT: u32 = 10; +pub const PF_SNA: u32 = 11; pub const PF_DECnet: u32 = 12; -pub const PF_NETBEUI: u32 = 13; -pub const PF_SECURITY: u32 = 14; -pub const PF_KEY: u32 = 15; -pub const PF_NETLINK: u32 = 16; -pub const PF_ROUTE: u32 = 16; -pub const PF_PACKET: u32 = 17; -pub const PF_ASH: u32 = 18; -pub const PF_ECONET: u32 = 19; -pub const PF_ATMSVC: u32 = 20; -pub const PF_RDS: u32 = 21; -pub const PF_SNA: u32 = 22; -pub const PF_IRDA: u32 = 23; -pub const PF_PPPOX: u32 = 24; -pub const PF_WANPIPE: u32 = 25; -pub const PF_LLC: u32 = 26; -pub const PF_IB: u32 = 27; -pub const PF_MPLS: u32 = 28; -pub const PF_CAN: u32 = 29; -pub const PF_TIPC: u32 = 30; -pub const PF_BLUETOOTH: u32 = 31; -pub const PF_IUCV: u32 = 32; -pub const PF_RXRPC: u32 = 33; -pub const PF_ISDN: u32 = 34; -pub const PF_PHONET: u32 = 35; -pub const PF_IEEE802154: u32 = 36; -pub const PF_CAIF: u32 = 37; -pub const PF_ALG: u32 = 38; -pub const PF_NFC: u32 = 39; +pub const PF_DLI: u32 = 13; +pub const PF_LAT: u32 = 14; +pub const PF_HYLINK: u32 = 15; +pub const PF_APPLETALK: u32 = 16; +pub const PF_ROUTE: u32 = 17; +pub const PF_LINK: u32 = 18; +pub const PF_XTP: u32 = 19; +pub const PF_COIP: u32 = 20; +pub const PF_CNT: u32 = 21; +pub const PF_SIP: u32 = 24; +pub const PF_IPX: u32 = 23; +pub const PF_RTIP: u32 = 22; +pub const PF_PIP: u32 = 25; +pub const PF_NDRV: u32 = 27; +pub const PF_ISDN: u32 = 28; +pub const PF_KEY: u32 = 29; +pub const PF_INET6: u32 = 30; +pub const PF_NATM: u32 = 31; +pub const PF_SYSTEM: u32 = 32; +pub const PF_NETBIOS: u32 = 33; +pub const PF_PPP: u32 = 34; +pub const PF_RESERVED_36: u32 = 36; +pub const PF_UTUN: u32 = 38; pub const PF_VSOCK: u32 = 40; -pub const PF_KCM: u32 = 41; -pub const PF_QIPCRTR: u32 = 42; -pub const PF_SMC: u32 = 43; -pub const PF_XDP: u32 = 44; -pub const PF_MAX: u32 = 45; -pub const AF_UNSPEC: u32 = 0; -pub const AF_LOCAL: u32 = 1; -pub const AF_UNIX: u32 = 1; -pub const AF_FILE: u32 = 1; -pub const AF_INET: u32 = 2; -pub const AF_AX25: u32 = 3; -pub const AF_IPX: u32 = 4; -pub const AF_APPLETALK: u32 = 5; -pub const AF_NETROM: u32 = 6; -pub const AF_BRIDGE: u32 = 7; -pub const AF_ATMPVC: u32 = 8; -pub const AF_X25: u32 = 9; -pub const AF_INET6: u32 = 10; -pub const AF_ROSE: u32 = 11; -pub const AF_DECnet: u32 = 12; -pub const AF_NETBEUI: u32 = 13; -pub const AF_SECURITY: u32 = 14; -pub const AF_KEY: u32 = 15; -pub const AF_NETLINK: u32 = 16; -pub const AF_ROUTE: u32 = 16; -pub const AF_PACKET: u32 = 17; -pub const AF_ASH: u32 = 18; -pub const AF_ECONET: u32 = 19; -pub const AF_ATMSVC: u32 = 20; -pub const AF_RDS: u32 = 21; -pub const AF_SNA: u32 = 22; -pub const AF_IRDA: u32 = 23; -pub const AF_PPPOX: u32 = 24; -pub const AF_WANPIPE: u32 = 25; -pub const AF_LLC: u32 = 26; -pub const AF_IB: u32 = 27; -pub const AF_MPLS: u32 = 28; -pub const AF_CAN: u32 = 29; -pub const AF_TIPC: u32 = 30; -pub const AF_BLUETOOTH: u32 = 31; -pub const AF_IUCV: u32 = 32; -pub const AF_RXRPC: u32 = 33; -pub const AF_ISDN: u32 = 34; -pub const AF_PHONET: u32 = 35; -pub const AF_IEEE802154: u32 = 36; -pub const AF_CAIF: u32 = 37; -pub const AF_ALG: u32 = 38; -pub const AF_NFC: u32 = 39; -pub const AF_VSOCK: u32 = 40; -pub const AF_KCM: u32 = 41; -pub const AF_QIPCRTR: u32 = 42; -pub const AF_SMC: u32 = 43; -pub const AF_XDP: u32 = 44; -pub const AF_MAX: u32 = 45; -pub const SOL_RAW: u32 = 255; -pub const SOL_DECNET: u32 = 261; -pub const SOL_X25: u32 = 262; -pub const SOL_PACKET: u32 = 263; -pub const SOL_ATM: u32 = 264; -pub const SOL_AAL: u32 = 265; -pub const SOL_IRDA: u32 = 266; -pub const SOL_NETBEUI: u32 = 267; -pub const SOL_LLC: u32 = 268; -pub const SOL_DCCP: u32 = 269; -pub const SOL_NETLINK: u32 = 270; -pub const SOL_TIPC: u32 = 271; -pub const SOL_RXRPC: u32 = 272; -pub const SOL_PPPOL2TP: u32 = 273; -pub const SOL_BLUETOOTH: u32 = 274; -pub const SOL_PNPIPE: u32 = 275; -pub const SOL_RDS: u32 = 276; -pub const SOL_IUCV: u32 = 277; -pub const SOL_CAIF: u32 = 278; -pub const SOL_ALG: u32 = 279; -pub const SOL_NFC: u32 = 280; -pub const SOL_KCM: u32 = 281; -pub const SOL_TLS: u32 = 282; -pub const SOL_XDP: u32 = 283; -pub const SOMAXCONN: u32 = 4096; -pub const _BITS_SOCKADDR_H: u32 = 1; -pub const _SS_SIZE: u32 = 128; -pub const __BITS_PER_LONG: u32 = 64; -pub const FIOSETOWN: u32 = 35073; -pub const SIOCSPGRP: u32 = 35074; -pub const FIOGETOWN: u32 = 35075; -pub const SIOCGPGRP: u32 = 35076; -pub const SIOCATMARK: u32 = 35077; -pub const SIOCGSTAMP_OLD: u32 = 35078; -pub const SIOCGSTAMPNS_OLD: u32 = 35079; -pub const SOL_SOCKET: u32 = 1; -pub const SO_DEBUG: u32 = 1; -pub const SO_REUSEADDR: u32 = 2; -pub const SO_TYPE: u32 = 3; -pub const SO_ERROR: u32 = 4; -pub const SO_DONTROUTE: u32 = 5; -pub const SO_BROADCAST: u32 = 6; -pub const SO_SNDBUF: u32 = 7; -pub const SO_RCVBUF: u32 = 8; -pub const SO_SNDBUFFORCE: u32 = 32; -pub const SO_RCVBUFFORCE: u32 = 33; -pub const SO_KEEPALIVE: u32 = 9; -pub const SO_OOBINLINE: u32 = 10; -pub const SO_NO_CHECK: u32 = 11; -pub const SO_PRIORITY: u32 = 12; -pub const SO_LINGER: u32 = 13; -pub const SO_BSDCOMPAT: u32 = 14; -pub const SO_REUSEPORT: u32 = 15; -pub const SO_PASSCRED: u32 = 16; -pub const SO_PEERCRED: u32 = 17; -pub const SO_RCVLOWAT: u32 = 18; -pub const SO_SNDLOWAT: u32 = 19; -pub const SO_RCVTIMEO_OLD: u32 = 20; -pub const SO_SNDTIMEO_OLD: u32 = 21; -pub const SO_SECURITY_AUTHENTICATION: u32 = 22; -pub const SO_SECURITY_ENCRYPTION_TRANSPORT: u32 = 23; -pub const SO_SECURITY_ENCRYPTION_NETWORK: u32 = 24; -pub const SO_BINDTODEVICE: u32 = 25; -pub const SO_ATTACH_FILTER: u32 = 26; -pub const SO_DETACH_FILTER: u32 = 27; -pub const SO_GET_FILTER: u32 = 26; -pub const SO_PEERNAME: u32 = 28; -pub const SO_ACCEPTCONN: u32 = 30; -pub const SO_PEERSEC: u32 = 31; -pub const SO_PASSSEC: u32 = 34; -pub const SO_MARK: u32 = 36; -pub const SO_PROTOCOL: u32 = 38; -pub const SO_DOMAIN: u32 = 39; -pub const SO_RXQ_OVFL: u32 = 40; -pub const SO_WIFI_STATUS: u32 = 41; -pub const SCM_WIFI_STATUS: u32 = 41; -pub const SO_PEEK_OFF: u32 = 42; -pub const SO_NOFCS: u32 = 43; -pub const SO_LOCK_FILTER: u32 = 44; -pub const SO_SELECT_ERR_QUEUE: u32 = 45; -pub const SO_BUSY_POLL: u32 = 46; -pub const SO_MAX_PACING_RATE: u32 = 47; -pub const SO_BPF_EXTENSIONS: u32 = 48; -pub const SO_INCOMING_CPU: u32 = 49; -pub const SO_ATTACH_BPF: u32 = 50; -pub const SO_DETACH_BPF: u32 = 27; -pub const SO_ATTACH_REUSEPORT_CBPF: u32 = 51; -pub const SO_ATTACH_REUSEPORT_EBPF: u32 = 52; -pub const SO_CNX_ADVICE: u32 = 53; -pub const SCM_TIMESTAMPING_OPT_STATS: u32 = 54; -pub const SO_MEMINFO: u32 = 55; -pub const SO_INCOMING_NAPI_ID: u32 = 56; -pub const SO_COOKIE: u32 = 57; -pub const SCM_TIMESTAMPING_PKTINFO: u32 = 58; -pub const SO_PEERGROUPS: u32 = 59; -pub const SO_ZEROCOPY: u32 = 60; -pub const SO_TXTIME: u32 = 61; -pub const SCM_TXTIME: u32 = 61; -pub const SO_BINDTOIFINDEX: u32 = 62; -pub const SO_TIMESTAMP_OLD: u32 = 29; -pub const SO_TIMESTAMPNS_OLD: u32 = 35; -pub const SO_TIMESTAMPING_OLD: u32 = 37; -pub const SO_TIMESTAMP_NEW: u32 = 63; -pub const SO_TIMESTAMPNS_NEW: u32 = 64; -pub const SO_TIMESTAMPING_NEW: u32 = 65; -pub const SO_RCVTIMEO_NEW: u32 = 66; -pub const SO_SNDTIMEO_NEW: u32 = 67; -pub const SO_DETACH_REUSEPORT_BPF: u32 = 68; -pub const SO_PREFER_BUSY_POLL: u32 = 69; -pub const SO_BUSY_POLL_BUDGET: u32 = 70; -pub const SO_NETNS_COOKIE: u32 = 71; -pub const SO_TIMESTAMP: u32 = 29; -pub const SO_TIMESTAMPNS: u32 = 35; -pub const SO_TIMESTAMPING: u32 = 37; -pub const SO_RCVTIMEO: u32 = 20; -pub const SO_SNDTIMEO: u32 = 21; -pub const SCM_TIMESTAMP: u32 = 29; -pub const SCM_TIMESTAMPNS: u32 = 35; -pub const SCM_TIMESTAMPING: u32 = 37; -pub const __osockaddr_defined: u32 = 1; -pub const __USE_KERNEL_IPV6_DEFS: u32 = 0; -pub const IP_OPTIONS: u32 = 4; -pub const IP_HDRINCL: u32 = 3; -pub const IP_TOS: u32 = 1; -pub const IP_TTL: u32 = 2; -pub const IP_RECVOPTS: u32 = 6; -pub const IP_RETOPTS: u32 = 7; -pub const IP_MULTICAST_IF: u32 = 32; -pub const IP_MULTICAST_TTL: u32 = 33; -pub const IP_MULTICAST_LOOP: u32 = 34; -pub const IP_ADD_MEMBERSHIP: u32 = 35; -pub const IP_DROP_MEMBERSHIP: u32 = 36; -pub const IP_UNBLOCK_SOURCE: u32 = 37; -pub const IP_BLOCK_SOURCE: u32 = 38; -pub const IP_ADD_SOURCE_MEMBERSHIP: u32 = 39; -pub const IP_DROP_SOURCE_MEMBERSHIP: u32 = 40; -pub const IP_MSFILTER: u32 = 41; -pub const MCAST_JOIN_GROUP: u32 = 42; -pub const MCAST_BLOCK_SOURCE: u32 = 43; -pub const MCAST_UNBLOCK_SOURCE: u32 = 44; -pub const MCAST_LEAVE_GROUP: u32 = 45; -pub const MCAST_JOIN_SOURCE_GROUP: u32 = 46; -pub const MCAST_LEAVE_SOURCE_GROUP: u32 = 47; -pub const MCAST_MSFILTER: u32 = 48; -pub const IP_MULTICAST_ALL: u32 = 49; -pub const IP_UNICAST_IF: u32 = 50; -pub const MCAST_EXCLUDE: u32 = 0; -pub const MCAST_INCLUDE: u32 = 1; -pub const IP_ROUTER_ALERT: u32 = 5; -pub const IP_PKTINFO: u32 = 8; -pub const IP_PKTOPTIONS: u32 = 9; -pub const IP_PMTUDISC: u32 = 10; -pub const IP_MTU_DISCOVER: u32 = 10; -pub const IP_RECVERR: u32 = 11; -pub const IP_RECVTTL: u32 = 12; -pub const IP_RECVTOS: u32 = 13; -pub const IP_MTU: u32 = 14; -pub const IP_FREEBIND: u32 = 15; -pub const IP_IPSEC_POLICY: u32 = 16; -pub const IP_XFRM_POLICY: u32 = 17; -pub const IP_PASSSEC: u32 = 18; -pub const IP_TRANSPARENT: u32 = 19; -pub const IP_ORIGDSTADDR: u32 = 20; -pub const IP_RECVORIGDSTADDR: u32 = 20; -pub const IP_MINTTL: u32 = 21; -pub const IP_NODEFRAG: u32 = 22; -pub const IP_CHECKSUM: u32 = 23; -pub const IP_BIND_ADDRESS_NO_PORT: u32 = 24; -pub const IP_RECVFRAGSIZE: u32 = 25; -pub const IP_RECVERR_RFC4884: u32 = 26; -pub const IP_PMTUDISC_DONT: u32 = 0; -pub const IP_PMTUDISC_WANT: u32 = 1; -pub const IP_PMTUDISC_DO: u32 = 2; -pub const IP_PMTUDISC_PROBE: u32 = 3; -pub const IP_PMTUDISC_INTERFACE: u32 = 4; -pub const IP_PMTUDISC_OMIT: u32 = 5; -pub const SOL_IP: u32 = 0; -pub const IP_DEFAULT_MULTICAST_TTL: u32 = 1; -pub const IP_DEFAULT_MULTICAST_LOOP: u32 = 1; -pub const IP_MAX_MEMBERSHIPS: u32 = 20; -pub const IPV6_ADDRFORM: u32 = 1; -pub const IPV6_2292PKTINFO: u32 = 2; -pub const IPV6_2292HOPOPTS: u32 = 3; -pub const IPV6_2292DSTOPTS: u32 = 4; -pub const IPV6_2292RTHDR: u32 = 5; -pub const IPV6_2292PKTOPTIONS: u32 = 6; -pub const IPV6_CHECKSUM: u32 = 7; -pub const IPV6_2292HOPLIMIT: u32 = 8; -pub const IPV6_NEXTHOP: u32 = 9; -pub const IPV6_AUTHHDR: u32 = 10; -pub const IPV6_UNICAST_HOPS: u32 = 16; -pub const IPV6_MULTICAST_IF: u32 = 17; -pub const IPV6_MULTICAST_HOPS: u32 = 18; -pub const IPV6_MULTICAST_LOOP: u32 = 19; -pub const IPV6_JOIN_GROUP: u32 = 20; -pub const IPV6_LEAVE_GROUP: u32 = 21; -pub const IPV6_ROUTER_ALERT: u32 = 22; -pub const IPV6_MTU_DISCOVER: u32 = 23; -pub const IPV6_MTU: u32 = 24; -pub const IPV6_RECVERR: u32 = 25; -pub const IPV6_V6ONLY: u32 = 26; -pub const IPV6_JOIN_ANYCAST: u32 = 27; -pub const IPV6_LEAVE_ANYCAST: u32 = 28; -pub const IPV6_MULTICAST_ALL: u32 = 29; -pub const IPV6_ROUTER_ALERT_ISOLATE: u32 = 30; -pub const IPV6_RECVERR_RFC4884: u32 = 31; -pub const IPV6_IPSEC_POLICY: u32 = 34; -pub const IPV6_XFRM_POLICY: u32 = 35; -pub const IPV6_HDRINCL: u32 = 36; -pub const IPV6_RECVPKTINFO: u32 = 49; -pub const IPV6_PKTINFO: u32 = 50; -pub const IPV6_RECVHOPLIMIT: u32 = 51; -pub const IPV6_HOPLIMIT: u32 = 52; -pub const IPV6_RECVHOPOPTS: u32 = 53; -pub const IPV6_HOPOPTS: u32 = 54; -pub const IPV6_RTHDRDSTOPTS: u32 = 55; -pub const IPV6_RECVRTHDR: u32 = 56; -pub const IPV6_RTHDR: u32 = 57; -pub const IPV6_RECVDSTOPTS: u32 = 58; -pub const IPV6_DSTOPTS: u32 = 59; -pub const IPV6_RECVPATHMTU: u32 = 60; -pub const IPV6_PATHMTU: u32 = 61; -pub const IPV6_DONTFRAG: u32 = 62; -pub const IPV6_RECVTCLASS: u32 = 66; -pub const IPV6_TCLASS: u32 = 67; -pub const IPV6_AUTOFLOWLABEL: u32 = 70; -pub const IPV6_ADDR_PREFERENCES: u32 = 72; -pub const IPV6_MINHOPCOUNT: u32 = 73; -pub const IPV6_ORIGDSTADDR: u32 = 74; -pub const IPV6_RECVORIGDSTADDR: u32 = 74; -pub const IPV6_TRANSPARENT: u32 = 75; -pub const IPV6_UNICAST_IF: u32 = 76; -pub const IPV6_RECVFRAGSIZE: u32 = 77; -pub const IPV6_FREEBIND: u32 = 78; -pub const IPV6_ADD_MEMBERSHIP: u32 = 20; -pub const IPV6_DROP_MEMBERSHIP: u32 = 21; -pub const IPV6_RXHOPOPTS: u32 = 54; -pub const IPV6_RXDSTOPTS: u32 = 59; -pub const IPV6_PMTUDISC_DONT: u32 = 0; -pub const IPV6_PMTUDISC_WANT: u32 = 1; -pub const IPV6_PMTUDISC_DO: u32 = 2; -pub const IPV6_PMTUDISC_PROBE: u32 = 3; -pub const IPV6_PMTUDISC_INTERFACE: u32 = 4; -pub const IPV6_PMTUDISC_OMIT: u32 = 5; -pub const SOL_IPV6: u32 = 41; -pub const SOL_ICMPV6: u32 = 58; -pub const IPV6_RTHDR_LOOSE: u32 = 0; -pub const IPV6_RTHDR_STRICT: u32 = 1; -pub const IPV6_RTHDR_TYPE_0: u32 = 0; +pub const PF_MAX: u32 = 41; +pub const NET_MAXID: u32 = 41; +pub const NET_RT_DUMP: u32 = 1; +pub const NET_RT_FLAGS: u32 = 2; +pub const NET_RT_IFLIST: u32 = 3; +pub const NET_RT_STAT: u32 = 4; +pub const NET_RT_TRASH: u32 = 5; +pub const NET_RT_IFLIST2: u32 = 6; +pub const NET_RT_DUMP2: u32 = 7; +pub const NET_RT_FLAGS_PRIV: u32 = 10; +pub const NET_RT_MAXID: u32 = 11; +pub const SOMAXCONN: u32 = 128; +pub const MSG_OOB: u32 = 1; +pub const MSG_PEEK: u32 = 2; +pub const MSG_DONTROUTE: u32 = 4; +pub const MSG_EOR: u32 = 8; +pub const MSG_TRUNC: u32 = 16; +pub const MSG_CTRUNC: u32 = 32; +pub const MSG_WAITALL: u32 = 64; +pub const MSG_DONTWAIT: u32 = 128; +pub const MSG_EOF: u32 = 256; +pub const MSG_WAITSTREAM: u32 = 512; +pub const MSG_FLUSH: u32 = 1024; +pub const MSG_HOLD: u32 = 2048; +pub const MSG_SEND: u32 = 4096; +pub const MSG_HAVEMORE: u32 = 8192; +pub const MSG_RCVMORE: u32 = 16384; +pub const MSG_NEEDSA: u32 = 65536; +pub const MSG_NOSIGNAL: u32 = 524288; +pub const SCM_RIGHTS: u32 = 1; +pub const SCM_TIMESTAMP: u32 = 2; +pub const SCM_CREDS: u32 = 3; +pub const SCM_TIMESTAMP_MONOTONIC: u32 = 4; +pub const SHUT_RD: u32 = 0; +pub const SHUT_WR: u32 = 1; +pub const SHUT_RDWR: u32 = 2; +pub const IPPROTO_IP: u32 = 0; +pub const IPPROTO_HOPOPTS: u32 = 0; +pub const IPPROTO_ICMP: u32 = 1; +pub const IPPROTO_IGMP: u32 = 2; +pub const IPPROTO_GGP: u32 = 3; +pub const IPPROTO_IPV4: u32 = 4; +pub const IPPROTO_IPIP: u32 = 4; +pub const IPPROTO_TCP: u32 = 6; +pub const IPPROTO_ST: u32 = 7; +pub const IPPROTO_EGP: u32 = 8; +pub const IPPROTO_PIGP: u32 = 9; +pub const IPPROTO_RCCMON: u32 = 10; +pub const IPPROTO_NVPII: u32 = 11; +pub const IPPROTO_PUP: u32 = 12; +pub const IPPROTO_ARGUS: u32 = 13; +pub const IPPROTO_EMCON: u32 = 14; +pub const IPPROTO_XNET: u32 = 15; +pub const IPPROTO_CHAOS: u32 = 16; +pub const IPPROTO_UDP: u32 = 17; +pub const IPPROTO_MUX: u32 = 18; +pub const IPPROTO_MEAS: u32 = 19; +pub const IPPROTO_HMP: u32 = 20; +pub const IPPROTO_PRM: u32 = 21; +pub const IPPROTO_IDP: u32 = 22; +pub const IPPROTO_TRUNK1: u32 = 23; +pub const IPPROTO_TRUNK2: u32 = 24; +pub const IPPROTO_LEAF1: u32 = 25; +pub const IPPROTO_LEAF2: u32 = 26; +pub const IPPROTO_RDP: u32 = 27; +pub const IPPROTO_IRTP: u32 = 28; +pub const IPPROTO_TP: u32 = 29; +pub const IPPROTO_BLT: u32 = 30; +pub const IPPROTO_NSP: u32 = 31; +pub const IPPROTO_INP: u32 = 32; +pub const IPPROTO_SEP: u32 = 33; +pub const IPPROTO_3PC: u32 = 34; +pub const IPPROTO_IDPR: u32 = 35; +pub const IPPROTO_XTP: u32 = 36; +pub const IPPROTO_DDP: u32 = 37; +pub const IPPROTO_CMTP: u32 = 38; +pub const IPPROTO_TPXX: u32 = 39; +pub const IPPROTO_IL: u32 = 40; +pub const IPPROTO_IPV6: u32 = 41; +pub const IPPROTO_SDRP: u32 = 42; +pub const IPPROTO_ROUTING: u32 = 43; +pub const IPPROTO_FRAGMENT: u32 = 44; +pub const IPPROTO_IDRP: u32 = 45; +pub const IPPROTO_RSVP: u32 = 46; +pub const IPPROTO_GRE: u32 = 47; +pub const IPPROTO_MHRP: u32 = 48; +pub const IPPROTO_BHA: u32 = 49; +pub const IPPROTO_ESP: u32 = 50; +pub const IPPROTO_AH: u32 = 51; +pub const IPPROTO_INLSP: u32 = 52; +pub const IPPROTO_SWIPE: u32 = 53; +pub const IPPROTO_NHRP: u32 = 54; +pub const IPPROTO_ICMPV6: u32 = 58; +pub const IPPROTO_NONE: u32 = 59; +pub const IPPROTO_DSTOPTS: u32 = 60; +pub const IPPROTO_AHIP: u32 = 61; +pub const IPPROTO_CFTP: u32 = 62; +pub const IPPROTO_HELLO: u32 = 63; +pub const IPPROTO_SATEXPAK: u32 = 64; +pub const IPPROTO_KRYPTOLAN: u32 = 65; +pub const IPPROTO_RVD: u32 = 66; +pub const IPPROTO_IPPC: u32 = 67; +pub const IPPROTO_ADFS: u32 = 68; +pub const IPPROTO_SATMON: u32 = 69; +pub const IPPROTO_VISA: u32 = 70; +pub const IPPROTO_IPCV: u32 = 71; +pub const IPPROTO_CPNX: u32 = 72; +pub const IPPROTO_CPHB: u32 = 73; +pub const IPPROTO_WSN: u32 = 74; +pub const IPPROTO_PVP: u32 = 75; +pub const IPPROTO_BRSATMON: u32 = 76; +pub const IPPROTO_ND: u32 = 77; +pub const IPPROTO_WBMON: u32 = 78; +pub const IPPROTO_WBEXPAK: u32 = 79; +pub const IPPROTO_EON: u32 = 80; +pub const IPPROTO_VMTP: u32 = 81; +pub const IPPROTO_SVMTP: u32 = 82; +pub const IPPROTO_VINES: u32 = 83; +pub const IPPROTO_TTP: u32 = 84; +pub const IPPROTO_IGP: u32 = 85; +pub const IPPROTO_DGP: u32 = 86; +pub const IPPROTO_TCF: u32 = 87; +pub const IPPROTO_IGRP: u32 = 88; +pub const IPPROTO_OSPFIGP: u32 = 89; +pub const IPPROTO_SRPC: u32 = 90; +pub const IPPROTO_LARP: u32 = 91; +pub const IPPROTO_MTP: u32 = 92; +pub const IPPROTO_AX25: u32 = 93; +pub const IPPROTO_IPEIP: u32 = 94; +pub const IPPROTO_MICP: u32 = 95; +pub const IPPROTO_SCCSP: u32 = 96; +pub const IPPROTO_ETHERIP: u32 = 97; +pub const IPPROTO_ENCAP: u32 = 98; +pub const IPPROTO_APES: u32 = 99; +pub const IPPROTO_GMTP: u32 = 100; +pub const IPPROTO_PIM: u32 = 103; +pub const IPPROTO_IPCOMP: u32 = 108; +pub const IPPROTO_PGM: u32 = 113; +pub const IPPROTO_SCTP: u32 = 132; +pub const IPPROTO_DIVERT: u32 = 254; +pub const IPPROTO_RAW: u32 = 255; +pub const IPPROTO_MAX: u32 = 256; +pub const IPPROTO_DONE: u32 = 257; +pub const __DARWIN_IPPORT_RESERVED: u32 = 1024; +pub const IPPORT_USERRESERVED: u32 = 5000; +pub const IPPORT_HIFIRSTAUTO: u32 = 49152; +pub const IPPORT_HILASTAUTO: u32 = 65535; +pub const IPPORT_RESERVEDSTART: u32 = 600; pub const IN_CLASSA_NET: u32 = 4278190080; pub const IN_CLASSA_NSHIFT: u32 = 24; pub const IN_CLASSA_HOST: u32 = 16777215; @@ -1129,68 +1428,285 @@ pub const IN_CLASSB_MAX: u32 = 65536; pub const IN_CLASSC_NET: u32 = 4294967040; pub const IN_CLASSC_NSHIFT: u32 = 8; pub const IN_CLASSC_HOST: u32 = 255; +pub const IN_CLASSD_NET: u32 = 4026531840; +pub const IN_CLASSD_NSHIFT: u32 = 28; +pub const IN_CLASSD_HOST: u32 = 268435455; +pub const INADDR_NONE: u32 = 4294967295; pub const IN_LOOPBACKNET: u32 = 127; pub const INET_ADDRSTRLEN: u32 = 16; +pub const IP_OPTIONS: u32 = 1; +pub const IP_HDRINCL: u32 = 2; +pub const IP_TOS: u32 = 3; +pub const IP_TTL: u32 = 4; +pub const IP_RECVOPTS: u32 = 5; +pub const IP_RECVRETOPTS: u32 = 6; +pub const IP_RECVDSTADDR: u32 = 7; +pub const IP_RETOPTS: u32 = 8; +pub const IP_MULTICAST_IF: u32 = 9; +pub const IP_MULTICAST_TTL: u32 = 10; +pub const IP_MULTICAST_LOOP: u32 = 11; +pub const IP_ADD_MEMBERSHIP: u32 = 12; +pub const IP_DROP_MEMBERSHIP: u32 = 13; +pub const IP_MULTICAST_VIF: u32 = 14; +pub const IP_RSVP_ON: u32 = 15; +pub const IP_RSVP_OFF: u32 = 16; +pub const IP_RSVP_VIF_ON: u32 = 17; +pub const IP_RSVP_VIF_OFF: u32 = 18; +pub const IP_PORTRANGE: u32 = 19; +pub const IP_RECVIF: u32 = 20; +pub const IP_IPSEC_POLICY: u32 = 21; +pub const IP_FAITH: u32 = 22; +pub const IP_STRIPHDR: u32 = 23; +pub const IP_RECVTTL: u32 = 24; +pub const IP_BOUND_IF: u32 = 25; +pub const IP_PKTINFO: u32 = 26; +pub const IP_RECVPKTINFO: u32 = 26; +pub const IP_RECVTOS: u32 = 27; +pub const IP_DONTFRAG: u32 = 28; +pub const IP_FW_ADD: u32 = 40; +pub const IP_FW_DEL: u32 = 41; +pub const IP_FW_FLUSH: u32 = 42; +pub const IP_FW_ZERO: u32 = 43; +pub const IP_FW_GET: u32 = 44; +pub const IP_FW_RESETLOG: u32 = 45; +pub const IP_OLD_FW_ADD: u32 = 50; +pub const IP_OLD_FW_DEL: u32 = 51; +pub const IP_OLD_FW_FLUSH: u32 = 52; +pub const IP_OLD_FW_ZERO: u32 = 53; +pub const IP_OLD_FW_GET: u32 = 54; +pub const IP_NAT__XXX: u32 = 55; +pub const IP_OLD_FW_RESETLOG: u32 = 56; +pub const IP_DUMMYNET_CONFIGURE: u32 = 60; +pub const IP_DUMMYNET_DEL: u32 = 61; +pub const IP_DUMMYNET_FLUSH: u32 = 62; +pub const IP_DUMMYNET_GET: u32 = 64; +pub const IP_TRAFFIC_MGT_BACKGROUND: u32 = 65; +pub const IP_MULTICAST_IFINDEX: u32 = 66; +pub const IP_ADD_SOURCE_MEMBERSHIP: u32 = 70; +pub const IP_DROP_SOURCE_MEMBERSHIP: u32 = 71; +pub const IP_BLOCK_SOURCE: u32 = 72; +pub const IP_UNBLOCK_SOURCE: u32 = 73; +pub const IP_MSFILTER: u32 = 74; +pub const MCAST_JOIN_GROUP: u32 = 80; +pub const MCAST_LEAVE_GROUP: u32 = 81; +pub const MCAST_JOIN_SOURCE_GROUP: u32 = 82; +pub const MCAST_LEAVE_SOURCE_GROUP: u32 = 83; +pub const MCAST_BLOCK_SOURCE: u32 = 84; +pub const MCAST_UNBLOCK_SOURCE: u32 = 85; +pub const IP_DEFAULT_MULTICAST_TTL: u32 = 1; +pub const IP_DEFAULT_MULTICAST_LOOP: u32 = 1; +pub const IP_MIN_MEMBERSHIPS: u32 = 31; +pub const IP_MAX_MEMBERSHIPS: u32 = 4095; +pub const IP_MAX_GROUP_SRC_FILTER: u32 = 512; +pub const IP_MAX_SOCK_SRC_FILTER: u32 = 128; +pub const IP_MAX_SOCK_MUTE_FILTER: u32 = 128; +pub const MCAST_UNDEFINED: u32 = 0; +pub const MCAST_INCLUDE: u32 = 1; +pub const MCAST_EXCLUDE: u32 = 2; +pub const IP_PORTRANGE_DEFAULT: u32 = 0; +pub const IP_PORTRANGE_HIGH: u32 = 1; +pub const IP_PORTRANGE_LOW: u32 = 2; +pub const IPPROTO_MAXID: u32 = 52; +pub const IPCTL_FORWARDING: u32 = 1; +pub const IPCTL_SENDREDIRECTS: u32 = 2; +pub const IPCTL_DEFTTL: u32 = 3; +pub const IPCTL_RTEXPIRE: u32 = 5; +pub const IPCTL_RTMINEXPIRE: u32 = 6; +pub const IPCTL_RTMAXCACHE: u32 = 7; +pub const IPCTL_SOURCEROUTE: u32 = 8; +pub const IPCTL_DIRECTEDBROADCAST: u32 = 9; +pub const IPCTL_INTRQMAXLEN: u32 = 10; +pub const IPCTL_INTRQDROPS: u32 = 11; +pub const IPCTL_STATS: u32 = 12; +pub const IPCTL_ACCEPTSOURCEROUTE: u32 = 13; +pub const IPCTL_FASTFORWARDING: u32 = 14; +pub const IPCTL_KEEPFAITH: u32 = 15; +pub const IPCTL_GIF_TTL: u32 = 16; +pub const IPCTL_MAXID: u32 = 17; +pub const __KAME_VERSION: &[u8; 18usize] = b"2009/apple-darwin\0"; +pub const IPV6PORT_RESERVED: u32 = 1024; +pub const IPV6PORT_ANONMIN: u32 = 49152; +pub const IPV6PORT_ANONMAX: u32 = 65535; +pub const IPV6PORT_RESERVEDMIN: u32 = 600; +pub const IPV6PORT_RESERVEDMAX: u32 = 1023; pub const INET6_ADDRSTRLEN: u32 = 46; -pub const _RPC_NETDB_H: u32 = 1; +pub const __IPV6_ADDR_SCOPE_NODELOCAL: u32 = 1; +pub const __IPV6_ADDR_SCOPE_INTFACELOCAL: u32 = 1; +pub const __IPV6_ADDR_SCOPE_LINKLOCAL: u32 = 2; +pub const __IPV6_ADDR_SCOPE_SITELOCAL: u32 = 5; +pub const __IPV6_ADDR_SCOPE_ORGLOCAL: u32 = 8; +pub const __IPV6_ADDR_SCOPE_GLOBAL: u32 = 14; +pub const IPV6_ADDR_MC_FLAGS_TRANSIENT: u32 = 16; +pub const IPV6_ADDR_MC_FLAGS_PREFIX: u32 = 32; +pub const IPV6_ADDR_MC_FLAGS_UNICAST_BASED: u32 = 48; +pub const IPV6_SOCKOPT_RESERVED1: u32 = 3; +pub const IPV6_UNICAST_HOPS: u32 = 4; +pub const IPV6_MULTICAST_IF: u32 = 9; +pub const IPV6_MULTICAST_HOPS: u32 = 10; +pub const IPV6_MULTICAST_LOOP: u32 = 11; +pub const IPV6_JOIN_GROUP: u32 = 12; +pub const IPV6_LEAVE_GROUP: u32 = 13; +pub const IPV6_PORTRANGE: u32 = 14; +pub const ICMP6_FILTER: u32 = 18; +pub const IPV6_2292PKTINFO: u32 = 19; +pub const IPV6_2292HOPLIMIT: u32 = 20; +pub const IPV6_2292NEXTHOP: u32 = 21; +pub const IPV6_2292HOPOPTS: u32 = 22; +pub const IPV6_2292DSTOPTS: u32 = 23; +pub const IPV6_2292RTHDR: u32 = 24; +pub const IPV6_2292PKTOPTIONS: u32 = 25; +pub const IPV6_CHECKSUM: u32 = 26; +pub const IPV6_V6ONLY: u32 = 27; +pub const IPV6_BINDV6ONLY: u32 = 27; +pub const IPV6_IPSEC_POLICY: u32 = 28; +pub const IPV6_FAITH: u32 = 29; +pub const IPV6_FW_ADD: u32 = 30; +pub const IPV6_FW_DEL: u32 = 31; +pub const IPV6_FW_FLUSH: u32 = 32; +pub const IPV6_FW_ZERO: u32 = 33; +pub const IPV6_FW_GET: u32 = 34; +pub const IPV6_RECVTCLASS: u32 = 35; +pub const IPV6_TCLASS: u32 = 36; +pub const IPV6_BOUND_IF: u32 = 125; +pub const IPV6_RTHDR_LOOSE: u32 = 0; +pub const IPV6_RTHDR_STRICT: u32 = 1; +pub const IPV6_RTHDR_TYPE_0: u32 = 0; +pub const IPV6_DEFAULT_MULTICAST_HOPS: u32 = 1; +pub const IPV6_DEFAULT_MULTICAST_LOOP: u32 = 1; +pub const IPV6_MIN_MEMBERSHIPS: u32 = 31; +pub const IPV6_MAX_MEMBERSHIPS: u32 = 4095; +pub const IPV6_MAX_GROUP_SRC_FILTER: u32 = 512; +pub const IPV6_MAX_SOCK_SRC_FILTER: u32 = 128; +pub const IPV6_PORTRANGE_DEFAULT: u32 = 0; +pub const IPV6_PORTRANGE_HIGH: u32 = 1; +pub const IPV6_PORTRANGE_LOW: u32 = 2; +pub const IPV6PROTO_MAXID: u32 = 104; +pub const IPV6CTL_FORWARDING: u32 = 1; +pub const IPV6CTL_SENDREDIRECTS: u32 = 2; +pub const IPV6CTL_DEFHLIM: u32 = 3; +pub const IPV6CTL_FORWSRCRT: u32 = 5; +pub const IPV6CTL_STATS: u32 = 6; +pub const IPV6CTL_MRTSTATS: u32 = 7; +pub const IPV6CTL_MRTPROTO: u32 = 8; +pub const IPV6CTL_MAXFRAGPACKETS: u32 = 9; +pub const IPV6CTL_SOURCECHECK: u32 = 10; +pub const IPV6CTL_SOURCECHECK_LOGINT: u32 = 11; +pub const IPV6CTL_ACCEPT_RTADV: u32 = 12; +pub const IPV6CTL_KEEPFAITH: u32 = 13; +pub const IPV6CTL_LOG_INTERVAL: u32 = 14; +pub const IPV6CTL_HDRNESTLIMIT: u32 = 15; +pub const IPV6CTL_DAD_COUNT: u32 = 16; +pub const IPV6CTL_AUTO_FLOWLABEL: u32 = 17; +pub const IPV6CTL_DEFMCASTHLIM: u32 = 18; +pub const IPV6CTL_GIF_HLIM: u32 = 19; +pub const IPV6CTL_KAME_VERSION: u32 = 20; +pub const IPV6CTL_USE_DEPRECATED: u32 = 21; +pub const IPV6CTL_RR_PRUNE: u32 = 22; +pub const IPV6CTL_V6ONLY: u32 = 24; +pub const IPV6CTL_RTEXPIRE: u32 = 25; +pub const IPV6CTL_RTMINEXPIRE: u32 = 26; +pub const IPV6CTL_RTMAXCACHE: u32 = 27; +pub const IPV6CTL_USETEMPADDR: u32 = 32; +pub const IPV6CTL_TEMPPLTIME: u32 = 33; +pub const IPV6CTL_TEMPVLTIME: u32 = 34; +pub const IPV6CTL_AUTO_LINKLOCAL: u32 = 35; +pub const IPV6CTL_RIP6STATS: u32 = 36; +pub const IPV6CTL_PREFER_TEMPADDR: u32 = 37; +pub const IPV6CTL_ADDRCTLPOLICY: u32 = 38; +pub const IPV6CTL_USE_DEFAULTZONE: u32 = 39; +pub const IPV6CTL_MAXFRAGS: u32 = 41; +pub const IPV6CTL_MCAST_PMTU: u32 = 44; +pub const IPV6CTL_NEIGHBORGCTHRESH: u32 = 46; +pub const IPV6CTL_MAXIFPREFIXES: u32 = 47; +pub const IPV6CTL_MAXIFDEFROUTERS: u32 = 48; +pub const IPV6CTL_MAXDYNROUTES: u32 = 49; +pub const ICMPV6CTL_ND6_ONLINKNSRFC4861: u32 = 50; +pub const IPV6CTL_ULA_USETEMPADDR: u32 = 51; +pub const IPV6CTL_MAXID: u32 = 51; pub const _PATH_HEQUIV: &[u8; 17usize] = b"/etc/hosts.equiv\0"; pub const _PATH_HOSTS: &[u8; 11usize] = b"/etc/hosts\0"; pub const _PATH_NETWORKS: &[u8; 14usize] = b"/etc/networks\0"; -pub const _PATH_NSSWITCH_CONF: &[u8; 19usize] = b"/etc/nsswitch.conf\0"; pub const _PATH_PROTOCOLS: &[u8; 15usize] = b"/etc/protocols\0"; pub const _PATH_SERVICES: &[u8; 14usize] = b"/etc/services\0"; +pub const NETDB_INTERNAL: i32 = -1; +pub const NETDB_SUCCESS: u32 = 0; pub const HOST_NOT_FOUND: u32 = 1; pub const TRY_AGAIN: u32 = 2; pub const NO_RECOVERY: u32 = 3; pub const NO_DATA: u32 = 4; -pub const NETDB_INTERNAL: i32 = -1; -pub const NETDB_SUCCESS: u32 = 0; pub const NO_ADDRESS: u32 = 4; +pub const EAI_ADDRFAMILY: u32 = 1; +pub const EAI_AGAIN: u32 = 2; +pub const EAI_BADFLAGS: u32 = 3; +pub const EAI_FAIL: u32 = 4; +pub const EAI_FAMILY: u32 = 5; +pub const EAI_MEMORY: u32 = 6; +pub const EAI_NODATA: u32 = 7; +pub const EAI_NONAME: u32 = 8; +pub const EAI_SERVICE: u32 = 9; +pub const EAI_SOCKTYPE: u32 = 10; +pub const EAI_SYSTEM: u32 = 11; +pub const EAI_BADHINTS: u32 = 12; +pub const EAI_PROTOCOL: u32 = 13; +pub const EAI_OVERFLOW: u32 = 14; +pub const EAI_MAX: u32 = 15; pub const AI_PASSIVE: u32 = 1; pub const AI_CANONNAME: u32 = 2; pub const AI_NUMERICHOST: u32 = 4; -pub const AI_V4MAPPED: u32 = 8; -pub const AI_ALL: u32 = 16; -pub const AI_ADDRCONFIG: u32 = 32; -pub const AI_NUMERICSERV: u32 = 1024; -pub const EAI_BADFLAGS: i32 = -1; -pub const EAI_NONAME: i32 = -2; -pub const EAI_AGAIN: i32 = -3; -pub const EAI_FAIL: i32 = -4; -pub const EAI_FAMILY: i32 = -6; -pub const EAI_SOCKTYPE: i32 = -7; -pub const EAI_SERVICE: i32 = -8; -pub const EAI_MEMORY: i32 = -10; -pub const EAI_SYSTEM: i32 = -11; -pub const EAI_OVERFLOW: i32 = -12; +pub const AI_NUMERICSERV: u32 = 4096; +pub const AI_ALL: u32 = 256; +pub const AI_V4MAPPED_CFG: u32 = 512; +pub const AI_ADDRCONFIG: u32 = 1024; +pub const AI_V4MAPPED: u32 = 2048; +pub const AI_DEFAULT: u32 = 1536; +pub const AI_UNUSABLE: u32 = 268435456; pub const NI_MAXHOST: u32 = 1025; pub const NI_MAXSERV: u32 = 32; -pub const NI_NUMERICHOST: u32 = 1; -pub const NI_NUMERICSERV: u32 = 2; -pub const NI_NOFQDN: u32 = 4; -pub const NI_NAMEREQD: u32 = 8; +pub const NI_NOFQDN: u32 = 1; +pub const NI_NUMERICHOST: u32 = 2; +pub const NI_NAMEREQD: u32 = 4; +pub const NI_NUMERICSERV: u32 = 8; +pub const NI_NUMERICSCOPE: u32 = 256; pub const NI_DGRAM: u32 = 16; -pub const _PWD_H: u32 = 1; -pub const NSS_BUFLEN_PASSWD: u32 = 1024; +pub const NI_WITHSCOPEID: u32 = 32; +pub const SCOPE_DELIMITER: u8 = 37u8; +pub const _PATH_PWD: &[u8; 5usize] = b"/etc\0"; +pub const _PATH_PASSWD: &[u8; 12usize] = b"/etc/passwd\0"; +pub const _PASSWD: &[u8; 7usize] = b"passwd\0"; +pub const _PATH_MASTERPASSWD: &[u8; 19usize] = b"/etc/master.passwd\0"; +pub const _PATH_MASTERPASSWD_LOCK: &[u8; 10usize] = b"/etc/ptmp\0"; +pub const _MASTERPASSWD: &[u8; 14usize] = b"master.passwd\0"; +pub const _PATH_MP_DB: &[u8; 12usize] = b"/etc/pwd.db\0"; +pub const _MP_DB: &[u8; 7usize] = b"pwd.db\0"; +pub const _PATH_SMP_DB: &[u8; 13usize] = b"/etc/spwd.db\0"; +pub const _SMP_DB: &[u8; 8usize] = b"spwd.db\0"; +pub const _PATH_PWD_MKDB: &[u8; 19usize] = b"/usr/sbin/pwd_mkdb\0"; +pub const _PW_KEYBYNAME: u8 = 49u8; +pub const _PW_KEYBYNUM: u8 = 50u8; +pub const _PW_KEYBYUID: u8 = 51u8; +pub const _PASSWORD_EFMT1: u8 = 95u8; +pub const _PASSWORD_LEN: u32 = 128; +pub const _PASSWORD_NOUID: u32 = 1; +pub const _PASSWORD_NOGID: u32 = 2; +pub const _PASSWORD_NOCHG: u32 = 4; +pub const _PASSWORD_NOEXP: u32 = 8; +pub const _PASSWORD_WARNDAYS: u32 = 14; +pub const _PASSWORD_CHGNOW: i32 = -1; pub const PGINVALID_SOCKET: i32 = -1; -pub const PG_BACKEND_VERSIONSTR: &[u8; 28usize] = b"postgres (PostgreSQL) 13.6\n\0"; +pub const PG_BACKEND_VERSIONSTR: &[u8; 28usize] = b"postgres (PostgreSQL) 13.5\n\0"; pub const EXE: &[u8; 1usize] = b"\0"; pub const DEVNULL: &[u8; 10usize] = b"/dev/null\0"; pub const USE_REPL_SNPRINTF: u32 = 1; pub const PG_STRERROR_R_BUFLEN: u32 = 256; pub const PG_IOLBF: u32 = 1; -pub const _MATH_H: u32 = 1; -pub const _BITS_LIBM_SIMD_DECL_STUBS_H: u32 = 1; -pub const __FP_LOGB0_IS_MIN: u32 = 1; -pub const __FP_LOGBNAN_IS_MIN: u32 = 1; +pub const FP_SUPERNORMAL: u32 = 6; +pub const FP_FAST_FMA: u32 = 1; +pub const FP_FAST_FMAF: u32 = 1; +pub const FP_FAST_FMAL: u32 = 1; pub const FP_ILOGB0: i32 = -2147483648; pub const FP_ILOGBNAN: i32 = -2147483648; -pub const __MATH_DECLARING_DOUBLE: u32 = 1; -pub const __MATH_DECLARING_FLOATN: u32 = 0; -pub const __MATH_DECLARE_LDOUBLE: u32 = 1; pub const MATH_ERRNO: u32 = 1; pub const MATH_ERREXCEPT: u32 = 2; -pub const math_errhandling: u32 = 3; pub const M_E: f64 = 2.718281828459045; pub const M_LOG2E: f64 = 1.4426950408889634; pub const M_LOG10E: f64 = 0.4342944819032518; @@ -1204,9 +1720,13 @@ pub const M_2_PI: f64 = 0.6366197723675814; pub const M_2_SQRTPI: f64 = 1.1283791670955126; pub const M_SQRT2: f64 = 1.4142135623730951; pub const M_SQRT1_2: f64 = 0.7071067811865476; -pub const _SETJMP_H: u32 = 1; -pub const _BITS_SETJMP_H: u32 = 1; -pub const __jmp_buf_tag_defined: u32 = 1; +pub const DOMAIN: u32 = 1; +pub const SING: u32 = 2; +pub const OVERFLOW: u32 = 3; +pub const UNDERFLOW: u32 = 4; +pub const TLOSS: u32 = 5; +pub const PLOSS: u32 = 6; +pub const _JBLEN: u32 = 48; pub const DEBUG5: u32 = 10; pub const DEBUG4: u32 = 11; pub const DEBUG3: u32 = 12; @@ -1276,136 +1796,155 @@ pub const LP_DEAD: u32 = 3; pub const SpecTokenOffsetNumber: u32 = 65534; pub const MovedPartitionsOffsetNumber: u32 = 65533; pub const FIELDNO_HEAPTUPLEDATA_DATA: u32 = 3; -pub const _FCNTL_H: u32 = 1; -pub const __O_LARGEFILE: u32 = 0; -pub const F_GETLK64: u32 = 5; -pub const F_SETLK64: u32 = 6; -pub const F_SETLKW64: u32 = 7; -pub const O_ACCMODE: u32 = 3; pub const O_RDONLY: u32 = 0; pub const O_WRONLY: u32 = 1; pub const O_RDWR: u32 = 2; -pub const O_CREAT: u32 = 64; -pub const O_EXCL: u32 = 128; -pub const O_NOCTTY: u32 = 256; -pub const O_TRUNC: u32 = 512; -pub const O_APPEND: u32 = 1024; -pub const O_NONBLOCK: u32 = 2048; -pub const O_NDELAY: u32 = 2048; -pub const O_SYNC: u32 = 1052672; -pub const O_FSYNC: u32 = 1052672; -pub const O_ASYNC: u32 = 8192; -pub const __O_DIRECTORY: u32 = 65536; -pub const __O_NOFOLLOW: u32 = 131072; -pub const __O_CLOEXEC: u32 = 524288; -pub const __O_DIRECT: u32 = 16384; -pub const __O_NOATIME: u32 = 262144; -pub const __O_PATH: u32 = 2097152; -pub const __O_DSYNC: u32 = 4096; -pub const __O_TMPFILE: u32 = 4259840; -pub const F_GETLK: u32 = 5; -pub const F_SETLK: u32 = 6; -pub const F_SETLKW: u32 = 7; -pub const O_DIRECTORY: u32 = 65536; -pub const O_NOFOLLOW: u32 = 131072; -pub const O_CLOEXEC: u32 = 524288; -pub const O_DSYNC: u32 = 4096; -pub const O_RSYNC: u32 = 1052672; +pub const O_ACCMODE: u32 = 3; +pub const FREAD: u32 = 1; +pub const FWRITE: u32 = 2; +pub const O_NONBLOCK: u32 = 4; +pub const O_APPEND: u32 = 8; +pub const O_SYNC: u32 = 128; +pub const O_SHLOCK: u32 = 16; +pub const O_EXLOCK: u32 = 32; +pub const O_ASYNC: u32 = 64; +pub const O_FSYNC: u32 = 128; +pub const O_NOFOLLOW: u32 = 256; +pub const O_CREAT: u32 = 512; +pub const O_TRUNC: u32 = 1024; +pub const O_EXCL: u32 = 2048; +pub const O_EVTONLY: u32 = 32768; +pub const O_NOCTTY: u32 = 131072; +pub const O_DIRECTORY: u32 = 1048576; +pub const O_SYMLINK: u32 = 2097152; +pub const O_DSYNC: u32 = 4194304; +pub const O_CLOEXEC: u32 = 16777216; +pub const O_NOFOLLOW_ANY: u32 = 536870912; +pub const AT_FDCWD: i32 = -2; +pub const AT_EACCESS: u32 = 16; +pub const AT_SYMLINK_NOFOLLOW: u32 = 32; +pub const AT_SYMLINK_FOLLOW: u32 = 64; +pub const AT_REMOVEDIR: u32 = 128; +pub const AT_REALDEV: u32 = 512; +pub const AT_FDONLY: u32 = 1024; +pub const AT_SYMLINK_NOFOLLOW_ANY: u32 = 2048; +pub const O_DP_GETRAWENCRYPTED: u32 = 1; +pub const O_DP_GETRAWUNENCRYPTED: u32 = 2; +pub const FAPPEND: u32 = 8; +pub const FASYNC: u32 = 64; +pub const FFSYNC: u32 = 128; +pub const FFDSYNC: u32 = 4194304; +pub const FNONBLOCK: u32 = 4; +pub const FNDELAY: u32 = 4; +pub const O_NDELAY: u32 = 4; +pub const CPF_OVERWRITE: u32 = 1; +pub const CPF_IGNORE_MODE: u32 = 2; +pub const CPF_MASK: u32 = 3; pub const F_DUPFD: u32 = 0; pub const F_GETFD: u32 = 1; pub const F_SETFD: u32 = 2; pub const F_GETFL: u32 = 3; pub const F_SETFL: u32 = 4; -pub const __F_SETOWN: u32 = 8; -pub const __F_GETOWN: u32 = 9; -pub const F_SETOWN: u32 = 8; -pub const F_GETOWN: u32 = 9; -pub const __F_SETSIG: u32 = 10; -pub const __F_GETSIG: u32 = 11; -pub const __F_SETOWN_EX: u32 = 15; -pub const __F_GETOWN_EX: u32 = 16; -pub const F_DUPFD_CLOEXEC: u32 = 1030; +pub const F_GETOWN: u32 = 5; +pub const F_SETOWN: u32 = 6; +pub const F_GETLK: u32 = 7; +pub const F_SETLK: u32 = 8; +pub const F_SETLKW: u32 = 9; +pub const F_SETLKWTIMEOUT: u32 = 10; +pub const F_FLUSH_DATA: u32 = 40; +pub const F_CHKCLEAN: u32 = 41; +pub const F_PREALLOCATE: u32 = 42; +pub const F_SETSIZE: u32 = 43; +pub const F_RDADVISE: u32 = 44; +pub const F_RDAHEAD: u32 = 45; +pub const F_NOCACHE: u32 = 48; +pub const F_LOG2PHYS: u32 = 49; +pub const F_GETPATH: u32 = 50; +pub const F_FULLFSYNC: u32 = 51; +pub const F_PATHPKG_CHECK: u32 = 52; +pub const F_FREEZE_FS: u32 = 53; +pub const F_THAW_FS: u32 = 54; +pub const F_GLOBAL_NOCACHE: u32 = 55; +pub const F_ADDSIGS: u32 = 59; +pub const F_ADDFILESIGS: u32 = 61; +pub const F_NODIRECT: u32 = 62; +pub const F_GETPROTECTIONCLASS: u32 = 63; +pub const F_SETPROTECTIONCLASS: u32 = 64; +pub const F_LOG2PHYS_EXT: u32 = 65; +pub const F_GETLKPID: u32 = 66; +pub const F_SETBACKINGSTORE: u32 = 70; +pub const F_GETPATH_MTMINFO: u32 = 71; +pub const F_GETCODEDIR: u32 = 72; +pub const F_SETNOSIGPIPE: u32 = 73; +pub const F_GETNOSIGPIPE: u32 = 74; +pub const F_TRANSCODEKEY: u32 = 75; +pub const F_SINGLE_WRITER: u32 = 76; +pub const F_GETPROTECTIONLEVEL: u32 = 77; +pub const F_FINDSIGS: u32 = 78; +pub const F_ADDFILESIGS_FOR_DYLD_SIM: u32 = 83; +pub const F_BARRIERFSYNC: u32 = 85; +pub const F_ADDFILESIGS_RETURN: u32 = 97; +pub const F_CHECK_LV: u32 = 98; +pub const F_PUNCHHOLE: u32 = 99; +pub const F_TRIM_ACTIVE_FILE: u32 = 100; +pub const F_SPECULATIVE_READ: u32 = 101; +pub const F_GETPATH_NOFIRMLINK: u32 = 102; +pub const F_ADDFILESIGS_INFO: u32 = 103; +pub const F_ADDFILESUPPL: u32 = 104; +pub const F_GETSIGSINFO: u32 = 105; +pub const F_FSRESERVED: u32 = 106; +pub const FCNTL_FS_SPECIFIC_BASE: u32 = 65536; +pub const F_DUPFD_CLOEXEC: u32 = 67; pub const FD_CLOEXEC: u32 = 1; -pub const F_RDLCK: u32 = 0; -pub const F_WRLCK: u32 = 1; +pub const F_RDLCK: u32 = 1; pub const F_UNLCK: u32 = 2; -pub const F_EXLCK: u32 = 4; -pub const F_SHLCK: u32 = 8; -pub const LOCK_SH: u32 = 1; -pub const LOCK_EX: u32 = 2; -pub const LOCK_NB: u32 = 4; -pub const LOCK_UN: u32 = 8; -pub const FAPPEND: u32 = 1024; -pub const FFSYNC: u32 = 1052672; -pub const FASYNC: u32 = 8192; -pub const FNONBLOCK: u32 = 2048; -pub const FNDELAY: u32 = 2048; -pub const __POSIX_FADV_DONTNEED: u32 = 4; -pub const __POSIX_FADV_NOREUSE: u32 = 5; -pub const POSIX_FADV_NORMAL: u32 = 0; -pub const POSIX_FADV_RANDOM: u32 = 1; -pub const POSIX_FADV_SEQUENTIAL: u32 = 2; -pub const POSIX_FADV_WILLNEED: u32 = 3; -pub const POSIX_FADV_DONTNEED: u32 = 4; -pub const POSIX_FADV_NOREUSE: u32 = 5; -pub const AT_FDCWD: i32 = -100; -pub const AT_SYMLINK_NOFOLLOW: u32 = 256; -pub const AT_REMOVEDIR: u32 = 512; -pub const AT_SYMLINK_FOLLOW: u32 = 1024; -pub const AT_EACCESS: u32 = 512; -pub const _BITS_STAT_H: u32 = 1; -pub const _BITS_STRUCT_STAT_H: u32 = 1; -pub const __S_IFMT: u32 = 61440; -pub const __S_IFDIR: u32 = 16384; -pub const __S_IFCHR: u32 = 8192; -pub const __S_IFBLK: u32 = 24576; -pub const __S_IFREG: u32 = 32768; -pub const __S_IFIFO: u32 = 4096; -pub const __S_IFLNK: u32 = 40960; -pub const __S_IFSOCK: u32 = 49152; -pub const __S_ISUID: u32 = 2048; -pub const __S_ISGID: u32 = 1024; -pub const __S_ISVTX: u32 = 512; -pub const __S_IREAD: u32 = 256; -pub const __S_IWRITE: u32 = 128; -pub const __S_IEXEC: u32 = 64; -pub const UTIME_NOW: u32 = 1073741823; -pub const UTIME_OMIT: u32 = 1073741822; +pub const F_WRLCK: u32 = 3; +pub const SEEK_HOLE: u32 = 3; +pub const SEEK_DATA: u32 = 4; pub const S_IFMT: u32 = 61440; -pub const S_IFDIR: u32 = 16384; +pub const S_IFIFO: u32 = 4096; pub const S_IFCHR: u32 = 8192; +pub const S_IFDIR: u32 = 16384; pub const S_IFBLK: u32 = 24576; pub const S_IFREG: u32 = 32768; -pub const S_IFIFO: u32 = 4096; pub const S_IFLNK: u32 = 40960; pub const S_IFSOCK: u32 = 49152; -pub const S_ISUID: u32 = 2048; -pub const S_ISGID: u32 = 1024; -pub const S_ISVTX: u32 = 512; +pub const S_IFWHT: u32 = 57344; +pub const S_IRWXU: u32 = 448; pub const S_IRUSR: u32 = 256; pub const S_IWUSR: u32 = 128; pub const S_IXUSR: u32 = 64; -pub const S_IRWXU: u32 = 448; +pub const S_IRWXG: u32 = 56; pub const S_IRGRP: u32 = 32; pub const S_IWGRP: u32 = 16; pub const S_IXGRP: u32 = 8; -pub const S_IRWXG: u32 = 56; +pub const S_IRWXO: u32 = 7; pub const S_IROTH: u32 = 4; pub const S_IWOTH: u32 = 2; pub const S_IXOTH: u32 = 1; -pub const S_IRWXO: u32 = 7; -pub const R_OK: u32 = 4; -pub const W_OK: u32 = 2; -pub const X_OK: u32 = 1; -pub const F_OK: u32 = 0; -pub const F_ULOCK: u32 = 0; -pub const F_LOCK: u32 = 1; -pub const F_TLOCK: u32 = 2; -pub const F_TEST: u32 = 3; +pub const S_ISUID: u32 = 2048; +pub const S_ISGID: u32 = 1024; +pub const S_ISVTX: u32 = 512; +pub const S_ISTXT: u32 = 512; +pub const S_IREAD: u32 = 256; +pub const S_IWRITE: u32 = 128; +pub const S_IEXEC: u32 = 64; +pub const F_ALLOCATECONTIG: u32 = 2; +pub const F_ALLOCATEALL: u32 = 4; +pub const F_PEOFPOSMODE: u32 = 3; +pub const F_VOLPOSMODE: u32 = 4; +pub const USER_FSIGNATURES_CDHASH_LEN: u32 = 20; +pub const GETSIGSINFO_PLATFORM_BINARY: u32 = 1; +pub const LOCK_SH: u32 = 1; +pub const LOCK_EX: u32 = 2; +pub const LOCK_NB: u32 = 4; +pub const LOCK_UN: u32 = 8; +pub const O_POPUP: u32 = 2147483648; +pub const O_ALERT: u32 = 536870912; pub const InvalidXLogRecPtr: u32 = 0; pub const PG_O_DIRECT: u32 = 0; -pub const OPEN_SYNC_FLAG: u32 = 1052672; -pub const OPEN_DATASYNC_FLAG: u32 = 4096; +pub const OPEN_SYNC_FLAG: u32 = 128; +pub const OPEN_DATASYNC_FLAG: u32 = 4194304; pub const FirstGenbkiObjectId: u32 = 10000; pub const FirstBootstrapObjectId: u32 = 12000; pub const FirstNormalObjectId: u32 = 16384; @@ -1709,24 +2248,7 @@ pub const FIELDNO_HEAPTUPLETABLESLOT_OFF: u32 = 2; pub const FIELDNO_MINIMALTUPLETABLESLOT_TUPLE: u32 = 1; pub const FIELDNO_MINIMALTUPLETABLESLOT_OFF: u32 = 4; pub const BITS_PER_BITMAPWORD: u32 = 64; -pub const _TIME_H: u32 = 1; -pub const _BITS_TIME_H: u32 = 1; -pub const CLOCK_REALTIME: u32 = 0; -pub const CLOCK_MONOTONIC: u32 = 1; -pub const CLOCK_PROCESS_CPUTIME_ID: u32 = 2; -pub const CLOCK_THREAD_CPUTIME_ID: u32 = 3; -pub const CLOCK_MONOTONIC_RAW: u32 = 4; -pub const CLOCK_REALTIME_COARSE: u32 = 5; -pub const CLOCK_MONOTONIC_COARSE: u32 = 6; -pub const CLOCK_BOOTTIME: u32 = 7; -pub const CLOCK_REALTIME_ALARM: u32 = 8; -pub const CLOCK_BOOTTIME_ALARM: u32 = 9; -pub const CLOCK_TAI: u32 = 11; -pub const TIMER_ABSTIME: u32 = 1; -pub const __struct_tm_defined: u32 = 1; -pub const __itimerspec_defined: u32 = 1; pub const TIME_UTC: u32 = 1; -pub const PG_INSTR_CLOCK: u32 = 1; pub const FIELDNO_FUNCTIONCALLINFODATA_ISNULL: u32 = 4; pub const FIELDNO_FUNCTIONCALLINFODATA_ARGS: u32 = 6; pub const PG_MAGIC_FUNCTION_NAME_STRING: &[u8; 14usize] = b"Pg_magic_func\0"; @@ -1775,84 +2297,121 @@ pub const OUTER_VAR: u32 = 65001; pub const INDEX_VAR: u32 = 65002; pub const PRS2_OLD_VARNO: u32 = 1; pub const PRS2_NEW_VARNO: u32 = 2; -pub const _LIBC_LIMITS_H_: u32 = 1; -pub const MB_LEN_MAX: u32 = 16; -pub const _BITS_POSIX1_LIM_H: u32 = 1; -pub const _POSIX_AIO_LISTIO_MAX: u32 = 2; -pub const _POSIX_AIO_MAX: u32 = 1; +pub const __DARWIN_CLK_TCK: u32 = 100; +pub const CHAR_BIT: u32 = 8; +pub const MB_LEN_MAX: u32 = 6; +pub const CLK_TCK: u32 = 100; +pub const SCHAR_MAX: u32 = 127; +pub const SCHAR_MIN: i32 = -128; +pub const UCHAR_MAX: u32 = 255; +pub const CHAR_MAX: u32 = 127; +pub const CHAR_MIN: i32 = -128; +pub const USHRT_MAX: u32 = 65535; +pub const SHRT_MAX: u32 = 32767; +pub const SHRT_MIN: i32 = -32768; +pub const UINT_MAX: u32 = 4294967295; +pub const INT_MAX: u32 = 2147483647; +pub const INT_MIN: i32 = -2147483648; +pub const ULONG_MAX: i32 = -1; +pub const LONG_MAX: u64 = 9223372036854775807; +pub const LONG_MIN: i64 = -9223372036854775808; +pub const ULLONG_MAX: i32 = -1; +pub const LLONG_MAX: u64 = 9223372036854775807; +pub const LLONG_MIN: i64 = -9223372036854775808; +pub const LONG_BIT: u32 = 64; +pub const SSIZE_MAX: u64 = 9223372036854775807; +pub const WORD_BIT: u32 = 32; +pub const SIZE_T_MAX: i32 = -1; +pub const UQUAD_MAX: i32 = -1; +pub const QUAD_MAX: u64 = 9223372036854775807; +pub const QUAD_MIN: i64 = -9223372036854775808; +pub const ARG_MAX: u32 = 1048576; +pub const CHILD_MAX: u32 = 266; +pub const GID_MAX: u32 = 2147483647; +pub const LINK_MAX: u32 = 32767; +pub const MAX_CANON: u32 = 1024; +pub const MAX_INPUT: u32 = 1024; +pub const NAME_MAX: u32 = 255; +pub const NGROUPS_MAX: u32 = 16; +pub const UID_MAX: u32 = 2147483647; +pub const OPEN_MAX: u32 = 10240; +pub const PATH_MAX: u32 = 1024; +pub const PIPE_BUF: u32 = 512; +pub const BC_BASE_MAX: u32 = 99; +pub const BC_DIM_MAX: u32 = 2048; +pub const BC_SCALE_MAX: u32 = 99; +pub const BC_STRING_MAX: u32 = 1000; +pub const CHARCLASS_NAME_MAX: u32 = 14; +pub const COLL_WEIGHTS_MAX: u32 = 2; +pub const EQUIV_CLASS_MAX: u32 = 2; +pub const EXPR_NEST_MAX: u32 = 32; +pub const LINE_MAX: u32 = 2048; +pub const RE_DUP_MAX: u32 = 255; +pub const NZERO: u32 = 20; pub const _POSIX_ARG_MAX: u32 = 4096; pub const _POSIX_CHILD_MAX: u32 = 25; -pub const _POSIX_DELAYTIMER_MAX: u32 = 32; -pub const _POSIX_HOST_NAME_MAX: u32 = 255; pub const _POSIX_LINK_MAX: u32 = 8; -pub const _POSIX_LOGIN_NAME_MAX: u32 = 9; pub const _POSIX_MAX_CANON: u32 = 255; pub const _POSIX_MAX_INPUT: u32 = 255; -pub const _POSIX_MQ_OPEN_MAX: u32 = 8; -pub const _POSIX_MQ_PRIO_MAX: u32 = 32; pub const _POSIX_NAME_MAX: u32 = 14; pub const _POSIX_NGROUPS_MAX: u32 = 8; pub const _POSIX_OPEN_MAX: u32 = 20; pub const _POSIX_PATH_MAX: u32 = 256; pub const _POSIX_PIPE_BUF: u32 = 512; -pub const _POSIX_RE_DUP_MAX: u32 = 255; -pub const _POSIX_RTSIG_MAX: u32 = 8; -pub const _POSIX_SEM_NSEMS_MAX: u32 = 256; -pub const _POSIX_SEM_VALUE_MAX: u32 = 32767; -pub const _POSIX_SIGQUEUE_MAX: u32 = 32; pub const _POSIX_SSIZE_MAX: u32 = 32767; pub const _POSIX_STREAM_MAX: u32 = 8; -pub const _POSIX_SYMLINK_MAX: u32 = 255; -pub const _POSIX_SYMLOOP_MAX: u32 = 8; -pub const _POSIX_TIMER_MAX: u32 = 32; -pub const _POSIX_TTY_NAME_MAX: u32 = 9; pub const _POSIX_TZNAME_MAX: u32 = 6; -pub const _POSIX_CLOCKRES_MIN: u32 = 20000000; -pub const NR_OPEN: u32 = 1024; -pub const NGROUPS_MAX: u32 = 65536; -pub const ARG_MAX: u32 = 131072; -pub const LINK_MAX: u32 = 127; -pub const MAX_CANON: u32 = 255; -pub const MAX_INPUT: u32 = 255; -pub const NAME_MAX: u32 = 255; -pub const PATH_MAX: u32 = 4096; -pub const PIPE_BUF: u32 = 4096; -pub const XATTR_NAME_MAX: u32 = 255; -pub const XATTR_SIZE_MAX: u32 = 65536; -pub const XATTR_LIST_MAX: u32 = 65536; -pub const RTSIG_MAX: u32 = 32; -pub const _POSIX_THREAD_KEYS_MAX: u32 = 128; -pub const PTHREAD_KEYS_MAX: u32 = 1024; -pub const _POSIX_THREAD_DESTRUCTOR_ITERATIONS: u32 = 4; -pub const PTHREAD_DESTRUCTOR_ITERATIONS: u32 = 4; -pub const _POSIX_THREAD_THREADS_MAX: u32 = 64; -pub const AIO_PRIO_DELTA_MAX: u32 = 20; -pub const PTHREAD_STACK_MIN: u32 = 16384; -pub const DELAYTIMER_MAX: u32 = 2147483647; -pub const TTY_NAME_MAX: u32 = 32; -pub const LOGIN_NAME_MAX: u32 = 256; -pub const HOST_NAME_MAX: u32 = 64; -pub const MQ_PRIO_MAX: u32 = 32768; -pub const SEM_VALUE_MAX: u32 = 2147483647; -pub const _BITS_POSIX2_LIM_H: u32 = 1; pub const _POSIX2_BC_BASE_MAX: u32 = 99; pub const _POSIX2_BC_DIM_MAX: u32 = 2048; pub const _POSIX2_BC_SCALE_MAX: u32 = 99; pub const _POSIX2_BC_STRING_MAX: u32 = 1000; -pub const _POSIX2_COLL_WEIGHTS_MAX: u32 = 2; +pub const _POSIX2_EQUIV_CLASS_MAX: u32 = 2; pub const _POSIX2_EXPR_NEST_MAX: u32 = 32; pub const _POSIX2_LINE_MAX: u32 = 2048; pub const _POSIX2_RE_DUP_MAX: u32 = 255; +pub const _POSIX_AIO_LISTIO_MAX: u32 = 2; +pub const _POSIX_AIO_MAX: u32 = 1; +pub const _POSIX_DELAYTIMER_MAX: u32 = 32; +pub const _POSIX_MQ_OPEN_MAX: u32 = 8; +pub const _POSIX_MQ_PRIO_MAX: u32 = 32; +pub const _POSIX_RTSIG_MAX: u32 = 8; +pub const _POSIX_SEM_NSEMS_MAX: u32 = 256; +pub const _POSIX_SEM_VALUE_MAX: u32 = 32767; +pub const _POSIX_SIGQUEUE_MAX: u32 = 32; +pub const _POSIX_TIMER_MAX: u32 = 32; +pub const _POSIX_CLOCKRES_MIN: u32 = 20000000; +pub const _POSIX_THREAD_DESTRUCTOR_ITERATIONS: u32 = 4; +pub const _POSIX_THREAD_KEYS_MAX: u32 = 128; +pub const _POSIX_THREAD_THREADS_MAX: u32 = 64; +pub const PTHREAD_DESTRUCTOR_ITERATIONS: u32 = 4; +pub const PTHREAD_KEYS_MAX: u32 = 512; +pub const PTHREAD_STACK_MIN: u32 = 16384; +pub const _POSIX_HOST_NAME_MAX: u32 = 255; +pub const _POSIX_LOGIN_NAME_MAX: u32 = 9; +pub const _POSIX_SS_REPL_MAX: u32 = 4; +pub const _POSIX_SYMLINK_MAX: u32 = 255; +pub const _POSIX_SYMLOOP_MAX: u32 = 8; +pub const _POSIX_TRACE_EVENT_NAME_MAX: u32 = 30; +pub const _POSIX_TRACE_NAME_MAX: u32 = 8; +pub const _POSIX_TRACE_SYS_MAX: u32 = 8; +pub const _POSIX_TRACE_USER_EVENT_MAX: u32 = 32; +pub const _POSIX_TTY_NAME_MAX: u32 = 9; pub const _POSIX2_CHARCLASS_NAME_MAX: u32 = 14; -pub const BC_BASE_MAX: u32 = 99; -pub const BC_DIM_MAX: u32 = 2048; -pub const BC_SCALE_MAX: u32 = 99; -pub const BC_STRING_MAX: u32 = 1000; -pub const COLL_WEIGHTS_MAX: u32 = 255; -pub const EXPR_NEST_MAX: u32 = 32; -pub const LINE_MAX: u32 = 2048; -pub const CHARCLASS_NAME_MAX: u32 = 2048; -pub const RE_DUP_MAX: u32 = 32767; +pub const _POSIX2_COLL_WEIGHTS_MAX: u32 = 2; +pub const _POSIX_RE_DUP_MAX: u32 = 255; +pub const OFF_MIN: i64 = -9223372036854775808; +pub const OFF_MAX: u64 = 9223372036854775807; +pub const PASS_MAX: u32 = 128; +pub const NL_ARGMAX: u32 = 9; +pub const NL_LANGMAX: u32 = 14; +pub const NL_MSGMAX: u32 = 32767; +pub const NL_NMAX: u32 = 1; +pub const NL_SETMAX: u32 = 255; +pub const NL_TEXTMAX: u32 = 2048; +pub const _XOPEN_IOV_MAX: u32 = 16; +pub const IOV_MAX: u32 = 1024; +pub const _XOPEN_NAME_MAX: u32 = 255; +pub const _XOPEN_PATH_MAX: u32 = 1024; pub const DSM_IMPL_POSIX: u32 = 1; pub const DSM_IMPL_SYSV: u32 = 2; pub const DSM_IMPL_WINDOWS: u32 = 3; @@ -1883,9 +2442,25 @@ pub const HASH_SHARED_MEM: u32 = 2048; pub const HASH_ATTACH: u32 = 4096; pub const HASH_FIXED_SIZE: u32 = 8192; pub const NO_MAX_DSIZE: i32 = -1; -pub const _DIRENT_H: u32 = 1; -pub const _DIRENT_MATCHES_DIRENT64: u32 = 1; +pub const __DARWIN_MAXNAMLEN: u32 = 255; +pub const __DARWIN_MAXPATHLEN: u32 = 1024; pub const MAXNAMLEN: u32 = 255; +pub const DT_UNKNOWN: u32 = 0; +pub const DT_FIFO: u32 = 1; +pub const DT_CHR: u32 = 2; +pub const DT_DIR: u32 = 4; +pub const DT_BLK: u32 = 6; +pub const DT_REG: u32 = 8; +pub const DT_LNK: u32 = 10; +pub const DT_SOCK: u32 = 12; +pub const DT_WHT: u32 = 14; +pub const DIRBLKSIZ: u32 = 1024; +pub const DTF_HIDEW: u32 = 1; +pub const DTF_NODUP: u32 = 2; +pub const DTF_REWIND: u32 = 4; +pub const __DTF_READALL: u32 = 8; +pub const __DTF_SKIPREAD: u32 = 16; +pub const __DTF_ATEND: u32 = 32; pub const PG_TEMP_FILES_DIR: &[u8; 10usize] = b"pgsql_tmp\0"; pub const PG_TEMP_FILE_PREFIX: &[u8; 10usize] = b"pgsql_tmp\0"; pub const SHARED_TUPLESTORE_SINGLE_PASS: u32 = 1; @@ -1999,6 +2574,7 @@ pub const CURSOR_OPT_FAST_PLAN: u32 = 32; pub const CURSOR_OPT_GENERIC_PLAN: u32 = 64; pub const CURSOR_OPT_CUSTOM_PLAN: u32 = 128; pub const CURSOR_OPT_PARALLEL_OK: u32 = 256; +pub const FETCH_ALL: u64 = 9223372036854775807; pub const REINDEXOPT_VERBOSE: u32 = 1; pub const REINDEXOPT_REPORT_PROGRESS: u32 = 2; pub const MaxAllocHugeSize: u32 = 0; @@ -2017,85 +2593,6 @@ pub const EXEC_FLAG_BACKWARD: u32 = 4; pub const EXEC_FLAG_MARK: u32 = 8; pub const EXEC_FLAG_SKIP_TRIGGERS: u32 = 16; pub const EXEC_FLAG_WITH_NO_DATA: u32 = 32; -pub const _BITS_SIGNUM_GENERIC_H: u32 = 1; -pub const SIGINT: u32 = 2; -pub const SIGILL: u32 = 4; -pub const SIGABRT: u32 = 6; -pub const SIGFPE: u32 = 8; -pub const SIGSEGV: u32 = 11; -pub const SIGTERM: u32 = 15; -pub const SIGHUP: u32 = 1; -pub const SIGQUIT: u32 = 3; -pub const SIGTRAP: u32 = 5; -pub const SIGKILL: u32 = 9; -pub const SIGPIPE: u32 = 13; -pub const SIGALRM: u32 = 14; -pub const SIGIOT: u32 = 6; -pub const _BITS_SIGNUM_ARCH_H: u32 = 1; -pub const SIGSTKFLT: u32 = 16; -pub const SIGPWR: u32 = 30; -pub const SIGBUS: u32 = 7; -pub const SIGSYS: u32 = 31; -pub const SIGURG: u32 = 23; -pub const SIGSTOP: u32 = 19; -pub const SIGTSTP: u32 = 20; -pub const SIGCONT: u32 = 18; -pub const SIGCHLD: u32 = 17; -pub const SIGTTIN: u32 = 21; -pub const SIGTTOU: u32 = 22; -pub const SIGPOLL: u32 = 29; -pub const SIGXFSZ: u32 = 25; -pub const SIGXCPU: u32 = 24; -pub const SIGVTALRM: u32 = 26; -pub const SIGPROF: u32 = 27; -pub const SIGUSR1: u32 = 10; -pub const SIGUSR2: u32 = 12; -pub const SIGWINCH: u32 = 28; -pub const SIGIO: u32 = 29; -pub const SIGCLD: u32 = 17; -pub const __SIGRTMIN: u32 = 32; -pub const __SIGRTMAX: u32 = 64; -pub const _NSIG: u32 = 65; -pub const __sig_atomic_t_defined: u32 = 1; -pub const __siginfo_t_defined: u32 = 1; -pub const __SI_MAX_SIZE: u32 = 128; -pub const _BITS_SIGINFO_ARCH_H: u32 = 1; -pub const __SI_ERRNO_THEN_CODE: u32 = 1; -pub const __SI_HAVE_SIGSYS: u32 = 1; -pub const _BITS_SIGINFO_CONSTS_H: u32 = 1; -pub const __SI_ASYNCIO_AFTER_SIGIO: u32 = 1; -pub const __sigevent_t_defined: u32 = 1; -pub const __SIGEV_MAX_SIZE: u32 = 64; -pub const _BITS_SIGEVENT_CONSTS_H: u32 = 1; -pub const NSIG: u32 = 65; -pub const _BITS_SIGACTION_H: u32 = 1; -pub const SA_NOCLDSTOP: u32 = 1; -pub const SA_NOCLDWAIT: u32 = 2; -pub const SA_SIGINFO: u32 = 4; -pub const SA_ONSTACK: u32 = 134217728; -pub const SA_RESTART: u32 = 268435456; -pub const SA_NODEFER: u32 = 1073741824; -pub const SA_RESETHAND: u32 = 2147483648; -pub const SA_INTERRUPT: u32 = 536870912; -pub const SA_NOMASK: u32 = 1073741824; -pub const SA_ONESHOT: u32 = 2147483648; -pub const SA_STACK: u32 = 134217728; -pub const SIG_BLOCK: u32 = 0; -pub const SIG_UNBLOCK: u32 = 1; -pub const SIG_SETMASK: u32 = 2; -pub const _BITS_SIGCONTEXT_H: u32 = 1; -pub const FP_XSTATE_MAGIC1: u32 = 1179670611; -pub const FP_XSTATE_MAGIC2: u32 = 1179670597; -pub const __stack_t_defined: u32 = 1; -pub const _SYS_UCONTEXT_H: u32 = 1; -pub const __NGREG: u32 = 23; -pub const NGREG: u32 = 23; -pub const _BITS_SIGSTACK_H: u32 = 1; -pub const MINSIGSTKSZ: u32 = 2048; -pub const SIGSTKSZ: u32 = 8192; -pub const _BITS_SS_FLAGS_H: u32 = 1; -pub const __sigstack_defined: u32 = 1; -pub const _BITS_SIGTHREAD_H: u32 = 1; pub const TZ_STRLEN_MAX: u32 = 255; pub const InvalidPid: i32 = -1; pub const USE_POSTGRES_DATES: u32 = 0; @@ -2114,7 +2611,13 @@ pub const MAXTZLEN: u32 = 10; pub const SECURITY_LOCAL_USERID_CHANGE: u32 = 1; pub const SECURITY_RESTRICTED_OPERATION: u32 = 2; pub const SECURITY_NOFORCE_RLS: u32 = 4; -pub const _SYS_UN_H: u32 = 1; +pub const SOL_LOCAL: u32 = 0; +pub const LOCAL_PEERCRED: u32 = 1; +pub const LOCAL_PEERPID: u32 = 2; +pub const LOCAL_PEEREPID: u32 = 3; +pub const LOCAL_PEERUUID: u32 = 4; +pub const LOCAL_PEEREUUID: u32 = 5; +pub const LOCAL_PEERTOKEN: u32 = 6; pub const SM_DATABASE: u32 = 64; pub const SM_USER: u32 = 32; pub const SM_DATABASE_USER: u32 = 97; @@ -2208,7 +2711,6 @@ pub const PROC_VACUUM_FOR_WRAPAROUND: u32 = 8; pub const PROC_IN_LOGICAL_DECODING: u32 = 16; pub const PROC_RESERVED: u32 = 32; pub const PROC_VACUUM_STATE_MASK: u32 = 14; -pub const PROC_COPYABLE_FLAGS: u32 = 2; pub const FP_LOCK_SLOTS_PER_BACKEND: u32 = 16; pub const INVALID_PGPROCNO: u32 = 2147483647; pub const NUM_AUXILIARY_PROCS: u32 = 4; @@ -2302,6 +2804,7 @@ pub const F_HAS_GARBAGE: u32 = 16; pub const GIST_PAGE_ID: u32 = 65409; pub const EOH_HEADER_MAGIC: i32 = -1; pub const EA_MAGIC: u32 = 689375833; +pub const MAX_KILOBYTES: u32 = 2147483647; pub const PG_AUTOCONF_FILENAME: &[u8; 21usize] = b"postgresql.auto.conf\0"; pub const GUC_QUALIFIER_SEPARATOR: u8 = 46u8; pub const GUC_LIST_INPUT: u32 = 1; @@ -2599,6 +3102,87 @@ pub const Anum_pg_enum_enumtypid: u32 = 2; pub const Anum_pg_enum_enumsortorder: u32 = 3; pub const Anum_pg_enum_enumlabel: u32 = 4; pub const Natts_pg_enum: u32 = 4; +pub const OperatorRelationId: u32 = 2617; +pub const Anum_pg_operator_oid: u32 = 1; +pub const Anum_pg_operator_oprname: u32 = 2; +pub const Anum_pg_operator_oprnamespace: u32 = 3; +pub const Anum_pg_operator_oprowner: u32 = 4; +pub const Anum_pg_operator_oprkind: u32 = 5; +pub const Anum_pg_operator_oprcanmerge: u32 = 6; +pub const Anum_pg_operator_oprcanhash: u32 = 7; +pub const Anum_pg_operator_oprleft: u32 = 8; +pub const Anum_pg_operator_oprright: u32 = 9; +pub const Anum_pg_operator_oprresult: u32 = 10; +pub const Anum_pg_operator_oprcom: u32 = 11; +pub const Anum_pg_operator_oprnegate: u32 = 12; +pub const Anum_pg_operator_oprcode: u32 = 13; +pub const Anum_pg_operator_oprrest: u32 = 14; +pub const Anum_pg_operator_oprjoin: u32 = 15; +pub const Natts_pg_operator: u32 = 15; +pub const BooleanNotEqualOperator: u32 = 85; +pub const BooleanEqualOperator: u32 = 91; +pub const Int4EqualOperator: u32 = 96; +pub const Int4LessOperator: u32 = 97; +pub const TextEqualOperator: u32 = 98; +pub const NameEqualTextOperator: u32 = 254; +pub const NameLessTextOperator: u32 = 255; +pub const NameGreaterEqualTextOperator: u32 = 257; +pub const TIDEqualOperator: u32 = 387; +pub const TIDLessOperator: u32 = 2799; +pub const Int8LessOperator: u32 = 412; +pub const OID_NAME_REGEXEQ_OP: u32 = 639; +pub const OID_TEXT_REGEXEQ_OP: u32 = 641; +pub const TextLessOperator: u32 = 664; +pub const TextGreaterEqualOperator: u32 = 667; +pub const Float8LessOperator: u32 = 672; +pub const BpcharEqualOperator: u32 = 1054; +pub const OID_BPCHAR_REGEXEQ_OP: u32 = 1055; +pub const BpcharLessOperator: u32 = 1058; +pub const BpcharGreaterEqualOperator: u32 = 1061; +pub const ARRAY_EQ_OP: u32 = 1070; +pub const ARRAY_LT_OP: u32 = 1072; +pub const ARRAY_GT_OP: u32 = 1073; +pub const OID_NAME_LIKE_OP: u32 = 1207; +pub const OID_TEXT_LIKE_OP: u32 = 1209; +pub const OID_BPCHAR_LIKE_OP: u32 = 1211; +pub const OID_NAME_ICREGEXEQ_OP: u32 = 1226; +pub const OID_TEXT_ICREGEXEQ_OP: u32 = 1228; +pub const OID_BPCHAR_ICREGEXEQ_OP: u32 = 1234; +pub const OID_INET_SUB_OP: u32 = 931; +pub const OID_INET_SUBEQ_OP: u32 = 932; +pub const OID_INET_SUP_OP: u32 = 933; +pub const OID_INET_SUPEQ_OP: u32 = 934; +pub const OID_INET_OVERLAP_OP: u32 = 3552; +pub const OID_NAME_ICLIKE_OP: u32 = 1625; +pub const OID_TEXT_ICLIKE_OP: u32 = 1627; +pub const OID_BPCHAR_ICLIKE_OP: u32 = 1629; +pub const ByteaEqualOperator: u32 = 1955; +pub const ByteaLessOperator: u32 = 1957; +pub const ByteaGreaterEqualOperator: u32 = 1960; +pub const OID_BYTEA_LIKE_OP: u32 = 2016; +pub const TextPatternLessOperator: u32 = 2314; +pub const TextPatternGreaterEqualOperator: u32 = 2317; +pub const BpcharPatternLessOperator: u32 = 2326; +pub const BpcharPatternGreaterEqualOperator: u32 = 2329; +pub const OID_ARRAY_OVERLAP_OP: u32 = 2750; +pub const OID_ARRAY_CONTAINS_OP: u32 = 2751; +pub const OID_ARRAY_CONTAINED_OP: u32 = 2752; +pub const RECORD_EQ_OP: u32 = 2988; +pub const RECORD_LT_OP: u32 = 2990; +pub const RECORD_GT_OP: u32 = 2991; +pub const OID_RANGE_LESS_OP: u32 = 3884; +pub const OID_RANGE_LESS_EQUAL_OP: u32 = 3885; +pub const OID_RANGE_GREATER_EQUAL_OP: u32 = 3886; +pub const OID_RANGE_GREATER_OP: u32 = 3887; +pub const OID_RANGE_OVERLAP_OP: u32 = 3888; +pub const OID_RANGE_CONTAINS_ELEM_OP: u32 = 3889; +pub const OID_RANGE_CONTAINS_OP: u32 = 3890; +pub const OID_RANGE_ELEM_CONTAINED_OP: u32 = 3891; +pub const OID_RANGE_CONTAINED_OP: u32 = 3892; +pub const OID_RANGE_LEFT_OP: u32 = 3893; +pub const OID_RANGE_RIGHT_OP: u32 = 3894; +pub const OID_RANGE_OVERLAPS_LEFT_OP: u32 = 3895; +pub const OID_RANGE_OVERLAPS_RIGHT_OP: u32 = 3896; pub const ProcedureRelationId: u32 = 1255; pub const ProcedureRelation_Rowtype_Id: u32 = 81; pub const Anum_pg_proc_oid: u32 = 1; @@ -3012,88 +3596,71 @@ pub const TYPECACHE_HASH_EXTENDED_PROC: u32 = 16384; pub const TYPECACHE_HASH_EXTENDED_PROC_FINFO: u32 = 32768; pub type Oid = ::std::os::raw::c_uint; pub type pg_int64 = ::std::os::raw::c_long; -pub type va_list = __builtin_va_list; -pub type __gnuc_va_list = __builtin_va_list; -pub type __u_char = ::std::os::raw::c_uchar; -pub type __u_short = ::std::os::raw::c_ushort; -pub type __u_int = ::std::os::raw::c_uint; -pub type __u_long = ::std::os::raw::c_ulong; pub type __int8_t = ::std::os::raw::c_schar; pub type __uint8_t = ::std::os::raw::c_uchar; pub type __int16_t = ::std::os::raw::c_short; pub type __uint16_t = ::std::os::raw::c_ushort; pub type __int32_t = ::std::os::raw::c_int; pub type __uint32_t = ::std::os::raw::c_uint; -pub type __int64_t = ::std::os::raw::c_long; -pub type __uint64_t = ::std::os::raw::c_ulong; -pub type __int_least8_t = __int8_t; -pub type __uint_least8_t = __uint8_t; -pub type __int_least16_t = __int16_t; -pub type __uint_least16_t = __uint16_t; -pub type __int_least32_t = __int32_t; -pub type __uint_least32_t = __uint32_t; -pub type __int_least64_t = __int64_t; -pub type __uint_least64_t = __uint64_t; -pub type __quad_t = ::std::os::raw::c_long; -pub type __u_quad_t = ::std::os::raw::c_ulong; -pub type __intmax_t = ::std::os::raw::c_long; -pub type __uintmax_t = ::std::os::raw::c_ulong; -pub type __dev_t = ::std::os::raw::c_ulong; -pub type __uid_t = ::std::os::raw::c_uint; -pub type __gid_t = ::std::os::raw::c_uint; -pub type __ino_t = ::std::os::raw::c_ulong; -pub type __ino64_t = ::std::os::raw::c_ulong; -pub type __mode_t = ::std::os::raw::c_uint; -pub type __nlink_t = ::std::os::raw::c_ulong; -pub type __off_t = ::std::os::raw::c_long; -pub type __off64_t = ::std::os::raw::c_long; -pub type __pid_t = ::std::os::raw::c_int; -#[repr(C)] -#[derive(Debug, Default, Copy, Clone)] -pub struct __fsid_t { - pub __val: [::std::os::raw::c_int; 2usize], -} -pub type __clock_t = ::std::os::raw::c_long; -pub type __rlim_t = ::std::os::raw::c_ulong; -pub type __rlim64_t = ::std::os::raw::c_ulong; -pub type __id_t = ::std::os::raw::c_uint; -pub type __time_t = ::std::os::raw::c_long; -pub type __useconds_t = ::std::os::raw::c_uint; -pub type __suseconds_t = ::std::os::raw::c_long; -pub type __suseconds64_t = ::std::os::raw::c_long; -pub type __daddr_t = ::std::os::raw::c_int; -pub type __key_t = ::std::os::raw::c_int; -pub type __clockid_t = ::std::os::raw::c_int; -pub type __timer_t = *mut ::std::os::raw::c_void; -pub type __blksize_t = ::std::os::raw::c_long; -pub type __blkcnt_t = ::std::os::raw::c_long; -pub type __blkcnt64_t = ::std::os::raw::c_long; -pub type __fsblkcnt_t = ::std::os::raw::c_ulong; -pub type __fsblkcnt64_t = ::std::os::raw::c_ulong; -pub type __fsfilcnt_t = ::std::os::raw::c_ulong; -pub type __fsfilcnt64_t = ::std::os::raw::c_ulong; -pub type __fsword_t = ::std::os::raw::c_long; -pub type __ssize_t = ::std::os::raw::c_long; -pub type __syscall_slong_t = ::std::os::raw::c_long; -pub type __syscall_ulong_t = ::std::os::raw::c_ulong; -pub type __loff_t = __off64_t; -pub type __caddr_t = *mut ::std::os::raw::c_char; -pub type __intptr_t = ::std::os::raw::c_long; -pub type __socklen_t = ::std::os::raw::c_uint; -pub type __sig_atomic_t = ::std::os::raw::c_int; +pub type __int64_t = ::std::os::raw::c_longlong; +pub type __uint64_t = ::std::os::raw::c_ulonglong; +pub type __darwin_intptr_t = ::std::os::raw::c_long; +pub type __darwin_natural_t = ::std::os::raw::c_uint; +pub type __darwin_ct_rune_t = ::std::os::raw::c_int; #[repr(C)] #[derive(Copy, Clone)] -pub struct __mbstate_t { - pub __count: ::std::os::raw::c_int, - pub __value: __mbstate_t__bindgen_ty_1, +pub union __mbstate_t { + pub __mbstate8: [::std::os::raw::c_char; 128usize], + pub _mbstateL: ::std::os::raw::c_longlong, } +impl Default for __mbstate_t { + fn default() -> Self { + let mut s = ::std::mem::MaybeUninit::::uninit(); + unsafe { + ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); + s.assume_init() + } + } +} +pub type __darwin_mbstate_t = __mbstate_t; +pub type __darwin_ptrdiff_t = ::std::os::raw::c_long; +pub type __darwin_size_t = ::std::os::raw::c_ulong; +pub type __darwin_va_list = __builtin_va_list; +pub type __darwin_wchar_t = ::std::os::raw::c_int; +pub type __darwin_rune_t = __darwin_wchar_t; +pub type __darwin_wint_t = ::std::os::raw::c_int; +pub type __darwin_clock_t = ::std::os::raw::c_ulong; +pub type __darwin_socklen_t = __uint32_t; +pub type __darwin_ssize_t = ::std::os::raw::c_long; +pub type __darwin_time_t = ::std::os::raw::c_long; +pub type __darwin_blkcnt_t = __int64_t; +pub type __darwin_blksize_t = __int32_t; +pub type __darwin_dev_t = __int32_t; +pub type __darwin_fsblkcnt_t = ::std::os::raw::c_uint; +pub type __darwin_fsfilcnt_t = ::std::os::raw::c_uint; +pub type __darwin_gid_t = __uint32_t; +pub type __darwin_id_t = __uint32_t; +pub type __darwin_ino64_t = __uint64_t; +pub type __darwin_ino_t = __darwin_ino64_t; +pub type __darwin_mach_port_name_t = __darwin_natural_t; +pub type __darwin_mach_port_t = __darwin_mach_port_name_t; +pub type __darwin_mode_t = __uint16_t; +pub type __darwin_off_t = __int64_t; +pub type __darwin_pid_t = __int32_t; +pub type __darwin_sigset_t = __uint32_t; +pub type __darwin_suseconds_t = __int32_t; +pub type __darwin_uid_t = __uint32_t; +pub type __darwin_useconds_t = __uint32_t; +pub type __darwin_uuid_t = [::std::os::raw::c_uchar; 16usize]; +pub type __darwin_uuid_string_t = [::std::os::raw::c_char; 37usize]; #[repr(C)] -#[derive(Copy, Clone)] -pub union __mbstate_t__bindgen_ty_1 { - pub __wch: ::std::os::raw::c_uint, - pub __wchb: [::std::os::raw::c_char; 4usize], +#[derive(Debug, Copy, Clone)] +pub struct __darwin_pthread_handler_rec { + pub __routine: ::std::option::Option, + pub __arg: *mut ::std::os::raw::c_void, + pub __next: *mut __darwin_pthread_handler_rec, } -impl Default for __mbstate_t__bindgen_ty_1 { +impl Default for __darwin_pthread_handler_rec { fn default() -> Self { let mut s = ::std::mem::MaybeUninit::::uninit(); unsafe { @@ -3102,7 +3669,13 @@ impl Default for __mbstate_t__bindgen_ty_1 { } } } -impl Default for __mbstate_t { +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _opaque_pthread_attr_t { + pub __sig: ::std::os::raw::c_long, + pub __opaque: [::std::os::raw::c_char; 56usize], +} +impl Default for _opaque_pthread_attr_t { fn default() -> Self { let mut s = ::std::mem::MaybeUninit::::uninit(); unsafe { @@ -3112,12 +3685,12 @@ impl Default for __mbstate_t { } } #[repr(C)] -#[derive(Copy, Clone)] -pub struct _G_fpos_t { - pub __pos: __off_t, - pub __state: __mbstate_t, +#[derive(Debug, Copy, Clone)] +pub struct _opaque_pthread_cond_t { + pub __sig: ::std::os::raw::c_long, + pub __opaque: [::std::os::raw::c_char; 40usize], } -impl Default for _G_fpos_t { +impl Default for _opaque_pthread_cond_t { fn default() -> Self { let mut s = ::std::mem::MaybeUninit::::uninit(); unsafe { @@ -3126,14 +3699,19 @@ impl Default for _G_fpos_t { } } } -pub type __fpos_t = _G_fpos_t; #[repr(C)] -#[derive(Copy, Clone)] -pub struct _G_fpos64_t { - pub __pos: __off64_t, - pub __state: __mbstate_t, +#[derive(Debug, Default, Copy, Clone)] +pub struct _opaque_pthread_condattr_t { + pub __sig: ::std::os::raw::c_long, + pub __opaque: [::std::os::raw::c_char; 8usize], } -impl Default for _G_fpos64_t { +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _opaque_pthread_mutex_t { + pub __sig: ::std::os::raw::c_long, + pub __opaque: [::std::os::raw::c_char; 56usize], +} +impl Default for _opaque_pthread_mutex_t { fn default() -> Self { let mut s = ::std::mem::MaybeUninit::::uninit(); unsafe { @@ -3142,59 +3720,175 @@ impl Default for _G_fpos64_t { } } } -pub type __fpos64_t = _G_fpos64_t; -pub type __FILE = _IO_FILE; -pub type FILE = _IO_FILE; +#[repr(C)] +#[derive(Debug, Default, Copy, Clone)] +pub struct _opaque_pthread_mutexattr_t { + pub __sig: ::std::os::raw::c_long, + pub __opaque: [::std::os::raw::c_char; 8usize], +} +#[repr(C)] +#[derive(Debug, Default, Copy, Clone)] +pub struct _opaque_pthread_once_t { + pub __sig: ::std::os::raw::c_long, + pub __opaque: [::std::os::raw::c_char; 8usize], +} #[repr(C)] #[derive(Debug, Copy, Clone)] -pub struct _IO_marker { - _unused: [u8; 0], +pub struct _opaque_pthread_rwlock_t { + pub __sig: ::std::os::raw::c_long, + pub __opaque: [::std::os::raw::c_char; 192usize], +} +impl Default for _opaque_pthread_rwlock_t { + fn default() -> Self { + let mut s = ::std::mem::MaybeUninit::::uninit(); + unsafe { + ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); + s.assume_init() + } + } +} +#[repr(C)] +#[derive(Debug, Default, Copy, Clone)] +pub struct _opaque_pthread_rwlockattr_t { + pub __sig: ::std::os::raw::c_long, + pub __opaque: [::std::os::raw::c_char; 16usize], } #[repr(C)] #[derive(Debug, Copy, Clone)] -pub struct _IO_codecvt { - _unused: [u8; 0], +pub struct _opaque_pthread_t { + pub __sig: ::std::os::raw::c_long, + pub __cleanup_stack: *mut __darwin_pthread_handler_rec, + pub __opaque: [::std::os::raw::c_char; 8176usize], +} +impl Default for _opaque_pthread_t { + fn default() -> Self { + let mut s = ::std::mem::MaybeUninit::::uninit(); + unsafe { + ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); + s.assume_init() + } + } +} +pub type __darwin_pthread_attr_t = _opaque_pthread_attr_t; +pub type __darwin_pthread_cond_t = _opaque_pthread_cond_t; +pub type __darwin_pthread_condattr_t = _opaque_pthread_condattr_t; +pub type __darwin_pthread_key_t = ::std::os::raw::c_ulong; +pub type __darwin_pthread_mutex_t = _opaque_pthread_mutex_t; +pub type __darwin_pthread_mutexattr_t = _opaque_pthread_mutexattr_t; +pub type __darwin_pthread_once_t = _opaque_pthread_once_t; +pub type __darwin_pthread_rwlock_t = _opaque_pthread_rwlock_t; +pub type __darwin_pthread_rwlockattr_t = _opaque_pthread_rwlockattr_t; +pub type __darwin_pthread_t = *mut _opaque_pthread_t; +pub type __darwin_nl_item = ::std::os::raw::c_int; +pub type __darwin_wctrans_t = ::std::os::raw::c_int; +pub type __darwin_wctype_t = __uint32_t; +pub type u_int8_t = ::std::os::raw::c_uchar; +pub type u_int16_t = ::std::os::raw::c_ushort; +pub type u_int32_t = ::std::os::raw::c_uint; +pub type u_int64_t = ::std::os::raw::c_ulonglong; +pub type register_t = i64; +pub type user_addr_t = u_int64_t; +pub type user_size_t = u_int64_t; +pub type user_ssize_t = i64; +pub type user_long_t = i64; +pub type user_ulong_t = u_int64_t; +pub type user_time_t = i64; +pub type user_off_t = i64; +pub type syscall_arg_t = u_int64_t; +pub type va_list = __darwin_va_list; +#[pg_guard] +extern "C" { + pub fn renameat( + arg1: ::std::os::raw::c_int, + arg2: *const ::std::os::raw::c_char, + arg3: ::std::os::raw::c_int, + arg4: *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; +} +#[pg_guard] +extern "C" { + pub fn renamex_np( + arg1: *const ::std::os::raw::c_char, + arg2: *const ::std::os::raw::c_char, + arg3: ::std::os::raw::c_uint, + ) -> ::std::os::raw::c_int; +} +#[pg_guard] +extern "C" { + pub fn renameatx_np( + arg1: ::std::os::raw::c_int, + arg2: *const ::std::os::raw::c_char, + arg3: ::std::os::raw::c_int, + arg4: *const ::std::os::raw::c_char, + arg5: ::std::os::raw::c_uint, + ) -> ::std::os::raw::c_int; +} +pub type fpos_t = __darwin_off_t; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct __sbuf { + pub _base: *mut ::std::os::raw::c_uchar, + pub _size: ::std::os::raw::c_int, +} +impl Default for __sbuf { + fn default() -> Self { + let mut s = ::std::mem::MaybeUninit::::uninit(); + unsafe { + ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); + s.assume_init() + } + } } #[repr(C)] #[derive(Debug, Copy, Clone)] -pub struct _IO_wide_data { +pub struct __sFILEX { _unused: [u8; 0], } -pub type _IO_lock_t = ::std::os::raw::c_void; #[repr(C)] #[derive(Debug, Copy, Clone)] -pub struct _IO_FILE { - pub _flags: ::std::os::raw::c_int, - pub _IO_read_ptr: *mut ::std::os::raw::c_char, - pub _IO_read_end: *mut ::std::os::raw::c_char, - pub _IO_read_base: *mut ::std::os::raw::c_char, - pub _IO_write_base: *mut ::std::os::raw::c_char, - pub _IO_write_ptr: *mut ::std::os::raw::c_char, - pub _IO_write_end: *mut ::std::os::raw::c_char, - pub _IO_buf_base: *mut ::std::os::raw::c_char, - pub _IO_buf_end: *mut ::std::os::raw::c_char, - pub _IO_save_base: *mut ::std::os::raw::c_char, - pub _IO_backup_base: *mut ::std::os::raw::c_char, - pub _IO_save_end: *mut ::std::os::raw::c_char, - pub _markers: *mut _IO_marker, - pub _chain: *mut _IO_FILE, - pub _fileno: ::std::os::raw::c_int, - pub _flags2: ::std::os::raw::c_int, - pub _old_offset: __off_t, - pub _cur_column: ::std::os::raw::c_ushort, - pub _vtable_offset: ::std::os::raw::c_schar, - pub _shortbuf: [::std::os::raw::c_char; 1usize], - pub _lock: *mut _IO_lock_t, - pub _offset: __off64_t, - pub _codecvt: *mut _IO_codecvt, - pub _wide_data: *mut _IO_wide_data, - pub _freeres_list: *mut _IO_FILE, - pub _freeres_buf: *mut ::std::os::raw::c_void, - pub __pad5: usize, - pub _mode: ::std::os::raw::c_int, - pub _unused2: [::std::os::raw::c_char; 20usize], +pub struct __sFILE { + pub _p: *mut ::std::os::raw::c_uchar, + pub _r: ::std::os::raw::c_int, + pub _w: ::std::os::raw::c_int, + pub _flags: ::std::os::raw::c_short, + pub _file: ::std::os::raw::c_short, + pub _bf: __sbuf, + pub _lbfsize: ::std::os::raw::c_int, + pub _cookie: *mut ::std::os::raw::c_void, + pub _close: ::std::option::Option< + unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int, + >, + pub _read: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut ::std::os::raw::c_void, + arg2: *mut ::std::os::raw::c_char, + arg3: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int, + >, + pub _seek: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut ::std::os::raw::c_void, + arg2: fpos_t, + arg3: ::std::os::raw::c_int, + ) -> fpos_t, + >, + pub _write: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut ::std::os::raw::c_void, + arg2: *const ::std::os::raw::c_char, + arg3: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int, + >, + pub _ub: __sbuf, + pub _extra: *mut __sFILEX, + pub _ur: ::std::os::raw::c_int, + pub _ubuf: [::std::os::raw::c_uchar; 3usize], + pub _nbuf: [::std::os::raw::c_uchar; 1usize], + pub _lb: __sbuf, + pub _blksize: ::std::os::raw::c_int, + pub _offset: fpos_t, } -impl Default for _IO_FILE { +impl Default for __sFILE { fn default() -> Self { let mut s = ::std::mem::MaybeUninit::::uninit(); unsafe { @@ -3203,766 +3897,602 @@ impl Default for _IO_FILE { } } } -pub type off_t = __off_t; -pub type fpos_t = __fpos_t; +pub type FILE = __sFILE; #[pg_guard] extern "C" { - pub static mut stdin: *mut FILE; + pub static mut __stdinp: *mut FILE; } #[pg_guard] extern "C" { - pub static mut stdout: *mut FILE; + pub static mut __stdoutp: *mut FILE; } #[pg_guard] extern "C" { - pub static mut stderr: *mut FILE; + pub static mut __stderrp: *mut FILE; } #[pg_guard] extern "C" { - pub fn remove(__filename: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; + pub fn clearerr(arg1: *mut FILE); } #[pg_guard] extern "C" { - pub fn rename( - __old: *const ::std::os::raw::c_char, - __new: *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; + pub fn fclose(arg1: *mut FILE) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn renameat( - __oldfd: ::std::os::raw::c_int, - __old: *const ::std::os::raw::c_char, - __newfd: ::std::os::raw::c_int, - __new: *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; + pub fn feof(arg1: *mut FILE) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn fclose(__stream: *mut FILE) -> ::std::os::raw::c_int; + pub fn ferror(arg1: *mut FILE) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn tmpfile() -> *mut FILE; + pub fn fflush(arg1: *mut FILE) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn tmpnam(arg1: *mut ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; + pub fn fgetc(arg1: *mut FILE) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn tmpnam_r(__s: *mut ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; + pub fn fgetpos(arg1: *mut FILE, arg2: *mut fpos_t) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn tempnam( - __dir: *const ::std::os::raw::c_char, - __pfx: *const ::std::os::raw::c_char, + pub fn fgets( + arg1: *mut ::std::os::raw::c_char, + arg2: ::std::os::raw::c_int, + arg3: *mut FILE, ) -> *mut ::std::os::raw::c_char; } #[pg_guard] -extern "C" { - pub fn fflush(__stream: *mut FILE) -> ::std::os::raw::c_int; -} -#[pg_guard] -extern "C" { - pub fn fflush_unlocked(__stream: *mut FILE) -> ::std::os::raw::c_int; -} -#[pg_guard] extern "C" { pub fn fopen( __filename: *const ::std::os::raw::c_char, - __modes: *const ::std::os::raw::c_char, - ) -> *mut FILE; -} -#[pg_guard] -extern "C" { - pub fn freopen( - __filename: *const ::std::os::raw::c_char, - __modes: *const ::std::os::raw::c_char, - __stream: *mut FILE, - ) -> *mut FILE; -} -#[pg_guard] -extern "C" { - pub fn fdopen(__fd: ::std::os::raw::c_int, __modes: *const ::std::os::raw::c_char) - -> *mut FILE; -} -#[pg_guard] -extern "C" { - pub fn fmemopen( - __s: *mut ::std::os::raw::c_void, - __len: usize, - __modes: *const ::std::os::raw::c_char, - ) -> *mut FILE; -} -#[pg_guard] -extern "C" { - pub fn open_memstream( - __bufloc: *mut *mut ::std::os::raw::c_char, - __sizeloc: *mut usize, + __mode: *const ::std::os::raw::c_char, ) -> *mut FILE; } #[pg_guard] extern "C" { - pub fn setbuf(__stream: *mut FILE, __buf: *mut ::std::os::raw::c_char); -} -#[pg_guard] -extern "C" { - pub fn setvbuf( - __stream: *mut FILE, - __buf: *mut ::std::os::raw::c_char, - __modes: ::std::os::raw::c_int, - __n: usize, + pub fn fprintf( + arg1: *mut FILE, + arg2: *const ::std::os::raw::c_char, + ... ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn setbuffer(__stream: *mut FILE, __buf: *mut ::std::os::raw::c_char, __size: usize); + pub fn fputc(arg1: ::std::os::raw::c_int, arg2: *mut FILE) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn setlinebuf(__stream: *mut FILE); + pub fn fputs(arg1: *const ::std::os::raw::c_char, arg2: *mut FILE) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn fprintf( + pub fn fread( + __ptr: *mut ::std::os::raw::c_void, + __size: ::std::os::raw::c_ulong, + __nitems: ::std::os::raw::c_ulong, __stream: *mut FILE, - __format: *const ::std::os::raw::c_char, - ... - ) -> ::std::os::raw::c_int; + ) -> ::std::os::raw::c_ulong; } #[pg_guard] extern "C" { - pub fn printf(__format: *const ::std::os::raw::c_char, ...) -> ::std::os::raw::c_int; + pub fn freopen( + arg1: *const ::std::os::raw::c_char, + arg2: *const ::std::os::raw::c_char, + arg3: *mut FILE, + ) -> *mut FILE; } #[pg_guard] extern "C" { - pub fn sprintf( - __s: *mut ::std::os::raw::c_char, - __format: *const ::std::os::raw::c_char, + pub fn fscanf( + arg1: *mut FILE, + arg2: *const ::std::os::raw::c_char, ... ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn vfprintf( - __s: *mut FILE, - __format: *const ::std::os::raw::c_char, - __arg: *mut __va_list_tag, + pub fn fseek( + arg1: *mut FILE, + arg2: ::std::os::raw::c_long, + arg3: ::std::os::raw::c_int, ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn vprintf( - __format: *const ::std::os::raw::c_char, - __arg: *mut __va_list_tag, - ) -> ::std::os::raw::c_int; + pub fn fsetpos(arg1: *mut FILE, arg2: *const fpos_t) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn vsprintf( - __s: *mut ::std::os::raw::c_char, - __format: *const ::std::os::raw::c_char, - __arg: *mut __va_list_tag, - ) -> ::std::os::raw::c_int; + pub fn ftell(arg1: *mut FILE) -> ::std::os::raw::c_long; } #[pg_guard] extern "C" { - pub fn snprintf( - __s: *mut ::std::os::raw::c_char, - __maxlen: ::std::os::raw::c_ulong, - __format: *const ::std::os::raw::c_char, - ... - ) -> ::std::os::raw::c_int; + pub fn fwrite( + __ptr: *const ::std::os::raw::c_void, + __size: ::std::os::raw::c_ulong, + __nitems: ::std::os::raw::c_ulong, + __stream: *mut FILE, + ) -> ::std::os::raw::c_ulong; } #[pg_guard] extern "C" { - pub fn vsnprintf( - __s: *mut ::std::os::raw::c_char, - __maxlen: ::std::os::raw::c_ulong, - __format: *const ::std::os::raw::c_char, - __arg: *mut __va_list_tag, - ) -> ::std::os::raw::c_int; + pub fn getc(arg1: *mut FILE) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn vdprintf( - __fd: ::std::os::raw::c_int, - __fmt: *const ::std::os::raw::c_char, - __arg: *mut __va_list_tag, - ) -> ::std::os::raw::c_int; + pub fn getchar() -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn dprintf( - __fd: ::std::os::raw::c_int, - __fmt: *const ::std::os::raw::c_char, - ... - ) -> ::std::os::raw::c_int; + pub fn gets(arg1: *mut ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; } #[pg_guard] extern "C" { - pub fn fscanf( - __stream: *mut FILE, - __format: *const ::std::os::raw::c_char, - ... - ) -> ::std::os::raw::c_int; + pub fn perror(arg1: *const ::std::os::raw::c_char); } #[pg_guard] extern "C" { - pub fn scanf(__format: *const ::std::os::raw::c_char, ...) -> ::std::os::raw::c_int; + pub fn printf(arg1: *const ::std::os::raw::c_char, ...) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn sscanf( - __s: *const ::std::os::raw::c_char, - __format: *const ::std::os::raw::c_char, - ... - ) -> ::std::os::raw::c_int; + pub fn putc(arg1: ::std::os::raw::c_int, arg2: *mut FILE) -> ::std::os::raw::c_int; } -pub type _Float32 = f32; -pub type _Float64 = f64; -pub type _Float32x = f64; -pub type _Float64x = u128; #[pg_guard] extern "C" { - #[link_name = "\u{1}__isoc99_fscanf"] - pub fn fscanf1( - __stream: *mut FILE, - __format: *const ::std::os::raw::c_char, - ... - ) -> ::std::os::raw::c_int; + pub fn putchar(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - #[link_name = "\u{1}__isoc99_scanf"] - pub fn scanf1(__format: *const ::std::os::raw::c_char, ...) -> ::std::os::raw::c_int; + pub fn puts(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - #[link_name = "\u{1}__isoc99_sscanf"] - pub fn sscanf1( - __s: *const ::std::os::raw::c_char, - __format: *const ::std::os::raw::c_char, - ... - ) -> ::std::os::raw::c_int; + pub fn remove(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn vfscanf( - __s: *mut FILE, - __format: *const ::std::os::raw::c_char, - __arg: *mut __va_list_tag, + pub fn rename( + __old: *const ::std::os::raw::c_char, + __new: *const ::std::os::raw::c_char, ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn vscanf( - __format: *const ::std::os::raw::c_char, - __arg: *mut __va_list_tag, - ) -> ::std::os::raw::c_int; + pub fn rewind(arg1: *mut FILE); } #[pg_guard] extern "C" { - pub fn vsscanf( - __s: *const ::std::os::raw::c_char, - __format: *const ::std::os::raw::c_char, - __arg: *mut __va_list_tag, - ) -> ::std::os::raw::c_int; + pub fn scanf(arg1: *const ::std::os::raw::c_char, ...) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - #[link_name = "\u{1}__isoc99_vfscanf"] - pub fn vfscanf1( - __s: *mut FILE, - __format: *const ::std::os::raw::c_char, - __arg: *mut __va_list_tag, - ) -> ::std::os::raw::c_int; + pub fn setbuf(arg1: *mut FILE, arg2: *mut ::std::os::raw::c_char); } #[pg_guard] extern "C" { - #[link_name = "\u{1}__isoc99_vscanf"] - pub fn vscanf1( - __format: *const ::std::os::raw::c_char, - __arg: *mut __va_list_tag, + pub fn setvbuf( + arg1: *mut FILE, + arg2: *mut ::std::os::raw::c_char, + arg3: ::std::os::raw::c_int, + arg4: usize, ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - #[link_name = "\u{1}__isoc99_vsscanf"] - pub fn vsscanf1( - __s: *const ::std::os::raw::c_char, - __format: *const ::std::os::raw::c_char, - __arg: *mut __va_list_tag, + pub fn sprintf( + arg1: *mut ::std::os::raw::c_char, + arg2: *const ::std::os::raw::c_char, + ... ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn fgetc(__stream: *mut FILE) -> ::std::os::raw::c_int; + pub fn sscanf( + arg1: *const ::std::os::raw::c_char, + arg2: *const ::std::os::raw::c_char, + ... + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn getc(__stream: *mut FILE) -> ::std::os::raw::c_int; + pub fn tmpfile() -> *mut FILE; } #[pg_guard] extern "C" { - pub fn getchar() -> ::std::os::raw::c_int; + pub fn tmpnam(arg1: *mut ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; } #[pg_guard] extern "C" { - pub fn getc_unlocked(__stream: *mut FILE) -> ::std::os::raw::c_int; + pub fn ungetc(arg1: ::std::os::raw::c_int, arg2: *mut FILE) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn getchar_unlocked() -> ::std::os::raw::c_int; + pub fn vfprintf( + arg1: *mut FILE, + arg2: *const ::std::os::raw::c_char, + arg3: __builtin_va_list, + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn fgetc_unlocked(__stream: *mut FILE) -> ::std::os::raw::c_int; + pub fn vprintf( + arg1: *const ::std::os::raw::c_char, + arg2: __builtin_va_list, + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn fputc(__c: ::std::os::raw::c_int, __stream: *mut FILE) -> ::std::os::raw::c_int; + pub fn vsprintf( + arg1: *mut ::std::os::raw::c_char, + arg2: *const ::std::os::raw::c_char, + arg3: __builtin_va_list, + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn putc(__c: ::std::os::raw::c_int, __stream: *mut FILE) -> ::std::os::raw::c_int; + pub fn ctermid(arg1: *mut ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; } #[pg_guard] extern "C" { - pub fn putchar(__c: ::std::os::raw::c_int) -> ::std::os::raw::c_int; + pub fn fdopen(arg1: ::std::os::raw::c_int, arg2: *const ::std::os::raw::c_char) -> *mut FILE; } #[pg_guard] extern "C" { - pub fn fputc_unlocked(__c: ::std::os::raw::c_int, __stream: *mut FILE) - -> ::std::os::raw::c_int; + pub fn fileno(arg1: *mut FILE) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn putc_unlocked(__c: ::std::os::raw::c_int, __stream: *mut FILE) -> ::std::os::raw::c_int; + pub fn pclose(arg1: *mut FILE) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn putchar_unlocked(__c: ::std::os::raw::c_int) -> ::std::os::raw::c_int; + pub fn popen( + arg1: *const ::std::os::raw::c_char, + arg2: *const ::std::os::raw::c_char, + ) -> *mut FILE; } #[pg_guard] extern "C" { - pub fn getw(__stream: *mut FILE) -> ::std::os::raw::c_int; + pub fn __srget(arg1: *mut FILE) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn putw(__w: ::std::os::raw::c_int, __stream: *mut FILE) -> ::std::os::raw::c_int; + pub fn __svfscanf( + arg1: *mut FILE, + arg2: *const ::std::os::raw::c_char, + arg3: va_list, + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn fgets( - __s: *mut ::std::os::raw::c_char, - __n: ::std::os::raw::c_int, - __stream: *mut FILE, - ) -> *mut ::std::os::raw::c_char; + pub fn __swbuf(arg1: ::std::os::raw::c_int, arg2: *mut FILE) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn __getdelim( - __lineptr: *mut *mut ::std::os::raw::c_char, - __n: *mut usize, - __delimiter: ::std::os::raw::c_int, - __stream: *mut FILE, - ) -> __ssize_t; + pub fn flockfile(arg1: *mut FILE); } #[pg_guard] extern "C" { - pub fn getdelim( - __lineptr: *mut *mut ::std::os::raw::c_char, - __n: *mut usize, - __delimiter: ::std::os::raw::c_int, - __stream: *mut FILE, - ) -> __ssize_t; + pub fn ftrylockfile(arg1: *mut FILE) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn getline( - __lineptr: *mut *mut ::std::os::raw::c_char, - __n: *mut usize, - __stream: *mut FILE, - ) -> __ssize_t; + pub fn funlockfile(arg1: *mut FILE); } #[pg_guard] extern "C" { - pub fn fputs(__s: *const ::std::os::raw::c_char, __stream: *mut FILE) -> ::std::os::raw::c_int; + pub fn getc_unlocked(arg1: *mut FILE) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn puts(__s: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; + pub fn getchar_unlocked() -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn ungetc(__c: ::std::os::raw::c_int, __stream: *mut FILE) -> ::std::os::raw::c_int; + pub fn putc_unlocked(arg1: ::std::os::raw::c_int, arg2: *mut FILE) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn fread( - __ptr: *mut ::std::os::raw::c_void, - __size: ::std::os::raw::c_ulong, - __n: ::std::os::raw::c_ulong, - __stream: *mut FILE, - ) -> ::std::os::raw::c_ulong; + pub fn putchar_unlocked(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn fwrite( - __ptr: *const ::std::os::raw::c_void, - __size: ::std::os::raw::c_ulong, - __n: ::std::os::raw::c_ulong, - __s: *mut FILE, - ) -> ::std::os::raw::c_ulong; + pub fn getw(arg1: *mut FILE) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn fread_unlocked( - __ptr: *mut ::std::os::raw::c_void, - __size: usize, - __n: usize, - __stream: *mut FILE, - ) -> usize; + pub fn putw(arg1: ::std::os::raw::c_int, arg2: *mut FILE) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn fwrite_unlocked( - __ptr: *const ::std::os::raw::c_void, - __size: usize, - __n: usize, - __stream: *mut FILE, - ) -> usize; + pub fn tempnam( + __dir: *const ::std::os::raw::c_char, + __prefix: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; } +pub type off_t = __darwin_off_t; #[pg_guard] extern "C" { - pub fn fseek( + pub fn fseeko( __stream: *mut FILE, - __off: ::std::os::raw::c_long, + __offset: off_t, __whence: ::std::os::raw::c_int, ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn ftell(__stream: *mut FILE) -> ::std::os::raw::c_long; + pub fn ftello(__stream: *mut FILE) -> off_t; } #[pg_guard] extern "C" { - pub fn rewind(__stream: *mut FILE); + pub fn snprintf( + __str: *mut ::std::os::raw::c_char, + __size: ::std::os::raw::c_ulong, + __format: *const ::std::os::raw::c_char, + ... + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn fseeko( + pub fn vfscanf( __stream: *mut FILE, - __off: __off_t, - __whence: ::std::os::raw::c_int, + __format: *const ::std::os::raw::c_char, + arg1: __builtin_va_list, ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn ftello(__stream: *mut FILE) -> __off_t; -} -#[pg_guard] -extern "C" { - pub fn fgetpos(__stream: *mut FILE, __pos: *mut fpos_t) -> ::std::os::raw::c_int; -} -#[pg_guard] -extern "C" { - pub fn fsetpos(__stream: *mut FILE, __pos: *const fpos_t) -> ::std::os::raw::c_int; -} -#[pg_guard] -extern "C" { - pub fn clearerr(__stream: *mut FILE); -} -#[pg_guard] -extern "C" { - pub fn feof(__stream: *mut FILE) -> ::std::os::raw::c_int; -} -#[pg_guard] -extern "C" { - pub fn ferror(__stream: *mut FILE) -> ::std::os::raw::c_int; -} -#[pg_guard] -extern "C" { - pub fn clearerr_unlocked(__stream: *mut FILE); + pub fn vscanf( + __format: *const ::std::os::raw::c_char, + arg1: __builtin_va_list, + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn feof_unlocked(__stream: *mut FILE) -> ::std::os::raw::c_int; + pub fn vsnprintf( + __str: *mut ::std::os::raw::c_char, + __size: ::std::os::raw::c_ulong, + __format: *const ::std::os::raw::c_char, + arg1: __builtin_va_list, + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn ferror_unlocked(__stream: *mut FILE) -> ::std::os::raw::c_int; + pub fn vsscanf( + __str: *const ::std::os::raw::c_char, + __format: *const ::std::os::raw::c_char, + arg1: __builtin_va_list, + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn perror(__s: *const ::std::os::raw::c_char); + pub fn dprintf( + arg1: ::std::os::raw::c_int, + arg2: *const ::std::os::raw::c_char, + ... + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn fileno(__stream: *mut FILE) -> ::std::os::raw::c_int; + pub fn vdprintf( + arg1: ::std::os::raw::c_int, + arg2: *const ::std::os::raw::c_char, + arg3: va_list, + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn fileno_unlocked(__stream: *mut FILE) -> ::std::os::raw::c_int; + pub fn getdelim( + __linep: *mut *mut ::std::os::raw::c_char, + __linecapp: *mut usize, + __delimiter: ::std::os::raw::c_int, + __stream: *mut FILE, + ) -> isize; } #[pg_guard] extern "C" { - pub fn pclose(__stream: *mut FILE) -> ::std::os::raw::c_int; + pub fn getline( + __linep: *mut *mut ::std::os::raw::c_char, + __linecapp: *mut usize, + __stream: *mut FILE, + ) -> isize; } #[pg_guard] extern "C" { - pub fn popen( - __command: *const ::std::os::raw::c_char, - __modes: *const ::std::os::raw::c_char, + pub fn fmemopen( + __buf: *mut ::std::os::raw::c_void, + __size: usize, + __mode: *const ::std::os::raw::c_char, ) -> *mut FILE; } #[pg_guard] extern "C" { - pub fn ctermid(__s: *mut ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; -} -#[pg_guard] -extern "C" { - pub fn flockfile(__stream: *mut FILE); -} -#[pg_guard] -extern "C" { - pub fn ftrylockfile(__stream: *mut FILE) -> ::std::os::raw::c_int; -} -#[pg_guard] -extern "C" { - pub fn funlockfile(__stream: *mut FILE); -} -#[pg_guard] -extern "C" { - pub fn __uflow(arg1: *mut FILE) -> ::std::os::raw::c_int; + pub fn open_memstream( + __bufp: *mut *mut ::std::os::raw::c_char, + __sizep: *mut usize, + ) -> *mut FILE; } #[pg_guard] extern "C" { - pub fn __overflow(arg1: *mut FILE, arg2: ::std::os::raw::c_int) -> ::std::os::raw::c_int; -} -pub type wchar_t = ::std::os::raw::c_int; -#[repr(C)] -#[derive(Debug, Default, Copy, Clone)] -pub struct div_t { - pub quot: ::std::os::raw::c_int, - pub rem: ::std::os::raw::c_int, -} -#[repr(C)] -#[derive(Debug, Default, Copy, Clone)] -pub struct ldiv_t { - pub quot: ::std::os::raw::c_long, - pub rem: ::std::os::raw::c_long, -} -#[repr(C)] -#[derive(Debug, Default, Copy, Clone)] -pub struct lldiv_t { - pub quot: ::std::os::raw::c_longlong, - pub rem: ::std::os::raw::c_longlong, + pub static sys_nerr: ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn __ctype_get_mb_cur_max() -> usize; + pub static mut sys_errlist: [*const ::std::os::raw::c_char; 0usize]; } #[pg_guard] extern "C" { - pub fn atof(__nptr: *const ::std::os::raw::c_char) -> f64; + pub fn asprintf( + arg1: *mut *mut ::std::os::raw::c_char, + arg2: *const ::std::os::raw::c_char, + ... + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn atoi(__nptr: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; + pub fn ctermid_r(arg1: *mut ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; } #[pg_guard] extern "C" { - pub fn atol(__nptr: *const ::std::os::raw::c_char) -> ::std::os::raw::c_long; + pub fn fgetln(arg1: *mut FILE, arg2: *mut usize) -> *mut ::std::os::raw::c_char; } #[pg_guard] extern "C" { - pub fn atoll(__nptr: *const ::std::os::raw::c_char) -> ::std::os::raw::c_longlong; + pub fn fmtcheck( + arg1: *const ::std::os::raw::c_char, + arg2: *const ::std::os::raw::c_char, + ) -> *const ::std::os::raw::c_char; } #[pg_guard] extern "C" { - pub fn strtod( - __nptr: *const ::std::os::raw::c_char, - __endptr: *mut *mut ::std::os::raw::c_char, - ) -> f64; + pub fn fpurge(arg1: *mut FILE) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn strtof( - __nptr: *const ::std::os::raw::c_char, - __endptr: *mut *mut ::std::os::raw::c_char, - ) -> f32; + pub fn setbuffer( + arg1: *mut FILE, + arg2: *mut ::std::os::raw::c_char, + arg3: ::std::os::raw::c_int, + ); } #[pg_guard] extern "C" { - pub fn strtold( - __nptr: *const ::std::os::raw::c_char, - __endptr: *mut *mut ::std::os::raw::c_char, - ) -> u128; + pub fn setlinebuf(arg1: *mut FILE) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn strtol( - __nptr: *const ::std::os::raw::c_char, - __endptr: *mut *mut ::std::os::raw::c_char, - __base: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_long; + pub fn vasprintf( + arg1: *mut *mut ::std::os::raw::c_char, + arg2: *const ::std::os::raw::c_char, + arg3: va_list, + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn strtoul( - __nptr: *const ::std::os::raw::c_char, - __endptr: *mut *mut ::std::os::raw::c_char, - __base: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_ulong; + pub fn funopen( + arg1: *const ::std::os::raw::c_void, + arg2: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut ::std::os::raw::c_void, + arg2: *mut ::std::os::raw::c_char, + arg3: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int, + >, + arg3: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut ::std::os::raw::c_void, + arg2: *const ::std::os::raw::c_char, + arg3: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int, + >, + arg4: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut ::std::os::raw::c_void, + arg2: fpos_t, + arg3: ::std::os::raw::c_int, + ) -> fpos_t, + >, + arg5: ::std::option::Option< + unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int, + >, + ) -> *mut FILE; } #[pg_guard] extern "C" { - pub fn strtoq( - __nptr: *const ::std::os::raw::c_char, - __endptr: *mut *mut ::std::os::raw::c_char, - __base: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_longlong; + pub fn __sprintf_chk( + arg1: *mut ::std::os::raw::c_char, + arg2: ::std::os::raw::c_int, + arg3: usize, + arg4: *const ::std::os::raw::c_char, + ... + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn strtouq( - __nptr: *const ::std::os::raw::c_char, - __endptr: *mut *mut ::std::os::raw::c_char, - __base: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_ulonglong; + pub fn __snprintf_chk( + arg1: *mut ::std::os::raw::c_char, + arg2: usize, + arg3: ::std::os::raw::c_int, + arg4: usize, + arg5: *const ::std::os::raw::c_char, + ... + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn strtoll( - __nptr: *const ::std::os::raw::c_char, - __endptr: *mut *mut ::std::os::raw::c_char, - __base: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_longlong; + pub fn __vsprintf_chk( + arg1: *mut ::std::os::raw::c_char, + arg2: ::std::os::raw::c_int, + arg3: usize, + arg4: *const ::std::os::raw::c_char, + arg5: va_list, + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn strtoull( - __nptr: *const ::std::os::raw::c_char, - __endptr: *mut *mut ::std::os::raw::c_char, - __base: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_ulonglong; + pub fn __vsnprintf_chk( + arg1: *mut ::std::os::raw::c_char, + arg2: usize, + arg3: ::std::os::raw::c_int, + arg4: usize, + arg5: *const ::std::os::raw::c_char, + arg6: va_list, + ) -> ::std::os::raw::c_int; } -#[pg_guard] -extern "C" { - pub fn l64a(__n: ::std::os::raw::c_long) -> *mut ::std::os::raw::c_char; -} -#[pg_guard] -extern "C" { - pub fn a64l(__s: *const ::std::os::raw::c_char) -> ::std::os::raw::c_long; -} -pub type u_char = __u_char; -pub type u_short = __u_short; -pub type u_int = __u_int; -pub type u_long = __u_long; -pub type quad_t = __quad_t; -pub type u_quad_t = __u_quad_t; -pub type fsid_t = __fsid_t; -pub type loff_t = __loff_t; -pub type ino_t = __ino_t; -pub type dev_t = __dev_t; -pub type gid_t = __gid_t; -pub type mode_t = __mode_t; -pub type nlink_t = __nlink_t; -pub type uid_t = __uid_t; -pub type pid_t = __pid_t; -pub type id_t = __id_t; -pub type daddr_t = __daddr_t; -pub type caddr_t = __caddr_t; -pub type key_t = __key_t; -pub type clock_t = __clock_t; -pub type clockid_t = __clockid_t; -pub type time_t = __time_t; -pub type timer_t = __timer_t; -pub type ulong = ::std::os::raw::c_ulong; -pub type ushort = ::std::os::raw::c_ushort; -pub type uint = ::std::os::raw::c_uint; -pub type u_int8_t = __uint8_t; -pub type u_int16_t = __uint16_t; -pub type u_int32_t = __uint32_t; -pub type u_int64_t = __uint64_t; -pub type register_t = ::std::os::raw::c_long; +pub const idtype_t_P_ALL: idtype_t = 0; +pub const idtype_t_P_PID: idtype_t = 1; +pub const idtype_t_P_PGID: idtype_t = 2; +pub type idtype_t = ::std::os::raw::c_uint; +pub type pid_t = __darwin_pid_t; +pub type id_t = __darwin_id_t; +pub type sig_atomic_t = ::std::os::raw::c_int; #[repr(C)] #[derive(Debug, Default, Copy, Clone)] -pub struct __sigset_t { - pub __val: [::std::os::raw::c_ulong; 16usize], +pub struct __darwin_arm_exception_state { + pub __exception: __uint32_t, + pub __fsr: __uint32_t, + pub __far: __uint32_t, } -pub type sigset_t = __sigset_t; #[repr(C)] #[derive(Debug, Default, Copy, Clone)] -pub struct timeval { - pub tv_sec: __time_t, - pub tv_usec: __suseconds_t, +pub struct __darwin_arm_exception_state64 { + pub __far: __uint64_t, + pub __esr: __uint32_t, + pub __exception: __uint32_t, } #[repr(C)] #[derive(Debug, Default, Copy, Clone)] -pub struct timespec { - pub tv_sec: __time_t, - pub tv_nsec: __syscall_slong_t, +pub struct __darwin_arm_thread_state { + pub __r: [__uint32_t; 13usize], + pub __sp: __uint32_t, + pub __lr: __uint32_t, + pub __pc: __uint32_t, + pub __cpsr: __uint32_t, } -pub type suseconds_t = __suseconds_t; -pub type __fd_mask = ::std::os::raw::c_long; #[repr(C)] #[derive(Debug, Default, Copy, Clone)] -pub struct fd_set { - pub __fds_bits: [__fd_mask; 16usize], -} -pub type fd_mask = __fd_mask; -#[pg_guard] -extern "C" { - pub fn select( - __nfds: ::std::os::raw::c_int, - __readfds: *mut fd_set, - __writefds: *mut fd_set, - __exceptfds: *mut fd_set, - __timeout: *mut timeval, - ) -> ::std::os::raw::c_int; -} -#[pg_guard] -extern "C" { - pub fn pselect( - __nfds: ::std::os::raw::c_int, - __readfds: *mut fd_set, - __writefds: *mut fd_set, - __exceptfds: *mut fd_set, - __timeout: *const timespec, - __sigmask: *const __sigset_t, - ) -> ::std::os::raw::c_int; -} -pub type blksize_t = __blksize_t; -pub type blkcnt_t = __blkcnt_t; -pub type fsblkcnt_t = __fsblkcnt_t; -pub type fsfilcnt_t = __fsfilcnt_t; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct __pthread_internal_list { - pub __prev: *mut __pthread_internal_list, - pub __next: *mut __pthread_internal_list, +pub struct __darwin_arm_thread_state64 { + pub __x: [__uint64_t; 29usize], + pub __fp: __uint64_t, + pub __lr: __uint64_t, + pub __sp: __uint64_t, + pub __pc: __uint64_t, + pub __cpsr: __uint32_t, + pub __pad: __uint32_t, } -impl Default for __pthread_internal_list { - fn default() -> Self { - let mut s = ::std::mem::MaybeUninit::::uninit(); - unsafe { - ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); - s.assume_init() - } - } -} -pub type __pthread_list_t = __pthread_internal_list; #[repr(C)] #[derive(Debug, Copy, Clone)] -pub struct __pthread_internal_slist { - pub __next: *mut __pthread_internal_slist, +pub struct __darwin_arm_vfp_state { + pub __r: [__uint32_t; 64usize], + pub __fpscr: __uint32_t, } -impl Default for __pthread_internal_slist { +impl Default for __darwin_arm_vfp_state { fn default() -> Self { let mut s = ::std::mem::MaybeUninit::::uninit(); unsafe { @@ -3971,98 +4501,66 @@ impl Default for __pthread_internal_slist { } } } -pub type __pthread_slist_t = __pthread_internal_slist; #[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct __pthread_mutex_s { - pub __lock: ::std::os::raw::c_int, - pub __count: ::std::os::raw::c_uint, - pub __owner: ::std::os::raw::c_int, - pub __nusers: ::std::os::raw::c_uint, - pub __kind: ::std::os::raw::c_int, - pub __spins: ::std::os::raw::c_short, - pub __elision: ::std::os::raw::c_short, - pub __list: __pthread_list_t, -} -impl Default for __pthread_mutex_s { - fn default() -> Self { - let mut s = ::std::mem::MaybeUninit::::uninit(); - unsafe { - ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); - s.assume_init() - } - } +#[repr(align(16))] +#[derive(Debug, Default, Copy, Clone)] +pub struct __darwin_arm_neon_state64 { + pub __v: [__uint128_t; 32usize], + pub __fpsr: __uint32_t, + pub __fpcr: __uint32_t, } #[repr(C)] +#[repr(align(16))] #[derive(Debug, Default, Copy, Clone)] -pub struct __pthread_rwlock_arch_t { - pub __readers: ::std::os::raw::c_uint, - pub __writers: ::std::os::raw::c_uint, - pub __wrphase_futex: ::std::os::raw::c_uint, - pub __writers_futex: ::std::os::raw::c_uint, - pub __pad3: ::std::os::raw::c_uint, - pub __pad4: ::std::os::raw::c_uint, - pub __cur_writer: ::std::os::raw::c_int, - pub __shared: ::std::os::raw::c_int, - pub __rwelision: ::std::os::raw::c_schar, - pub __pad1: [::std::os::raw::c_uchar; 7usize], - pub __pad2: ::std::os::raw::c_ulong, - pub __flags: ::std::os::raw::c_uint, +pub struct __darwin_arm_neon_state { + pub __v: [__uint128_t; 16usize], + pub __fpsr: __uint32_t, + pub __fpcr: __uint32_t, } #[repr(C)] -#[derive(Copy, Clone)] -pub struct __pthread_cond_s { - pub __bindgen_anon_1: __pthread_cond_s__bindgen_ty_1, - pub __bindgen_anon_2: __pthread_cond_s__bindgen_ty_2, - pub __g_refs: [::std::os::raw::c_uint; 2usize], - pub __g_size: [::std::os::raw::c_uint; 2usize], - pub __g1_orig_size: ::std::os::raw::c_uint, - pub __wrefs: ::std::os::raw::c_uint, - pub __g_signals: [::std::os::raw::c_uint; 2usize], +#[derive(Debug, Default, Copy, Clone)] +pub struct __arm_pagein_state { + pub __pagein_error: ::std::os::raw::c_int, } #[repr(C)] -#[derive(Copy, Clone)] -pub union __pthread_cond_s__bindgen_ty_1 { - pub __wseq: ::std::os::raw::c_ulonglong, - pub __wseq32: __pthread_cond_s__bindgen_ty_1__bindgen_ty_1, +#[derive(Debug, Default, Copy, Clone)] +pub struct __arm_legacy_debug_state { + pub __bvr: [__uint32_t; 16usize], + pub __bcr: [__uint32_t; 16usize], + pub __wvr: [__uint32_t; 16usize], + pub __wcr: [__uint32_t; 16usize], } #[repr(C)] #[derive(Debug, Default, Copy, Clone)] -pub struct __pthread_cond_s__bindgen_ty_1__bindgen_ty_1 { - pub __low: ::std::os::raw::c_uint, - pub __high: ::std::os::raw::c_uint, -} -impl Default for __pthread_cond_s__bindgen_ty_1 { - fn default() -> Self { - let mut s = ::std::mem::MaybeUninit::::uninit(); - unsafe { - ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); - s.assume_init() - } - } +pub struct __darwin_arm_debug_state32 { + pub __bvr: [__uint32_t; 16usize], + pub __bcr: [__uint32_t; 16usize], + pub __wvr: [__uint32_t; 16usize], + pub __wcr: [__uint32_t; 16usize], + pub __mdscr_el1: __uint64_t, } #[repr(C)] -#[derive(Copy, Clone)] -pub union __pthread_cond_s__bindgen_ty_2 { - pub __g1_start: ::std::os::raw::c_ulonglong, - pub __g1_start32: __pthread_cond_s__bindgen_ty_2__bindgen_ty_1, +#[derive(Debug, Default, Copy, Clone)] +pub struct __darwin_arm_debug_state64 { + pub __bvr: [__uint64_t; 16usize], + pub __bcr: [__uint64_t; 16usize], + pub __wvr: [__uint64_t; 16usize], + pub __wcr: [__uint64_t; 16usize], + pub __mdscr_el1: __uint64_t, } #[repr(C)] #[derive(Debug, Default, Copy, Clone)] -pub struct __pthread_cond_s__bindgen_ty_2__bindgen_ty_1 { - pub __low: ::std::os::raw::c_uint, - pub __high: ::std::os::raw::c_uint, +pub struct __darwin_arm_cpmu_state64 { + pub __ctrs: [__uint64_t; 16usize], } -impl Default for __pthread_cond_s__bindgen_ty_2 { - fn default() -> Self { - let mut s = ::std::mem::MaybeUninit::::uninit(); - unsafe { - ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); - s.assume_init() - } - } +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct __darwin_mcontext32 { + pub __es: __darwin_arm_exception_state, + pub __ss: __darwin_arm_thread_state, + pub __fs: __darwin_arm_vfp_state, } -impl Default for __pthread_cond_s { +impl Default for __darwin_mcontext32 { fn default() -> Self { let mut s = ::std::mem::MaybeUninit::::uninit(); unsafe { @@ -4071,21 +4569,24 @@ impl Default for __pthread_cond_s { } } } -pub type __tss_t = ::std::os::raw::c_uint; -pub type __thrd_t = ::std::os::raw::c_ulong; #[repr(C)] +#[repr(align(16))] #[derive(Debug, Default, Copy, Clone)] -pub struct __once_flag { - pub __data: ::std::os::raw::c_int, +pub struct __darwin_mcontext64 { + pub __es: __darwin_arm_exception_state64, + pub __ss: __darwin_arm_thread_state64, + pub __ns: __darwin_arm_neon_state64, } -pub type pthread_t = ::std::os::raw::c_ulong; +pub type mcontext_t = *mut __darwin_mcontext64; +pub type pthread_attr_t = __darwin_pthread_attr_t; #[repr(C)] -#[derive(Copy, Clone)] -pub union pthread_mutexattr_t { - pub __size: [::std::os::raw::c_char; 4usize], - pub __align: ::std::os::raw::c_int, +#[derive(Debug, Copy, Clone)] +pub struct __darwin_sigaltstack { + pub ss_sp: *mut ::std::os::raw::c_void, + pub ss_size: __darwin_size_t, + pub ss_flags: ::std::os::raw::c_int, } -impl Default for pthread_mutexattr_t { +impl Default for __darwin_sigaltstack { fn default() -> Self { let mut s = ::std::mem::MaybeUninit::::uninit(); unsafe { @@ -4094,13 +4595,18 @@ impl Default for pthread_mutexattr_t { } } } +pub type stack_t = __darwin_sigaltstack; #[repr(C)] -#[derive(Copy, Clone)] -pub union pthread_condattr_t { - pub __size: [::std::os::raw::c_char; 4usize], - pub __align: ::std::os::raw::c_int, +#[derive(Debug, Copy, Clone)] +pub struct __darwin_ucontext { + pub uc_onstack: ::std::os::raw::c_int, + pub uc_sigmask: __darwin_sigset_t, + pub uc_stack: __darwin_sigaltstack, + pub uc_link: *mut __darwin_ucontext, + pub uc_mcsize: __darwin_size_t, + pub uc_mcontext: *mut __darwin_mcontext64, } -impl Default for pthread_condattr_t { +impl Default for __darwin_ucontext { fn default() -> Self { let mut s = ::std::mem::MaybeUninit::::uninit(); unsafe { @@ -4109,15 +4615,16 @@ impl Default for pthread_condattr_t { } } } -pub type pthread_key_t = ::std::os::raw::c_uint; -pub type pthread_once_t = ::std::os::raw::c_int; +pub type ucontext_t = __darwin_ucontext; +pub type sigset_t = __darwin_sigset_t; +pub type uid_t = __darwin_uid_t; #[repr(C)] #[derive(Copy, Clone)] -pub union pthread_attr_t { - pub __size: [::std::os::raw::c_char; 56usize], - pub __align: ::std::os::raw::c_long, +pub union sigval { + pub sival_int: ::std::os::raw::c_int, + pub sival_ptr: *mut ::std::os::raw::c_void, } -impl Default for pthread_attr_t { +impl Default for sigval { fn default() -> Self { let mut s = ::std::mem::MaybeUninit::::uninit(); unsafe { @@ -4128,12 +4635,14 @@ impl Default for pthread_attr_t { } #[repr(C)] #[derive(Copy, Clone)] -pub union pthread_mutex_t { - pub __data: __pthread_mutex_s, - pub __size: [::std::os::raw::c_char; 40usize], - pub __align: ::std::os::raw::c_long, +pub struct sigevent { + pub sigev_notify: ::std::os::raw::c_int, + pub sigev_signo: ::std::os::raw::c_int, + pub sigev_value: sigval, + pub sigev_notify_function: ::std::option::Option, + pub sigev_notify_attributes: *mut pthread_attr_t, } -impl Default for pthread_mutex_t { +impl Default for sigevent { fn default() -> Self { let mut s = ::std::mem::MaybeUninit::::uninit(); unsafe { @@ -4144,12 +4653,19 @@ impl Default for pthread_mutex_t { } #[repr(C)] #[derive(Copy, Clone)] -pub union pthread_cond_t { - pub __data: __pthread_cond_s, - pub __size: [::std::os::raw::c_char; 48usize], - pub __align: ::std::os::raw::c_longlong, +pub struct __siginfo { + pub si_signo: ::std::os::raw::c_int, + pub si_errno: ::std::os::raw::c_int, + pub si_code: ::std::os::raw::c_int, + pub si_pid: pid_t, + pub si_uid: uid_t, + pub si_status: ::std::os::raw::c_int, + pub si_addr: *mut ::std::os::raw::c_void, + pub si_value: sigval, + pub si_band: ::std::os::raw::c_long, + pub __pad: [::std::os::raw::c_ulong; 7usize], } -impl Default for pthread_cond_t { +impl Default for __siginfo { fn default() -> Self { let mut s = ::std::mem::MaybeUninit::::uninit(); unsafe { @@ -4158,14 +4674,20 @@ impl Default for pthread_cond_t { } } } +pub type siginfo_t = __siginfo; #[repr(C)] #[derive(Copy, Clone)] -pub union pthread_rwlock_t { - pub __data: __pthread_rwlock_arch_t, - pub __size: [::std::os::raw::c_char; 56usize], - pub __align: ::std::os::raw::c_long, +pub union __sigaction_u { + pub __sa_handler: ::std::option::Option, + pub __sa_sigaction: ::std::option::Option< + unsafe extern "C" fn( + arg1: ::std::os::raw::c_int, + arg2: *mut __siginfo, + arg3: *mut ::std::os::raw::c_void, + ), + >, } -impl Default for pthread_rwlock_t { +impl Default for __sigaction_u { fn default() -> Self { let mut s = ::std::mem::MaybeUninit::::uninit(); unsafe { @@ -4176,11 +4698,21 @@ impl Default for pthread_rwlock_t { } #[repr(C)] #[derive(Copy, Clone)] -pub union pthread_rwlockattr_t { - pub __size: [::std::os::raw::c_char; 8usize], - pub __align: ::std::os::raw::c_long, +pub struct __sigaction { + pub __sigaction_u: __sigaction_u, + pub sa_tramp: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut ::std::os::raw::c_void, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + arg4: *mut siginfo_t, + arg5: *mut ::std::os::raw::c_void, + ), + >, + pub sa_mask: sigset_t, + pub sa_flags: ::std::os::raw::c_int, } -impl Default for pthread_rwlockattr_t { +impl Default for __sigaction { fn default() -> Self { let mut s = ::std::mem::MaybeUninit::::uninit(); unsafe { @@ -4189,14 +4721,14 @@ impl Default for pthread_rwlockattr_t { } } } -pub type pthread_spinlock_t = ::std::os::raw::c_int; #[repr(C)] #[derive(Copy, Clone)] -pub union pthread_barrier_t { - pub __size: [::std::os::raw::c_char; 32usize], - pub __align: ::std::os::raw::c_long, +pub struct sigaction { + pub __sigaction_u: __sigaction_u, + pub sa_mask: sigset_t, + pub sa_flags: ::std::os::raw::c_int, } -impl Default for pthread_barrier_t { +impl Default for sigaction { fn default() -> Self { let mut s = ::std::mem::MaybeUninit::::uninit(); unsafe { @@ -4205,53 +4737,21 @@ impl Default for pthread_barrier_t { } } } +pub type sig_t = ::std::option::Option; #[repr(C)] -#[derive(Copy, Clone)] -pub union pthread_barrierattr_t { - pub __size: [::std::os::raw::c_char; 4usize], - pub __align: ::std::os::raw::c_int, -} -impl Default for pthread_barrierattr_t { - fn default() -> Self { - let mut s = ::std::mem::MaybeUninit::::uninit(); - unsafe { - ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); - s.assume_init() - } - } -} -#[pg_guard] -extern "C" { - pub fn random() -> ::std::os::raw::c_long; -} -#[pg_guard] -extern "C" { - pub fn srandom(__seed: ::std::os::raw::c_uint); -} -#[pg_guard] -extern "C" { - pub fn initstate( - __seed: ::std::os::raw::c_uint, - __statebuf: *mut ::std::os::raw::c_char, - __statelen: usize, - ) -> *mut ::std::os::raw::c_char; -} -#[pg_guard] -extern "C" { - pub fn setstate(__statebuf: *mut ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; +#[derive(Debug, Default, Copy, Clone)] +pub struct sigvec { + pub sv_handler: ::std::option::Option, + pub sv_mask: ::std::os::raw::c_int, + pub sv_flags: ::std::os::raw::c_int, } #[repr(C)] #[derive(Debug, Copy, Clone)] -pub struct random_data { - pub fptr: *mut i32, - pub rptr: *mut i32, - pub state: *mut i32, - pub rand_type: ::std::os::raw::c_int, - pub rand_deg: ::std::os::raw::c_int, - pub rand_sep: ::std::os::raw::c_int, - pub end_ptr: *mut i32, +pub struct sigstack { + pub ss_sp: *mut ::std::os::raw::c_char, + pub ss_onstack: ::std::os::raw::c_int, } -impl Default for random_data { +impl Default for sigstack { fn default() -> Self { let mut s = ::std::mem::MaybeUninit::::uninit(); unsafe { @@ -4262,188 +4762,558 @@ impl Default for random_data { } #[pg_guard] extern "C" { - pub fn random_r(__buf: *mut random_data, __result: *mut i32) -> ::std::os::raw::c_int; + pub fn signal( + arg1: ::std::os::raw::c_int, + arg2: ::std::option::Option, + ) -> ::std::option::Option< + unsafe extern "C" fn( + arg1: ::std::os::raw::c_int, + arg2: ::std::option::Option, + ), + >; } -#[pg_guard] -extern "C" { - pub fn srandom_r( - __seed: ::std::os::raw::c_uint, - __buf: *mut random_data, - ) -> ::std::os::raw::c_int; +pub type int_least8_t = i8; +pub type int_least16_t = i16; +pub type int_least32_t = i32; +pub type int_least64_t = i64; +pub type uint_least8_t = u8; +pub type uint_least16_t = u16; +pub type uint_least32_t = u32; +pub type uint_least64_t = u64; +pub type int_fast8_t = i8; +pub type int_fast16_t = i16; +pub type int_fast32_t = i32; +pub type int_fast64_t = i64; +pub type uint_fast8_t = u8; +pub type uint_fast16_t = u16; +pub type uint_fast32_t = u32; +pub type uint_fast64_t = u64; +pub type intmax_t = ::std::os::raw::c_long; +pub type uintmax_t = ::std::os::raw::c_ulong; +#[repr(C)] +#[derive(Debug, Default, Copy, Clone)] +pub struct timeval { + pub tv_sec: __darwin_time_t, + pub tv_usec: __darwin_suseconds_t, } -#[pg_guard] -extern "C" { - pub fn initstate_r( - __seed: ::std::os::raw::c_uint, - __statebuf: *mut ::std::os::raw::c_char, - __statelen: usize, - __buf: *mut random_data, - ) -> ::std::os::raw::c_int; +pub type rlim_t = __uint64_t; +#[repr(C)] +#[derive(Debug, Default, Copy, Clone)] +pub struct rusage { + pub ru_utime: timeval, + pub ru_stime: timeval, + pub ru_maxrss: ::std::os::raw::c_long, + pub ru_ixrss: ::std::os::raw::c_long, + pub ru_idrss: ::std::os::raw::c_long, + pub ru_isrss: ::std::os::raw::c_long, + pub ru_minflt: ::std::os::raw::c_long, + pub ru_majflt: ::std::os::raw::c_long, + pub ru_nswap: ::std::os::raw::c_long, + pub ru_inblock: ::std::os::raw::c_long, + pub ru_oublock: ::std::os::raw::c_long, + pub ru_msgsnd: ::std::os::raw::c_long, + pub ru_msgrcv: ::std::os::raw::c_long, + pub ru_nsignals: ::std::os::raw::c_long, + pub ru_nvcsw: ::std::os::raw::c_long, + pub ru_nivcsw: ::std::os::raw::c_long, +} +pub type rusage_info_t = *mut ::std::os::raw::c_void; +#[repr(C)] +#[derive(Debug, Default, Copy, Clone)] +pub struct rusage_info_v0 { + pub ri_uuid: [u8; 16usize], + pub ri_user_time: u64, + pub ri_system_time: u64, + pub ri_pkg_idle_wkups: u64, + pub ri_interrupt_wkups: u64, + pub ri_pageins: u64, + pub ri_wired_size: u64, + pub ri_resident_size: u64, + pub ri_phys_footprint: u64, + pub ri_proc_start_abstime: u64, + pub ri_proc_exit_abstime: u64, } -#[pg_guard] -extern "C" { - pub fn setstate_r( - __statebuf: *mut ::std::os::raw::c_char, - __buf: *mut random_data, - ) -> ::std::os::raw::c_int; +#[repr(C)] +#[derive(Debug, Default, Copy, Clone)] +pub struct rusage_info_v1 { + pub ri_uuid: [u8; 16usize], + pub ri_user_time: u64, + pub ri_system_time: u64, + pub ri_pkg_idle_wkups: u64, + pub ri_interrupt_wkups: u64, + pub ri_pageins: u64, + pub ri_wired_size: u64, + pub ri_resident_size: u64, + pub ri_phys_footprint: u64, + pub ri_proc_start_abstime: u64, + pub ri_proc_exit_abstime: u64, + pub ri_child_user_time: u64, + pub ri_child_system_time: u64, + pub ri_child_pkg_idle_wkups: u64, + pub ri_child_interrupt_wkups: u64, + pub ri_child_pageins: u64, + pub ri_child_elapsed_abstime: u64, } -#[pg_guard] -extern "C" { - pub fn rand() -> ::std::os::raw::c_int; +#[repr(C)] +#[derive(Debug, Default, Copy, Clone)] +pub struct rusage_info_v2 { + pub ri_uuid: [u8; 16usize], + pub ri_user_time: u64, + pub ri_system_time: u64, + pub ri_pkg_idle_wkups: u64, + pub ri_interrupt_wkups: u64, + pub ri_pageins: u64, + pub ri_wired_size: u64, + pub ri_resident_size: u64, + pub ri_phys_footprint: u64, + pub ri_proc_start_abstime: u64, + pub ri_proc_exit_abstime: u64, + pub ri_child_user_time: u64, + pub ri_child_system_time: u64, + pub ri_child_pkg_idle_wkups: u64, + pub ri_child_interrupt_wkups: u64, + pub ri_child_pageins: u64, + pub ri_child_elapsed_abstime: u64, + pub ri_diskio_bytesread: u64, + pub ri_diskio_byteswritten: u64, } -#[pg_guard] -extern "C" { - pub fn srand(__seed: ::std::os::raw::c_uint); +#[repr(C)] +#[derive(Debug, Default, Copy, Clone)] +pub struct rusage_info_v3 { + pub ri_uuid: [u8; 16usize], + pub ri_user_time: u64, + pub ri_system_time: u64, + pub ri_pkg_idle_wkups: u64, + pub ri_interrupt_wkups: u64, + pub ri_pageins: u64, + pub ri_wired_size: u64, + pub ri_resident_size: u64, + pub ri_phys_footprint: u64, + pub ri_proc_start_abstime: u64, + pub ri_proc_exit_abstime: u64, + pub ri_child_user_time: u64, + pub ri_child_system_time: u64, + pub ri_child_pkg_idle_wkups: u64, + pub ri_child_interrupt_wkups: u64, + pub ri_child_pageins: u64, + pub ri_child_elapsed_abstime: u64, + pub ri_diskio_bytesread: u64, + pub ri_diskio_byteswritten: u64, + pub ri_cpu_time_qos_default: u64, + pub ri_cpu_time_qos_maintenance: u64, + pub ri_cpu_time_qos_background: u64, + pub ri_cpu_time_qos_utility: u64, + pub ri_cpu_time_qos_legacy: u64, + pub ri_cpu_time_qos_user_initiated: u64, + pub ri_cpu_time_qos_user_interactive: u64, + pub ri_billed_system_time: u64, + pub ri_serviced_system_time: u64, } -#[pg_guard] -extern "C" { - pub fn rand_r(__seed: *mut ::std::os::raw::c_uint) -> ::std::os::raw::c_int; +#[repr(C)] +#[derive(Debug, Default, Copy, Clone)] +pub struct rusage_info_v4 { + pub ri_uuid: [u8; 16usize], + pub ri_user_time: u64, + pub ri_system_time: u64, + pub ri_pkg_idle_wkups: u64, + pub ri_interrupt_wkups: u64, + pub ri_pageins: u64, + pub ri_wired_size: u64, + pub ri_resident_size: u64, + pub ri_phys_footprint: u64, + pub ri_proc_start_abstime: u64, + pub ri_proc_exit_abstime: u64, + pub ri_child_user_time: u64, + pub ri_child_system_time: u64, + pub ri_child_pkg_idle_wkups: u64, + pub ri_child_interrupt_wkups: u64, + pub ri_child_pageins: u64, + pub ri_child_elapsed_abstime: u64, + pub ri_diskio_bytesread: u64, + pub ri_diskio_byteswritten: u64, + pub ri_cpu_time_qos_default: u64, + pub ri_cpu_time_qos_maintenance: u64, + pub ri_cpu_time_qos_background: u64, + pub ri_cpu_time_qos_utility: u64, + pub ri_cpu_time_qos_legacy: u64, + pub ri_cpu_time_qos_user_initiated: u64, + pub ri_cpu_time_qos_user_interactive: u64, + pub ri_billed_system_time: u64, + pub ri_serviced_system_time: u64, + pub ri_logical_writes: u64, + pub ri_lifetime_max_phys_footprint: u64, + pub ri_instructions: u64, + pub ri_cycles: u64, + pub ri_billed_energy: u64, + pub ri_serviced_energy: u64, + pub ri_interval_max_phys_footprint: u64, + pub ri_runnable_time: u64, } -#[pg_guard] -extern "C" { - pub fn drand48() -> f64; +#[repr(C)] +#[derive(Debug, Default, Copy, Clone)] +pub struct rusage_info_v5 { + pub ri_uuid: [u8; 16usize], + pub ri_user_time: u64, + pub ri_system_time: u64, + pub ri_pkg_idle_wkups: u64, + pub ri_interrupt_wkups: u64, + pub ri_pageins: u64, + pub ri_wired_size: u64, + pub ri_resident_size: u64, + pub ri_phys_footprint: u64, + pub ri_proc_start_abstime: u64, + pub ri_proc_exit_abstime: u64, + pub ri_child_user_time: u64, + pub ri_child_system_time: u64, + pub ri_child_pkg_idle_wkups: u64, + pub ri_child_interrupt_wkups: u64, + pub ri_child_pageins: u64, + pub ri_child_elapsed_abstime: u64, + pub ri_diskio_bytesread: u64, + pub ri_diskio_byteswritten: u64, + pub ri_cpu_time_qos_default: u64, + pub ri_cpu_time_qos_maintenance: u64, + pub ri_cpu_time_qos_background: u64, + pub ri_cpu_time_qos_utility: u64, + pub ri_cpu_time_qos_legacy: u64, + pub ri_cpu_time_qos_user_initiated: u64, + pub ri_cpu_time_qos_user_interactive: u64, + pub ri_billed_system_time: u64, + pub ri_serviced_system_time: u64, + pub ri_logical_writes: u64, + pub ri_lifetime_max_phys_footprint: u64, + pub ri_instructions: u64, + pub ri_cycles: u64, + pub ri_billed_energy: u64, + pub ri_serviced_energy: u64, + pub ri_interval_max_phys_footprint: u64, + pub ri_runnable_time: u64, + pub ri_flags: u64, +} +pub type rusage_info_current = rusage_info_v5; +#[repr(C)] +#[derive(Debug, Default, Copy, Clone)] +pub struct rlimit { + pub rlim_cur: rlim_t, + pub rlim_max: rlim_t, } -#[pg_guard] -extern "C" { - pub fn erand48(__xsubi: *mut ::std::os::raw::c_ushort) -> f64; +#[repr(C)] +#[derive(Debug, Default, Copy, Clone)] +pub struct proc_rlimit_control_wakeupmon { + pub wm_flags: u32, + pub wm_rate: i32, } #[pg_guard] extern "C" { - pub fn lrand48() -> ::std::os::raw::c_long; + pub fn getpriority(arg1: ::std::os::raw::c_int, arg2: id_t) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn nrand48(__xsubi: *mut ::std::os::raw::c_ushort) -> ::std::os::raw::c_long; + pub fn getiopolicy_np( + arg1: ::std::os::raw::c_int, + arg2: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn mrand48() -> ::std::os::raw::c_long; + pub fn getrlimit(arg1: ::std::os::raw::c_int, arg2: *mut rlimit) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn jrand48(__xsubi: *mut ::std::os::raw::c_ushort) -> ::std::os::raw::c_long; + pub fn getrusage(arg1: ::std::os::raw::c_int, arg2: *mut rusage) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn srand48(__seedval: ::std::os::raw::c_long); + pub fn setpriority( + arg1: ::std::os::raw::c_int, + arg2: id_t, + arg3: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn seed48(__seed16v: *mut ::std::os::raw::c_ushort) -> *mut ::std::os::raw::c_ushort; + pub fn setiopolicy_np( + arg1: ::std::os::raw::c_int, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn lcong48(__param: *mut ::std::os::raw::c_ushort); + pub fn setrlimit(arg1: ::std::os::raw::c_int, arg2: *const rlimit) -> ::std::os::raw::c_int; } -#[repr(C)] +#[repr(C, packed)] #[derive(Debug, Default, Copy, Clone)] -pub struct drand48_data { - pub __x: [::std::os::raw::c_ushort; 3usize], - pub __old_x: [::std::os::raw::c_ushort; 3usize], - pub __c: ::std::os::raw::c_ushort, - pub __init: ::std::os::raw::c_ushort, - pub __a: ::std::os::raw::c_ulonglong, +pub struct _OSUnalignedU16 { + pub __val: u16, } -#[pg_guard] -extern "C" { - pub fn drand48_r(__buffer: *mut drand48_data, __result: *mut f64) -> ::std::os::raw::c_int; +#[repr(C, packed)] +#[derive(Debug, Default, Copy, Clone)] +pub struct _OSUnalignedU32 { + pub __val: u32, } -#[pg_guard] -extern "C" { - pub fn erand48_r( - __xsubi: *mut ::std::os::raw::c_ushort, - __buffer: *mut drand48_data, - __result: *mut f64, - ) -> ::std::os::raw::c_int; +#[repr(C, packed)] +#[derive(Debug, Default, Copy, Clone)] +pub struct _OSUnalignedU64 { + pub __val: u64, } -#[pg_guard] -extern "C" { - pub fn lrand48_r( - __buffer: *mut drand48_data, - __result: *mut ::std::os::raw::c_long, - ) -> ::std::os::raw::c_int; +#[repr(C)] +#[derive(Copy, Clone)] +pub union wait { + pub w_status: ::std::os::raw::c_int, + pub w_T: wait__bindgen_ty_1, + pub w_S: wait__bindgen_ty_2, } -#[pg_guard] -extern "C" { - pub fn nrand48_r( - __xsubi: *mut ::std::os::raw::c_ushort, - __buffer: *mut drand48_data, - __result: *mut ::std::os::raw::c_long, - ) -> ::std::os::raw::c_int; +#[repr(C)] +#[repr(align(4))] +#[derive(Debug, Default, Copy, Clone)] +pub struct wait__bindgen_ty_1 { + pub _bitfield_align_1: [u16; 0], + pub _bitfield_1: __BindgenBitfieldUnit<[u8; 4usize]>, +} +impl wait__bindgen_ty_1 { + #[inline] + pub fn w_Termsig(&self) -> ::std::os::raw::c_uint { + unsafe { ::std::mem::transmute(self._bitfield_1.get(0usize, 7u8) as u32) } + } + #[inline] + pub fn set_w_Termsig(&mut self, val: ::std::os::raw::c_uint) { + unsafe { + let val: u32 = ::std::mem::transmute(val); + self._bitfield_1.set(0usize, 7u8, val as u64) + } + } + #[inline] + pub fn w_Coredump(&self) -> ::std::os::raw::c_uint { + unsafe { ::std::mem::transmute(self._bitfield_1.get(7usize, 1u8) as u32) } + } + #[inline] + pub fn set_w_Coredump(&mut self, val: ::std::os::raw::c_uint) { + unsafe { + let val: u32 = ::std::mem::transmute(val); + self._bitfield_1.set(7usize, 1u8, val as u64) + } + } + #[inline] + pub fn w_Retcode(&self) -> ::std::os::raw::c_uint { + unsafe { ::std::mem::transmute(self._bitfield_1.get(8usize, 8u8) as u32) } + } + #[inline] + pub fn set_w_Retcode(&mut self, val: ::std::os::raw::c_uint) { + unsafe { + let val: u32 = ::std::mem::transmute(val); + self._bitfield_1.set(8usize, 8u8, val as u64) + } + } + #[inline] + pub fn w_Filler(&self) -> ::std::os::raw::c_uint { + unsafe { ::std::mem::transmute(self._bitfield_1.get(16usize, 16u8) as u32) } + } + #[inline] + pub fn set_w_Filler(&mut self, val: ::std::os::raw::c_uint) { + unsafe { + let val: u32 = ::std::mem::transmute(val); + self._bitfield_1.set(16usize, 16u8, val as u64) + } + } + #[inline] + pub fn new_bitfield_1( + w_Termsig: ::std::os::raw::c_uint, + w_Coredump: ::std::os::raw::c_uint, + w_Retcode: ::std::os::raw::c_uint, + w_Filler: ::std::os::raw::c_uint, + ) -> __BindgenBitfieldUnit<[u8; 4usize]> { + let mut __bindgen_bitfield_unit: __BindgenBitfieldUnit<[u8; 4usize]> = Default::default(); + __bindgen_bitfield_unit.set(0usize, 7u8, { + let w_Termsig: u32 = unsafe { ::std::mem::transmute(w_Termsig) }; + w_Termsig as u64 + }); + __bindgen_bitfield_unit.set(7usize, 1u8, { + let w_Coredump: u32 = unsafe { ::std::mem::transmute(w_Coredump) }; + w_Coredump as u64 + }); + __bindgen_bitfield_unit.set(8usize, 8u8, { + let w_Retcode: u32 = unsafe { ::std::mem::transmute(w_Retcode) }; + w_Retcode as u64 + }); + __bindgen_bitfield_unit.set(16usize, 16u8, { + let w_Filler: u32 = unsafe { ::std::mem::transmute(w_Filler) }; + w_Filler as u64 + }); + __bindgen_bitfield_unit + } +} +#[repr(C)] +#[repr(align(4))] +#[derive(Debug, Default, Copy, Clone)] +pub struct wait__bindgen_ty_2 { + pub _bitfield_align_1: [u16; 0], + pub _bitfield_1: __BindgenBitfieldUnit<[u8; 4usize]>, +} +impl wait__bindgen_ty_2 { + #[inline] + pub fn w_Stopval(&self) -> ::std::os::raw::c_uint { + unsafe { ::std::mem::transmute(self._bitfield_1.get(0usize, 8u8) as u32) } + } + #[inline] + pub fn set_w_Stopval(&mut self, val: ::std::os::raw::c_uint) { + unsafe { + let val: u32 = ::std::mem::transmute(val); + self._bitfield_1.set(0usize, 8u8, val as u64) + } + } + #[inline] + pub fn w_Stopsig(&self) -> ::std::os::raw::c_uint { + unsafe { ::std::mem::transmute(self._bitfield_1.get(8usize, 8u8) as u32) } + } + #[inline] + pub fn set_w_Stopsig(&mut self, val: ::std::os::raw::c_uint) { + unsafe { + let val: u32 = ::std::mem::transmute(val); + self._bitfield_1.set(8usize, 8u8, val as u64) + } + } + #[inline] + pub fn w_Filler(&self) -> ::std::os::raw::c_uint { + unsafe { ::std::mem::transmute(self._bitfield_1.get(16usize, 16u8) as u32) } + } + #[inline] + pub fn set_w_Filler(&mut self, val: ::std::os::raw::c_uint) { + unsafe { + let val: u32 = ::std::mem::transmute(val); + self._bitfield_1.set(16usize, 16u8, val as u64) + } + } + #[inline] + pub fn new_bitfield_1( + w_Stopval: ::std::os::raw::c_uint, + w_Stopsig: ::std::os::raw::c_uint, + w_Filler: ::std::os::raw::c_uint, + ) -> __BindgenBitfieldUnit<[u8; 4usize]> { + let mut __bindgen_bitfield_unit: __BindgenBitfieldUnit<[u8; 4usize]> = Default::default(); + __bindgen_bitfield_unit.set(0usize, 8u8, { + let w_Stopval: u32 = unsafe { ::std::mem::transmute(w_Stopval) }; + w_Stopval as u64 + }); + __bindgen_bitfield_unit.set(8usize, 8u8, { + let w_Stopsig: u32 = unsafe { ::std::mem::transmute(w_Stopsig) }; + w_Stopsig as u64 + }); + __bindgen_bitfield_unit.set(16usize, 16u8, { + let w_Filler: u32 = unsafe { ::std::mem::transmute(w_Filler) }; + w_Filler as u64 + }); + __bindgen_bitfield_unit + } +} +impl Default for wait { + fn default() -> Self { + let mut s = ::std::mem::MaybeUninit::::uninit(); + unsafe { + ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); + s.assume_init() + } + } } #[pg_guard] extern "C" { - pub fn mrand48_r( - __buffer: *mut drand48_data, - __result: *mut ::std::os::raw::c_long, - ) -> ::std::os::raw::c_int; + pub fn wait(arg1: *mut ::std::os::raw::c_int) -> pid_t; } #[pg_guard] extern "C" { - pub fn jrand48_r( - __xsubi: *mut ::std::os::raw::c_ushort, - __buffer: *mut drand48_data, - __result: *mut ::std::os::raw::c_long, - ) -> ::std::os::raw::c_int; + pub fn waitpid( + arg1: pid_t, + arg2: *mut ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ) -> pid_t; } #[pg_guard] extern "C" { - pub fn srand48_r( - __seedval: ::std::os::raw::c_long, - __buffer: *mut drand48_data, + pub fn waitid( + arg1: idtype_t, + arg2: id_t, + arg3: *mut siginfo_t, + arg4: ::std::os::raw::c_int, ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn seed48_r( - __seed16v: *mut ::std::os::raw::c_ushort, - __buffer: *mut drand48_data, - ) -> ::std::os::raw::c_int; + pub fn wait3( + arg1: *mut ::std::os::raw::c_int, + arg2: ::std::os::raw::c_int, + arg3: *mut rusage, + ) -> pid_t; } #[pg_guard] extern "C" { - pub fn lcong48_r( - __param: *mut ::std::os::raw::c_ushort, - __buffer: *mut drand48_data, - ) -> ::std::os::raw::c_int; + pub fn wait4( + arg1: pid_t, + arg2: *mut ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + arg4: *mut rusage, + ) -> pid_t; } #[pg_guard] extern "C" { - pub fn malloc(__size: ::std::os::raw::c_ulong) -> *mut ::std::os::raw::c_void; + pub fn alloca(arg1: ::std::os::raw::c_ulong) -> *mut ::std::os::raw::c_void; +} +pub type ct_rune_t = __darwin_ct_rune_t; +pub type rune_t = __darwin_rune_t; +pub type wchar_t = __darwin_wchar_t; +#[repr(C)] +#[derive(Debug, Default, Copy, Clone)] +pub struct div_t { + pub quot: ::std::os::raw::c_int, + pub rem: ::std::os::raw::c_int, +} +#[repr(C)] +#[derive(Debug, Default, Copy, Clone)] +pub struct ldiv_t { + pub quot: ::std::os::raw::c_long, + pub rem: ::std::os::raw::c_long, +} +#[repr(C)] +#[derive(Debug, Default, Copy, Clone)] +pub struct lldiv_t { + pub quot: ::std::os::raw::c_longlong, + pub rem: ::std::os::raw::c_longlong, } #[pg_guard] extern "C" { - pub fn calloc( - __nmemb: ::std::os::raw::c_ulong, - __size: ::std::os::raw::c_ulong, - ) -> *mut ::std::os::raw::c_void; + pub static mut __mb_cur_max: ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn realloc( - __ptr: *mut ::std::os::raw::c_void, + pub fn malloc(__size: ::std::os::raw::c_ulong) -> *mut ::std::os::raw::c_void; +} +#[pg_guard] +extern "C" { + pub fn calloc( + __count: ::std::os::raw::c_ulong, __size: ::std::os::raw::c_ulong, ) -> *mut ::std::os::raw::c_void; } #[pg_guard] extern "C" { - pub fn free(__ptr: *mut ::std::os::raw::c_void); + pub fn free(arg1: *mut ::std::os::raw::c_void); } #[pg_guard] extern "C" { - pub fn reallocarray( + pub fn realloc( __ptr: *mut ::std::os::raw::c_void, - __nmemb: usize, - __size: usize, + __size: ::std::os::raw::c_ulong, ) -> *mut ::std::os::raw::c_void; } #[pg_guard] extern "C" { - pub fn alloca(__size: ::std::os::raw::c_ulong) -> *mut ::std::os::raw::c_void; + pub fn valloc(arg1: usize) -> *mut ::std::os::raw::c_void; } #[pg_guard] extern "C" { - pub fn valloc(__size: usize) -> *mut ::std::os::raw::c_void; + pub fn aligned_alloc( + __alignment: ::std::os::raw::c_ulong, + __size: ::std::os::raw::c_ulong, + ) -> *mut ::std::os::raw::c_void; } #[pg_guard] extern "C" { @@ -4455,1378 +5325,1150 @@ extern "C" { } #[pg_guard] extern "C" { - pub fn aligned_alloc( - __alignment: ::std::os::raw::c_ulong, - __size: ::std::os::raw::c_ulong, - ) -> *mut ::std::os::raw::c_void; + pub fn abort(); } #[pg_guard] extern "C" { - pub fn abort(); + pub fn abs(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn atexit(__func: ::std::option::Option) -> ::std::os::raw::c_int; + pub fn atexit(arg1: ::std::option::Option) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn at_quick_exit( - __func: ::std::option::Option, - ) -> ::std::os::raw::c_int; + pub fn atof(arg1: *const ::std::os::raw::c_char) -> f64; } #[pg_guard] extern "C" { - pub fn on_exit( - __func: ::std::option::Option< - unsafe extern "C" fn( - __status: ::std::os::raw::c_int, - __arg: *mut ::std::os::raw::c_void, - ), - >, - __arg: *mut ::std::os::raw::c_void, - ) -> ::std::os::raw::c_int; + pub fn atoi(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn exit(__status: ::std::os::raw::c_int); + pub fn atol(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_long; } #[pg_guard] extern "C" { - pub fn quick_exit(__status: ::std::os::raw::c_int); + pub fn atoll(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_longlong; } #[pg_guard] extern "C" { - pub fn _Exit(__status: ::std::os::raw::c_int); + pub fn bsearch( + __key: *const ::std::os::raw::c_void, + __base: *const ::std::os::raw::c_void, + __nel: usize, + __width: usize, + __compar: ::std::option::Option< + unsafe extern "C" fn( + arg1: *const ::std::os::raw::c_void, + arg2: *const ::std::os::raw::c_void, + ) -> ::std::os::raw::c_int, + >, + ) -> *mut ::std::os::raw::c_void; } #[pg_guard] extern "C" { - pub fn getenv(__name: *const ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; + pub fn div(arg1: ::std::os::raw::c_int, arg2: ::std::os::raw::c_int) -> div_t; } #[pg_guard] extern "C" { - pub fn putenv(__string: *mut ::std::os::raw::c_char) -> ::std::os::raw::c_int; + pub fn exit(arg1: ::std::os::raw::c_int); } #[pg_guard] extern "C" { - pub fn setenv( - __name: *const ::std::os::raw::c_char, - __value: *const ::std::os::raw::c_char, - __replace: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; + pub fn getenv(arg1: *const ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; +} +#[pg_guard] +extern "C" { + pub fn labs(arg1: ::std::os::raw::c_long) -> ::std::os::raw::c_long; +} +#[pg_guard] +extern "C" { + pub fn ldiv(arg1: ::std::os::raw::c_long, arg2: ::std::os::raw::c_long) -> ldiv_t; } #[pg_guard] extern "C" { - pub fn unsetenv(__name: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; + pub fn llabs(arg1: ::std::os::raw::c_longlong) -> ::std::os::raw::c_longlong; } #[pg_guard] extern "C" { - pub fn clearenv() -> ::std::os::raw::c_int; + pub fn lldiv(arg1: ::std::os::raw::c_longlong, arg2: ::std::os::raw::c_longlong) -> lldiv_t; } #[pg_guard] extern "C" { - pub fn mktemp(__template: *mut ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; + pub fn mblen(__s: *const ::std::os::raw::c_char, __n: usize) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn mkstemp(__template: *mut ::std::os::raw::c_char) -> ::std::os::raw::c_int; + pub fn mbstowcs(arg1: *mut wchar_t, arg2: *const ::std::os::raw::c_char, arg3: usize) -> usize; } #[pg_guard] extern "C" { - pub fn mkstemps( - __template: *mut ::std::os::raw::c_char, - __suffixlen: ::std::os::raw::c_int, + pub fn mbtowc( + arg1: *mut wchar_t, + arg2: *const ::std::os::raw::c_char, + arg3: usize, ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn mkdtemp(__template: *mut ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; + pub fn qsort( + __base: *mut ::std::os::raw::c_void, + __nel: usize, + __width: usize, + __compar: ::std::option::Option< + unsafe extern "C" fn( + arg1: *const ::std::os::raw::c_void, + arg2: *const ::std::os::raw::c_void, + ) -> ::std::os::raw::c_int, + >, + ); } #[pg_guard] extern "C" { - pub fn system(__command: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; + pub fn rand() -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn realpath( - __name: *const ::std::os::raw::c_char, - __resolved: *mut ::std::os::raw::c_char, - ) -> *mut ::std::os::raw::c_char; + pub fn srand(arg1: ::std::os::raw::c_uint); } -pub type __compar_fn_t = ::std::option::Option< - unsafe extern "C" fn( - arg1: *const ::std::os::raw::c_void, - arg2: *const ::std::os::raw::c_void, - ) -> ::std::os::raw::c_int, ->; #[pg_guard] extern "C" { - pub fn bsearch( - __key: *const ::std::os::raw::c_void, - __base: *const ::std::os::raw::c_void, - __nmemb: usize, - __size: usize, - __compar: __compar_fn_t, - ) -> *mut ::std::os::raw::c_void; + pub fn strtod( + arg1: *const ::std::os::raw::c_char, + arg2: *mut *mut ::std::os::raw::c_char, + ) -> f64; } #[pg_guard] extern "C" { - pub fn qsort( - __base: *mut ::std::os::raw::c_void, - __nmemb: usize, - __size: usize, - __compar: __compar_fn_t, - ); + pub fn strtof( + arg1: *const ::std::os::raw::c_char, + arg2: *mut *mut ::std::os::raw::c_char, + ) -> f32; } #[pg_guard] extern "C" { - pub fn abs(__x: ::std::os::raw::c_int) -> ::std::os::raw::c_int; + pub fn strtol( + __str: *const ::std::os::raw::c_char, + __endptr: *mut *mut ::std::os::raw::c_char, + __base: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_long; } #[pg_guard] extern "C" { - pub fn labs(__x: ::std::os::raw::c_long) -> ::std::os::raw::c_long; + pub fn strtold( + arg1: *const ::std::os::raw::c_char, + arg2: *mut *mut ::std::os::raw::c_char, + ) -> f64; } #[pg_guard] extern "C" { - pub fn llabs(__x: ::std::os::raw::c_longlong) -> ::std::os::raw::c_longlong; + pub fn strtoll( + __str: *const ::std::os::raw::c_char, + __endptr: *mut *mut ::std::os::raw::c_char, + __base: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_longlong; } #[pg_guard] extern "C" { - pub fn div(__numer: ::std::os::raw::c_int, __denom: ::std::os::raw::c_int) -> div_t; + pub fn strtoul( + __str: *const ::std::os::raw::c_char, + __endptr: *mut *mut ::std::os::raw::c_char, + __base: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_ulong; } #[pg_guard] extern "C" { - pub fn ldiv(__numer: ::std::os::raw::c_long, __denom: ::std::os::raw::c_long) -> ldiv_t; + pub fn strtoull( + __str: *const ::std::os::raw::c_char, + __endptr: *mut *mut ::std::os::raw::c_char, + __base: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_ulonglong; } #[pg_guard] extern "C" { - pub fn lldiv( - __numer: ::std::os::raw::c_longlong, - __denom: ::std::os::raw::c_longlong, - ) -> lldiv_t; + pub fn system(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn ecvt( - __value: f64, - __ndigit: ::std::os::raw::c_int, - __decpt: *mut ::std::os::raw::c_int, - __sign: *mut ::std::os::raw::c_int, - ) -> *mut ::std::os::raw::c_char; + pub fn wcstombs(arg1: *mut ::std::os::raw::c_char, arg2: *const wchar_t, arg3: usize) -> usize; } #[pg_guard] extern "C" { - pub fn fcvt( - __value: f64, - __ndigit: ::std::os::raw::c_int, - __decpt: *mut ::std::os::raw::c_int, - __sign: *mut ::std::os::raw::c_int, - ) -> *mut ::std::os::raw::c_char; + pub fn wctomb(arg1: *mut ::std::os::raw::c_char, arg2: wchar_t) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn gcvt( - __value: f64, - __ndigit: ::std::os::raw::c_int, - __buf: *mut ::std::os::raw::c_char, - ) -> *mut ::std::os::raw::c_char; + pub fn _Exit(arg1: ::std::os::raw::c_int); } #[pg_guard] extern "C" { - pub fn qecvt( - __value: u128, - __ndigit: ::std::os::raw::c_int, - __decpt: *mut ::std::os::raw::c_int, - __sign: *mut ::std::os::raw::c_int, - ) -> *mut ::std::os::raw::c_char; + pub fn a64l(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_long; } #[pg_guard] extern "C" { - pub fn qfcvt( - __value: u128, - __ndigit: ::std::os::raw::c_int, - __decpt: *mut ::std::os::raw::c_int, - __sign: *mut ::std::os::raw::c_int, - ) -> *mut ::std::os::raw::c_char; + pub fn drand48() -> f64; } #[pg_guard] extern "C" { - pub fn qgcvt( - __value: u128, - __ndigit: ::std::os::raw::c_int, - __buf: *mut ::std::os::raw::c_char, + pub fn ecvt( + arg1: f64, + arg2: ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, ) -> *mut ::std::os::raw::c_char; } #[pg_guard] extern "C" { - pub fn ecvt_r( - __value: f64, - __ndigit: ::std::os::raw::c_int, - __decpt: *mut ::std::os::raw::c_int, - __sign: *mut ::std::os::raw::c_int, - __buf: *mut ::std::os::raw::c_char, - __len: usize, - ) -> ::std::os::raw::c_int; + pub fn erand48(arg1: *mut ::std::os::raw::c_ushort) -> f64; } #[pg_guard] extern "C" { - pub fn fcvt_r( - __value: f64, - __ndigit: ::std::os::raw::c_int, - __decpt: *mut ::std::os::raw::c_int, - __sign: *mut ::std::os::raw::c_int, - __buf: *mut ::std::os::raw::c_char, - __len: usize, - ) -> ::std::os::raw::c_int; + pub fn fcvt( + arg1: f64, + arg2: ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + ) -> *mut ::std::os::raw::c_char; } #[pg_guard] extern "C" { - pub fn qecvt_r( - __value: u128, - __ndigit: ::std::os::raw::c_int, - __decpt: *mut ::std::os::raw::c_int, - __sign: *mut ::std::os::raw::c_int, - __buf: *mut ::std::os::raw::c_char, - __len: usize, - ) -> ::std::os::raw::c_int; + pub fn gcvt( + arg1: f64, + arg2: ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; } #[pg_guard] extern "C" { - pub fn qfcvt_r( - __value: u128, - __ndigit: ::std::os::raw::c_int, - __decpt: *mut ::std::os::raw::c_int, - __sign: *mut ::std::os::raw::c_int, - __buf: *mut ::std::os::raw::c_char, - __len: usize, + pub fn getsubopt( + arg1: *mut *mut ::std::os::raw::c_char, + arg2: *const *mut ::std::os::raw::c_char, + arg3: *mut *mut ::std::os::raw::c_char, ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn mblen(__s: *const ::std::os::raw::c_char, __n: usize) -> ::std::os::raw::c_int; + pub fn grantpt(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn mbtowc( - __pwc: *mut wchar_t, - __s: *const ::std::os::raw::c_char, - __n: usize, - ) -> ::std::os::raw::c_int; + pub fn initstate( + arg1: ::std::os::raw::c_uint, + arg2: *mut ::std::os::raw::c_char, + arg3: usize, + ) -> *mut ::std::os::raw::c_char; } #[pg_guard] extern "C" { - pub fn wctomb(__s: *mut ::std::os::raw::c_char, __wchar: wchar_t) -> ::std::os::raw::c_int; + pub fn jrand48(arg1: *mut ::std::os::raw::c_ushort) -> ::std::os::raw::c_long; } #[pg_guard] extern "C" { - pub fn mbstowcs(__pwcs: *mut wchar_t, __s: *const ::std::os::raw::c_char, __n: usize) -> usize; + pub fn l64a(arg1: ::std::os::raw::c_long) -> *mut ::std::os::raw::c_char; } #[pg_guard] extern "C" { - pub fn wcstombs(__s: *mut ::std::os::raw::c_char, __pwcs: *const wchar_t, __n: usize) -> usize; + pub fn lcong48(arg1: *mut ::std::os::raw::c_ushort); } #[pg_guard] extern "C" { - pub fn rpmatch(__response: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; + pub fn lrand48() -> ::std::os::raw::c_long; } #[pg_guard] extern "C" { - pub fn getsubopt( - __optionp: *mut *mut ::std::os::raw::c_char, - __tokens: *const *mut ::std::os::raw::c_char, - __valuep: *mut *mut ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; + pub fn mktemp(arg1: *mut ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; } #[pg_guard] extern "C" { - pub fn getloadavg(__loadavg: *mut f64, __nelem: ::std::os::raw::c_int) - -> ::std::os::raw::c_int; + pub fn mkstemp(arg1: *mut ::std::os::raw::c_char) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn memcpy( - __dest: *mut ::std::os::raw::c_void, - __src: *const ::std::os::raw::c_void, - __n: ::std::os::raw::c_ulong, - ) -> *mut ::std::os::raw::c_void; + pub fn mrand48() -> ::std::os::raw::c_long; } #[pg_guard] extern "C" { - pub fn memmove( - __dest: *mut ::std::os::raw::c_void, - __src: *const ::std::os::raw::c_void, - __n: ::std::os::raw::c_ulong, - ) -> *mut ::std::os::raw::c_void; + pub fn nrand48(arg1: *mut ::std::os::raw::c_ushort) -> ::std::os::raw::c_long; } #[pg_guard] extern "C" { - pub fn memccpy( - __dest: *mut ::std::os::raw::c_void, - __src: *const ::std::os::raw::c_void, - __c: ::std::os::raw::c_int, - __n: ::std::os::raw::c_ulong, - ) -> *mut ::std::os::raw::c_void; + pub fn posix_openpt(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn memset( - __s: *mut ::std::os::raw::c_void, - __c: ::std::os::raw::c_int, - __n: ::std::os::raw::c_ulong, - ) -> *mut ::std::os::raw::c_void; + pub fn ptsname(arg1: ::std::os::raw::c_int) -> *mut ::std::os::raw::c_char; } #[pg_guard] extern "C" { - pub fn memcmp( - __s1: *const ::std::os::raw::c_void, - __s2: *const ::std::os::raw::c_void, - __n: ::std::os::raw::c_ulong, + pub fn ptsname_r( + fildes: ::std::os::raw::c_int, + buffer: *mut ::std::os::raw::c_char, + buflen: usize, ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn memchr( - __s: *const ::std::os::raw::c_void, - __c: ::std::os::raw::c_int, - __n: ::std::os::raw::c_ulong, - ) -> *mut ::std::os::raw::c_void; + pub fn putenv(arg1: *mut ::std::os::raw::c_char) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn strcpy( - __dest: *mut ::std::os::raw::c_char, - __src: *const ::std::os::raw::c_char, - ) -> *mut ::std::os::raw::c_char; + pub fn random() -> ::std::os::raw::c_long; } #[pg_guard] extern "C" { - pub fn strncpy( - __dest: *mut ::std::os::raw::c_char, - __src: *const ::std::os::raw::c_char, - __n: ::std::os::raw::c_ulong, - ) -> *mut ::std::os::raw::c_char; + pub fn rand_r(arg1: *mut ::std::os::raw::c_uint) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn strcat( - __dest: *mut ::std::os::raw::c_char, - __src: *const ::std::os::raw::c_char, + #[link_name = "\u{1}_realpath$DARWIN_EXTSN"] + pub fn realpath( + arg1: *const ::std::os::raw::c_char, + arg2: *mut ::std::os::raw::c_char, ) -> *mut ::std::os::raw::c_char; } #[pg_guard] extern "C" { - pub fn strncat( - __dest: *mut ::std::os::raw::c_char, - __src: *const ::std::os::raw::c_char, - __n: ::std::os::raw::c_ulong, - ) -> *mut ::std::os::raw::c_char; + pub fn seed48(arg1: *mut ::std::os::raw::c_ushort) -> *mut ::std::os::raw::c_ushort; } #[pg_guard] extern "C" { - pub fn strcmp( - __s1: *const ::std::os::raw::c_char, - __s2: *const ::std::os::raw::c_char, + pub fn setenv( + __name: *const ::std::os::raw::c_char, + __value: *const ::std::os::raw::c_char, + __overwrite: ::std::os::raw::c_int, ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn strncmp( - __s1: *const ::std::os::raw::c_char, - __s2: *const ::std::os::raw::c_char, - __n: ::std::os::raw::c_ulong, - ) -> ::std::os::raw::c_int; + pub fn setkey(arg1: *const ::std::os::raw::c_char); } #[pg_guard] extern "C" { - pub fn strcoll( - __s1: *const ::std::os::raw::c_char, - __s2: *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; + pub fn setstate(arg1: *const ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; } #[pg_guard] extern "C" { - pub fn strxfrm( - __dest: *mut ::std::os::raw::c_char, - __src: *const ::std::os::raw::c_char, - __n: ::std::os::raw::c_ulong, - ) -> ::std::os::raw::c_ulong; -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct __locale_struct { - pub __locales: [*mut __locale_data; 13usize], - pub __ctype_b: *const ::std::os::raw::c_ushort, - pub __ctype_tolower: *const ::std::os::raw::c_int, - pub __ctype_toupper: *const ::std::os::raw::c_int, - pub __names: [*const ::std::os::raw::c_char; 13usize], -} -impl Default for __locale_struct { - fn default() -> Self { - let mut s = ::std::mem::MaybeUninit::::uninit(); - unsafe { - ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); - s.assume_init() - } - } + pub fn srand48(arg1: ::std::os::raw::c_long); } -pub type __locale_t = *mut __locale_struct; -pub type locale_t = __locale_t; #[pg_guard] extern "C" { - pub fn strcoll_l( - __s1: *const ::std::os::raw::c_char, - __s2: *const ::std::os::raw::c_char, - __l: locale_t, - ) -> ::std::os::raw::c_int; + pub fn srandom(arg1: ::std::os::raw::c_uint); } #[pg_guard] extern "C" { - pub fn strxfrm_l( - __dest: *mut ::std::os::raw::c_char, - __src: *const ::std::os::raw::c_char, - __n: usize, - __l: locale_t, - ) -> usize; + pub fn unlockpt(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn strdup(__s: *const ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; + pub fn unsetenv(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; } +pub type dev_t = __darwin_dev_t; +pub type mode_t = __darwin_mode_t; #[pg_guard] extern "C" { - pub fn strndup( - __string: *const ::std::os::raw::c_char, - __n: ::std::os::raw::c_ulong, - ) -> *mut ::std::os::raw::c_char; + pub fn arc4random() -> u32; } #[pg_guard] extern "C" { - pub fn strchr( - __s: *const ::std::os::raw::c_char, - __c: ::std::os::raw::c_int, - ) -> *mut ::std::os::raw::c_char; + pub fn arc4random_addrandom(arg1: *mut ::std::os::raw::c_uchar, arg2: ::std::os::raw::c_int); } #[pg_guard] extern "C" { - pub fn strrchr( - __s: *const ::std::os::raw::c_char, - __c: ::std::os::raw::c_int, - ) -> *mut ::std::os::raw::c_char; + pub fn arc4random_buf(__buf: *mut ::std::os::raw::c_void, __nbytes: usize); } #[pg_guard] extern "C" { - pub fn strcspn( - __s: *const ::std::os::raw::c_char, - __reject: *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_ulong; + pub fn arc4random_stir(); } #[pg_guard] extern "C" { - pub fn strspn( - __s: *const ::std::os::raw::c_char, - __accept: *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_ulong; + pub fn arc4random_uniform(__upper_bound: u32) -> u32; } #[pg_guard] extern "C" { - pub fn strpbrk( - __s: *const ::std::os::raw::c_char, - __accept: *const ::std::os::raw::c_char, - ) -> *mut ::std::os::raw::c_char; + pub fn atexit_b(arg1: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn strstr( - __haystack: *const ::std::os::raw::c_char, - __needle: *const ::std::os::raw::c_char, - ) -> *mut ::std::os::raw::c_char; + pub fn bsearch_b( + __key: *const ::std::os::raw::c_void, + __base: *const ::std::os::raw::c_void, + __nel: usize, + __width: usize, + __compar: *mut ::std::os::raw::c_void, + ) -> *mut ::std::os::raw::c_void; } #[pg_guard] extern "C" { - pub fn strtok( - __s: *mut ::std::os::raw::c_char, - __delim: *const ::std::os::raw::c_char, + pub fn cgetcap( + arg1: *mut ::std::os::raw::c_char, + arg2: *const ::std::os::raw::c_char, + arg3: ::std::os::raw::c_int, ) -> *mut ::std::os::raw::c_char; } #[pg_guard] extern "C" { - pub fn __strtok_r( - __s: *mut ::std::os::raw::c_char, - __delim: *const ::std::os::raw::c_char, - __save_ptr: *mut *mut ::std::os::raw::c_char, - ) -> *mut ::std::os::raw::c_char; + pub fn cgetclose() -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn strtok_r( - __s: *mut ::std::os::raw::c_char, - __delim: *const ::std::os::raw::c_char, - __save_ptr: *mut *mut ::std::os::raw::c_char, - ) -> *mut ::std::os::raw::c_char; + pub fn cgetent( + arg1: *mut *mut ::std::os::raw::c_char, + arg2: *mut *mut ::std::os::raw::c_char, + arg3: *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn strlen(__s: *const ::std::os::raw::c_char) -> ::std::os::raw::c_ulong; + pub fn cgetfirst( + arg1: *mut *mut ::std::os::raw::c_char, + arg2: *mut *mut ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn strnlen(__string: *const ::std::os::raw::c_char, __maxlen: usize) -> usize; + pub fn cgetmatch( + arg1: *const ::std::os::raw::c_char, + arg2: *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn strerror(__errnum: ::std::os::raw::c_int) -> *mut ::std::os::raw::c_char; + pub fn cgetnext( + arg1: *mut *mut ::std::os::raw::c_char, + arg2: *mut *mut ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - #[link_name = "\u{1}__xpg_strerror_r"] - pub fn strerror_r( - __errnum: ::std::os::raw::c_int, - __buf: *mut ::std::os::raw::c_char, - __buflen: usize, + pub fn cgetnum( + arg1: *mut ::std::os::raw::c_char, + arg2: *const ::std::os::raw::c_char, + arg3: *mut ::std::os::raw::c_long, ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn strerror_l( - __errnum: ::std::os::raw::c_int, - __l: locale_t, - ) -> *mut ::std::os::raw::c_char; + pub fn cgetset(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn bcmp( - __s1: *const ::std::os::raw::c_void, - __s2: *const ::std::os::raw::c_void, - __n: ::std::os::raw::c_ulong, + pub fn cgetstr( + arg1: *mut ::std::os::raw::c_char, + arg2: *const ::std::os::raw::c_char, + arg3: *mut *mut ::std::os::raw::c_char, ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn bcopy( - __src: *const ::std::os::raw::c_void, - __dest: *mut ::std::os::raw::c_void, - __n: usize, - ); + pub fn cgetustr( + arg1: *mut ::std::os::raw::c_char, + arg2: *const ::std::os::raw::c_char, + arg3: *mut *mut ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn bzero(__s: *mut ::std::os::raw::c_void, __n: ::std::os::raw::c_ulong); + pub fn daemon( + arg1: ::std::os::raw::c_int, + arg2: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn index( - __s: *const ::std::os::raw::c_char, - __c: ::std::os::raw::c_int, + pub fn devname(arg1: dev_t, arg2: mode_t) -> *mut ::std::os::raw::c_char; +} +#[pg_guard] +extern "C" { + pub fn devname_r( + arg1: dev_t, + arg2: mode_t, + buf: *mut ::std::os::raw::c_char, + len: ::std::os::raw::c_int, ) -> *mut ::std::os::raw::c_char; } #[pg_guard] extern "C" { - pub fn rindex( - __s: *const ::std::os::raw::c_char, - __c: ::std::os::raw::c_int, + pub fn getbsize( + arg1: *mut ::std::os::raw::c_int, + arg2: *mut ::std::os::raw::c_long, ) -> *mut ::std::os::raw::c_char; } #[pg_guard] extern "C" { - pub fn ffs(__i: ::std::os::raw::c_int) -> ::std::os::raw::c_int; + pub fn getloadavg(arg1: *mut f64, arg2: ::std::os::raw::c_int) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn ffsl(__l: ::std::os::raw::c_long) -> ::std::os::raw::c_int; + pub fn getprogname() -> *const ::std::os::raw::c_char; } #[pg_guard] extern "C" { - pub fn ffsll(__ll: ::std::os::raw::c_longlong) -> ::std::os::raw::c_int; + pub fn setprogname(arg1: *const ::std::os::raw::c_char); } #[pg_guard] extern "C" { - pub fn strcasecmp( - __s1: *const ::std::os::raw::c_char, - __s2: *const ::std::os::raw::c_char, + pub fn heapsort( + __base: *mut ::std::os::raw::c_void, + __nel: usize, + __width: usize, + __compar: ::std::option::Option< + unsafe extern "C" fn( + arg1: *const ::std::os::raw::c_void, + arg2: *const ::std::os::raw::c_void, + ) -> ::std::os::raw::c_int, + >, ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn strncasecmp( - __s1: *const ::std::os::raw::c_char, - __s2: *const ::std::os::raw::c_char, - __n: ::std::os::raw::c_ulong, + pub fn heapsort_b( + __base: *mut ::std::os::raw::c_void, + __nel: usize, + __width: usize, + __compar: *mut ::std::os::raw::c_void, ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn strcasecmp_l( - __s1: *const ::std::os::raw::c_char, - __s2: *const ::std::os::raw::c_char, - __loc: locale_t, + pub fn mergesort( + __base: *mut ::std::os::raw::c_void, + __nel: usize, + __width: usize, + __compar: ::std::option::Option< + unsafe extern "C" fn( + arg1: *const ::std::os::raw::c_void, + arg2: *const ::std::os::raw::c_void, + ) -> ::std::os::raw::c_int, + >, ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn strncasecmp_l( - __s1: *const ::std::os::raw::c_char, - __s2: *const ::std::os::raw::c_char, - __n: usize, - __loc: locale_t, + pub fn mergesort_b( + __base: *mut ::std::os::raw::c_void, + __nel: usize, + __width: usize, + __compar: *mut ::std::os::raw::c_void, ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn explicit_bzero(__s: *mut ::std::os::raw::c_void, __n: usize); + pub fn psort( + __base: *mut ::std::os::raw::c_void, + __nel: usize, + __width: usize, + __compar: ::std::option::Option< + unsafe extern "C" fn( + arg1: *const ::std::os::raw::c_void, + arg2: *const ::std::os::raw::c_void, + ) -> ::std::os::raw::c_int, + >, + ); } #[pg_guard] extern "C" { - pub fn strsep( - __stringp: *mut *mut ::std::os::raw::c_char, - __delim: *const ::std::os::raw::c_char, - ) -> *mut ::std::os::raw::c_char; + pub fn psort_b( + __base: *mut ::std::os::raw::c_void, + __nel: usize, + __width: usize, + __compar: *mut ::std::os::raw::c_void, + ); } #[pg_guard] extern "C" { - pub fn strsignal(__sig: ::std::os::raw::c_int) -> *mut ::std::os::raw::c_char; + pub fn psort_r( + __base: *mut ::std::os::raw::c_void, + __nel: usize, + __width: usize, + arg1: *mut ::std::os::raw::c_void, + __compar: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut ::std::os::raw::c_void, + arg2: *const ::std::os::raw::c_void, + arg3: *const ::std::os::raw::c_void, + ) -> ::std::os::raw::c_int, + >, + ); } #[pg_guard] extern "C" { - pub fn __stpcpy( - __dest: *mut ::std::os::raw::c_char, - __src: *const ::std::os::raw::c_char, - ) -> *mut ::std::os::raw::c_char; + pub fn qsort_b( + __base: *mut ::std::os::raw::c_void, + __nel: usize, + __width: usize, + __compar: *mut ::std::os::raw::c_void, + ); } #[pg_guard] extern "C" { - pub fn stpcpy( - __dest: *mut ::std::os::raw::c_char, - __src: *const ::std::os::raw::c_char, - ) -> *mut ::std::os::raw::c_char; + pub fn qsort_r( + __base: *mut ::std::os::raw::c_void, + __nel: usize, + __width: usize, + arg1: *mut ::std::os::raw::c_void, + __compar: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut ::std::os::raw::c_void, + arg2: *const ::std::os::raw::c_void, + arg3: *const ::std::os::raw::c_void, + ) -> ::std::os::raw::c_int, + >, + ); } #[pg_guard] extern "C" { - pub fn __stpncpy( - __dest: *mut ::std::os::raw::c_char, - __src: *const ::std::os::raw::c_char, - __n: usize, - ) -> *mut ::std::os::raw::c_char; + pub fn radixsort( + __base: *mut *const ::std::os::raw::c_uchar, + __nel: ::std::os::raw::c_int, + __table: *const ::std::os::raw::c_uchar, + __endbyte: ::std::os::raw::c_uint, + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn stpncpy( - __dest: *mut ::std::os::raw::c_char, - __src: *const ::std::os::raw::c_char, - __n: ::std::os::raw::c_ulong, - ) -> *mut ::std::os::raw::c_char; -} -#[repr(C)] -#[repr(align(16))] -#[derive(Debug, Default, Copy, Clone)] -pub struct max_align_t { - pub __clang_max_align_nonce1: ::std::os::raw::c_longlong, - pub __bindgen_padding_0: u64, - pub __clang_max_align_nonce2: u128, -} -pub type int_least8_t = __int_least8_t; -pub type int_least16_t = __int_least16_t; -pub type int_least32_t = __int_least32_t; -pub type int_least64_t = __int_least64_t; -pub type uint_least8_t = __uint_least8_t; -pub type uint_least16_t = __uint_least16_t; -pub type uint_least32_t = __uint_least32_t; -pub type uint_least64_t = __uint_least64_t; -pub type int_fast8_t = ::std::os::raw::c_schar; -pub type int_fast16_t = ::std::os::raw::c_long; -pub type int_fast32_t = ::std::os::raw::c_long; -pub type int_fast64_t = ::std::os::raw::c_long; -pub type uint_fast8_t = ::std::os::raw::c_uchar; -pub type uint_fast16_t = ::std::os::raw::c_ulong; -pub type uint_fast32_t = ::std::os::raw::c_ulong; -pub type uint_fast64_t = ::std::os::raw::c_ulong; -pub type intmax_t = __intmax_t; -pub type uintmax_t = __uintmax_t; -#[pg_guard] -extern "C" { - pub fn __errno_location() -> *mut ::std::os::raw::c_int; -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct lconv { - pub decimal_point: *mut ::std::os::raw::c_char, - pub thousands_sep: *mut ::std::os::raw::c_char, - pub grouping: *mut ::std::os::raw::c_char, - pub int_curr_symbol: *mut ::std::os::raw::c_char, - pub currency_symbol: *mut ::std::os::raw::c_char, - pub mon_decimal_point: *mut ::std::os::raw::c_char, - pub mon_thousands_sep: *mut ::std::os::raw::c_char, - pub mon_grouping: *mut ::std::os::raw::c_char, - pub positive_sign: *mut ::std::os::raw::c_char, - pub negative_sign: *mut ::std::os::raw::c_char, - pub int_frac_digits: ::std::os::raw::c_char, - pub frac_digits: ::std::os::raw::c_char, - pub p_cs_precedes: ::std::os::raw::c_char, - pub p_sep_by_space: ::std::os::raw::c_char, - pub n_cs_precedes: ::std::os::raw::c_char, - pub n_sep_by_space: ::std::os::raw::c_char, - pub p_sign_posn: ::std::os::raw::c_char, - pub n_sign_posn: ::std::os::raw::c_char, - pub int_p_cs_precedes: ::std::os::raw::c_char, - pub int_p_sep_by_space: ::std::os::raw::c_char, - pub int_n_cs_precedes: ::std::os::raw::c_char, - pub int_n_sep_by_space: ::std::os::raw::c_char, - pub int_p_sign_posn: ::std::os::raw::c_char, - pub int_n_sign_posn: ::std::os::raw::c_char, -} -impl Default for lconv { - fn default() -> Self { - let mut s = ::std::mem::MaybeUninit::::uninit(); - unsafe { - ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); - s.assume_init() - } - } + pub fn rpmatch(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn setlocale( - __category: ::std::os::raw::c_int, - __locale: *const ::std::os::raw::c_char, - ) -> *mut ::std::os::raw::c_char; + pub fn sradixsort( + __base: *mut *const ::std::os::raw::c_uchar, + __nel: ::std::os::raw::c_int, + __table: *const ::std::os::raw::c_uchar, + __endbyte: ::std::os::raw::c_uint, + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn localeconv() -> *mut lconv; + pub fn sranddev(); } #[pg_guard] extern "C" { - pub fn newlocale( - __category_mask: ::std::os::raw::c_int, - __locale: *const ::std::os::raw::c_char, - __base: locale_t, - ) -> locale_t; + pub fn srandomdev(); } #[pg_guard] extern "C" { - pub fn duplocale(__dataset: locale_t) -> locale_t; + pub fn reallocf( + __ptr: *mut ::std::os::raw::c_void, + __size: usize, + ) -> *mut ::std::os::raw::c_void; } #[pg_guard] extern "C" { - pub fn freelocale(__dataset: locale_t); + pub fn strtonum( + __numstr: *const ::std::os::raw::c_char, + __minval: ::std::os::raw::c_longlong, + __maxval: ::std::os::raw::c_longlong, + __errstrp: *mut *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_longlong; } #[pg_guard] extern "C" { - pub fn uselocale(__dataset: locale_t) -> locale_t; + pub fn strtoq( + __str: *const ::std::os::raw::c_char, + __endptr: *mut *mut ::std::os::raw::c_char, + __base: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_longlong; } -pub type Pointer = *mut ::std::os::raw::c_char; -pub type int8 = ::std::os::raw::c_schar; -pub type int16 = ::std::os::raw::c_short; -pub type int32 = ::std::os::raw::c_int; -pub type uint8 = ::std::os::raw::c_uchar; -pub type uint16 = ::std::os::raw::c_ushort; -pub type uint32 = ::std::os::raw::c_uint; -pub type bits8 = uint8; -pub type bits16 = uint16; -pub type bits32 = uint32; -pub type int64 = ::std::os::raw::c_long; -pub type uint64 = ::std::os::raw::c_ulong; -pub type int128 = i128; -pub type uint128 = u128; -pub type Size = usize; -pub type Index = ::std::os::raw::c_uint; -pub type Offset = ::std::os::raw::c_int; -pub type float4 = f32; -pub type float8 = f64; -pub type regproc = Oid; -pub type RegProcedure = regproc; -pub type TransactionId = uint32; -pub type LocalTransactionId = uint32; -pub type SubTransactionId = uint32; -pub type MultiXactId = TransactionId; -pub type MultiXactOffset = uint32; -pub type CommandId = uint32; -#[repr(C)] -#[derive(Debug, Default, Copy, Clone)] -pub struct IntArray { - pub indx: [::std::os::raw::c_int; 6usize], -} -#[repr(C)] -#[derive(Debug, Default)] -pub struct varlena { - pub vl_len_: [::std::os::raw::c_char; 4usize], - pub vl_dat: __IncompleteArrayField<::std::os::raw::c_char>, -} -pub type bytea = varlena; -pub type text = varlena; -pub type BpChar = varlena; -pub type VarChar = varlena; -#[repr(C)] -#[derive(Debug, Default)] -pub struct int2vector { - pub vl_len_: int32, - pub ndim: ::std::os::raw::c_int, - pub dataoffset: int32, - pub elemtype: Oid, - pub dim1: ::std::os::raw::c_int, - pub lbound1: ::std::os::raw::c_int, - pub values: __IncompleteArrayField, -} -#[repr(C)] -#[derive(Debug, Default)] -pub struct oidvector { - pub vl_len_: int32, - pub ndim: ::std::os::raw::c_int, - pub dataoffset: int32, - pub elemtype: Oid, - pub dim1: ::std::os::raw::c_int, - pub lbound1: ::std::os::raw::c_int, - pub values: __IncompleteArrayField, -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct nameData { - pub data: [::std::os::raw::c_char; 64usize], -} -impl Default for nameData { - fn default() -> Self { - let mut s = ::std::mem::MaybeUninit::::uninit(); - unsafe { - ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); - s.assume_init() - } - } -} -pub type NameData = nameData; -pub type Name = *mut NameData; #[pg_guard] extern "C" { - pub fn ExceptionalCondition( - conditionName: *const ::std::os::raw::c_char, - errorType: *const ::std::os::raw::c_char, - fileName: *const ::std::os::raw::c_char, - lineNumber: ::std::os::raw::c_int, - ); -} -#[repr(C)] -#[derive(Copy, Clone)] -pub union PGAlignedBlock { - pub data: [::std::os::raw::c_char; 8192usize], - pub force_align_d: f64, - pub force_align_i64: int64, -} -impl Default for PGAlignedBlock { - fn default() -> Self { - let mut s = ::std::mem::MaybeUninit::::uninit(); - unsafe { - ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); - s.assume_init() - } - } -} -#[repr(C)] -#[derive(Copy, Clone)] -pub union PGAlignedXLogBlock { - pub data: [::std::os::raw::c_char; 8192usize], - pub force_align_d: f64, - pub force_align_i64: int64, -} -impl Default for PGAlignedXLogBlock { - fn default() -> Self { - let mut s = ::std::mem::MaybeUninit::::uninit(); - unsafe { - ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); - s.assume_init() - } - } + pub fn strtouq( + __str: *const ::std::os::raw::c_char, + __endptr: *mut *mut ::std::os::raw::c_char, + __base: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_ulonglong; } -pub const _ISupper: ::std::os::raw::c_uint = 256; -pub const _ISlower: ::std::os::raw::c_uint = 512; -pub const _ISalpha: ::std::os::raw::c_uint = 1024; -pub const _ISdigit: ::std::os::raw::c_uint = 2048; -pub const _ISxdigit: ::std::os::raw::c_uint = 4096; -pub const _ISspace: ::std::os::raw::c_uint = 8192; -pub const _ISprint: ::std::os::raw::c_uint = 16384; -pub const _ISgraph: ::std::os::raw::c_uint = 32768; -pub const _ISblank: ::std::os::raw::c_uint = 1; -pub const _IScntrl: ::std::os::raw::c_uint = 2; -pub const _ISpunct: ::std::os::raw::c_uint = 4; -pub const _ISalnum: ::std::os::raw::c_uint = 8; -pub type _bindgen_ty_1 = ::std::os::raw::c_uint; #[pg_guard] extern "C" { - pub fn __ctype_b_loc() -> *mut *const ::std::os::raw::c_ushort; + pub static mut suboptarg: *mut ::std::os::raw::c_char; } #[pg_guard] extern "C" { - pub fn __ctype_tolower_loc() -> *mut *const __int32_t; + pub fn memchr( + __s: *const ::std::os::raw::c_void, + __c: ::std::os::raw::c_int, + __n: ::std::os::raw::c_ulong, + ) -> *mut ::std::os::raw::c_void; } #[pg_guard] extern "C" { - pub fn __ctype_toupper_loc() -> *mut *const __int32_t; + pub fn memcmp( + __s1: *const ::std::os::raw::c_void, + __s2: *const ::std::os::raw::c_void, + __n: ::std::os::raw::c_ulong, + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn isalnum(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; + pub fn memcpy( + __dst: *mut ::std::os::raw::c_void, + __src: *const ::std::os::raw::c_void, + __n: ::std::os::raw::c_ulong, + ) -> *mut ::std::os::raw::c_void; } #[pg_guard] extern "C" { - pub fn isalpha(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; + pub fn memmove( + __dst: *mut ::std::os::raw::c_void, + __src: *const ::std::os::raw::c_void, + __len: ::std::os::raw::c_ulong, + ) -> *mut ::std::os::raw::c_void; } #[pg_guard] extern "C" { - pub fn iscntrl(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; + pub fn memset( + __b: *mut ::std::os::raw::c_void, + __c: ::std::os::raw::c_int, + __len: ::std::os::raw::c_ulong, + ) -> *mut ::std::os::raw::c_void; } #[pg_guard] extern "C" { - pub fn isdigit(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; + pub fn strcat( + __s1: *mut ::std::os::raw::c_char, + __s2: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; } #[pg_guard] extern "C" { - pub fn islower(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; + pub fn strchr( + __s: *const ::std::os::raw::c_char, + __c: ::std::os::raw::c_int, + ) -> *mut ::std::os::raw::c_char; } #[pg_guard] extern "C" { - pub fn isgraph(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; + pub fn strcmp( + __s1: *const ::std::os::raw::c_char, + __s2: *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn isprint(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; + pub fn strcoll( + __s1: *const ::std::os::raw::c_char, + __s2: *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn ispunct(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; + pub fn strcpy( + __dst: *mut ::std::os::raw::c_char, + __src: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; } #[pg_guard] extern "C" { - pub fn isspace(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; + pub fn strcspn( + __s: *const ::std::os::raw::c_char, + __charset: *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_ulong; } #[pg_guard] extern "C" { - pub fn isupper(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; + pub fn strerror(__errnum: ::std::os::raw::c_int) -> *mut ::std::os::raw::c_char; } #[pg_guard] extern "C" { - pub fn isxdigit(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; + pub fn strlen(__s: *const ::std::os::raw::c_char) -> ::std::os::raw::c_ulong; } #[pg_guard] extern "C" { - pub fn tolower(__c: ::std::os::raw::c_int) -> ::std::os::raw::c_int; + pub fn strncat( + __s1: *mut ::std::os::raw::c_char, + __s2: *const ::std::os::raw::c_char, + __n: ::std::os::raw::c_ulong, + ) -> *mut ::std::os::raw::c_char; } #[pg_guard] extern "C" { - pub fn toupper(__c: ::std::os::raw::c_int) -> ::std::os::raw::c_int; + pub fn strncmp( + __s1: *const ::std::os::raw::c_char, + __s2: *const ::std::os::raw::c_char, + __n: ::std::os::raw::c_ulong, + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn isblank(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; + pub fn strncpy( + __dst: *mut ::std::os::raw::c_char, + __src: *const ::std::os::raw::c_char, + __n: ::std::os::raw::c_ulong, + ) -> *mut ::std::os::raw::c_char; } #[pg_guard] extern "C" { - pub fn isascii(__c: ::std::os::raw::c_int) -> ::std::os::raw::c_int; + pub fn strpbrk( + __s: *const ::std::os::raw::c_char, + __charset: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; } #[pg_guard] extern "C" { - pub fn toascii(__c: ::std::os::raw::c_int) -> ::std::os::raw::c_int; + pub fn strrchr( + __s: *const ::std::os::raw::c_char, + __c: ::std::os::raw::c_int, + ) -> *mut ::std::os::raw::c_char; } #[pg_guard] extern "C" { - pub fn _toupper(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; + pub fn strspn( + __s: *const ::std::os::raw::c_char, + __charset: *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_ulong; } #[pg_guard] extern "C" { - pub fn _tolower(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; + pub fn strstr( + __big: *const ::std::os::raw::c_char, + __little: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; } #[pg_guard] extern "C" { - pub fn isalnum_l(arg1: ::std::os::raw::c_int, arg2: locale_t) -> ::std::os::raw::c_int; + pub fn strtok( + __str: *mut ::std::os::raw::c_char, + __sep: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; } #[pg_guard] extern "C" { - pub fn isalpha_l(arg1: ::std::os::raw::c_int, arg2: locale_t) -> ::std::os::raw::c_int; + pub fn strxfrm( + __s1: *mut ::std::os::raw::c_char, + __s2: *const ::std::os::raw::c_char, + __n: ::std::os::raw::c_ulong, + ) -> ::std::os::raw::c_ulong; } #[pg_guard] extern "C" { - pub fn iscntrl_l(arg1: ::std::os::raw::c_int, arg2: locale_t) -> ::std::os::raw::c_int; + pub fn strtok_r( + __str: *mut ::std::os::raw::c_char, + __sep: *const ::std::os::raw::c_char, + __lasts: *mut *mut ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; } #[pg_guard] extern "C" { - pub fn isdigit_l(arg1: ::std::os::raw::c_int, arg2: locale_t) -> ::std::os::raw::c_int; + pub fn strerror_r( + __errnum: ::std::os::raw::c_int, + __strerrbuf: *mut ::std::os::raw::c_char, + __buflen: usize, + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn islower_l(arg1: ::std::os::raw::c_int, arg2: locale_t) -> ::std::os::raw::c_int; + pub fn strdup(__s1: *const ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; } #[pg_guard] extern "C" { - pub fn isgraph_l(arg1: ::std::os::raw::c_int, arg2: locale_t) -> ::std::os::raw::c_int; + pub fn memccpy( + __dst: *mut ::std::os::raw::c_void, + __src: *const ::std::os::raw::c_void, + __c: ::std::os::raw::c_int, + __n: ::std::os::raw::c_ulong, + ) -> *mut ::std::os::raw::c_void; } #[pg_guard] extern "C" { - pub fn isprint_l(arg1: ::std::os::raw::c_int, arg2: locale_t) -> ::std::os::raw::c_int; + pub fn stpcpy( + __dst: *mut ::std::os::raw::c_char, + __src: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; } #[pg_guard] extern "C" { - pub fn ispunct_l(arg1: ::std::os::raw::c_int, arg2: locale_t) -> ::std::os::raw::c_int; + pub fn stpncpy( + __dst: *mut ::std::os::raw::c_char, + __src: *const ::std::os::raw::c_char, + __n: ::std::os::raw::c_ulong, + ) -> *mut ::std::os::raw::c_char; } #[pg_guard] extern "C" { - pub fn isspace_l(arg1: ::std::os::raw::c_int, arg2: locale_t) -> ::std::os::raw::c_int; + pub fn strndup( + __s1: *const ::std::os::raw::c_char, + __n: ::std::os::raw::c_ulong, + ) -> *mut ::std::os::raw::c_char; } #[pg_guard] extern "C" { - pub fn isupper_l(arg1: ::std::os::raw::c_int, arg2: locale_t) -> ::std::os::raw::c_int; + pub fn strnlen(__s1: *const ::std::os::raw::c_char, __n: usize) -> usize; } #[pg_guard] extern "C" { - pub fn isxdigit_l(arg1: ::std::os::raw::c_int, arg2: locale_t) -> ::std::os::raw::c_int; + pub fn strsignal(__sig: ::std::os::raw::c_int) -> *mut ::std::os::raw::c_char; } +pub type rsize_t = __darwin_size_t; +pub type errno_t = ::std::os::raw::c_int; #[pg_guard] extern "C" { - pub fn isblank_l(arg1: ::std::os::raw::c_int, arg2: locale_t) -> ::std::os::raw::c_int; + pub fn memset_s( + __s: *mut ::std::os::raw::c_void, + __smax: rsize_t, + __c: ::std::os::raw::c_int, + __n: rsize_t, + ) -> errno_t; } #[pg_guard] extern "C" { - pub fn __tolower_l(__c: ::std::os::raw::c_int, __l: locale_t) -> ::std::os::raw::c_int; + pub fn memmem( + __big: *const ::std::os::raw::c_void, + __big_len: usize, + __little: *const ::std::os::raw::c_void, + __little_len: usize, + ) -> *mut ::std::os::raw::c_void; } #[pg_guard] extern "C" { - pub fn tolower_l(__c: ::std::os::raw::c_int, __l: locale_t) -> ::std::os::raw::c_int; + pub fn memset_pattern4( + __b: *mut ::std::os::raw::c_void, + __pattern4: *const ::std::os::raw::c_void, + __len: usize, + ); } #[pg_guard] extern "C" { - pub fn __toupper_l(__c: ::std::os::raw::c_int, __l: locale_t) -> ::std::os::raw::c_int; + pub fn memset_pattern8( + __b: *mut ::std::os::raw::c_void, + __pattern8: *const ::std::os::raw::c_void, + __len: usize, + ); } #[pg_guard] extern "C" { - pub fn toupper_l(__c: ::std::os::raw::c_int, __l: locale_t) -> ::std::os::raw::c_int; -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct iovec { - pub iov_base: *mut ::std::os::raw::c_void, - pub iov_len: usize, -} -impl Default for iovec { - fn default() -> Self { - let mut s = ::std::mem::MaybeUninit::::uninit(); - unsafe { - ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); - s.assume_init() - } - } -} -pub type socklen_t = __socklen_t; -pub const __socket_type_SOCK_STREAM: __socket_type = 1; -pub const __socket_type_SOCK_DGRAM: __socket_type = 2; -pub const __socket_type_SOCK_RAW: __socket_type = 3; -pub const __socket_type_SOCK_RDM: __socket_type = 4; -pub const __socket_type_SOCK_SEQPACKET: __socket_type = 5; -pub const __socket_type_SOCK_DCCP: __socket_type = 6; -pub const __socket_type_SOCK_PACKET: __socket_type = 10; -pub const __socket_type_SOCK_CLOEXEC: __socket_type = 524288; -pub const __socket_type_SOCK_NONBLOCK: __socket_type = 2048; -pub type __socket_type = ::std::os::raw::c_uint; -pub type sa_family_t = ::std::os::raw::c_ushort; -#[repr(C)] -#[derive(Debug, Default, Copy, Clone)] -pub struct sockaddr { - pub sa_family: sa_family_t, - pub sa_data: [::std::os::raw::c_char; 14usize], -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct sockaddr_storage { - pub ss_family: sa_family_t, - pub __ss_padding: [::std::os::raw::c_char; 118usize], - pub __ss_align: ::std::os::raw::c_ulong, -} -impl Default for sockaddr_storage { - fn default() -> Self { - let mut s = ::std::mem::MaybeUninit::::uninit(); - unsafe { - ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); - s.assume_init() - } - } -} -pub const MSG_OOB: ::std::os::raw::c_uint = 1; -pub const MSG_PEEK: ::std::os::raw::c_uint = 2; -pub const MSG_DONTROUTE: ::std::os::raw::c_uint = 4; -pub const MSG_CTRUNC: ::std::os::raw::c_uint = 8; -pub const MSG_PROXY: ::std::os::raw::c_uint = 16; -pub const MSG_TRUNC: ::std::os::raw::c_uint = 32; -pub const MSG_DONTWAIT: ::std::os::raw::c_uint = 64; -pub const MSG_EOR: ::std::os::raw::c_uint = 128; -pub const MSG_WAITALL: ::std::os::raw::c_uint = 256; -pub const MSG_FIN: ::std::os::raw::c_uint = 512; -pub const MSG_SYN: ::std::os::raw::c_uint = 1024; -pub const MSG_CONFIRM: ::std::os::raw::c_uint = 2048; -pub const MSG_RST: ::std::os::raw::c_uint = 4096; -pub const MSG_ERRQUEUE: ::std::os::raw::c_uint = 8192; -pub const MSG_NOSIGNAL: ::std::os::raw::c_uint = 16384; -pub const MSG_MORE: ::std::os::raw::c_uint = 32768; -pub const MSG_WAITFORONE: ::std::os::raw::c_uint = 65536; -pub const MSG_BATCH: ::std::os::raw::c_uint = 262144; -pub const MSG_ZEROCOPY: ::std::os::raw::c_uint = 67108864; -pub const MSG_FASTOPEN: ::std::os::raw::c_uint = 536870912; -pub const MSG_CMSG_CLOEXEC: ::std::os::raw::c_uint = 1073741824; -pub type _bindgen_ty_2 = ::std::os::raw::c_uint; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct msghdr { - pub msg_name: *mut ::std::os::raw::c_void, - pub msg_namelen: socklen_t, - pub msg_iov: *mut iovec, - pub msg_iovlen: usize, - pub msg_control: *mut ::std::os::raw::c_void, - pub msg_controllen: usize, - pub msg_flags: ::std::os::raw::c_int, -} -impl Default for msghdr { - fn default() -> Self { - let mut s = ::std::mem::MaybeUninit::::uninit(); - unsafe { - ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); - s.assume_init() - } - } -} -#[repr(C)] -#[derive(Debug, Default)] -pub struct cmsghdr { - pub cmsg_len: usize, - pub cmsg_level: ::std::os::raw::c_int, - pub cmsg_type: ::std::os::raw::c_int, - pub __cmsg_data: __IncompleteArrayField<::std::os::raw::c_uchar>, + pub fn memset_pattern16( + __b: *mut ::std::os::raw::c_void, + __pattern16: *const ::std::os::raw::c_void, + __len: usize, + ); } #[pg_guard] extern "C" { - pub fn __cmsg_nxthdr(__mhdr: *mut msghdr, __cmsg: *mut cmsghdr) -> *mut cmsghdr; + pub fn strcasestr( + __big: *const ::std::os::raw::c_char, + __little: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; } -pub const SCM_RIGHTS: ::std::os::raw::c_uint = 1; -pub type _bindgen_ty_3 = ::std::os::raw::c_uint; -#[repr(C)] -#[derive(Debug, Default, Copy, Clone)] -pub struct __kernel_fd_set { - pub fds_bits: [::std::os::raw::c_ulong; 16usize], -} -pub type __kernel_sighandler_t = - ::std::option::Option; -pub type __kernel_key_t = ::std::os::raw::c_int; -pub type __kernel_mqd_t = ::std::os::raw::c_int; -pub type __kernel_old_uid_t = ::std::os::raw::c_ushort; -pub type __kernel_old_gid_t = ::std::os::raw::c_ushort; -pub type __kernel_old_dev_t = ::std::os::raw::c_ulong; -pub type __kernel_long_t = ::std::os::raw::c_long; -pub type __kernel_ulong_t = ::std::os::raw::c_ulong; -pub type __kernel_ino_t = __kernel_ulong_t; -pub type __kernel_mode_t = ::std::os::raw::c_uint; -pub type __kernel_pid_t = ::std::os::raw::c_int; -pub type __kernel_ipc_pid_t = ::std::os::raw::c_int; -pub type __kernel_uid_t = ::std::os::raw::c_uint; -pub type __kernel_gid_t = ::std::os::raw::c_uint; -pub type __kernel_suseconds_t = __kernel_long_t; -pub type __kernel_daddr_t = ::std::os::raw::c_int; -pub type __kernel_uid32_t = ::std::os::raw::c_uint; -pub type __kernel_gid32_t = ::std::os::raw::c_uint; -pub type __kernel_size_t = __kernel_ulong_t; -pub type __kernel_ssize_t = __kernel_long_t; -pub type __kernel_ptrdiff_t = __kernel_long_t; -#[repr(C)] -#[derive(Debug, Default, Copy, Clone)] -pub struct __kernel_fsid_t { - pub val: [::std::os::raw::c_int; 2usize], -} -pub type __kernel_off_t = __kernel_long_t; -pub type __kernel_loff_t = ::std::os::raw::c_longlong; -pub type __kernel_old_time_t = __kernel_long_t; -pub type __kernel_time_t = __kernel_long_t; -pub type __kernel_time64_t = ::std::os::raw::c_longlong; -pub type __kernel_clock_t = __kernel_long_t; -pub type __kernel_timer_t = ::std::os::raw::c_int; -pub type __kernel_clockid_t = ::std::os::raw::c_int; -pub type __kernel_caddr_t = *mut ::std::os::raw::c_char; -pub type __kernel_uid16_t = ::std::os::raw::c_ushort; -pub type __kernel_gid16_t = ::std::os::raw::c_ushort; -#[repr(C)] -#[derive(Debug, Default, Copy, Clone)] -pub struct linger { - pub l_onoff: ::std::os::raw::c_int, - pub l_linger: ::std::os::raw::c_int, +#[pg_guard] +extern "C" { + pub fn strnstr( + __big: *const ::std::os::raw::c_char, + __little: *const ::std::os::raw::c_char, + __len: usize, + ) -> *mut ::std::os::raw::c_char; } -#[repr(C)] -#[derive(Debug, Default, Copy, Clone)] -pub struct osockaddr { - pub sa_family: ::std::os::raw::c_ushort, - pub sa_data: [::std::os::raw::c_uchar; 14usize], +#[pg_guard] +extern "C" { + pub fn strlcat( + __dst: *mut ::std::os::raw::c_char, + __source: *const ::std::os::raw::c_char, + __size: ::std::os::raw::c_ulong, + ) -> ::std::os::raw::c_ulong; } -pub const SHUT_RD: ::std::os::raw::c_uint = 0; -pub const SHUT_WR: ::std::os::raw::c_uint = 1; -pub const SHUT_RDWR: ::std::os::raw::c_uint = 2; -pub type _bindgen_ty_4 = ::std::os::raw::c_uint; #[pg_guard] extern "C" { - pub fn socket( - __domain: ::std::os::raw::c_int, - __type: ::std::os::raw::c_int, - __protocol: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; + pub fn strlcpy( + __dst: *mut ::std::os::raw::c_char, + __source: *const ::std::os::raw::c_char, + __size: ::std::os::raw::c_ulong, + ) -> ::std::os::raw::c_ulong; } #[pg_guard] extern "C" { - pub fn socketpair( - __domain: ::std::os::raw::c_int, - __type: ::std::os::raw::c_int, - __protocol: ::std::os::raw::c_int, - __fds: *mut ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; + pub fn strmode(__mode: ::std::os::raw::c_int, __bp: *mut ::std::os::raw::c_char); } #[pg_guard] extern "C" { - pub fn bind( - __fd: ::std::os::raw::c_int, - __addr: *const sockaddr, - __len: socklen_t, - ) -> ::std::os::raw::c_int; + pub fn strsep( + __stringp: *mut *mut ::std::os::raw::c_char, + __delim: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; } #[pg_guard] extern "C" { - pub fn getsockname( - __fd: ::std::os::raw::c_int, - __addr: *mut sockaddr, - __len: *mut socklen_t, - ) -> ::std::os::raw::c_int; + pub fn swab( + arg1: *const ::std::os::raw::c_void, + arg2: *mut ::std::os::raw::c_void, + arg3: isize, + ); } #[pg_guard] extern "C" { - pub fn connect( - __fd: ::std::os::raw::c_int, - __addr: *const sockaddr, - __len: socklen_t, + pub fn timingsafe_bcmp( + __b1: *const ::std::os::raw::c_void, + __b2: *const ::std::os::raw::c_void, + __len: usize, ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn getpeername( - __fd: ::std::os::raw::c_int, - __addr: *mut sockaddr, - __len: *mut socklen_t, + pub fn strsignal_r( + __sig: ::std::os::raw::c_int, + __strsignalbuf: *mut ::std::os::raw::c_char, + __buflen: usize, ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn send( - __fd: ::std::os::raw::c_int, - __buf: *const ::std::os::raw::c_void, - __n: usize, - __flags: ::std::os::raw::c_int, - ) -> isize; + pub fn bcmp( + arg1: *const ::std::os::raw::c_void, + arg2: *const ::std::os::raw::c_void, + arg3: ::std::os::raw::c_ulong, + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn recv( - __fd: ::std::os::raw::c_int, - __buf: *mut ::std::os::raw::c_void, - __n: usize, - __flags: ::std::os::raw::c_int, - ) -> isize; + pub fn bcopy( + arg1: *const ::std::os::raw::c_void, + arg2: *mut ::std::os::raw::c_void, + arg3: usize, + ); } #[pg_guard] extern "C" { - pub fn sendto( - __fd: ::std::os::raw::c_int, - __buf: *const ::std::os::raw::c_void, - __n: usize, - __flags: ::std::os::raw::c_int, - __addr: *const sockaddr, - __addr_len: socklen_t, - ) -> isize; + pub fn bzero(arg1: *mut ::std::os::raw::c_void, arg2: ::std::os::raw::c_ulong); } #[pg_guard] extern "C" { - pub fn recvfrom( - __fd: ::std::os::raw::c_int, - __buf: *mut ::std::os::raw::c_void, - __n: usize, - __flags: ::std::os::raw::c_int, - __addr: *mut sockaddr, - __addr_len: *mut socklen_t, - ) -> isize; + pub fn index( + arg1: *const ::std::os::raw::c_char, + arg2: ::std::os::raw::c_int, + ) -> *mut ::std::os::raw::c_char; } #[pg_guard] extern "C" { - pub fn sendmsg( - __fd: ::std::os::raw::c_int, - __message: *const msghdr, - __flags: ::std::os::raw::c_int, - ) -> isize; + pub fn rindex( + arg1: *const ::std::os::raw::c_char, + arg2: ::std::os::raw::c_int, + ) -> *mut ::std::os::raw::c_char; } #[pg_guard] extern "C" { - pub fn recvmsg( - __fd: ::std::os::raw::c_int, - __message: *mut msghdr, - __flags: ::std::os::raw::c_int, - ) -> isize; + pub fn ffs(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn getsockopt( - __fd: ::std::os::raw::c_int, - __level: ::std::os::raw::c_int, - __optname: ::std::os::raw::c_int, - __optval: *mut ::std::os::raw::c_void, - __optlen: *mut socklen_t, + pub fn strcasecmp( + arg1: *const ::std::os::raw::c_char, + arg2: *const ::std::os::raw::c_char, ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn setsockopt( - __fd: ::std::os::raw::c_int, - __level: ::std::os::raw::c_int, - __optname: ::std::os::raw::c_int, - __optval: *const ::std::os::raw::c_void, - __optlen: socklen_t, + pub fn strncasecmp( + arg1: *const ::std::os::raw::c_char, + arg2: *const ::std::os::raw::c_char, + arg3: ::std::os::raw::c_ulong, ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn listen(__fd: ::std::os::raw::c_int, __n: ::std::os::raw::c_int) - -> ::std::os::raw::c_int; + pub fn ffsl(arg1: ::std::os::raw::c_long) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn accept( - __fd: ::std::os::raw::c_int, - __addr: *mut sockaddr, - __addr_len: *mut socklen_t, - ) -> ::std::os::raw::c_int; + pub fn ffsll(arg1: ::std::os::raw::c_longlong) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn shutdown( - __fd: ::std::os::raw::c_int, - __how: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; + pub fn fls(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn sockatmark(__fd: ::std::os::raw::c_int) -> ::std::os::raw::c_int; + pub fn flsl(arg1: ::std::os::raw::c_long) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn isfdtype( - __fd: ::std::os::raw::c_int, - __fdtype: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; + pub fn flsll(arg1: ::std::os::raw::c_longlong) -> ::std::os::raw::c_int; } -pub type in_addr_t = u32; +pub type max_align_t = f64; +pub type __gnuc_va_list = __builtin_va_list; +pub type u_char = ::std::os::raw::c_uchar; +pub type u_short = ::std::os::raw::c_ushort; +pub type u_int = ::std::os::raw::c_uint; +pub type u_long = ::std::os::raw::c_ulong; +pub type ushort = ::std::os::raw::c_ushort; +pub type uint = ::std::os::raw::c_uint; +pub type u_quad_t = u_int64_t; +pub type quad_t = i64; +pub type qaddr_t = *mut quad_t; +pub type caddr_t = *mut ::std::os::raw::c_char; +pub type daddr_t = i32; +pub type fixpt_t = u_int32_t; +pub type blkcnt_t = __darwin_blkcnt_t; +pub type blksize_t = __darwin_blksize_t; +pub type gid_t = __darwin_gid_t; +pub type in_addr_t = __uint32_t; +pub type in_port_t = __uint16_t; +pub type ino_t = __darwin_ino_t; +pub type ino64_t = __darwin_ino64_t; +pub type key_t = __int32_t; +pub type nlink_t = __uint16_t; +pub type segsz_t = i32; +pub type swblk_t = i32; +pub type clock_t = __darwin_clock_t; +pub type time_t = __darwin_time_t; +pub type useconds_t = __darwin_useconds_t; +pub type suseconds_t = __darwin_suseconds_t; #[repr(C)] #[derive(Debug, Default, Copy, Clone)] -pub struct in_addr { - pub s_addr: in_addr_t, +pub struct fd_set { + pub fds_bits: [__int32_t; 32usize], +} +#[pg_guard] +extern "C" { + pub fn __darwin_check_fd_set_overflow( + arg1: ::std::os::raw::c_int, + arg2: *const ::std::os::raw::c_void, + arg3: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; +} +pub type fd_mask = __int32_t; +pub type pthread_cond_t = __darwin_pthread_cond_t; +pub type pthread_condattr_t = __darwin_pthread_condattr_t; +pub type pthread_mutex_t = __darwin_pthread_mutex_t; +pub type pthread_mutexattr_t = __darwin_pthread_mutexattr_t; +pub type pthread_once_t = __darwin_pthread_once_t; +pub type pthread_rwlock_t = __darwin_pthread_rwlock_t; +pub type pthread_rwlockattr_t = __darwin_pthread_rwlockattr_t; +pub type pthread_t = __darwin_pthread_t; +pub type pthread_key_t = __darwin_pthread_key_t; +pub type fsblkcnt_t = __darwin_fsblkcnt_t; +pub type fsfilcnt_t = __darwin_fsfilcnt_t; +#[pg_guard] +extern "C" { + pub fn __error() -> *mut ::std::os::raw::c_int; } #[repr(C)] #[derive(Debug, Copy, Clone)] -pub struct ip_opts { - pub ip_dst: in_addr, - pub ip_opts: [::std::os::raw::c_char; 40usize], +pub struct lconv { + pub decimal_point: *mut ::std::os::raw::c_char, + pub thousands_sep: *mut ::std::os::raw::c_char, + pub grouping: *mut ::std::os::raw::c_char, + pub int_curr_symbol: *mut ::std::os::raw::c_char, + pub currency_symbol: *mut ::std::os::raw::c_char, + pub mon_decimal_point: *mut ::std::os::raw::c_char, + pub mon_thousands_sep: *mut ::std::os::raw::c_char, + pub mon_grouping: *mut ::std::os::raw::c_char, + pub positive_sign: *mut ::std::os::raw::c_char, + pub negative_sign: *mut ::std::os::raw::c_char, + pub int_frac_digits: ::std::os::raw::c_char, + pub frac_digits: ::std::os::raw::c_char, + pub p_cs_precedes: ::std::os::raw::c_char, + pub p_sep_by_space: ::std::os::raw::c_char, + pub n_cs_precedes: ::std::os::raw::c_char, + pub n_sep_by_space: ::std::os::raw::c_char, + pub p_sign_posn: ::std::os::raw::c_char, + pub n_sign_posn: ::std::os::raw::c_char, + pub int_p_cs_precedes: ::std::os::raw::c_char, + pub int_n_cs_precedes: ::std::os::raw::c_char, + pub int_p_sep_by_space: ::std::os::raw::c_char, + pub int_n_sep_by_space: ::std::os::raw::c_char, + pub int_p_sign_posn: ::std::os::raw::c_char, + pub int_n_sign_posn: ::std::os::raw::c_char, } -impl Default for ip_opts { +impl Default for lconv { fn default() -> Self { let mut s = ::std::mem::MaybeUninit::::uninit(); unsafe { @@ -5835,98 +6477,87 @@ impl Default for ip_opts { } } } +#[pg_guard] +extern "C" { + pub fn localeconv() -> *mut lconv; +} +#[pg_guard] +extern "C" { + pub fn setlocale( + arg1: ::std::os::raw::c_int, + arg2: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; +} +pub type Pointer = *mut ::std::os::raw::c_char; +pub type int8 = ::std::os::raw::c_schar; +pub type int16 = ::std::os::raw::c_short; +pub type int32 = ::std::os::raw::c_int; +pub type uint8 = ::std::os::raw::c_uchar; +pub type uint16 = ::std::os::raw::c_ushort; +pub type uint32 = ::std::os::raw::c_uint; +pub type bits8 = uint8; +pub type bits16 = uint16; +pub type bits32 = uint32; +pub type int64 = ::std::os::raw::c_long; +pub type uint64 = ::std::os::raw::c_ulong; +pub type int128 = i128; +pub type uint128 = u128; +pub type Size = usize; +pub type Index = ::std::os::raw::c_uint; +pub type Offset = ::std::os::raw::c_int; +pub type float4 = f32; +pub type float8 = f64; +pub type regproc = Oid; +pub type RegProcedure = regproc; +pub type TransactionId = uint32; +pub type LocalTransactionId = uint32; +pub type SubTransactionId = uint32; +pub type MultiXactId = TransactionId; +pub type MultiXactOffset = uint32; +pub type CommandId = uint32; #[repr(C)] #[derive(Debug, Default, Copy, Clone)] -pub struct ip_mreqn { - pub imr_multiaddr: in_addr, - pub imr_address: in_addr, - pub imr_ifindex: ::std::os::raw::c_int, +pub struct IntArray { + pub indx: [::std::os::raw::c_int; 6usize], } #[repr(C)] -#[derive(Debug, Default, Copy, Clone)] -pub struct in_pktinfo { - pub ipi_ifindex: ::std::os::raw::c_int, - pub ipi_spec_dst: in_addr, - pub ipi_addr: in_addr, +#[derive(Debug, Default)] +pub struct varlena { + pub vl_len_: [::std::os::raw::c_char; 4usize], + pub vl_dat: __IncompleteArrayField<::std::os::raw::c_char>, } -pub const IPPROTO_IP: ::std::os::raw::c_uint = 0; -pub const IPPROTO_ICMP: ::std::os::raw::c_uint = 1; -pub const IPPROTO_IGMP: ::std::os::raw::c_uint = 2; -pub const IPPROTO_IPIP: ::std::os::raw::c_uint = 4; -pub const IPPROTO_TCP: ::std::os::raw::c_uint = 6; -pub const IPPROTO_EGP: ::std::os::raw::c_uint = 8; -pub const IPPROTO_PUP: ::std::os::raw::c_uint = 12; -pub const IPPROTO_UDP: ::std::os::raw::c_uint = 17; -pub const IPPROTO_IDP: ::std::os::raw::c_uint = 22; -pub const IPPROTO_TP: ::std::os::raw::c_uint = 29; -pub const IPPROTO_DCCP: ::std::os::raw::c_uint = 33; -pub const IPPROTO_IPV6: ::std::os::raw::c_uint = 41; -pub const IPPROTO_RSVP: ::std::os::raw::c_uint = 46; -pub const IPPROTO_GRE: ::std::os::raw::c_uint = 47; -pub const IPPROTO_ESP: ::std::os::raw::c_uint = 50; -pub const IPPROTO_AH: ::std::os::raw::c_uint = 51; -pub const IPPROTO_MTP: ::std::os::raw::c_uint = 92; -pub const IPPROTO_BEETPH: ::std::os::raw::c_uint = 94; -pub const IPPROTO_ENCAP: ::std::os::raw::c_uint = 98; -pub const IPPROTO_PIM: ::std::os::raw::c_uint = 103; -pub const IPPROTO_COMP: ::std::os::raw::c_uint = 108; -pub const IPPROTO_SCTP: ::std::os::raw::c_uint = 132; -pub const IPPROTO_UDPLITE: ::std::os::raw::c_uint = 136; -pub const IPPROTO_MPLS: ::std::os::raw::c_uint = 137; -pub const IPPROTO_ETHERNET: ::std::os::raw::c_uint = 143; -pub const IPPROTO_RAW: ::std::os::raw::c_uint = 255; -pub const IPPROTO_MPTCP: ::std::os::raw::c_uint = 262; -pub const IPPROTO_MAX: ::std::os::raw::c_uint = 263; -pub type _bindgen_ty_5 = ::std::os::raw::c_uint; -pub const IPPROTO_HOPOPTS: ::std::os::raw::c_uint = 0; -pub const IPPROTO_ROUTING: ::std::os::raw::c_uint = 43; -pub const IPPROTO_FRAGMENT: ::std::os::raw::c_uint = 44; -pub const IPPROTO_ICMPV6: ::std::os::raw::c_uint = 58; -pub const IPPROTO_NONE: ::std::os::raw::c_uint = 59; -pub const IPPROTO_DSTOPTS: ::std::os::raw::c_uint = 60; -pub const IPPROTO_MH: ::std::os::raw::c_uint = 135; -pub type _bindgen_ty_6 = ::std::os::raw::c_uint; -pub type in_port_t = u16; -pub const IPPORT_ECHO: ::std::os::raw::c_uint = 7; -pub const IPPORT_DISCARD: ::std::os::raw::c_uint = 9; -pub const IPPORT_SYSTAT: ::std::os::raw::c_uint = 11; -pub const IPPORT_DAYTIME: ::std::os::raw::c_uint = 13; -pub const IPPORT_NETSTAT: ::std::os::raw::c_uint = 15; -pub const IPPORT_FTP: ::std::os::raw::c_uint = 21; -pub const IPPORT_TELNET: ::std::os::raw::c_uint = 23; -pub const IPPORT_SMTP: ::std::os::raw::c_uint = 25; -pub const IPPORT_TIMESERVER: ::std::os::raw::c_uint = 37; -pub const IPPORT_NAMESERVER: ::std::os::raw::c_uint = 42; -pub const IPPORT_WHOIS: ::std::os::raw::c_uint = 43; -pub const IPPORT_MTP: ::std::os::raw::c_uint = 57; -pub const IPPORT_TFTP: ::std::os::raw::c_uint = 69; -pub const IPPORT_RJE: ::std::os::raw::c_uint = 77; -pub const IPPORT_FINGER: ::std::os::raw::c_uint = 79; -pub const IPPORT_TTYLINK: ::std::os::raw::c_uint = 87; -pub const IPPORT_SUPDUP: ::std::os::raw::c_uint = 95; -pub const IPPORT_EXECSERVER: ::std::os::raw::c_uint = 512; -pub const IPPORT_LOGINSERVER: ::std::os::raw::c_uint = 513; -pub const IPPORT_CMDSERVER: ::std::os::raw::c_uint = 514; -pub const IPPORT_EFSSERVER: ::std::os::raw::c_uint = 520; -pub const IPPORT_BIFFUDP: ::std::os::raw::c_uint = 512; -pub const IPPORT_WHOSERVER: ::std::os::raw::c_uint = 513; -pub const IPPORT_ROUTESERVER: ::std::os::raw::c_uint = 520; -pub const IPPORT_RESERVED: ::std::os::raw::c_uint = 1024; -pub const IPPORT_USERRESERVED: ::std::os::raw::c_uint = 5000; -pub type _bindgen_ty_7 = ::std::os::raw::c_uint; +pub type bytea = varlena; +pub type text = varlena; +pub type BpChar = varlena; +pub type VarChar = varlena; #[repr(C)] -#[derive(Copy, Clone)] -pub struct in6_addr { - pub __in6_u: in6_addr__bindgen_ty_1, +#[derive(Debug, Default)] +pub struct int2vector { + pub vl_len_: int32, + pub ndim: ::std::os::raw::c_int, + pub dataoffset: int32, + pub elemtype: Oid, + pub dim1: ::std::os::raw::c_int, + pub lbound1: ::std::os::raw::c_int, + pub values: __IncompleteArrayField, } #[repr(C)] -#[derive(Copy, Clone)] -pub union in6_addr__bindgen_ty_1 { - pub __u6_addr8: [u8; 16usize], - pub __u6_addr16: [u16; 8usize], - pub __u6_addr32: [u32; 4usize], +#[derive(Debug, Default)] +pub struct oidvector { + pub vl_len_: int32, + pub ndim: ::std::os::raw::c_int, + pub dataoffset: int32, + pub elemtype: Oid, + pub dim1: ::std::os::raw::c_int, + pub lbound1: ::std::os::raw::c_int, + pub values: __IncompleteArrayField, } -impl Default for in6_addr__bindgen_ty_1 { +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct nameData { + pub data: [::std::os::raw::c_char; 64usize], +} +impl Default for nameData { fn default() -> Self { let mut s = ::std::mem::MaybeUninit::::uninit(); unsafe { @@ -5935,7 +6566,25 @@ impl Default for in6_addr__bindgen_ty_1 { } } } -impl Default for in6_addr { +pub type NameData = nameData; +pub type Name = *mut NameData; +#[pg_guard] +extern "C" { + pub fn ExceptionalCondition( + conditionName: *const ::std::os::raw::c_char, + errorType: *const ::std::os::raw::c_char, + fileName: *const ::std::os::raw::c_char, + lineNumber: ::std::os::raw::c_int, + ); +} +#[repr(C)] +#[derive(Copy, Clone)] +pub union PGAlignedBlock { + pub data: [::std::os::raw::c_char; 8192usize], + pub force_align_d: f64, + pub force_align_i64: int64, +} +impl Default for PGAlignedBlock { fn default() -> Self { let mut s = ::std::mem::MaybeUninit::::uninit(); unsafe { @@ -5944,32 +6593,14 @@ impl Default for in6_addr { } } } -#[pg_guard] -extern "C" { - pub static in6addr_any: in6_addr; -} -#[pg_guard] -extern "C" { - pub static in6addr_loopback: in6_addr; -} -#[repr(C)] -#[derive(Debug, Default, Copy, Clone)] -pub struct sockaddr_in { - pub sin_family: sa_family_t, - pub sin_port: in_port_t, - pub sin_addr: in_addr, - pub sin_zero: [::std::os::raw::c_uchar; 8usize], -} #[repr(C)] #[derive(Copy, Clone)] -pub struct sockaddr_in6 { - pub sin6_family: sa_family_t, - pub sin6_port: in_port_t, - pub sin6_flowinfo: u32, - pub sin6_addr: in6_addr, - pub sin6_scope_id: u32, +pub union PGAlignedXLogBlock { + pub data: [::std::os::raw::c_char; 8192usize], + pub force_align_d: f64, + pub force_align_i64: int64, } -impl Default for sockaddr_in6 { +impl Default for PGAlignedXLogBlock { fn default() -> Self { let mut s = ::std::mem::MaybeUninit::::uninit(); unsafe { @@ -5978,41 +6609,20 @@ impl Default for sockaddr_in6 { } } } -#[repr(C)] -#[derive(Debug, Default, Copy, Clone)] -pub struct ip_mreq { - pub imr_multiaddr: in_addr, - pub imr_interface: in_addr, -} -#[repr(C)] -#[derive(Debug, Default, Copy, Clone)] -pub struct ip_mreq_source { - pub imr_multiaddr: in_addr, - pub imr_interface: in_addr, - pub imr_sourceaddr: in_addr, -} -#[repr(C)] -#[derive(Copy, Clone)] -pub struct ipv6_mreq { - pub ipv6mr_multiaddr: in6_addr, - pub ipv6mr_interface: ::std::os::raw::c_uint, -} -impl Default for ipv6_mreq { - fn default() -> Self { - let mut s = ::std::mem::MaybeUninit::::uninit(); - unsafe { - ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); - s.assume_init() - } - } +#[pg_guard] +extern "C" { + pub fn fdatasync(fildes: ::std::os::raw::c_int) -> ::std::os::raw::c_int; } +pub type wint_t = __darwin_wint_t; #[repr(C)] #[derive(Debug, Copy, Clone)] -pub struct group_req { - pub gr_interface: u32, - pub gr_group: sockaddr_storage, +pub struct _RuneEntry { + pub __min: __darwin_rune_t, + pub __max: __darwin_rune_t, + pub __map: __darwin_rune_t, + pub __types: *mut __uint32_t, } -impl Default for group_req { +impl Default for _RuneEntry { fn default() -> Self { let mut s = ::std::mem::MaybeUninit::::uninit(); unsafe { @@ -6023,12 +6633,11 @@ impl Default for group_req { } #[repr(C)] #[derive(Debug, Copy, Clone)] -pub struct group_source_req { - pub gsr_interface: u32, - pub gsr_group: sockaddr_storage, - pub gsr_source: sockaddr_storage, +pub struct _RuneRange { + pub __nranges: ::std::os::raw::c_int, + pub __ranges: *mut _RuneEntry, } -impl Default for group_source_req { +impl Default for _RuneRange { fn default() -> Self { let mut s = ::std::mem::MaybeUninit::::uninit(); unsafe { @@ -6039,69 +6648,43 @@ impl Default for group_source_req { } #[repr(C)] #[derive(Debug, Default, Copy, Clone)] -pub struct ip_msfilter { - pub imsf_multiaddr: in_addr, - pub imsf_interface: in_addr, - pub imsf_fmode: u32, - pub imsf_numsrc: u32, - pub imsf_slist: [in_addr; 1usize], +pub struct _RuneCharClass { + pub __name: [::std::os::raw::c_char; 14usize], + pub __mask: __uint32_t, } #[repr(C)] #[derive(Debug, Copy, Clone)] -pub struct group_filter { - pub gf_interface: u32, - pub gf_group: sockaddr_storage, - pub gf_fmode: u32, - pub gf_numsrc: u32, - pub gf_slist: [sockaddr_storage; 1usize], -} -impl Default for group_filter { - fn default() -> Self { - let mut s = ::std::mem::MaybeUninit::::uninit(); - unsafe { - ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); - s.assume_init() - } - } -} -#[pg_guard] -extern "C" { - pub fn ntohl(__netlong: u32) -> u32; -} -#[pg_guard] -extern "C" { - pub fn ntohs(__netshort: u16) -> u16; -} -#[pg_guard] -extern "C" { - pub fn htonl(__hostlong: u32) -> u32; -} -#[pg_guard] -extern "C" { - pub fn htons(__hostshort: u16) -> u16; -} -#[pg_guard] -extern "C" { - pub fn bindresvport( - __sockfd: ::std::os::raw::c_int, - __sock_in: *mut sockaddr_in, - ) -> ::std::os::raw::c_int; -} -#[pg_guard] -extern "C" { - pub fn bindresvport6( - __sockfd: ::std::os::raw::c_int, - __sock_in: *mut sockaddr_in6, - ) -> ::std::os::raw::c_int; -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct rpcent { - pub r_name: *mut ::std::os::raw::c_char, - pub r_aliases: *mut *mut ::std::os::raw::c_char, - pub r_number: ::std::os::raw::c_int, +pub struct _RuneLocale { + pub __magic: [::std::os::raw::c_char; 8usize], + pub __encoding: [::std::os::raw::c_char; 32usize], + pub __sgetrune: ::std::option::Option< + unsafe extern "C" fn( + arg1: *const ::std::os::raw::c_char, + arg2: __darwin_size_t, + arg3: *mut *const ::std::os::raw::c_char, + ) -> __darwin_rune_t, + >, + pub __sputrune: ::std::option::Option< + unsafe extern "C" fn( + arg1: __darwin_rune_t, + arg2: *mut ::std::os::raw::c_char, + arg3: __darwin_size_t, + arg4: *mut *mut ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int, + >, + pub __invalid_rune: __darwin_rune_t, + pub __runetype: [__uint32_t; 256usize], + pub __maplower: [__darwin_rune_t; 256usize], + pub __mapupper: [__darwin_rune_t; 256usize], + pub __runetype_ext: _RuneRange, + pub __maplower_ext: _RuneRange, + pub __mapupper_ext: _RuneRange, + pub __variable: *mut ::std::os::raw::c_void, + pub __variable_len: ::std::os::raw::c_int, + pub __ncharclasses: ::std::os::raw::c_int, + pub __charclasses: *mut _RuneCharClass, } -impl Default for rpcent { +impl Default for _RuneLocale { fn default() -> Self { let mut s = ::std::mem::MaybeUninit::::uninit(); unsafe { @@ -6112,92 +6695,48 @@ impl Default for rpcent { } #[pg_guard] extern "C" { - pub fn setrpcent(__stayopen: ::std::os::raw::c_int); + pub static mut _DefaultRuneLocale: _RuneLocale; } #[pg_guard] extern "C" { - pub fn endrpcent(); + pub static mut _CurrentRuneLocale: *mut _RuneLocale; } #[pg_guard] extern "C" { - pub fn getrpcbyname(__name: *const ::std::os::raw::c_char) -> *mut rpcent; + pub fn ___runetype(arg1: __darwin_ct_rune_t) -> ::std::os::raw::c_ulong; } #[pg_guard] extern "C" { - pub fn getrpcbynumber(__number: ::std::os::raw::c_int) -> *mut rpcent; + pub fn ___tolower(arg1: __darwin_ct_rune_t) -> __darwin_ct_rune_t; } #[pg_guard] extern "C" { - pub fn getrpcent() -> *mut rpcent; + pub fn ___toupper(arg1: __darwin_ct_rune_t) -> __darwin_ct_rune_t; } #[pg_guard] extern "C" { - pub fn getrpcbyname_r( - __name: *const ::std::os::raw::c_char, - __result_buf: *mut rpcent, - __buffer: *mut ::std::os::raw::c_char, - __buflen: usize, - __result: *mut *mut rpcent, + pub fn __maskrune( + arg1: __darwin_ct_rune_t, + arg2: ::std::os::raw::c_ulong, ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn getrpcbynumber_r( - __number: ::std::os::raw::c_int, - __result_buf: *mut rpcent, - __buffer: *mut ::std::os::raw::c_char, - __buflen: usize, - __result: *mut *mut rpcent, - ) -> ::std::os::raw::c_int; + pub fn __toupper(arg1: __darwin_ct_rune_t) -> __darwin_ct_rune_t; } #[pg_guard] extern "C" { - pub fn getrpcent_r( - __result_buf: *mut rpcent, - __buffer: *mut ::std::os::raw::c_char, - __buflen: usize, - __result: *mut *mut rpcent, - ) -> ::std::os::raw::c_int; + pub fn __tolower(arg1: __darwin_ct_rune_t) -> __darwin_ct_rune_t; } +pub type socklen_t = __darwin_socklen_t; +pub type sa_family_t = __uint8_t; #[repr(C)] #[derive(Debug, Copy, Clone)] -pub struct netent { - pub n_name: *mut ::std::os::raw::c_char, - pub n_aliases: *mut *mut ::std::os::raw::c_char, - pub n_addrtype: ::std::os::raw::c_int, - pub n_net: u32, -} -impl Default for netent { - fn default() -> Self { - let mut s = ::std::mem::MaybeUninit::::uninit(); - unsafe { - ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); - s.assume_init() - } - } -} -#[pg_guard] -extern "C" { - pub fn __h_errno_location() -> *mut ::std::os::raw::c_int; -} -#[pg_guard] -extern "C" { - pub fn herror(__str: *const ::std::os::raw::c_char); -} -#[pg_guard] -extern "C" { - pub fn hstrerror(__err_num: ::std::os::raw::c_int) -> *const ::std::os::raw::c_char; -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct hostent { - pub h_name: *mut ::std::os::raw::c_char, - pub h_aliases: *mut *mut ::std::os::raw::c_char, - pub h_addrtype: ::std::os::raw::c_int, - pub h_length: ::std::os::raw::c_int, - pub h_addr_list: *mut *mut ::std::os::raw::c_char, +pub struct iovec { + pub iov_base: *mut ::std::os::raw::c_void, + pub iov_len: usize, } -impl Default for hostent { +impl Default for iovec { fn default() -> Self { let mut s = ::std::mem::MaybeUninit::::uninit(); unsafe { @@ -6206,145 +6745,18 @@ impl Default for hostent { } } } -#[pg_guard] -extern "C" { - pub fn sethostent(__stay_open: ::std::os::raw::c_int); -} -#[pg_guard] -extern "C" { - pub fn endhostent(); -} -#[pg_guard] -extern "C" { - pub fn gethostent() -> *mut hostent; -} -#[pg_guard] -extern "C" { - pub fn gethostbyaddr( - __addr: *const ::std::os::raw::c_void, - __len: __socklen_t, - __type: ::std::os::raw::c_int, - ) -> *mut hostent; -} -#[pg_guard] -extern "C" { - pub fn gethostbyname(__name: *const ::std::os::raw::c_char) -> *mut hostent; -} -#[pg_guard] -extern "C" { - pub fn gethostbyname2( - __name: *const ::std::os::raw::c_char, - __af: ::std::os::raw::c_int, - ) -> *mut hostent; -} -#[pg_guard] -extern "C" { - pub fn gethostent_r( - __result_buf: *mut hostent, - __buf: *mut ::std::os::raw::c_char, - __buflen: usize, - __result: *mut *mut hostent, - __h_errnop: *mut ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; -} -#[pg_guard] -extern "C" { - pub fn gethostbyaddr_r( - __addr: *const ::std::os::raw::c_void, - __len: __socklen_t, - __type: ::std::os::raw::c_int, - __result_buf: *mut hostent, - __buf: *mut ::std::os::raw::c_char, - __buflen: usize, - __result: *mut *mut hostent, - __h_errnop: *mut ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; -} -#[pg_guard] -extern "C" { - pub fn gethostbyname_r( - __name: *const ::std::os::raw::c_char, - __result_buf: *mut hostent, - __buf: *mut ::std::os::raw::c_char, - __buflen: usize, - __result: *mut *mut hostent, - __h_errnop: *mut ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; -} -#[pg_guard] -extern "C" { - pub fn gethostbyname2_r( - __name: *const ::std::os::raw::c_char, - __af: ::std::os::raw::c_int, - __result_buf: *mut hostent, - __buf: *mut ::std::os::raw::c_char, - __buflen: usize, - __result: *mut *mut hostent, - __h_errnop: *mut ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; -} -#[pg_guard] -extern "C" { - pub fn setnetent(__stay_open: ::std::os::raw::c_int); -} -#[pg_guard] -extern "C" { - pub fn endnetent(); -} -#[pg_guard] -extern "C" { - pub fn getnetent() -> *mut netent; -} -#[pg_guard] -extern "C" { - pub fn getnetbyaddr(__net: u32, __type: ::std::os::raw::c_int) -> *mut netent; -} -#[pg_guard] -extern "C" { - pub fn getnetbyname(__name: *const ::std::os::raw::c_char) -> *mut netent; -} -#[pg_guard] -extern "C" { - pub fn getnetent_r( - __result_buf: *mut netent, - __buf: *mut ::std::os::raw::c_char, - __buflen: usize, - __result: *mut *mut netent, - __h_errnop: *mut ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; -} -#[pg_guard] -extern "C" { - pub fn getnetbyaddr_r( - __net: u32, - __type: ::std::os::raw::c_int, - __result_buf: *mut netent, - __buf: *mut ::std::os::raw::c_char, - __buflen: usize, - __result: *mut *mut netent, - __h_errnop: *mut ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; -} -#[pg_guard] -extern "C" { - pub fn getnetbyname_r( - __name: *const ::std::os::raw::c_char, - __result_buf: *mut netent, - __buf: *mut ::std::os::raw::c_char, - __buflen: usize, - __result: *mut *mut netent, - __h_errnop: *mut ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; -} +pub type sae_associd_t = __uint32_t; +pub type sae_connid_t = __uint32_t; #[repr(C)] #[derive(Debug, Copy, Clone)] -pub struct servent { - pub s_name: *mut ::std::os::raw::c_char, - pub s_aliases: *mut *mut ::std::os::raw::c_char, - pub s_port: ::std::os::raw::c_int, - pub s_proto: *mut ::std::os::raw::c_char, +pub struct sa_endpoints { + pub sae_srcif: ::std::os::raw::c_uint, + pub sae_srcaddr: *const sockaddr, + pub sae_srcaddrlen: socklen_t, + pub sae_dstaddr: *const sockaddr, + pub sae_dstaddrlen: socklen_t, } -impl Default for servent { +impl Default for sa_endpoints { fn default() -> Self { let mut s = ::std::mem::MaybeUninit::::uninit(); unsafe { @@ -6353,2538 +6765,2372 @@ impl Default for servent { } } } -#[pg_guard] -extern "C" { - pub fn setservent(__stay_open: ::std::os::raw::c_int); -} -#[pg_guard] -extern "C" { - pub fn endservent(); -} -#[pg_guard] -extern "C" { - pub fn getservent() -> *mut servent; -} -#[pg_guard] -extern "C" { - pub fn getservbyname( - __name: *const ::std::os::raw::c_char, - __proto: *const ::std::os::raw::c_char, - ) -> *mut servent; -} -#[pg_guard] -extern "C" { - pub fn getservbyport( - __port: ::std::os::raw::c_int, - __proto: *const ::std::os::raw::c_char, - ) -> *mut servent; -} -#[pg_guard] -extern "C" { - pub fn getservent_r( - __result_buf: *mut servent, - __buf: *mut ::std::os::raw::c_char, - __buflen: usize, - __result: *mut *mut servent, - ) -> ::std::os::raw::c_int; -} -#[pg_guard] -extern "C" { - pub fn getservbyname_r( - __name: *const ::std::os::raw::c_char, - __proto: *const ::std::os::raw::c_char, - __result_buf: *mut servent, - __buf: *mut ::std::os::raw::c_char, - __buflen: usize, - __result: *mut *mut servent, - ) -> ::std::os::raw::c_int; -} -#[pg_guard] -extern "C" { - pub fn getservbyport_r( - __port: ::std::os::raw::c_int, - __proto: *const ::std::os::raw::c_char, - __result_buf: *mut servent, - __buf: *mut ::std::os::raw::c_char, - __buflen: usize, - __result: *mut *mut servent, - ) -> ::std::os::raw::c_int; -} +pub type sa_endpoints_t = sa_endpoints; #[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct protoent { - pub p_name: *mut ::std::os::raw::c_char, - pub p_aliases: *mut *mut ::std::os::raw::c_char, - pub p_proto: ::std::os::raw::c_int, -} -impl Default for protoent { - fn default() -> Self { - let mut s = ::std::mem::MaybeUninit::::uninit(); - unsafe { - ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); - s.assume_init() - } - } -} -#[pg_guard] -extern "C" { - pub fn setprotoent(__stay_open: ::std::os::raw::c_int); -} -#[pg_guard] -extern "C" { - pub fn endprotoent(); -} -#[pg_guard] -extern "C" { - pub fn getprotoent() -> *mut protoent; -} -#[pg_guard] -extern "C" { - pub fn getprotobyname(__name: *const ::std::os::raw::c_char) -> *mut protoent; -} -#[pg_guard] -extern "C" { - pub fn getprotobynumber(__proto: ::std::os::raw::c_int) -> *mut protoent; -} -#[pg_guard] -extern "C" { - pub fn getprotoent_r( - __result_buf: *mut protoent, - __buf: *mut ::std::os::raw::c_char, - __buflen: usize, - __result: *mut *mut protoent, - ) -> ::std::os::raw::c_int; -} -#[pg_guard] -extern "C" { - pub fn getprotobyname_r( - __name: *const ::std::os::raw::c_char, - __result_buf: *mut protoent, - __buf: *mut ::std::os::raw::c_char, - __buflen: usize, - __result: *mut *mut protoent, - ) -> ::std::os::raw::c_int; -} -#[pg_guard] -extern "C" { - pub fn getprotobynumber_r( - __proto: ::std::os::raw::c_int, - __result_buf: *mut protoent, - __buf: *mut ::std::os::raw::c_char, - __buflen: usize, - __result: *mut *mut protoent, - ) -> ::std::os::raw::c_int; -} -#[pg_guard] -extern "C" { - pub fn setnetgrent(__netgroup: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; -} -#[pg_guard] -extern "C" { - pub fn endnetgrent(); -} -#[pg_guard] -extern "C" { - pub fn getnetgrent( - __hostp: *mut *mut ::std::os::raw::c_char, - __userp: *mut *mut ::std::os::raw::c_char, - __domainp: *mut *mut ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; -} -#[pg_guard] -extern "C" { - pub fn innetgr( - __netgroup: *const ::std::os::raw::c_char, - __host: *const ::std::os::raw::c_char, - __user: *const ::std::os::raw::c_char, - __domain: *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; -} -#[pg_guard] -extern "C" { - pub fn getnetgrent_r( - __hostp: *mut *mut ::std::os::raw::c_char, - __userp: *mut *mut ::std::os::raw::c_char, - __domainp: *mut *mut ::std::os::raw::c_char, - __buffer: *mut ::std::os::raw::c_char, - __buflen: usize, - ) -> ::std::os::raw::c_int; -} -#[pg_guard] -extern "C" { - pub fn rcmd( - __ahost: *mut *mut ::std::os::raw::c_char, - __rport: ::std::os::raw::c_ushort, - __locuser: *const ::std::os::raw::c_char, - __remuser: *const ::std::os::raw::c_char, - __cmd: *const ::std::os::raw::c_char, - __fd2p: *mut ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; -} -#[pg_guard] -extern "C" { - pub fn rcmd_af( - __ahost: *mut *mut ::std::os::raw::c_char, - __rport: ::std::os::raw::c_ushort, - __locuser: *const ::std::os::raw::c_char, - __remuser: *const ::std::os::raw::c_char, - __cmd: *const ::std::os::raw::c_char, - __fd2p: *mut ::std::os::raw::c_int, - __af: sa_family_t, - ) -> ::std::os::raw::c_int; -} -#[pg_guard] -extern "C" { - pub fn rexec( - __ahost: *mut *mut ::std::os::raw::c_char, - __rport: ::std::os::raw::c_int, - __name: *const ::std::os::raw::c_char, - __pass: *const ::std::os::raw::c_char, - __cmd: *const ::std::os::raw::c_char, - __fd2p: *mut ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; -} -#[pg_guard] -extern "C" { - pub fn rexec_af( - __ahost: *mut *mut ::std::os::raw::c_char, - __rport: ::std::os::raw::c_int, - __name: *const ::std::os::raw::c_char, - __pass: *const ::std::os::raw::c_char, - __cmd: *const ::std::os::raw::c_char, - __fd2p: *mut ::std::os::raw::c_int, - __af: sa_family_t, - ) -> ::std::os::raw::c_int; -} -#[pg_guard] -extern "C" { - pub fn ruserok( - __rhost: *const ::std::os::raw::c_char, - __suser: ::std::os::raw::c_int, - __remuser: *const ::std::os::raw::c_char, - __locuser: *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; -} -#[pg_guard] -extern "C" { - pub fn ruserok_af( - __rhost: *const ::std::os::raw::c_char, - __suser: ::std::os::raw::c_int, - __remuser: *const ::std::os::raw::c_char, - __locuser: *const ::std::os::raw::c_char, - __af: sa_family_t, - ) -> ::std::os::raw::c_int; -} -#[pg_guard] -extern "C" { - pub fn iruserok( - __raddr: u32, - __suser: ::std::os::raw::c_int, - __remuser: *const ::std::os::raw::c_char, - __locuser: *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; -} -#[pg_guard] -extern "C" { - pub fn iruserok_af( - __raddr: *const ::std::os::raw::c_void, - __suser: ::std::os::raw::c_int, - __remuser: *const ::std::os::raw::c_char, - __locuser: *const ::std::os::raw::c_char, - __af: sa_family_t, - ) -> ::std::os::raw::c_int; -} -#[pg_guard] -extern "C" { - pub fn rresvport(__alport: *mut ::std::os::raw::c_int) -> ::std::os::raw::c_int; -} -#[pg_guard] -extern "C" { - pub fn rresvport_af( - __alport: *mut ::std::os::raw::c_int, - __af: sa_family_t, - ) -> ::std::os::raw::c_int; +#[derive(Debug, Default, Copy, Clone)] +pub struct linger { + pub l_onoff: ::std::os::raw::c_int, + pub l_linger: ::std::os::raw::c_int, } #[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct addrinfo { - pub ai_flags: ::std::os::raw::c_int, - pub ai_family: ::std::os::raw::c_int, - pub ai_socktype: ::std::os::raw::c_int, - pub ai_protocol: ::std::os::raw::c_int, - pub ai_addrlen: socklen_t, - pub ai_addr: *mut sockaddr, - pub ai_canonname: *mut ::std::os::raw::c_char, - pub ai_next: *mut addrinfo, -} -impl Default for addrinfo { - fn default() -> Self { - let mut s = ::std::mem::MaybeUninit::::uninit(); - unsafe { - ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); - s.assume_init() - } - } -} -#[pg_guard] -extern "C" { - pub fn getaddrinfo( - __name: *const ::std::os::raw::c_char, - __service: *const ::std::os::raw::c_char, - __req: *const addrinfo, - __pai: *mut *mut addrinfo, - ) -> ::std::os::raw::c_int; -} -#[pg_guard] -extern "C" { - pub fn freeaddrinfo(__ai: *mut addrinfo); -} -#[pg_guard] -extern "C" { - pub fn gai_strerror(__ecode: ::std::os::raw::c_int) -> *const ::std::os::raw::c_char; -} -#[pg_guard] -extern "C" { - pub fn getnameinfo( - __sa: *const sockaddr, - __salen: socklen_t, - __host: *mut ::std::os::raw::c_char, - __hostlen: socklen_t, - __serv: *mut ::std::os::raw::c_char, - __servlen: socklen_t, - __flags: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; +#[derive(Debug, Default, Copy, Clone)] +pub struct so_np_extensions { + pub npx_flags: u_int32_t, + pub npx_mask: u_int32_t, } #[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct passwd { - pub pw_name: *mut ::std::os::raw::c_char, - pub pw_passwd: *mut ::std::os::raw::c_char, - pub pw_uid: __uid_t, - pub pw_gid: __gid_t, - pub pw_gecos: *mut ::std::os::raw::c_char, - pub pw_dir: *mut ::std::os::raw::c_char, - pub pw_shell: *mut ::std::os::raw::c_char, -} -impl Default for passwd { - fn default() -> Self { - let mut s = ::std::mem::MaybeUninit::::uninit(); - unsafe { - ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); - s.assume_init() - } - } -} -#[pg_guard] -extern "C" { - pub fn setpwent(); -} -#[pg_guard] -extern "C" { - pub fn endpwent(); -} -#[pg_guard] -extern "C" { - pub fn getpwent() -> *mut passwd; -} -#[pg_guard] -extern "C" { - pub fn fgetpwent(__stream: *mut FILE) -> *mut passwd; -} -#[pg_guard] -extern "C" { - pub fn putpwent(__p: *const passwd, __f: *mut FILE) -> ::std::os::raw::c_int; -} -#[pg_guard] -extern "C" { - pub fn getpwuid(__uid: __uid_t) -> *mut passwd; -} -#[pg_guard] -extern "C" { - pub fn getpwnam(__name: *const ::std::os::raw::c_char) -> *mut passwd; -} -#[pg_guard] -extern "C" { - pub fn getpwent_r( - __resultbuf: *mut passwd, - __buffer: *mut ::std::os::raw::c_char, - __buflen: usize, - __result: *mut *mut passwd, - ) -> ::std::os::raw::c_int; -} -#[pg_guard] -extern "C" { - pub fn getpwuid_r( - __uid: __uid_t, - __resultbuf: *mut passwd, - __buffer: *mut ::std::os::raw::c_char, - __buflen: usize, - __result: *mut *mut passwd, - ) -> ::std::os::raw::c_int; -} -#[pg_guard] -extern "C" { - pub fn getpwnam_r( - __name: *const ::std::os::raw::c_char, - __resultbuf: *mut passwd, - __buffer: *mut ::std::os::raw::c_char, - __buflen: usize, - __result: *mut *mut passwd, - ) -> ::std::os::raw::c_int; -} -#[pg_guard] -extern "C" { - pub fn fgetpwent_r( - __stream: *mut FILE, - __resultbuf: *mut passwd, - __buffer: *mut ::std::os::raw::c_char, - __buflen: usize, - __result: *mut *mut passwd, - ) -> ::std::os::raw::c_int; -} -pub type pgsocket = ::std::os::raw::c_int; -#[pg_guard] -extern "C" { - pub fn pg_set_noblock(sock: pgsocket) -> bool; -} -#[pg_guard] -extern "C" { - pub fn pg_set_block(sock: pgsocket) -> bool; -} -#[pg_guard] -extern "C" { - pub fn has_drive_prefix(filename: *const ::std::os::raw::c_char) -> bool; -} -#[pg_guard] -extern "C" { - pub fn first_dir_separator( - filename: *const ::std::os::raw::c_char, - ) -> *mut ::std::os::raw::c_char; -} -#[pg_guard] -extern "C" { - pub fn last_dir_separator( - filename: *const ::std::os::raw::c_char, - ) -> *mut ::std::os::raw::c_char; -} -#[pg_guard] -extern "C" { - pub fn first_path_var_separator( - pathlist: *const ::std::os::raw::c_char, - ) -> *mut ::std::os::raw::c_char; -} -#[pg_guard] -extern "C" { - pub fn join_path_components( - ret_path: *mut ::std::os::raw::c_char, - head: *const ::std::os::raw::c_char, - tail: *const ::std::os::raw::c_char, - ); -} -#[pg_guard] -extern "C" { - pub fn canonicalize_path(path: *mut ::std::os::raw::c_char); -} -#[pg_guard] -extern "C" { - pub fn make_native_path(path: *mut ::std::os::raw::c_char); -} -#[pg_guard] -extern "C" { - pub fn cleanup_path(path: *mut ::std::os::raw::c_char); -} -#[pg_guard] -extern "C" { - pub fn path_contains_parent_reference(path: *const ::std::os::raw::c_char) -> bool; -} -#[pg_guard] -extern "C" { - pub fn path_is_relative_and_below_cwd(path: *const ::std::os::raw::c_char) -> bool; -} -#[pg_guard] -extern "C" { - pub fn path_is_prefix_of_path( - path1: *const ::std::os::raw::c_char, - path2: *const ::std::os::raw::c_char, - ) -> bool; -} -#[pg_guard] -extern "C" { - pub fn make_absolute_path(path: *const ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; -} -#[pg_guard] -extern "C" { - pub fn get_progname(argv0: *const ::std::os::raw::c_char) -> *const ::std::os::raw::c_char; -} -#[pg_guard] -extern "C" { - pub fn get_share_path( - my_exec_path: *const ::std::os::raw::c_char, - ret_path: *mut ::std::os::raw::c_char, - ); -} -#[pg_guard] -extern "C" { - pub fn get_etc_path( - my_exec_path: *const ::std::os::raw::c_char, - ret_path: *mut ::std::os::raw::c_char, - ); -} -#[pg_guard] -extern "C" { - pub fn get_include_path( - my_exec_path: *const ::std::os::raw::c_char, - ret_path: *mut ::std::os::raw::c_char, - ); -} -#[pg_guard] -extern "C" { - pub fn get_pkginclude_path( - my_exec_path: *const ::std::os::raw::c_char, - ret_path: *mut ::std::os::raw::c_char, - ); -} -#[pg_guard] -extern "C" { - pub fn get_includeserver_path( - my_exec_path: *const ::std::os::raw::c_char, - ret_path: *mut ::std::os::raw::c_char, - ); -} -#[pg_guard] -extern "C" { - pub fn get_lib_path( - my_exec_path: *const ::std::os::raw::c_char, - ret_path: *mut ::std::os::raw::c_char, - ); -} -#[pg_guard] -extern "C" { - pub fn get_pkglib_path( - my_exec_path: *const ::std::os::raw::c_char, - ret_path: *mut ::std::os::raw::c_char, - ); -} -#[pg_guard] -extern "C" { - pub fn get_locale_path( - my_exec_path: *const ::std::os::raw::c_char, - ret_path: *mut ::std::os::raw::c_char, - ); -} -#[pg_guard] -extern "C" { - pub fn get_doc_path( - my_exec_path: *const ::std::os::raw::c_char, - ret_path: *mut ::std::os::raw::c_char, - ); -} -#[pg_guard] -extern "C" { - pub fn get_html_path( - my_exec_path: *const ::std::os::raw::c_char, - ret_path: *mut ::std::os::raw::c_char, - ); -} -#[pg_guard] -extern "C" { - pub fn get_man_path( - my_exec_path: *const ::std::os::raw::c_char, - ret_path: *mut ::std::os::raw::c_char, - ); -} -#[pg_guard] -extern "C" { - pub fn get_home_path(ret_path: *mut ::std::os::raw::c_char) -> bool; -} -#[pg_guard] -extern "C" { - pub fn get_parent_directory(path: *mut ::std::os::raw::c_char); -} -#[pg_guard] -extern "C" { - pub fn pgfnames(path: *const ::std::os::raw::c_char) -> *mut *mut ::std::os::raw::c_char; -} -#[pg_guard] -extern "C" { - pub fn pgfnames_cleanup(filenames: *mut *mut ::std::os::raw::c_char); -} -#[pg_guard] -extern "C" { - pub fn set_pglocale_pgservice( - argv0: *const ::std::os::raw::c_char, - app: *const ::std::os::raw::c_char, - ); -} -#[pg_guard] -extern "C" { - pub fn find_my_exec( - argv0: *const ::std::os::raw::c_char, - retpath: *mut ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; -} -#[pg_guard] -extern "C" { - pub fn find_other_exec( - argv0: *const ::std::os::raw::c_char, - target: *const ::std::os::raw::c_char, - versionstr: *const ::std::os::raw::c_char, - retpath: *mut ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; -} -#[pg_guard] -extern "C" { - pub fn pipe_read_line( - cmd: *mut ::std::os::raw::c_char, - line: *mut ::std::os::raw::c_char, - maxsize: ::std::os::raw::c_int, - ) -> *mut ::std::os::raw::c_char; -} -#[pg_guard] -extern "C" { - pub fn pg_usleep(microsec: ::std::os::raw::c_long); -} -#[pg_guard] -extern "C" { - pub fn pg_strcasecmp( - s1: *const ::std::os::raw::c_char, - s2: *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; -} -#[pg_guard] -extern "C" { - pub fn pg_strncasecmp( - s1: *const ::std::os::raw::c_char, - s2: *const ::std::os::raw::c_char, - n: usize, - ) -> ::std::os::raw::c_int; -} -#[pg_guard] -extern "C" { - pub fn pg_toupper(ch: ::std::os::raw::c_uchar) -> ::std::os::raw::c_uchar; -} -#[pg_guard] -extern "C" { - pub fn pg_tolower(ch: ::std::os::raw::c_uchar) -> ::std::os::raw::c_uchar; -} -#[pg_guard] -extern "C" { - pub fn pg_ascii_toupper(ch: ::std::os::raw::c_uchar) -> ::std::os::raw::c_uchar; -} -#[pg_guard] -extern "C" { - pub fn pg_ascii_tolower(ch: ::std::os::raw::c_uchar) -> ::std::os::raw::c_uchar; -} -#[pg_guard] -extern "C" { - pub fn pg_vsnprintf( - str_: *mut ::std::os::raw::c_char, - count: usize, - fmt: *const ::std::os::raw::c_char, - args: *mut __va_list_tag, - ) -> ::std::os::raw::c_int; -} -#[pg_guard] -extern "C" { - pub fn pg_snprintf( - str_: *mut ::std::os::raw::c_char, - count: usize, - fmt: *const ::std::os::raw::c_char, - ... - ) -> ::std::os::raw::c_int; -} -#[pg_guard] -extern "C" { - pub fn pg_vsprintf( - str_: *mut ::std::os::raw::c_char, - fmt: *const ::std::os::raw::c_char, - args: *mut __va_list_tag, - ) -> ::std::os::raw::c_int; -} -#[pg_guard] -extern "C" { - pub fn pg_sprintf( - str_: *mut ::std::os::raw::c_char, - fmt: *const ::std::os::raw::c_char, - ... - ) -> ::std::os::raw::c_int; -} -#[pg_guard] -extern "C" { - pub fn pg_vfprintf( - stream: *mut FILE, - fmt: *const ::std::os::raw::c_char, - args: *mut __va_list_tag, - ) -> ::std::os::raw::c_int; -} -#[pg_guard] -extern "C" { - pub fn pg_fprintf( - stream: *mut FILE, - fmt: *const ::std::os::raw::c_char, - ... - ) -> ::std::os::raw::c_int; -} -#[pg_guard] -extern "C" { - pub fn pg_vprintf( - fmt: *const ::std::os::raw::c_char, - args: *mut __va_list_tag, - ) -> ::std::os::raw::c_int; -} -#[pg_guard] -extern "C" { - pub fn pg_printf(fmt: *const ::std::os::raw::c_char, ...) -> ::std::os::raw::c_int; -} -#[pg_guard] -extern "C" { - pub fn pg_strfromd( - str_: *mut ::std::os::raw::c_char, - count: usize, - precision: ::std::os::raw::c_int, - value: f64, - ) -> ::std::os::raw::c_int; -} -#[pg_guard] -extern "C" { - pub fn pg_strerror(errnum: ::std::os::raw::c_int) -> *mut ::std::os::raw::c_char; -} -#[pg_guard] -extern "C" { - pub fn pg_strerror_r( - errnum: ::std::os::raw::c_int, - buf: *mut ::std::os::raw::c_char, - buflen: usize, - ) -> *mut ::std::os::raw::c_char; -} -#[pg_guard] -extern "C" { - pub fn pg_strsignal(signum: ::std::os::raw::c_int) -> *const ::std::os::raw::c_char; -} -#[pg_guard] -extern "C" { - pub fn simple_prompt( - prompt: *const ::std::os::raw::c_char, - destination: *mut ::std::os::raw::c_char, - destlen: usize, - echo: bool, - ); -} -#[pg_guard] -extern "C" { - pub fn pclose_check(stream: *mut FILE) -> ::std::os::raw::c_int; -} -#[pg_guard] -extern "C" { - pub fn rmtree(path: *const ::std::os::raw::c_char, rmtopdir: bool) -> bool; -} -#[pg_guard] -extern "C" { - pub fn pg_erand48(xseed: *mut ::std::os::raw::c_ushort) -> f64; -} -#[pg_guard] -extern "C" { - pub fn pg_lrand48() -> ::std::os::raw::c_long; -} -#[pg_guard] -extern "C" { - pub fn pg_jrand48(xseed: *mut ::std::os::raw::c_ushort) -> ::std::os::raw::c_long; -} -#[pg_guard] -extern "C" { - pub fn pg_srand48(seed: ::std::os::raw::c_long); -} -#[pg_guard] -extern "C" { - pub fn fls(mask: ::std::os::raw::c_int) -> ::std::os::raw::c_int; -} -#[pg_guard] -extern "C" { - pub fn getpeereid( - sock: ::std::os::raw::c_int, - uid: *mut uid_t, - gid: *mut gid_t, - ) -> ::std::os::raw::c_int; -} -pub type float_t = f32; -pub type double_t = f64; -#[pg_guard] -extern "C" { - pub fn __fpclassify(__value: f64) -> ::std::os::raw::c_int; -} -#[pg_guard] -extern "C" { - pub fn __signbit(__value: f64) -> ::std::os::raw::c_int; -} -#[pg_guard] -extern "C" { - pub fn __isinf(__value: f64) -> ::std::os::raw::c_int; -} -#[pg_guard] -extern "C" { - pub fn __finite(__value: f64) -> ::std::os::raw::c_int; -} -#[pg_guard] -extern "C" { - pub fn __isnan(__value: f64) -> ::std::os::raw::c_int; -} -#[pg_guard] -extern "C" { - pub fn __iseqsig(__x: f64, __y: f64) -> ::std::os::raw::c_int; -} -#[pg_guard] -extern "C" { - pub fn __issignaling(__value: f64) -> ::std::os::raw::c_int; -} -#[pg_guard] -extern "C" { - pub fn acos(__x: f64) -> f64; -} -#[pg_guard] -extern "C" { - pub fn __acos(__x: f64) -> f64; -} -#[pg_guard] -extern "C" { - pub fn asin(__x: f64) -> f64; -} -#[pg_guard] -extern "C" { - pub fn __asin(__x: f64) -> f64; -} -#[pg_guard] -extern "C" { - pub fn atan(__x: f64) -> f64; -} -#[pg_guard] -extern "C" { - pub fn __atan(__x: f64) -> f64; +#[derive(Debug, Default, Copy, Clone)] +pub struct sockaddr { + pub sa_len: __uint8_t, + pub sa_family: sa_family_t, + pub sa_data: [::std::os::raw::c_char; 14usize], } -#[pg_guard] -extern "C" { - pub fn atan2(__y: f64, __x: f64) -> f64; +#[repr(C)] +#[derive(Debug, Default, Copy, Clone)] +pub struct sockproto { + pub sp_family: __uint16_t, + pub sp_protocol: __uint16_t, } -#[pg_guard] -extern "C" { - pub fn __atan2(__y: f64, __x: f64) -> f64; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct sockaddr_storage { + pub ss_len: __uint8_t, + pub ss_family: sa_family_t, + pub __ss_pad1: [::std::os::raw::c_char; 6usize], + pub __ss_align: __int64_t, + pub __ss_pad2: [::std::os::raw::c_char; 112usize], } -#[pg_guard] -extern "C" { - pub fn cos(__x: f64) -> f64; +impl Default for sockaddr_storage { + fn default() -> Self { + let mut s = ::std::mem::MaybeUninit::::uninit(); + unsafe { + ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); + s.assume_init() + } + } } -#[pg_guard] -extern "C" { - pub fn __cos(__x: f64) -> f64; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct msghdr { + pub msg_name: *mut ::std::os::raw::c_void, + pub msg_namelen: socklen_t, + pub msg_iov: *mut iovec, + pub msg_iovlen: ::std::os::raw::c_int, + pub msg_control: *mut ::std::os::raw::c_void, + pub msg_controllen: socklen_t, + pub msg_flags: ::std::os::raw::c_int, } -#[pg_guard] -extern "C" { - pub fn sin(__x: f64) -> f64; +impl Default for msghdr { + fn default() -> Self { + let mut s = ::std::mem::MaybeUninit::::uninit(); + unsafe { + ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); + s.assume_init() + } + } } -#[pg_guard] -extern "C" { - pub fn __sin(__x: f64) -> f64; +#[repr(C)] +#[derive(Debug, Default, Copy, Clone)] +pub struct cmsghdr { + pub cmsg_len: socklen_t, + pub cmsg_level: ::std::os::raw::c_int, + pub cmsg_type: ::std::os::raw::c_int, } -#[pg_guard] -extern "C" { - pub fn tan(__x: f64) -> f64; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct sf_hdtr { + pub headers: *mut iovec, + pub hdr_cnt: ::std::os::raw::c_int, + pub trailers: *mut iovec, + pub trl_cnt: ::std::os::raw::c_int, } -#[pg_guard] -extern "C" { - pub fn __tan(__x: f64) -> f64; +impl Default for sf_hdtr { + fn default() -> Self { + let mut s = ::std::mem::MaybeUninit::::uninit(); + unsafe { + ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); + s.assume_init() + } + } } #[pg_guard] extern "C" { - pub fn cosh(__x: f64) -> f64; + pub fn accept( + arg1: ::std::os::raw::c_int, + arg2: *mut sockaddr, + arg3: *mut socklen_t, + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn __cosh(__x: f64) -> f64; + pub fn bind( + arg1: ::std::os::raw::c_int, + arg2: *const sockaddr, + arg3: socklen_t, + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn sinh(__x: f64) -> f64; + pub fn connect( + arg1: ::std::os::raw::c_int, + arg2: *const sockaddr, + arg3: socklen_t, + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn __sinh(__x: f64) -> f64; + pub fn getpeername( + arg1: ::std::os::raw::c_int, + arg2: *mut sockaddr, + arg3: *mut socklen_t, + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn tanh(__x: f64) -> f64; + pub fn getsockname( + arg1: ::std::os::raw::c_int, + arg2: *mut sockaddr, + arg3: *mut socklen_t, + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn __tanh(__x: f64) -> f64; + pub fn getsockopt( + arg1: ::std::os::raw::c_int, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_void, + arg5: *mut socklen_t, + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn acosh(__x: f64) -> f64; + pub fn listen( + arg1: ::std::os::raw::c_int, + arg2: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn __acosh(__x: f64) -> f64; + pub fn recv( + arg1: ::std::os::raw::c_int, + arg2: *mut ::std::os::raw::c_void, + arg3: usize, + arg4: ::std::os::raw::c_int, + ) -> isize; } #[pg_guard] extern "C" { - pub fn asinh(__x: f64) -> f64; + pub fn recvfrom( + arg1: ::std::os::raw::c_int, + arg2: *mut ::std::os::raw::c_void, + arg3: usize, + arg4: ::std::os::raw::c_int, + arg5: *mut sockaddr, + arg6: *mut socklen_t, + ) -> isize; } #[pg_guard] extern "C" { - pub fn __asinh(__x: f64) -> f64; + pub fn recvmsg( + arg1: ::std::os::raw::c_int, + arg2: *mut msghdr, + arg3: ::std::os::raw::c_int, + ) -> isize; } #[pg_guard] extern "C" { - pub fn atanh(__x: f64) -> f64; + pub fn send( + arg1: ::std::os::raw::c_int, + arg2: *const ::std::os::raw::c_void, + arg3: usize, + arg4: ::std::os::raw::c_int, + ) -> isize; } #[pg_guard] extern "C" { - pub fn __atanh(__x: f64) -> f64; + pub fn sendmsg( + arg1: ::std::os::raw::c_int, + arg2: *const msghdr, + arg3: ::std::os::raw::c_int, + ) -> isize; } #[pg_guard] extern "C" { - pub fn exp(__x: f64) -> f64; + pub fn sendto( + arg1: ::std::os::raw::c_int, + arg2: *const ::std::os::raw::c_void, + arg3: usize, + arg4: ::std::os::raw::c_int, + arg5: *const sockaddr, + arg6: socklen_t, + ) -> isize; } #[pg_guard] extern "C" { - pub fn __exp(__x: f64) -> f64; + pub fn setsockopt( + arg1: ::std::os::raw::c_int, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + arg4: *const ::std::os::raw::c_void, + arg5: socklen_t, + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn frexp(__x: f64, __exponent: *mut ::std::os::raw::c_int) -> f64; + pub fn shutdown( + arg1: ::std::os::raw::c_int, + arg2: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn __frexp(__x: f64, __exponent: *mut ::std::os::raw::c_int) -> f64; + pub fn sockatmark(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn ldexp(__x: f64, __exponent: ::std::os::raw::c_int) -> f64; + pub fn socket( + arg1: ::std::os::raw::c_int, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn __ldexp(__x: f64, __exponent: ::std::os::raw::c_int) -> f64; + pub fn socketpair( + arg1: ::std::os::raw::c_int, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn log(__x: f64) -> f64; + pub fn sendfile( + arg1: ::std::os::raw::c_int, + arg2: ::std::os::raw::c_int, + arg3: off_t, + arg4: *mut off_t, + arg5: *mut sf_hdtr, + arg6: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn __log(__x: f64) -> f64; + pub fn pfctlinput(arg1: ::std::os::raw::c_int, arg2: *mut sockaddr); } #[pg_guard] extern "C" { - pub fn log10(__x: f64) -> f64; + pub fn connectx( + arg1: ::std::os::raw::c_int, + arg2: *const sa_endpoints_t, + arg3: sae_associd_t, + arg4: ::std::os::raw::c_uint, + arg5: *const iovec, + arg6: ::std::os::raw::c_uint, + arg7: *mut usize, + arg8: *mut sae_connid_t, + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn __log10(__x: f64) -> f64; + pub fn disconnectx( + arg1: ::std::os::raw::c_int, + arg2: sae_associd_t, + arg3: sae_connid_t, + ) -> ::std::os::raw::c_int; } -#[pg_guard] -extern "C" { - pub fn modf(__x: f64, __iptr: *mut f64) -> f64; +#[repr(C)] +#[derive(Debug, Default, Copy, Clone)] +pub struct in_addr { + pub s_addr: in_addr_t, } -#[pg_guard] -extern "C" { - pub fn __modf(__x: f64, __iptr: *mut f64) -> f64; +#[repr(C)] +#[derive(Debug, Default, Copy, Clone)] +pub struct sockaddr_in { + pub sin_len: __uint8_t, + pub sin_family: sa_family_t, + pub sin_port: in_port_t, + pub sin_addr: in_addr, + pub sin_zero: [::std::os::raw::c_char; 8usize], } -#[pg_guard] -extern "C" { - pub fn expm1(__x: f64) -> f64; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct ip_opts { + pub ip_dst: in_addr, + pub ip_opts: [::std::os::raw::c_char; 40usize], } -#[pg_guard] -extern "C" { - pub fn __expm1(__x: f64) -> f64; +impl Default for ip_opts { + fn default() -> Self { + let mut s = ::std::mem::MaybeUninit::::uninit(); + unsafe { + ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); + s.assume_init() + } + } } -#[pg_guard] -extern "C" { - pub fn log1p(__x: f64) -> f64; +#[repr(C)] +#[derive(Debug, Default, Copy, Clone)] +pub struct ip_mreq { + pub imr_multiaddr: in_addr, + pub imr_interface: in_addr, } -#[pg_guard] -extern "C" { - pub fn __log1p(__x: f64) -> f64; +#[repr(C)] +#[derive(Debug, Default, Copy, Clone)] +pub struct ip_mreqn { + pub imr_multiaddr: in_addr, + pub imr_address: in_addr, + pub imr_ifindex: ::std::os::raw::c_int, } -#[pg_guard] -extern "C" { - pub fn logb(__x: f64) -> f64; +#[repr(C)] +#[derive(Debug, Default, Copy, Clone)] +pub struct ip_mreq_source { + pub imr_multiaddr: in_addr, + pub imr_sourceaddr: in_addr, + pub imr_interface: in_addr, } -#[pg_guard] -extern "C" { - pub fn __logb(__x: f64) -> f64; +#[repr(C, packed(4))] +#[derive(Debug, Copy, Clone)] +pub struct group_req { + pub gr_interface: u32, + pub gr_group: sockaddr_storage, } -#[pg_guard] -extern "C" { - pub fn exp2(__x: f64) -> f64; +impl Default for group_req { + fn default() -> Self { + let mut s = ::std::mem::MaybeUninit::::uninit(); + unsafe { + ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); + s.assume_init() + } + } } -#[pg_guard] -extern "C" { - pub fn __exp2(__x: f64) -> f64; +#[repr(C, packed(4))] +#[derive(Debug, Copy, Clone)] +pub struct group_source_req { + pub gsr_interface: u32, + pub gsr_group: sockaddr_storage, + pub gsr_source: sockaddr_storage, } -#[pg_guard] -extern "C" { - pub fn log2(__x: f64) -> f64; +impl Default for group_source_req { + fn default() -> Self { + let mut s = ::std::mem::MaybeUninit::::uninit(); + unsafe { + ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); + s.assume_init() + } + } } -#[pg_guard] -extern "C" { - pub fn __log2(__x: f64) -> f64; +#[repr(C, packed(4))] +#[derive(Debug, Copy, Clone)] +pub struct __msfilterreq { + pub msfr_ifindex: u32, + pub msfr_fmode: u32, + pub msfr_nsrcs: u32, + pub __msfr_align: u32, + pub msfr_group: sockaddr_storage, + pub msfr_srcs: *mut sockaddr_storage, } -#[pg_guard] -extern "C" { - pub fn pow(__x: f64, __y: f64) -> f64; +impl Default for __msfilterreq { + fn default() -> Self { + let mut s = ::std::mem::MaybeUninit::::uninit(); + unsafe { + ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); + s.assume_init() + } + } } #[pg_guard] extern "C" { - pub fn __pow(__x: f64, __y: f64) -> f64; + pub fn setipv4sourcefilter( + arg1: ::std::os::raw::c_int, + arg2: in_addr, + arg3: in_addr, + arg4: u32, + arg5: u32, + arg6: *mut in_addr, + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn sqrt(__x: f64) -> f64; + pub fn getipv4sourcefilter( + arg1: ::std::os::raw::c_int, + arg2: in_addr, + arg3: in_addr, + arg4: *mut u32, + arg5: *mut u32, + arg6: *mut in_addr, + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn __sqrt(__x: f64) -> f64; + pub fn setsourcefilter( + arg1: ::std::os::raw::c_int, + arg2: u32, + arg3: *mut sockaddr, + arg4: socklen_t, + arg5: u32, + arg6: u32, + arg7: *mut sockaddr_storage, + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn hypot(__x: f64, __y: f64) -> f64; + pub fn getsourcefilter( + arg1: ::std::os::raw::c_int, + arg2: u32, + arg3: *mut sockaddr, + arg4: socklen_t, + arg5: *mut u32, + arg6: *mut u32, + arg7: *mut sockaddr_storage, + ) -> ::std::os::raw::c_int; } -#[pg_guard] -extern "C" { - pub fn __hypot(__x: f64, __y: f64) -> f64; +#[repr(C)] +#[derive(Debug, Default, Copy, Clone)] +pub struct in_pktinfo { + pub ipi_ifindex: ::std::os::raw::c_uint, + pub ipi_spec_dst: in_addr, + pub ipi_addr: in_addr, } -#[pg_guard] -extern "C" { - pub fn cbrt(__x: f64) -> f64; +#[repr(C)] +#[derive(Copy, Clone)] +pub struct in6_addr { + pub __u6_addr: in6_addr__bindgen_ty_1, } -#[pg_guard] -extern "C" { - pub fn __cbrt(__x: f64) -> f64; +#[repr(C)] +#[derive(Copy, Clone)] +pub union in6_addr__bindgen_ty_1 { + pub __u6_addr8: [__uint8_t; 16usize], + pub __u6_addr16: [__uint16_t; 8usize], + pub __u6_addr32: [__uint32_t; 4usize], } -#[pg_guard] -extern "C" { - pub fn ceil(__x: f64) -> f64; +impl Default for in6_addr__bindgen_ty_1 { + fn default() -> Self { + let mut s = ::std::mem::MaybeUninit::::uninit(); + unsafe { + ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); + s.assume_init() + } + } } -#[pg_guard] -extern "C" { - pub fn __ceil(__x: f64) -> f64; +impl Default for in6_addr { + fn default() -> Self { + let mut s = ::std::mem::MaybeUninit::::uninit(); + unsafe { + ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); + s.assume_init() + } + } } -#[pg_guard] -extern "C" { - pub fn fabs(__x: f64) -> f64; +pub type in6_addr_t = in6_addr; +#[repr(C)] +#[derive(Copy, Clone)] +pub struct sockaddr_in6 { + pub sin6_len: __uint8_t, + pub sin6_family: sa_family_t, + pub sin6_port: in_port_t, + pub sin6_flowinfo: __uint32_t, + pub sin6_addr: in6_addr, + pub sin6_scope_id: __uint32_t, } -#[pg_guard] -extern "C" { - pub fn __fabs(__x: f64) -> f64; +impl Default for sockaddr_in6 { + fn default() -> Self { + let mut s = ::std::mem::MaybeUninit::::uninit(); + unsafe { + ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); + s.assume_init() + } + } } #[pg_guard] extern "C" { - pub fn floor(__x: f64) -> f64; + pub static in6addr_any: in6_addr; } #[pg_guard] extern "C" { - pub fn __floor(__x: f64) -> f64; + pub static in6addr_loopback: in6_addr; } #[pg_guard] extern "C" { - pub fn fmod(__x: f64, __y: f64) -> f64; + pub static in6addr_nodelocal_allnodes: in6_addr; } #[pg_guard] extern "C" { - pub fn __fmod(__x: f64, __y: f64) -> f64; + pub static in6addr_linklocal_allnodes: in6_addr; } #[pg_guard] extern "C" { - pub fn isinf(__value: f64) -> ::std::os::raw::c_int; + pub static in6addr_linklocal_allrouters: in6_addr; } #[pg_guard] extern "C" { - pub fn finite(__value: f64) -> ::std::os::raw::c_int; + pub static in6addr_linklocal_allv2routers: in6_addr; } -#[pg_guard] -extern "C" { - pub fn drem(__x: f64, __y: f64) -> f64; +#[repr(C)] +#[derive(Copy, Clone)] +pub struct ipv6_mreq { + pub ipv6mr_multiaddr: in6_addr, + pub ipv6mr_interface: ::std::os::raw::c_uint, } -#[pg_guard] -extern "C" { - pub fn __drem(__x: f64, __y: f64) -> f64; +impl Default for ipv6_mreq { + fn default() -> Self { + let mut s = ::std::mem::MaybeUninit::::uninit(); + unsafe { + ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); + s.assume_init() + } + } } -#[pg_guard] -extern "C" { - pub fn significand(__x: f64) -> f64; +#[repr(C)] +#[derive(Copy, Clone)] +pub struct in6_pktinfo { + pub ipi6_addr: in6_addr, + pub ipi6_ifindex: ::std::os::raw::c_uint, } -#[pg_guard] -extern "C" { - pub fn __significand(__x: f64) -> f64; +impl Default for in6_pktinfo { + fn default() -> Self { + let mut s = ::std::mem::MaybeUninit::::uninit(); + unsafe { + ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); + s.assume_init() + } + } } -#[pg_guard] -extern "C" { - pub fn copysign(__x: f64, __y: f64) -> f64; +#[repr(C)] +#[derive(Copy, Clone)] +pub struct ip6_mtuinfo { + pub ip6m_addr: sockaddr_in6, + pub ip6m_mtu: u32, } -#[pg_guard] -extern "C" { - pub fn __copysign(__x: f64, __y: f64) -> f64; +impl Default for ip6_mtuinfo { + fn default() -> Self { + let mut s = ::std::mem::MaybeUninit::::uninit(); + unsafe { + ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); + s.assume_init() + } + } } #[pg_guard] extern "C" { - pub fn nan(__tagb: *const ::std::os::raw::c_char) -> f64; + pub fn inet6_option_space(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn __nan(__tagb: *const ::std::os::raw::c_char) -> f64; + pub fn inet6_option_init( + arg1: *mut ::std::os::raw::c_void, + arg2: *mut *mut cmsghdr, + arg3: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn isnan(__value: f64) -> ::std::os::raw::c_int; + pub fn inet6_option_append( + arg1: *mut cmsghdr, + arg2: *const __uint8_t, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn j0(arg1: f64) -> f64; + pub fn inet6_option_alloc( + arg1: *mut cmsghdr, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> *mut __uint8_t; } #[pg_guard] extern "C" { - pub fn __j0(arg1: f64) -> f64; + pub fn inet6_option_next( + arg1: *const cmsghdr, + arg2: *mut *mut __uint8_t, + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn j1(arg1: f64) -> f64; + pub fn inet6_option_find( + arg1: *const cmsghdr, + arg2: *mut *mut __uint8_t, + arg3: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn __j1(arg1: f64) -> f64; + pub fn inet6_rthdr_space(arg1: ::std::os::raw::c_int, arg2: ::std::os::raw::c_int) -> usize; } #[pg_guard] extern "C" { - pub fn jn(arg1: ::std::os::raw::c_int, arg2: f64) -> f64; + pub fn inet6_rthdr_init( + arg1: *mut ::std::os::raw::c_void, + arg2: ::std::os::raw::c_int, + ) -> *mut cmsghdr; } #[pg_guard] extern "C" { - pub fn __jn(arg1: ::std::os::raw::c_int, arg2: f64) -> f64; + pub fn inet6_rthdr_add( + arg1: *mut cmsghdr, + arg2: *const in6_addr, + arg3: ::std::os::raw::c_uint, + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn y0(arg1: f64) -> f64; + pub fn inet6_rthdr_lasthop( + arg1: *mut cmsghdr, + arg2: ::std::os::raw::c_uint, + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn __y0(arg1: f64) -> f64; + pub fn inet6_rthdr_segments(arg1: *const cmsghdr) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn y1(arg1: f64) -> f64; + pub fn inet6_rthdr_getaddr(arg1: *mut cmsghdr, arg2: ::std::os::raw::c_int) -> *mut in6_addr; } #[pg_guard] extern "C" { - pub fn __y1(arg1: f64) -> f64; + pub fn inet6_rthdr_getflags( + arg1: *const cmsghdr, + arg2: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn yn(arg1: ::std::os::raw::c_int, arg2: f64) -> f64; + pub fn inet6_opt_init( + arg1: *mut ::std::os::raw::c_void, + arg2: socklen_t, + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn __yn(arg1: ::std::os::raw::c_int, arg2: f64) -> f64; + pub fn inet6_opt_append( + arg1: *mut ::std::os::raw::c_void, + arg2: socklen_t, + arg3: ::std::os::raw::c_int, + arg4: __uint8_t, + arg5: socklen_t, + arg6: __uint8_t, + arg7: *mut *mut ::std::os::raw::c_void, + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn erf(arg1: f64) -> f64; + pub fn inet6_opt_finish( + arg1: *mut ::std::os::raw::c_void, + arg2: socklen_t, + arg3: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn __erf(arg1: f64) -> f64; + pub fn inet6_opt_set_val( + arg1: *mut ::std::os::raw::c_void, + arg2: ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_void, + arg4: socklen_t, + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn erfc(arg1: f64) -> f64; + pub fn inet6_opt_next( + arg1: *mut ::std::os::raw::c_void, + arg2: socklen_t, + arg3: ::std::os::raw::c_int, + arg4: *mut __uint8_t, + arg5: *mut socklen_t, + arg6: *mut *mut ::std::os::raw::c_void, + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn __erfc(arg1: f64) -> f64; + pub fn inet6_opt_find( + arg1: *mut ::std::os::raw::c_void, + arg2: socklen_t, + arg3: ::std::os::raw::c_int, + arg4: __uint8_t, + arg5: *mut socklen_t, + arg6: *mut *mut ::std::os::raw::c_void, + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn lgamma(arg1: f64) -> f64; + pub fn inet6_opt_get_val( + arg1: *mut ::std::os::raw::c_void, + arg2: ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_void, + arg4: socklen_t, + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn __lgamma(arg1: f64) -> f64; + pub fn inet6_rth_space(arg1: ::std::os::raw::c_int, arg2: ::std::os::raw::c_int) -> socklen_t; } #[pg_guard] extern "C" { - pub fn tgamma(arg1: f64) -> f64; + pub fn inet6_rth_init( + arg1: *mut ::std::os::raw::c_void, + arg2: socklen_t, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> *mut ::std::os::raw::c_void; } #[pg_guard] extern "C" { - pub fn __tgamma(arg1: f64) -> f64; + pub fn inet6_rth_add( + arg1: *mut ::std::os::raw::c_void, + arg2: *const in6_addr, + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn gamma(arg1: f64) -> f64; + pub fn inet6_rth_reverse( + arg1: *const ::std::os::raw::c_void, + arg2: *mut ::std::os::raw::c_void, + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn __gamma(arg1: f64) -> f64; + pub fn inet6_rth_segments(arg1: *const ::std::os::raw::c_void) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn lgamma_r(arg1: f64, __signgamp: *mut ::std::os::raw::c_int) -> f64; + pub fn inet6_rth_getaddr( + arg1: *const ::std::os::raw::c_void, + arg2: ::std::os::raw::c_int, + ) -> *mut in6_addr; } #[pg_guard] extern "C" { - pub fn __lgamma_r(arg1: f64, __signgamp: *mut ::std::os::raw::c_int) -> f64; + pub fn bindresvport( + arg1: ::std::os::raw::c_int, + arg2: *mut sockaddr_in, + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn rint(__x: f64) -> f64; + pub fn bindresvport_sa( + arg1: ::std::os::raw::c_int, + arg2: *mut sockaddr, + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn __rint(__x: f64) -> f64; + pub static mut h_errno: ::std::os::raw::c_int; } -#[pg_guard] -extern "C" { - pub fn nextafter(__x: f64, __y: f64) -> f64; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct hostent { + pub h_name: *mut ::std::os::raw::c_char, + pub h_aliases: *mut *mut ::std::os::raw::c_char, + pub h_addrtype: ::std::os::raw::c_int, + pub h_length: ::std::os::raw::c_int, + pub h_addr_list: *mut *mut ::std::os::raw::c_char, } -#[pg_guard] -extern "C" { - pub fn __nextafter(__x: f64, __y: f64) -> f64; +impl Default for hostent { + fn default() -> Self { + let mut s = ::std::mem::MaybeUninit::::uninit(); + unsafe { + ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); + s.assume_init() + } + } } -#[pg_guard] -extern "C" { - pub fn nexttoward(__x: f64, __y: u128) -> f64; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct netent { + pub n_name: *mut ::std::os::raw::c_char, + pub n_aliases: *mut *mut ::std::os::raw::c_char, + pub n_addrtype: ::std::os::raw::c_int, + pub n_net: u32, } -#[pg_guard] -extern "C" { - pub fn __nexttoward(__x: f64, __y: u128) -> f64; +impl Default for netent { + fn default() -> Self { + let mut s = ::std::mem::MaybeUninit::::uninit(); + unsafe { + ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); + s.assume_init() + } + } } -#[pg_guard] -extern "C" { - pub fn remainder(__x: f64, __y: f64) -> f64; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct servent { + pub s_name: *mut ::std::os::raw::c_char, + pub s_aliases: *mut *mut ::std::os::raw::c_char, + pub s_port: ::std::os::raw::c_int, + pub s_proto: *mut ::std::os::raw::c_char, } -#[pg_guard] -extern "C" { - pub fn __remainder(__x: f64, __y: f64) -> f64; +impl Default for servent { + fn default() -> Self { + let mut s = ::std::mem::MaybeUninit::::uninit(); + unsafe { + ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); + s.assume_init() + } + } } -#[pg_guard] -extern "C" { - pub fn scalbn(__x: f64, __n: ::std::os::raw::c_int) -> f64; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct protoent { + pub p_name: *mut ::std::os::raw::c_char, + pub p_aliases: *mut *mut ::std::os::raw::c_char, + pub p_proto: ::std::os::raw::c_int, } -#[pg_guard] -extern "C" { - pub fn __scalbn(__x: f64, __n: ::std::os::raw::c_int) -> f64; +impl Default for protoent { + fn default() -> Self { + let mut s = ::std::mem::MaybeUninit::::uninit(); + unsafe { + ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); + s.assume_init() + } + } } -#[pg_guard] -extern "C" { - pub fn ilogb(__x: f64) -> ::std::os::raw::c_int; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct addrinfo { + pub ai_flags: ::std::os::raw::c_int, + pub ai_family: ::std::os::raw::c_int, + pub ai_socktype: ::std::os::raw::c_int, + pub ai_protocol: ::std::os::raw::c_int, + pub ai_addrlen: socklen_t, + pub ai_canonname: *mut ::std::os::raw::c_char, + pub ai_addr: *mut sockaddr, + pub ai_next: *mut addrinfo, } -#[pg_guard] -extern "C" { - pub fn __ilogb(__x: f64) -> ::std::os::raw::c_int; +impl Default for addrinfo { + fn default() -> Self { + let mut s = ::std::mem::MaybeUninit::::uninit(); + unsafe { + ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); + s.assume_init() + } + } } -#[pg_guard] -extern "C" { - pub fn scalbln(__x: f64, __n: ::std::os::raw::c_long) -> f64; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct rpcent { + pub r_name: *mut ::std::os::raw::c_char, + pub r_aliases: *mut *mut ::std::os::raw::c_char, + pub r_number: ::std::os::raw::c_int, } -#[pg_guard] -extern "C" { - pub fn __scalbln(__x: f64, __n: ::std::os::raw::c_long) -> f64; +impl Default for rpcent { + fn default() -> Self { + let mut s = ::std::mem::MaybeUninit::::uninit(); + unsafe { + ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); + s.assume_init() + } + } } #[pg_guard] extern "C" { - pub fn nearbyint(__x: f64) -> f64; + pub fn endhostent(); } #[pg_guard] extern "C" { - pub fn __nearbyint(__x: f64) -> f64; + pub fn endnetent(); } #[pg_guard] extern "C" { - pub fn round(__x: f64) -> f64; + pub fn endprotoent(); } #[pg_guard] extern "C" { - pub fn __round(__x: f64) -> f64; + pub fn endservent(); } #[pg_guard] extern "C" { - pub fn trunc(__x: f64) -> f64; + pub fn freeaddrinfo(arg1: *mut addrinfo); } #[pg_guard] extern "C" { - pub fn __trunc(__x: f64) -> f64; + pub fn gai_strerror(arg1: ::std::os::raw::c_int) -> *const ::std::os::raw::c_char; } #[pg_guard] extern "C" { - pub fn remquo(__x: f64, __y: f64, __quo: *mut ::std::os::raw::c_int) -> f64; + pub fn getaddrinfo( + arg1: *const ::std::os::raw::c_char, + arg2: *const ::std::os::raw::c_char, + arg3: *const addrinfo, + arg4: *mut *mut addrinfo, + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn __remquo(__x: f64, __y: f64, __quo: *mut ::std::os::raw::c_int) -> f64; + pub fn gethostbyaddr( + arg1: *const ::std::os::raw::c_void, + arg2: socklen_t, + arg3: ::std::os::raw::c_int, + ) -> *mut hostent; } #[pg_guard] extern "C" { - pub fn lrint(__x: f64) -> ::std::os::raw::c_long; + pub fn gethostbyname(arg1: *const ::std::os::raw::c_char) -> *mut hostent; } #[pg_guard] extern "C" { - pub fn __lrint(__x: f64) -> ::std::os::raw::c_long; + pub fn gethostent() -> *mut hostent; } #[pg_guard] extern "C" { - pub fn llrint(__x: f64) -> ::std::os::raw::c_longlong; + pub fn getnameinfo( + arg1: *const sockaddr, + arg2: socklen_t, + arg3: *mut ::std::os::raw::c_char, + arg4: socklen_t, + arg5: *mut ::std::os::raw::c_char, + arg6: socklen_t, + arg7: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn __llrint(__x: f64) -> ::std::os::raw::c_longlong; + pub fn getnetbyaddr(arg1: u32, arg2: ::std::os::raw::c_int) -> *mut netent; } #[pg_guard] extern "C" { - pub fn lround(__x: f64) -> ::std::os::raw::c_long; + pub fn getnetbyname(arg1: *const ::std::os::raw::c_char) -> *mut netent; } #[pg_guard] extern "C" { - pub fn __lround(__x: f64) -> ::std::os::raw::c_long; + pub fn getnetent() -> *mut netent; } #[pg_guard] extern "C" { - pub fn llround(__x: f64) -> ::std::os::raw::c_longlong; + pub fn getprotobyname(arg1: *const ::std::os::raw::c_char) -> *mut protoent; } #[pg_guard] extern "C" { - pub fn __llround(__x: f64) -> ::std::os::raw::c_longlong; + pub fn getprotobynumber(arg1: ::std::os::raw::c_int) -> *mut protoent; } #[pg_guard] extern "C" { - pub fn fdim(__x: f64, __y: f64) -> f64; + pub fn getprotoent() -> *mut protoent; } #[pg_guard] extern "C" { - pub fn __fdim(__x: f64, __y: f64) -> f64; + pub fn getservbyname( + arg1: *const ::std::os::raw::c_char, + arg2: *const ::std::os::raw::c_char, + ) -> *mut servent; } #[pg_guard] extern "C" { - pub fn fmax(__x: f64, __y: f64) -> f64; + pub fn getservbyport( + arg1: ::std::os::raw::c_int, + arg2: *const ::std::os::raw::c_char, + ) -> *mut servent; } #[pg_guard] extern "C" { - pub fn __fmax(__x: f64, __y: f64) -> f64; + pub fn getservent() -> *mut servent; } #[pg_guard] extern "C" { - pub fn fmin(__x: f64, __y: f64) -> f64; + pub fn sethostent(arg1: ::std::os::raw::c_int); } #[pg_guard] extern "C" { - pub fn __fmin(__x: f64, __y: f64) -> f64; + pub fn setnetent(arg1: ::std::os::raw::c_int); } #[pg_guard] extern "C" { - pub fn fma(__x: f64, __y: f64, __z: f64) -> f64; + pub fn setprotoent(arg1: ::std::os::raw::c_int); } #[pg_guard] extern "C" { - pub fn __fma(__x: f64, __y: f64, __z: f64) -> f64; + pub fn setservent(arg1: ::std::os::raw::c_int); } #[pg_guard] extern "C" { - pub fn scalb(__x: f64, __n: f64) -> f64; + pub fn freehostent(arg1: *mut hostent); } #[pg_guard] extern "C" { - pub fn __scalb(__x: f64, __n: f64) -> f64; + pub fn gethostbyname2( + arg1: *const ::std::os::raw::c_char, + arg2: ::std::os::raw::c_int, + ) -> *mut hostent; } #[pg_guard] extern "C" { - pub fn __fpclassifyf(__value: f32) -> ::std::os::raw::c_int; + pub fn getipnodebyaddr( + arg1: *const ::std::os::raw::c_void, + arg2: usize, + arg3: ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + ) -> *mut hostent; } #[pg_guard] extern "C" { - pub fn __signbitf(__value: f32) -> ::std::os::raw::c_int; + pub fn getipnodebyname( + arg1: *const ::std::os::raw::c_char, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + ) -> *mut hostent; } #[pg_guard] extern "C" { - pub fn __isinff(__value: f32) -> ::std::os::raw::c_int; + pub fn getrpcbyname(name: *const ::std::os::raw::c_char) -> *mut rpcent; } #[pg_guard] extern "C" { - pub fn __finitef(__value: f32) -> ::std::os::raw::c_int; + pub fn getrpcbynumber(number: ::std::os::raw::c_int) -> *mut rpcent; } #[pg_guard] extern "C" { - pub fn __isnanf(__value: f32) -> ::std::os::raw::c_int; + pub fn getrpcent() -> *mut rpcent; } #[pg_guard] extern "C" { - pub fn __iseqsigf(__x: f32, __y: f32) -> ::std::os::raw::c_int; + pub fn setrpcent(stayopen: ::std::os::raw::c_int); } #[pg_guard] extern "C" { - pub fn __issignalingf(__value: f32) -> ::std::os::raw::c_int; + pub fn endrpcent(); } #[pg_guard] extern "C" { - pub fn acosf(__x: f32) -> f32; + pub fn herror(arg1: *const ::std::os::raw::c_char); } #[pg_guard] extern "C" { - pub fn __acosf(__x: f32) -> f32; + pub fn hstrerror(arg1: ::std::os::raw::c_int) -> *const ::std::os::raw::c_char; } #[pg_guard] extern "C" { - pub fn asinf(__x: f32) -> f32; + pub fn innetgr( + arg1: *const ::std::os::raw::c_char, + arg2: *const ::std::os::raw::c_char, + arg3: *const ::std::os::raw::c_char, + arg4: *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn __asinf(__x: f32) -> f32; + pub fn getnetgrent( + arg1: *mut *mut ::std::os::raw::c_char, + arg2: *mut *mut ::std::os::raw::c_char, + arg3: *mut *mut ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn atanf(__x: f32) -> f32; + pub fn endnetgrent(); } #[pg_guard] extern "C" { - pub fn __atanf(__x: f32) -> f32; + pub fn setnetgrent(arg1: *const ::std::os::raw::c_char); } -#[pg_guard] -extern "C" { - pub fn atan2f(__y: f32, __x: f32) -> f32; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct passwd { + pub pw_name: *mut ::std::os::raw::c_char, + pub pw_passwd: *mut ::std::os::raw::c_char, + pub pw_uid: uid_t, + pub pw_gid: gid_t, + pub pw_change: __darwin_time_t, + pub pw_class: *mut ::std::os::raw::c_char, + pub pw_gecos: *mut ::std::os::raw::c_char, + pub pw_dir: *mut ::std::os::raw::c_char, + pub pw_shell: *mut ::std::os::raw::c_char, + pub pw_expire: __darwin_time_t, } -#[pg_guard] -extern "C" { - pub fn __atan2f(__y: f32, __x: f32) -> f32; +impl Default for passwd { + fn default() -> Self { + let mut s = ::std::mem::MaybeUninit::::uninit(); + unsafe { + ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); + s.assume_init() + } + } } #[pg_guard] extern "C" { - pub fn cosf(__x: f32) -> f32; + pub fn getpwuid(arg1: uid_t) -> *mut passwd; } #[pg_guard] extern "C" { - pub fn __cosf(__x: f32) -> f32; + pub fn getpwnam(arg1: *const ::std::os::raw::c_char) -> *mut passwd; } #[pg_guard] extern "C" { - pub fn sinf(__x: f32) -> f32; + pub fn getpwuid_r( + arg1: uid_t, + arg2: *mut passwd, + arg3: *mut ::std::os::raw::c_char, + arg4: usize, + arg5: *mut *mut passwd, + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn __sinf(__x: f32) -> f32; + pub fn getpwnam_r( + arg1: *const ::std::os::raw::c_char, + arg2: *mut passwd, + arg3: *mut ::std::os::raw::c_char, + arg4: usize, + arg5: *mut *mut passwd, + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn tanf(__x: f32) -> f32; + pub fn getpwent() -> *mut passwd; } #[pg_guard] extern "C" { - pub fn __tanf(__x: f32) -> f32; + pub fn setpwent(); } #[pg_guard] extern "C" { - pub fn coshf(__x: f32) -> f32; + pub fn endpwent(); } +pub type uuid_t = __darwin_uuid_t; +pub type uuid_string_t = __darwin_uuid_string_t; #[pg_guard] extern "C" { - pub fn __coshf(__x: f32) -> f32; + pub static UUID_NULL: uuid_t; } #[pg_guard] extern "C" { - pub fn sinhf(__x: f32) -> f32; + pub fn uuid_clear(uu: *mut ::std::os::raw::c_uchar); } #[pg_guard] extern "C" { - pub fn __sinhf(__x: f32) -> f32; + pub fn uuid_compare( + uu1: *mut ::std::os::raw::c_uchar, + uu2: *mut ::std::os::raw::c_uchar, + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn tanhf(__x: f32) -> f32; + pub fn uuid_copy(dst: *mut ::std::os::raw::c_uchar, src: *mut ::std::os::raw::c_uchar); } #[pg_guard] extern "C" { - pub fn __tanhf(__x: f32) -> f32; + pub fn uuid_generate(out: *mut ::std::os::raw::c_uchar); } #[pg_guard] extern "C" { - pub fn acoshf(__x: f32) -> f32; + pub fn uuid_generate_random(out: *mut ::std::os::raw::c_uchar); } #[pg_guard] extern "C" { - pub fn __acoshf(__x: f32) -> f32; + pub fn uuid_generate_time(out: *mut ::std::os::raw::c_uchar); } #[pg_guard] extern "C" { - pub fn asinhf(__x: f32) -> f32; + pub fn uuid_is_null(uu: *mut ::std::os::raw::c_uchar) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn __asinhf(__x: f32) -> f32; + pub fn uuid_parse( + in_: *mut ::std::os::raw::c_char, + uu: *mut ::std::os::raw::c_uchar, + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn atanhf(__x: f32) -> f32; + pub fn uuid_unparse(uu: *mut ::std::os::raw::c_uchar, out: *mut ::std::os::raw::c_char); } #[pg_guard] extern "C" { - pub fn __atanhf(__x: f32) -> f32; + pub fn uuid_unparse_lower(uu: *mut ::std::os::raw::c_uchar, out: *mut ::std::os::raw::c_char); } #[pg_guard] extern "C" { - pub fn expf(__x: f32) -> f32; + pub fn uuid_unparse_upper(uu: *mut ::std::os::raw::c_uchar, out: *mut ::std::os::raw::c_char); } #[pg_guard] extern "C" { - pub fn __expf(__x: f32) -> f32; + pub fn setpassent(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn frexpf(__x: f32, __exponent: *mut ::std::os::raw::c_int) -> f32; + pub fn user_from_uid(arg1: uid_t, arg2: ::std::os::raw::c_int) -> *mut ::std::os::raw::c_char; } #[pg_guard] extern "C" { - pub fn __frexpf(__x: f32, __exponent: *mut ::std::os::raw::c_int) -> f32; + pub fn getpwuuid(arg1: *mut ::std::os::raw::c_uchar) -> *mut passwd; } #[pg_guard] extern "C" { - pub fn ldexpf(__x: f32, __exponent: ::std::os::raw::c_int) -> f32; + pub fn getpwuuid_r( + arg1: *mut ::std::os::raw::c_uchar, + arg2: *mut passwd, + arg3: *mut ::std::os::raw::c_char, + arg4: usize, + arg5: *mut *mut passwd, + ) -> ::std::os::raw::c_int; } +pub type pgsocket = ::std::os::raw::c_int; #[pg_guard] extern "C" { - pub fn __ldexpf(__x: f32, __exponent: ::std::os::raw::c_int) -> f32; + pub fn pg_set_noblock(sock: pgsocket) -> bool; } #[pg_guard] extern "C" { - pub fn logf(__x: f32) -> f32; + pub fn pg_set_block(sock: pgsocket) -> bool; } #[pg_guard] extern "C" { - pub fn __logf(__x: f32) -> f32; + pub fn has_drive_prefix(filename: *const ::std::os::raw::c_char) -> bool; } #[pg_guard] extern "C" { - pub fn log10f(__x: f32) -> f32; + pub fn first_dir_separator( + filename: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; } #[pg_guard] extern "C" { - pub fn __log10f(__x: f32) -> f32; + pub fn last_dir_separator( + filename: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; } #[pg_guard] extern "C" { - pub fn modff(__x: f32, __iptr: *mut f32) -> f32; + pub fn first_path_var_separator( + pathlist: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; } #[pg_guard] extern "C" { - pub fn __modff(__x: f32, __iptr: *mut f32) -> f32; + pub fn join_path_components( + ret_path: *mut ::std::os::raw::c_char, + head: *const ::std::os::raw::c_char, + tail: *const ::std::os::raw::c_char, + ); } #[pg_guard] extern "C" { - pub fn expm1f(__x: f32) -> f32; + pub fn canonicalize_path(path: *mut ::std::os::raw::c_char); } #[pg_guard] extern "C" { - pub fn __expm1f(__x: f32) -> f32; + pub fn make_native_path(path: *mut ::std::os::raw::c_char); } #[pg_guard] extern "C" { - pub fn log1pf(__x: f32) -> f32; + pub fn cleanup_path(path: *mut ::std::os::raw::c_char); } #[pg_guard] extern "C" { - pub fn __log1pf(__x: f32) -> f32; + pub fn path_contains_parent_reference(path: *const ::std::os::raw::c_char) -> bool; } #[pg_guard] extern "C" { - pub fn logbf(__x: f32) -> f32; + pub fn path_is_relative_and_below_cwd(path: *const ::std::os::raw::c_char) -> bool; } #[pg_guard] extern "C" { - pub fn __logbf(__x: f32) -> f32; + pub fn path_is_prefix_of_path( + path1: *const ::std::os::raw::c_char, + path2: *const ::std::os::raw::c_char, + ) -> bool; } #[pg_guard] extern "C" { - pub fn exp2f(__x: f32) -> f32; + pub fn make_absolute_path(path: *const ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; } #[pg_guard] extern "C" { - pub fn __exp2f(__x: f32) -> f32; + pub fn get_progname(argv0: *const ::std::os::raw::c_char) -> *const ::std::os::raw::c_char; } #[pg_guard] extern "C" { - pub fn log2f(__x: f32) -> f32; + pub fn get_share_path( + my_exec_path: *const ::std::os::raw::c_char, + ret_path: *mut ::std::os::raw::c_char, + ); } #[pg_guard] extern "C" { - pub fn __log2f(__x: f32) -> f32; + pub fn get_etc_path( + my_exec_path: *const ::std::os::raw::c_char, + ret_path: *mut ::std::os::raw::c_char, + ); } #[pg_guard] extern "C" { - pub fn powf(__x: f32, __y: f32) -> f32; + pub fn get_include_path( + my_exec_path: *const ::std::os::raw::c_char, + ret_path: *mut ::std::os::raw::c_char, + ); } #[pg_guard] extern "C" { - pub fn __powf(__x: f32, __y: f32) -> f32; + pub fn get_pkginclude_path( + my_exec_path: *const ::std::os::raw::c_char, + ret_path: *mut ::std::os::raw::c_char, + ); } #[pg_guard] extern "C" { - pub fn sqrtf(__x: f32) -> f32; + pub fn get_includeserver_path( + my_exec_path: *const ::std::os::raw::c_char, + ret_path: *mut ::std::os::raw::c_char, + ); } #[pg_guard] extern "C" { - pub fn __sqrtf(__x: f32) -> f32; + pub fn get_lib_path( + my_exec_path: *const ::std::os::raw::c_char, + ret_path: *mut ::std::os::raw::c_char, + ); } #[pg_guard] extern "C" { - pub fn hypotf(__x: f32, __y: f32) -> f32; + pub fn get_pkglib_path( + my_exec_path: *const ::std::os::raw::c_char, + ret_path: *mut ::std::os::raw::c_char, + ); } #[pg_guard] extern "C" { - pub fn __hypotf(__x: f32, __y: f32) -> f32; + pub fn get_locale_path( + my_exec_path: *const ::std::os::raw::c_char, + ret_path: *mut ::std::os::raw::c_char, + ); } #[pg_guard] extern "C" { - pub fn cbrtf(__x: f32) -> f32; + pub fn get_doc_path( + my_exec_path: *const ::std::os::raw::c_char, + ret_path: *mut ::std::os::raw::c_char, + ); } #[pg_guard] extern "C" { - pub fn __cbrtf(__x: f32) -> f32; + pub fn get_html_path( + my_exec_path: *const ::std::os::raw::c_char, + ret_path: *mut ::std::os::raw::c_char, + ); } #[pg_guard] extern "C" { - pub fn ceilf(__x: f32) -> f32; + pub fn get_man_path( + my_exec_path: *const ::std::os::raw::c_char, + ret_path: *mut ::std::os::raw::c_char, + ); } #[pg_guard] extern "C" { - pub fn __ceilf(__x: f32) -> f32; + pub fn get_home_path(ret_path: *mut ::std::os::raw::c_char) -> bool; } #[pg_guard] extern "C" { - pub fn fabsf(__x: f32) -> f32; + pub fn get_parent_directory(path: *mut ::std::os::raw::c_char); } #[pg_guard] extern "C" { - pub fn __fabsf(__x: f32) -> f32; + pub fn pgfnames(path: *const ::std::os::raw::c_char) -> *mut *mut ::std::os::raw::c_char; } #[pg_guard] extern "C" { - pub fn floorf(__x: f32) -> f32; + pub fn pgfnames_cleanup(filenames: *mut *mut ::std::os::raw::c_char); } #[pg_guard] extern "C" { - pub fn __floorf(__x: f32) -> f32; + pub fn set_pglocale_pgservice( + argv0: *const ::std::os::raw::c_char, + app: *const ::std::os::raw::c_char, + ); } #[pg_guard] extern "C" { - pub fn fmodf(__x: f32, __y: f32) -> f32; + pub fn find_my_exec( + argv0: *const ::std::os::raw::c_char, + retpath: *mut ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn __fmodf(__x: f32, __y: f32) -> f32; + pub fn find_other_exec( + argv0: *const ::std::os::raw::c_char, + target: *const ::std::os::raw::c_char, + versionstr: *const ::std::os::raw::c_char, + retpath: *mut ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn isinff(__value: f32) -> ::std::os::raw::c_int; + pub fn pipe_read_line( + cmd: *mut ::std::os::raw::c_char, + line: *mut ::std::os::raw::c_char, + maxsize: ::std::os::raw::c_int, + ) -> *mut ::std::os::raw::c_char; } #[pg_guard] extern "C" { - pub fn finitef(__value: f32) -> ::std::os::raw::c_int; + pub fn pg_usleep(microsec: ::std::os::raw::c_long); } #[pg_guard] extern "C" { - pub fn dremf(__x: f32, __y: f32) -> f32; + pub fn pg_strcasecmp( + s1: *const ::std::os::raw::c_char, + s2: *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn __dremf(__x: f32, __y: f32) -> f32; + pub fn pg_strncasecmp( + s1: *const ::std::os::raw::c_char, + s2: *const ::std::os::raw::c_char, + n: usize, + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn significandf(__x: f32) -> f32; + pub fn pg_toupper(ch: ::std::os::raw::c_uchar) -> ::std::os::raw::c_uchar; } #[pg_guard] extern "C" { - pub fn __significandf(__x: f32) -> f32; + pub fn pg_tolower(ch: ::std::os::raw::c_uchar) -> ::std::os::raw::c_uchar; } #[pg_guard] extern "C" { - pub fn copysignf(__x: f32, __y: f32) -> f32; + pub fn pg_ascii_toupper(ch: ::std::os::raw::c_uchar) -> ::std::os::raw::c_uchar; } #[pg_guard] extern "C" { - pub fn __copysignf(__x: f32, __y: f32) -> f32; + pub fn pg_ascii_tolower(ch: ::std::os::raw::c_uchar) -> ::std::os::raw::c_uchar; } #[pg_guard] extern "C" { - pub fn nanf(__tagb: *const ::std::os::raw::c_char) -> f32; + pub fn pg_vsnprintf( + str_: *mut ::std::os::raw::c_char, + count: usize, + fmt: *const ::std::os::raw::c_char, + args: va_list, + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn __nanf(__tagb: *const ::std::os::raw::c_char) -> f32; + pub fn pg_snprintf( + str_: *mut ::std::os::raw::c_char, + count: usize, + fmt: *const ::std::os::raw::c_char, + ... + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn isnanf(__value: f32) -> ::std::os::raw::c_int; + pub fn pg_vsprintf( + str_: *mut ::std::os::raw::c_char, + fmt: *const ::std::os::raw::c_char, + args: va_list, + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn j0f(arg1: f32) -> f32; + pub fn pg_sprintf( + str_: *mut ::std::os::raw::c_char, + fmt: *const ::std::os::raw::c_char, + ... + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn __j0f(arg1: f32) -> f32; + pub fn pg_vfprintf( + stream: *mut FILE, + fmt: *const ::std::os::raw::c_char, + args: va_list, + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn j1f(arg1: f32) -> f32; + pub fn pg_fprintf( + stream: *mut FILE, + fmt: *const ::std::os::raw::c_char, + ... + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn __j1f(arg1: f32) -> f32; + pub fn pg_vprintf(fmt: *const ::std::os::raw::c_char, args: va_list) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn jnf(arg1: ::std::os::raw::c_int, arg2: f32) -> f32; + pub fn pg_printf(fmt: *const ::std::os::raw::c_char, ...) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn __jnf(arg1: ::std::os::raw::c_int, arg2: f32) -> f32; + pub fn pg_strfromd( + str_: *mut ::std::os::raw::c_char, + count: usize, + precision: ::std::os::raw::c_int, + value: f64, + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn y0f(arg1: f32) -> f32; + pub fn pg_strerror(errnum: ::std::os::raw::c_int) -> *mut ::std::os::raw::c_char; } #[pg_guard] extern "C" { - pub fn __y0f(arg1: f32) -> f32; + pub fn pg_strerror_r( + errnum: ::std::os::raw::c_int, + buf: *mut ::std::os::raw::c_char, + buflen: usize, + ) -> *mut ::std::os::raw::c_char; } #[pg_guard] extern "C" { - pub fn y1f(arg1: f32) -> f32; + pub fn pg_strsignal(signum: ::std::os::raw::c_int) -> *const ::std::os::raw::c_char; } #[pg_guard] extern "C" { - pub fn __y1f(arg1: f32) -> f32; + pub fn simple_prompt( + prompt: *const ::std::os::raw::c_char, + destination: *mut ::std::os::raw::c_char, + destlen: usize, + echo: bool, + ); } #[pg_guard] extern "C" { - pub fn ynf(arg1: ::std::os::raw::c_int, arg2: f32) -> f32; + pub fn pclose_check(stream: *mut FILE) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn __ynf(arg1: ::std::os::raw::c_int, arg2: f32) -> f32; + pub fn rmtree(path: *const ::std::os::raw::c_char, rmtopdir: bool) -> bool; } #[pg_guard] extern "C" { - pub fn erff(arg1: f32) -> f32; + pub fn pg_erand48(xseed: *mut ::std::os::raw::c_ushort) -> f64; } #[pg_guard] extern "C" { - pub fn __erff(arg1: f32) -> f32; + pub fn pg_lrand48() -> ::std::os::raw::c_long; } #[pg_guard] extern "C" { - pub fn erfcf(arg1: f32) -> f32; + pub fn pg_jrand48(xseed: *mut ::std::os::raw::c_ushort) -> ::std::os::raw::c_long; } #[pg_guard] extern "C" { - pub fn __erfcf(arg1: f32) -> f32; + pub fn pg_srand48(seed: ::std::os::raw::c_long); } +pub type float_t = f32; +pub type double_t = f64; #[pg_guard] extern "C" { - pub fn lgammaf(arg1: f32) -> f32; + pub fn __math_errhandling() -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn __lgammaf(arg1: f32) -> f32; + pub fn __fpclassifyf(arg1: f32) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn tgammaf(arg1: f32) -> f32; + pub fn __fpclassifyd(arg1: f64) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn __tgammaf(arg1: f32) -> f32; + pub fn __fpclassifyl(arg1: f64) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn gammaf(arg1: f32) -> f32; + pub fn acosf(arg1: f32) -> f32; } #[pg_guard] extern "C" { - pub fn __gammaf(arg1: f32) -> f32; + pub fn acos(arg1: f64) -> f64; } #[pg_guard] extern "C" { - pub fn lgammaf_r(arg1: f32, __signgamp: *mut ::std::os::raw::c_int) -> f32; + pub fn acosl(arg1: f64) -> f64; } #[pg_guard] extern "C" { - pub fn __lgammaf_r(arg1: f32, __signgamp: *mut ::std::os::raw::c_int) -> f32; + pub fn asinf(arg1: f32) -> f32; } #[pg_guard] extern "C" { - pub fn rintf(__x: f32) -> f32; + pub fn asin(arg1: f64) -> f64; } #[pg_guard] extern "C" { - pub fn __rintf(__x: f32) -> f32; + pub fn asinl(arg1: f64) -> f64; } #[pg_guard] extern "C" { - pub fn nextafterf(__x: f32, __y: f32) -> f32; + pub fn atanf(arg1: f32) -> f32; } #[pg_guard] extern "C" { - pub fn __nextafterf(__x: f32, __y: f32) -> f32; + pub fn atan(arg1: f64) -> f64; } #[pg_guard] extern "C" { - pub fn nexttowardf(__x: f32, __y: u128) -> f32; + pub fn atanl(arg1: f64) -> f64; } #[pg_guard] extern "C" { - pub fn __nexttowardf(__x: f32, __y: u128) -> f32; + pub fn atan2f(arg1: f32, arg2: f32) -> f32; } #[pg_guard] extern "C" { - pub fn remainderf(__x: f32, __y: f32) -> f32; + pub fn atan2(arg1: f64, arg2: f64) -> f64; } #[pg_guard] extern "C" { - pub fn __remainderf(__x: f32, __y: f32) -> f32; + pub fn atan2l(arg1: f64, arg2: f64) -> f64; } #[pg_guard] extern "C" { - pub fn scalbnf(__x: f32, __n: ::std::os::raw::c_int) -> f32; + pub fn cosf(arg1: f32) -> f32; } #[pg_guard] extern "C" { - pub fn __scalbnf(__x: f32, __n: ::std::os::raw::c_int) -> f32; + pub fn cos(arg1: f64) -> f64; } #[pg_guard] extern "C" { - pub fn ilogbf(__x: f32) -> ::std::os::raw::c_int; + pub fn cosl(arg1: f64) -> f64; } #[pg_guard] extern "C" { - pub fn __ilogbf(__x: f32) -> ::std::os::raw::c_int; + pub fn sinf(arg1: f32) -> f32; } #[pg_guard] extern "C" { - pub fn scalblnf(__x: f32, __n: ::std::os::raw::c_long) -> f32; + pub fn sin(arg1: f64) -> f64; } #[pg_guard] extern "C" { - pub fn __scalblnf(__x: f32, __n: ::std::os::raw::c_long) -> f32; + pub fn sinl(arg1: f64) -> f64; } #[pg_guard] extern "C" { - pub fn nearbyintf(__x: f32) -> f32; + pub fn tanf(arg1: f32) -> f32; } #[pg_guard] extern "C" { - pub fn __nearbyintf(__x: f32) -> f32; + pub fn tan(arg1: f64) -> f64; } #[pg_guard] extern "C" { - pub fn roundf(__x: f32) -> f32; + pub fn tanl(arg1: f64) -> f64; } #[pg_guard] extern "C" { - pub fn __roundf(__x: f32) -> f32; + pub fn acoshf(arg1: f32) -> f32; } #[pg_guard] extern "C" { - pub fn truncf(__x: f32) -> f32; + pub fn acosh(arg1: f64) -> f64; } #[pg_guard] extern "C" { - pub fn __truncf(__x: f32) -> f32; + pub fn acoshl(arg1: f64) -> f64; } #[pg_guard] extern "C" { - pub fn remquof(__x: f32, __y: f32, __quo: *mut ::std::os::raw::c_int) -> f32; + pub fn asinhf(arg1: f32) -> f32; } #[pg_guard] extern "C" { - pub fn __remquof(__x: f32, __y: f32, __quo: *mut ::std::os::raw::c_int) -> f32; + pub fn asinh(arg1: f64) -> f64; } #[pg_guard] extern "C" { - pub fn lrintf(__x: f32) -> ::std::os::raw::c_long; + pub fn asinhl(arg1: f64) -> f64; } #[pg_guard] extern "C" { - pub fn __lrintf(__x: f32) -> ::std::os::raw::c_long; + pub fn atanhf(arg1: f32) -> f32; } #[pg_guard] extern "C" { - pub fn llrintf(__x: f32) -> ::std::os::raw::c_longlong; + pub fn atanh(arg1: f64) -> f64; } #[pg_guard] extern "C" { - pub fn __llrintf(__x: f32) -> ::std::os::raw::c_longlong; + pub fn atanhl(arg1: f64) -> f64; } #[pg_guard] extern "C" { - pub fn lroundf(__x: f32) -> ::std::os::raw::c_long; + pub fn coshf(arg1: f32) -> f32; } #[pg_guard] extern "C" { - pub fn __lroundf(__x: f32) -> ::std::os::raw::c_long; + pub fn cosh(arg1: f64) -> f64; } #[pg_guard] extern "C" { - pub fn llroundf(__x: f32) -> ::std::os::raw::c_longlong; + pub fn coshl(arg1: f64) -> f64; } #[pg_guard] extern "C" { - pub fn __llroundf(__x: f32) -> ::std::os::raw::c_longlong; + pub fn sinhf(arg1: f32) -> f32; } #[pg_guard] extern "C" { - pub fn fdimf(__x: f32, __y: f32) -> f32; + pub fn sinh(arg1: f64) -> f64; } #[pg_guard] extern "C" { - pub fn __fdimf(__x: f32, __y: f32) -> f32; + pub fn sinhl(arg1: f64) -> f64; } #[pg_guard] extern "C" { - pub fn fmaxf(__x: f32, __y: f32) -> f32; + pub fn tanhf(arg1: f32) -> f32; } #[pg_guard] extern "C" { - pub fn __fmaxf(__x: f32, __y: f32) -> f32; + pub fn tanh(arg1: f64) -> f64; } #[pg_guard] extern "C" { - pub fn fminf(__x: f32, __y: f32) -> f32; + pub fn tanhl(arg1: f64) -> f64; } #[pg_guard] extern "C" { - pub fn __fminf(__x: f32, __y: f32) -> f32; + pub fn expf(arg1: f32) -> f32; } #[pg_guard] extern "C" { - pub fn fmaf(__x: f32, __y: f32, __z: f32) -> f32; + pub fn exp(arg1: f64) -> f64; } #[pg_guard] extern "C" { - pub fn __fmaf(__x: f32, __y: f32, __z: f32) -> f32; + pub fn expl(arg1: f64) -> f64; } #[pg_guard] extern "C" { - pub fn scalbf(__x: f32, __n: f32) -> f32; + pub fn exp2f(arg1: f32) -> f32; } #[pg_guard] extern "C" { - pub fn __scalbf(__x: f32, __n: f32) -> f32; + pub fn exp2(arg1: f64) -> f64; } #[pg_guard] extern "C" { - pub fn __fpclassifyl(__value: u128) -> ::std::os::raw::c_int; + pub fn exp2l(arg1: f64) -> f64; } #[pg_guard] extern "C" { - pub fn __signbitl(__value: u128) -> ::std::os::raw::c_int; + pub fn expm1f(arg1: f32) -> f32; } #[pg_guard] extern "C" { - pub fn __isinfl(__value: u128) -> ::std::os::raw::c_int; + pub fn expm1(arg1: f64) -> f64; } #[pg_guard] extern "C" { - pub fn __finitel(__value: u128) -> ::std::os::raw::c_int; + pub fn expm1l(arg1: f64) -> f64; } #[pg_guard] extern "C" { - pub fn __isnanl(__value: u128) -> ::std::os::raw::c_int; + pub fn logf(arg1: f32) -> f32; } #[pg_guard] extern "C" { - pub fn __iseqsigl(__x: u128, __y: u128) -> ::std::os::raw::c_int; + pub fn log(arg1: f64) -> f64; } #[pg_guard] extern "C" { - pub fn __issignalingl(__value: u128) -> ::std::os::raw::c_int; + pub fn logl(arg1: f64) -> f64; } #[pg_guard] extern "C" { - pub fn acosl(__x: u128) -> u128; + pub fn log10f(arg1: f32) -> f32; } #[pg_guard] extern "C" { - pub fn __acosl(__x: u128) -> u128; + pub fn log10(arg1: f64) -> f64; } #[pg_guard] extern "C" { - pub fn asinl(__x: u128) -> u128; + pub fn log10l(arg1: f64) -> f64; } #[pg_guard] extern "C" { - pub fn __asinl(__x: u128) -> u128; + pub fn log2f(arg1: f32) -> f32; } #[pg_guard] extern "C" { - pub fn atanl(__x: u128) -> u128; + pub fn log2(arg1: f64) -> f64; } #[pg_guard] extern "C" { - pub fn __atanl(__x: u128) -> u128; + pub fn log2l(arg1: f64) -> f64; } #[pg_guard] extern "C" { - pub fn atan2l(__y: u128, __x: u128) -> u128; + pub fn log1pf(arg1: f32) -> f32; } #[pg_guard] extern "C" { - pub fn __atan2l(__y: u128, __x: u128) -> u128; + pub fn log1p(arg1: f64) -> f64; } #[pg_guard] extern "C" { - pub fn cosl(__x: u128) -> u128; + pub fn log1pl(arg1: f64) -> f64; } #[pg_guard] extern "C" { - pub fn __cosl(__x: u128) -> u128; + pub fn logbf(arg1: f32) -> f32; } #[pg_guard] extern "C" { - pub fn sinl(__x: u128) -> u128; + pub fn logb(arg1: f64) -> f64; } #[pg_guard] extern "C" { - pub fn __sinl(__x: u128) -> u128; + pub fn logbl(arg1: f64) -> f64; } #[pg_guard] extern "C" { - pub fn tanl(__x: u128) -> u128; + pub fn modff(arg1: f32, arg2: *mut f32) -> f32; } #[pg_guard] extern "C" { - pub fn __tanl(__x: u128) -> u128; + pub fn modf(arg1: f64, arg2: *mut f64) -> f64; } #[pg_guard] extern "C" { - pub fn coshl(__x: u128) -> u128; + pub fn modfl(arg1: f64, arg2: *mut f64) -> f64; } #[pg_guard] extern "C" { - pub fn __coshl(__x: u128) -> u128; + pub fn ldexpf(arg1: f32, arg2: ::std::os::raw::c_int) -> f32; } #[pg_guard] extern "C" { - pub fn sinhl(__x: u128) -> u128; + pub fn ldexp(arg1: f64, arg2: ::std::os::raw::c_int) -> f64; } #[pg_guard] extern "C" { - pub fn __sinhl(__x: u128) -> u128; + pub fn ldexpl(arg1: f64, arg2: ::std::os::raw::c_int) -> f64; } #[pg_guard] extern "C" { - pub fn tanhl(__x: u128) -> u128; + pub fn frexpf(arg1: f32, arg2: *mut ::std::os::raw::c_int) -> f32; } #[pg_guard] extern "C" { - pub fn __tanhl(__x: u128) -> u128; + pub fn frexp(arg1: f64, arg2: *mut ::std::os::raw::c_int) -> f64; } #[pg_guard] extern "C" { - pub fn acoshl(__x: u128) -> u128; + pub fn frexpl(arg1: f64, arg2: *mut ::std::os::raw::c_int) -> f64; } #[pg_guard] extern "C" { - pub fn __acoshl(__x: u128) -> u128; + pub fn ilogbf(arg1: f32) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn asinhl(__x: u128) -> u128; + pub fn ilogb(arg1: f64) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn __asinhl(__x: u128) -> u128; + pub fn ilogbl(arg1: f64) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn atanhl(__x: u128) -> u128; + pub fn scalbnf(arg1: f32, arg2: ::std::os::raw::c_int) -> f32; } #[pg_guard] extern "C" { - pub fn __atanhl(__x: u128) -> u128; + pub fn scalbn(arg1: f64, arg2: ::std::os::raw::c_int) -> f64; } #[pg_guard] extern "C" { - pub fn expl(__x: u128) -> u128; + pub fn scalbnl(arg1: f64, arg2: ::std::os::raw::c_int) -> f64; } #[pg_guard] extern "C" { - pub fn __expl(__x: u128) -> u128; + pub fn scalblnf(arg1: f32, arg2: ::std::os::raw::c_long) -> f32; } #[pg_guard] extern "C" { - pub fn frexpl(__x: u128, __exponent: *mut ::std::os::raw::c_int) -> u128; + pub fn scalbln(arg1: f64, arg2: ::std::os::raw::c_long) -> f64; } #[pg_guard] extern "C" { - pub fn __frexpl(__x: u128, __exponent: *mut ::std::os::raw::c_int) -> u128; + pub fn scalblnl(arg1: f64, arg2: ::std::os::raw::c_long) -> f64; } #[pg_guard] extern "C" { - pub fn ldexpl(__x: u128, __exponent: ::std::os::raw::c_int) -> u128; + pub fn fabsf(arg1: f32) -> f32; } #[pg_guard] extern "C" { - pub fn __ldexpl(__x: u128, __exponent: ::std::os::raw::c_int) -> u128; + pub fn fabs(arg1: f64) -> f64; } #[pg_guard] extern "C" { - pub fn logl(__x: u128) -> u128; + pub fn fabsl(arg1: f64) -> f64; } #[pg_guard] extern "C" { - pub fn __logl(__x: u128) -> u128; + pub fn cbrtf(arg1: f32) -> f32; } #[pg_guard] extern "C" { - pub fn log10l(__x: u128) -> u128; + pub fn cbrt(arg1: f64) -> f64; } #[pg_guard] extern "C" { - pub fn __log10l(__x: u128) -> u128; + pub fn cbrtl(arg1: f64) -> f64; } #[pg_guard] extern "C" { - pub fn modfl(__x: u128, __iptr: *mut u128) -> u128; + pub fn hypotf(arg1: f32, arg2: f32) -> f32; } #[pg_guard] extern "C" { - pub fn __modfl(__x: u128, __iptr: *mut u128) -> u128; + pub fn hypot(arg1: f64, arg2: f64) -> f64; } #[pg_guard] extern "C" { - pub fn expm1l(__x: u128) -> u128; + pub fn hypotl(arg1: f64, arg2: f64) -> f64; } #[pg_guard] extern "C" { - pub fn __expm1l(__x: u128) -> u128; + pub fn powf(arg1: f32, arg2: f32) -> f32; } #[pg_guard] extern "C" { - pub fn log1pl(__x: u128) -> u128; + pub fn pow(arg1: f64, arg2: f64) -> f64; } #[pg_guard] extern "C" { - pub fn __log1pl(__x: u128) -> u128; + pub fn powl(arg1: f64, arg2: f64) -> f64; } #[pg_guard] extern "C" { - pub fn logbl(__x: u128) -> u128; + pub fn sqrtf(arg1: f32) -> f32; } #[pg_guard] extern "C" { - pub fn __logbl(__x: u128) -> u128; + pub fn sqrt(arg1: f64) -> f64; } #[pg_guard] extern "C" { - pub fn exp2l(__x: u128) -> u128; + pub fn sqrtl(arg1: f64) -> f64; } #[pg_guard] extern "C" { - pub fn __exp2l(__x: u128) -> u128; + pub fn erff(arg1: f32) -> f32; } #[pg_guard] extern "C" { - pub fn log2l(__x: u128) -> u128; + pub fn erf(arg1: f64) -> f64; } #[pg_guard] extern "C" { - pub fn __log2l(__x: u128) -> u128; + pub fn erfl(arg1: f64) -> f64; } #[pg_guard] extern "C" { - pub fn powl(__x: u128, __y: u128) -> u128; + pub fn erfcf(arg1: f32) -> f32; } #[pg_guard] extern "C" { - pub fn __powl(__x: u128, __y: u128) -> u128; + pub fn erfc(arg1: f64) -> f64; } #[pg_guard] extern "C" { - pub fn sqrtl(__x: u128) -> u128; + pub fn erfcl(arg1: f64) -> f64; } #[pg_guard] extern "C" { - pub fn __sqrtl(__x: u128) -> u128; + pub fn lgammaf(arg1: f32) -> f32; } #[pg_guard] extern "C" { - pub fn hypotl(__x: u128, __y: u128) -> u128; + pub fn lgamma(arg1: f64) -> f64; } #[pg_guard] extern "C" { - pub fn __hypotl(__x: u128, __y: u128) -> u128; + pub fn lgammal(arg1: f64) -> f64; } #[pg_guard] extern "C" { - pub fn cbrtl(__x: u128) -> u128; + pub fn tgammaf(arg1: f32) -> f32; } #[pg_guard] extern "C" { - pub fn __cbrtl(__x: u128) -> u128; + pub fn tgamma(arg1: f64) -> f64; } #[pg_guard] extern "C" { - pub fn ceill(__x: u128) -> u128; + pub fn tgammal(arg1: f64) -> f64; } #[pg_guard] extern "C" { - pub fn __ceill(__x: u128) -> u128; + pub fn ceilf(arg1: f32) -> f32; } #[pg_guard] extern "C" { - pub fn fabsl(__x: u128) -> u128; + pub fn ceil(arg1: f64) -> f64; } #[pg_guard] extern "C" { - pub fn __fabsl(__x: u128) -> u128; + pub fn ceill(arg1: f64) -> f64; } #[pg_guard] extern "C" { - pub fn floorl(__x: u128) -> u128; + pub fn floorf(arg1: f32) -> f32; } #[pg_guard] extern "C" { - pub fn __floorl(__x: u128) -> u128; + pub fn floor(arg1: f64) -> f64; } #[pg_guard] extern "C" { - pub fn fmodl(__x: u128, __y: u128) -> u128; + pub fn floorl(arg1: f64) -> f64; } #[pg_guard] extern "C" { - pub fn __fmodl(__x: u128, __y: u128) -> u128; + pub fn nearbyintf(arg1: f32) -> f32; } #[pg_guard] extern "C" { - pub fn isinfl(__value: u128) -> ::std::os::raw::c_int; + pub fn nearbyint(arg1: f64) -> f64; } #[pg_guard] extern "C" { - pub fn finitel(__value: u128) -> ::std::os::raw::c_int; + pub fn nearbyintl(arg1: f64) -> f64; } #[pg_guard] extern "C" { - pub fn dreml(__x: u128, __y: u128) -> u128; + pub fn rintf(arg1: f32) -> f32; } #[pg_guard] extern "C" { - pub fn __dreml(__x: u128, __y: u128) -> u128; + pub fn rint(arg1: f64) -> f64; } #[pg_guard] extern "C" { - pub fn significandl(__x: u128) -> u128; + pub fn rintl(arg1: f64) -> f64; } #[pg_guard] extern "C" { - pub fn __significandl(__x: u128) -> u128; + pub fn lrintf(arg1: f32) -> ::std::os::raw::c_long; } #[pg_guard] extern "C" { - pub fn copysignl(__x: u128, __y: u128) -> u128; + pub fn lrint(arg1: f64) -> ::std::os::raw::c_long; } #[pg_guard] extern "C" { - pub fn __copysignl(__x: u128, __y: u128) -> u128; + pub fn lrintl(arg1: f64) -> ::std::os::raw::c_long; } #[pg_guard] extern "C" { - pub fn nanl(__tagb: *const ::std::os::raw::c_char) -> u128; + pub fn roundf(arg1: f32) -> f32; } #[pg_guard] extern "C" { - pub fn __nanl(__tagb: *const ::std::os::raw::c_char) -> u128; + pub fn round(arg1: f64) -> f64; } #[pg_guard] extern "C" { - pub fn isnanl(__value: u128) -> ::std::os::raw::c_int; + pub fn roundl(arg1: f64) -> f64; } #[pg_guard] extern "C" { - pub fn j0l(arg1: u128) -> u128; + pub fn lroundf(arg1: f32) -> ::std::os::raw::c_long; } #[pg_guard] extern "C" { - pub fn __j0l(arg1: u128) -> u128; + pub fn lround(arg1: f64) -> ::std::os::raw::c_long; } #[pg_guard] extern "C" { - pub fn j1l(arg1: u128) -> u128; + pub fn lroundl(arg1: f64) -> ::std::os::raw::c_long; } #[pg_guard] extern "C" { - pub fn __j1l(arg1: u128) -> u128; + pub fn llrintf(arg1: f32) -> ::std::os::raw::c_longlong; } #[pg_guard] extern "C" { - pub fn jnl(arg1: ::std::os::raw::c_int, arg2: u128) -> u128; + pub fn llrint(arg1: f64) -> ::std::os::raw::c_longlong; } #[pg_guard] extern "C" { - pub fn __jnl(arg1: ::std::os::raw::c_int, arg2: u128) -> u128; + pub fn llrintl(arg1: f64) -> ::std::os::raw::c_longlong; } #[pg_guard] extern "C" { - pub fn y0l(arg1: u128) -> u128; + pub fn llroundf(arg1: f32) -> ::std::os::raw::c_longlong; } #[pg_guard] extern "C" { - pub fn __y0l(arg1: u128) -> u128; + pub fn llround(arg1: f64) -> ::std::os::raw::c_longlong; } #[pg_guard] extern "C" { - pub fn y1l(arg1: u128) -> u128; + pub fn llroundl(arg1: f64) -> ::std::os::raw::c_longlong; } #[pg_guard] extern "C" { - pub fn __y1l(arg1: u128) -> u128; + pub fn truncf(arg1: f32) -> f32; } #[pg_guard] extern "C" { - pub fn ynl(arg1: ::std::os::raw::c_int, arg2: u128) -> u128; + pub fn trunc(arg1: f64) -> f64; } #[pg_guard] extern "C" { - pub fn __ynl(arg1: ::std::os::raw::c_int, arg2: u128) -> u128; + pub fn truncl(arg1: f64) -> f64; } #[pg_guard] extern "C" { - pub fn erfl(arg1: u128) -> u128; + pub fn fmodf(arg1: f32, arg2: f32) -> f32; } #[pg_guard] extern "C" { - pub fn __erfl(arg1: u128) -> u128; + pub fn fmod(arg1: f64, arg2: f64) -> f64; } #[pg_guard] extern "C" { - pub fn erfcl(arg1: u128) -> u128; + pub fn fmodl(arg1: f64, arg2: f64) -> f64; } #[pg_guard] extern "C" { - pub fn __erfcl(arg1: u128) -> u128; + pub fn remainderf(arg1: f32, arg2: f32) -> f32; } #[pg_guard] extern "C" { - pub fn lgammal(arg1: u128) -> u128; + pub fn remainder(arg1: f64, arg2: f64) -> f64; } #[pg_guard] extern "C" { - pub fn __lgammal(arg1: u128) -> u128; + pub fn remainderl(arg1: f64, arg2: f64) -> f64; } #[pg_guard] extern "C" { - pub fn tgammal(arg1: u128) -> u128; + pub fn remquof(arg1: f32, arg2: f32, arg3: *mut ::std::os::raw::c_int) -> f32; } #[pg_guard] extern "C" { - pub fn __tgammal(arg1: u128) -> u128; + pub fn remquo(arg1: f64, arg2: f64, arg3: *mut ::std::os::raw::c_int) -> f64; } #[pg_guard] extern "C" { - pub fn gammal(arg1: u128) -> u128; + pub fn remquol(arg1: f64, arg2: f64, arg3: *mut ::std::os::raw::c_int) -> f64; } #[pg_guard] extern "C" { - pub fn __gammal(arg1: u128) -> u128; + pub fn copysignf(arg1: f32, arg2: f32) -> f32; } #[pg_guard] extern "C" { - pub fn lgammal_r(arg1: u128, __signgamp: *mut ::std::os::raw::c_int) -> u128; + pub fn copysign(arg1: f64, arg2: f64) -> f64; } #[pg_guard] extern "C" { - pub fn __lgammal_r(arg1: u128, __signgamp: *mut ::std::os::raw::c_int) -> u128; + pub fn copysignl(arg1: f64, arg2: f64) -> f64; } #[pg_guard] extern "C" { - pub fn rintl(__x: u128) -> u128; + pub fn nanf(arg1: *const ::std::os::raw::c_char) -> f32; } #[pg_guard] extern "C" { - pub fn __rintl(__x: u128) -> u128; + pub fn nan(arg1: *const ::std::os::raw::c_char) -> f64; } #[pg_guard] extern "C" { - pub fn nextafterl(__x: u128, __y: u128) -> u128; + pub fn nanl(arg1: *const ::std::os::raw::c_char) -> f64; } #[pg_guard] extern "C" { - pub fn __nextafterl(__x: u128, __y: u128) -> u128; + pub fn nextafterf(arg1: f32, arg2: f32) -> f32; } #[pg_guard] extern "C" { - pub fn nexttowardl(__x: u128, __y: u128) -> u128; + pub fn nextafter(arg1: f64, arg2: f64) -> f64; } #[pg_guard] extern "C" { - pub fn __nexttowardl(__x: u128, __y: u128) -> u128; + pub fn nextafterl(arg1: f64, arg2: f64) -> f64; } #[pg_guard] extern "C" { - pub fn remainderl(__x: u128, __y: u128) -> u128; + pub fn nexttoward(arg1: f64, arg2: f64) -> f64; } #[pg_guard] extern "C" { - pub fn __remainderl(__x: u128, __y: u128) -> u128; + pub fn nexttowardf(arg1: f32, arg2: f64) -> f32; } #[pg_guard] extern "C" { - pub fn scalbnl(__x: u128, __n: ::std::os::raw::c_int) -> u128; + pub fn nexttowardl(arg1: f64, arg2: f64) -> f64; } #[pg_guard] extern "C" { - pub fn __scalbnl(__x: u128, __n: ::std::os::raw::c_int) -> u128; + pub fn fdimf(arg1: f32, arg2: f32) -> f32; } #[pg_guard] extern "C" { - pub fn ilogbl(__x: u128) -> ::std::os::raw::c_int; + pub fn fdim(arg1: f64, arg2: f64) -> f64; } #[pg_guard] extern "C" { - pub fn __ilogbl(__x: u128) -> ::std::os::raw::c_int; + pub fn fdiml(arg1: f64, arg2: f64) -> f64; } #[pg_guard] extern "C" { - pub fn scalblnl(__x: u128, __n: ::std::os::raw::c_long) -> u128; + pub fn fmaxf(arg1: f32, arg2: f32) -> f32; } #[pg_guard] extern "C" { - pub fn __scalblnl(__x: u128, __n: ::std::os::raw::c_long) -> u128; + pub fn fmax(arg1: f64, arg2: f64) -> f64; } #[pg_guard] extern "C" { - pub fn nearbyintl(__x: u128) -> u128; + pub fn fmaxl(arg1: f64, arg2: f64) -> f64; } #[pg_guard] extern "C" { - pub fn __nearbyintl(__x: u128) -> u128; + pub fn fminf(arg1: f32, arg2: f32) -> f32; } #[pg_guard] extern "C" { - pub fn roundl(__x: u128) -> u128; + pub fn fmin(arg1: f64, arg2: f64) -> f64; } #[pg_guard] extern "C" { - pub fn __roundl(__x: u128) -> u128; + pub fn fminl(arg1: f64, arg2: f64) -> f64; } #[pg_guard] extern "C" { - pub fn truncl(__x: u128) -> u128; + pub fn fmaf(arg1: f32, arg2: f32, arg3: f32) -> f32; } #[pg_guard] extern "C" { - pub fn __truncl(__x: u128) -> u128; + pub fn fma(arg1: f64, arg2: f64, arg3: f64) -> f64; } #[pg_guard] extern "C" { - pub fn remquol(__x: u128, __y: u128, __quo: *mut ::std::os::raw::c_int) -> u128; + pub fn fmal(arg1: f64, arg2: f64, arg3: f64) -> f64; } #[pg_guard] extern "C" { - pub fn __remquol(__x: u128, __y: u128, __quo: *mut ::std::os::raw::c_int) -> u128; + pub fn __exp10f(arg1: f32) -> f32; } #[pg_guard] extern "C" { - pub fn lrintl(__x: u128) -> ::std::os::raw::c_long; + pub fn __exp10(arg1: f64) -> f64; } #[pg_guard] extern "C" { - pub fn __lrintl(__x: u128) -> ::std::os::raw::c_long; + pub fn __cospif(arg1: f32) -> f32; } #[pg_guard] extern "C" { - pub fn llrintl(__x: u128) -> ::std::os::raw::c_longlong; + pub fn __cospi(arg1: f64) -> f64; } #[pg_guard] extern "C" { - pub fn __llrintl(__x: u128) -> ::std::os::raw::c_longlong; + pub fn __sinpif(arg1: f32) -> f32; } #[pg_guard] extern "C" { - pub fn lroundl(__x: u128) -> ::std::os::raw::c_long; + pub fn __sinpi(arg1: f64) -> f64; } #[pg_guard] extern "C" { - pub fn __lroundl(__x: u128) -> ::std::os::raw::c_long; + pub fn __tanpif(arg1: f32) -> f32; } #[pg_guard] extern "C" { - pub fn llroundl(__x: u128) -> ::std::os::raw::c_longlong; + pub fn __tanpi(arg1: f64) -> f64; +} +#[repr(C)] +#[derive(Debug, Default, Copy, Clone)] +pub struct __float2 { + pub __sinval: f32, + pub __cosval: f32, +} +#[repr(C)] +#[derive(Debug, Default, Copy, Clone)] +pub struct __double2 { + pub __sinval: f64, + pub __cosval: f64, } #[pg_guard] extern "C" { - pub fn __llroundl(__x: u128) -> ::std::os::raw::c_longlong; + pub fn __sincosf_stret(arg1: f32) -> __float2; } #[pg_guard] extern "C" { - pub fn fdiml(__x: u128, __y: u128) -> u128; + pub fn __sincos_stret(arg1: f64) -> __double2; } #[pg_guard] extern "C" { - pub fn __fdiml(__x: u128, __y: u128) -> u128; + pub fn __sincospif_stret(arg1: f32) -> __float2; } #[pg_guard] extern "C" { - pub fn fmaxl(__x: u128, __y: u128) -> u128; + pub fn __sincospi_stret(arg1: f64) -> __double2; } #[pg_guard] extern "C" { - pub fn __fmaxl(__x: u128, __y: u128) -> u128; + pub fn j0(arg1: f64) -> f64; } #[pg_guard] extern "C" { - pub fn fminl(__x: u128, __y: u128) -> u128; + pub fn j1(arg1: f64) -> f64; } #[pg_guard] extern "C" { - pub fn __fminl(__x: u128, __y: u128) -> u128; + pub fn jn(arg1: ::std::os::raw::c_int, arg2: f64) -> f64; } #[pg_guard] extern "C" { - pub fn fmal(__x: u128, __y: u128, __z: u128) -> u128; + pub fn y0(arg1: f64) -> f64; } #[pg_guard] extern "C" { - pub fn __fmal(__x: u128, __y: u128, __z: u128) -> u128; + pub fn y1(arg1: f64) -> f64; } #[pg_guard] extern "C" { - pub fn scalbl(__x: u128, __n: u128) -> u128; + pub fn yn(arg1: ::std::os::raw::c_int, arg2: f64) -> f64; } #[pg_guard] extern "C" { - pub fn __scalbl(__x: u128, __n: u128) -> u128; + pub fn scalb(arg1: f64, arg2: f64) -> f64; } #[pg_guard] extern "C" { pub static mut signgam: ::std::os::raw::c_int; } -pub const FP_NAN: ::std::os::raw::c_uint = 0; -pub const FP_INFINITE: ::std::os::raw::c_uint = 1; -pub const FP_ZERO: ::std::os::raw::c_uint = 2; -pub const FP_SUBNORMAL: ::std::os::raw::c_uint = 3; -pub const FP_NORMAL: ::std::os::raw::c_uint = 4; -pub type _bindgen_ty_8 = ::std::os::raw::c_uint; -#[pg_guard] -extern "C" { - pub fn strlcat( - dst: *mut ::std::os::raw::c_char, - src: *const ::std::os::raw::c_char, - siz: usize, - ) -> usize; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct exception { + pub type_: ::std::os::raw::c_int, + pub name: *mut ::std::os::raw::c_char, + pub arg1: f64, + pub arg2: f64, + pub retval: f64, +} +impl Default for exception { + fn default() -> Self { + let mut s = ::std::mem::MaybeUninit::::uninit(); + unsafe { + ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); + s.assume_init() + } + } } #[pg_guard] extern "C" { - pub fn strlcpy( - dst: *mut ::std::os::raw::c_char, - src: *const ::std::os::raw::c_char, - siz: usize, - ) -> usize; + pub fn explicit_bzero(buf: *mut ::std::os::raw::c_void, len: usize); } #[pg_guard] extern "C" { @@ -9006,39 +9252,28 @@ extern "C" { include_command_not_found: bool, ) -> bool; } -pub type __jmp_buf = [::std::os::raw::c_long; 8usize]; -#[repr(C)] -#[derive(Debug, Default, Copy, Clone)] -pub struct __jmp_buf_tag { - pub __jmpbuf: __jmp_buf, - pub __mask_was_saved: ::std::os::raw::c_int, - pub __saved_mask: __sigset_t, -} -pub type jmp_buf = [__jmp_buf_tag; 1usize]; +pub type jmp_buf = [::std::os::raw::c_int; 48usize]; +pub type sigjmp_buf = [::std::os::raw::c_int; 49usize]; #[pg_guard] extern "C" { - pub fn setjmp(__env: *mut __jmp_buf_tag) -> ::std::os::raw::c_int; + pub fn setjmp(arg1: *mut ::std::os::raw::c_int) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn __sigsetjmp( - __env: *mut __jmp_buf_tag, - __savemask: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; + pub fn longjmp(arg1: *mut ::std::os::raw::c_int, arg2: ::std::os::raw::c_int); } #[pg_guard] extern "C" { - pub fn _setjmp(__env: *mut __jmp_buf_tag) -> ::std::os::raw::c_int; + pub fn _setjmp(arg1: *mut ::std::os::raw::c_int) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn longjmp(__env: *mut __jmp_buf_tag, __val: ::std::os::raw::c_int); + pub fn _longjmp(arg1: *mut ::std::os::raw::c_int, arg2: ::std::os::raw::c_int); } #[pg_guard] extern "C" { - pub fn _longjmp(__env: *mut __jmp_buf_tag, __val: ::std::os::raw::c_int); + pub fn longjmperror(); } -pub type sigjmp_buf = [__jmp_buf_tag; 1usize]; #[pg_guard] extern "C" { pub fn errstart(elevel: ::std::os::raw::c_int, domain: *const ::std::os::raw::c_char) -> bool; @@ -9456,7 +9691,7 @@ extern "C" { buf: *mut ::std::os::raw::c_char, len: usize, fmt: *const ::std::os::raw::c_char, - args: *mut __va_list_tag, + args: va_list, ) -> usize; } #[repr(C)] @@ -10851,83 +11086,251 @@ extern "C" { #[repr(C)] #[derive(Debug, Default, Copy, Clone)] pub struct flock { + pub l_start: off_t, + pub l_len: off_t, + pub l_pid: pid_t, pub l_type: ::std::os::raw::c_short, pub l_whence: ::std::os::raw::c_short, - pub l_start: __off_t, - pub l_len: __off_t, - pub l_pid: __pid_t, } #[repr(C)] #[derive(Debug, Default, Copy, Clone)] -pub struct stat { - pub st_dev: __dev_t, - pub st_ino: __ino_t, - pub st_nlink: __nlink_t, - pub st_mode: __mode_t, - pub st_uid: __uid_t, - pub st_gid: __gid_t, - pub __pad0: ::std::os::raw::c_int, - pub st_rdev: __dev_t, - pub st_size: __off_t, - pub st_blksize: __blksize_t, - pub st_blocks: __blkcnt_t, - pub st_atim: timespec, - pub st_mtim: timespec, - pub st_ctim: timespec, - pub __glibc_reserved: [__syscall_slong_t; 3usize], +pub struct timespec { + pub tv_sec: __darwin_time_t, + pub tv_nsec: ::std::os::raw::c_long, +} +#[repr(C)] +#[derive(Debug, Default, Copy, Clone)] +pub struct flocktimeout { + pub fl: flock, + pub timeout: timespec, +} +#[repr(C)] +#[derive(Debug, Default, Copy, Clone)] +pub struct radvisory { + pub ra_offset: off_t, + pub ra_count: ::std::os::raw::c_int, +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct fsignatures { + pub fs_file_start: off_t, + pub fs_blob_start: *mut ::std::os::raw::c_void, + pub fs_blob_size: usize, + pub fs_fsignatures_size: usize, + pub fs_cdhash: [::std::os::raw::c_char; 20usize], + pub fs_hash_type: ::std::os::raw::c_int, +} +impl Default for fsignatures { + fn default() -> Self { + let mut s = ::std::mem::MaybeUninit::::uninit(); + unsafe { + ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); + s.assume_init() + } + } +} +pub type fsignatures_t = fsignatures; +#[repr(C)] +#[derive(Debug, Default, Copy, Clone)] +pub struct fsupplement { + pub fs_file_start: off_t, + pub fs_blob_start: off_t, + pub fs_blob_size: usize, + pub fs_orig_fd: ::std::os::raw::c_int, +} +pub type fsupplement_t = fsupplement; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct fchecklv { + pub lv_file_start: off_t, + pub lv_error_message_size: usize, + pub lv_error_message: *mut ::std::os::raw::c_void, +} +impl Default for fchecklv { + fn default() -> Self { + let mut s = ::std::mem::MaybeUninit::::uninit(); + unsafe { + ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); + s.assume_init() + } + } +} +pub type fchecklv_t = fchecklv; +#[repr(C)] +#[derive(Debug, Default, Copy, Clone)] +pub struct fgetsigsinfo { + pub fg_file_start: off_t, + pub fg_info_request: ::std::os::raw::c_int, + pub fg_sig_is_platform: ::std::os::raw::c_int, +} +pub type fgetsigsinfo_t = fgetsigsinfo; +#[repr(C)] +#[derive(Debug, Default, Copy, Clone)] +pub struct fstore { + pub fst_flags: ::std::os::raw::c_uint, + pub fst_posmode: ::std::os::raw::c_int, + pub fst_offset: off_t, + pub fst_length: off_t, + pub fst_bytesalloc: off_t, } +pub type fstore_t = fstore; +#[repr(C)] +#[derive(Debug, Default, Copy, Clone)] +pub struct fpunchhole { + pub fp_flags: ::std::os::raw::c_uint, + pub reserved: ::std::os::raw::c_uint, + pub fp_offset: off_t, + pub fp_length: off_t, +} +pub type fpunchhole_t = fpunchhole; +#[repr(C)] +#[derive(Debug, Default, Copy, Clone)] +pub struct ftrimactivefile { + pub fta_offset: off_t, + pub fta_length: off_t, +} +pub type ftrimactivefile_t = ftrimactivefile; +#[repr(C)] +#[derive(Debug, Default, Copy, Clone)] +pub struct fspecread { + pub fsr_flags: ::std::os::raw::c_uint, + pub reserved: ::std::os::raw::c_uint, + pub fsr_offset: off_t, + pub fsr_length: off_t, +} +pub type fspecread_t = fspecread; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct fbootstraptransfer { + pub fbt_offset: off_t, + pub fbt_length: usize, + pub fbt_buffer: *mut ::std::os::raw::c_void, +} +impl Default for fbootstraptransfer { + fn default() -> Self { + let mut s = ::std::mem::MaybeUninit::::uninit(); + unsafe { + ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); + s.assume_init() + } + } +} +pub type fbootstraptransfer_t = fbootstraptransfer; +#[repr(C, packed(4))] +#[derive(Debug, Default, Copy, Clone)] +pub struct log2phys { + pub l2p_flags: ::std::os::raw::c_uint, + pub l2p_contigbytes: off_t, + pub l2p_devoffset: off_t, +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _filesec { + _unused: [u8; 0], +} +pub type filesec_t = *mut _filesec; +pub const filesec_property_t_FILESEC_OWNER: filesec_property_t = 1; +pub const filesec_property_t_FILESEC_GROUP: filesec_property_t = 2; +pub const filesec_property_t_FILESEC_UUID: filesec_property_t = 3; +pub const filesec_property_t_FILESEC_MODE: filesec_property_t = 4; +pub const filesec_property_t_FILESEC_ACL: filesec_property_t = 5; +pub const filesec_property_t_FILESEC_GRPUUID: filesec_property_t = 6; +pub const filesec_property_t_FILESEC_ACL_RAW: filesec_property_t = 100; +pub const filesec_property_t_FILESEC_ACL_ALLOCSIZE: filesec_property_t = 101; +pub type filesec_property_t = ::std::os::raw::c_uint; #[pg_guard] extern "C" { - pub fn fcntl( - __fd: ::std::os::raw::c_int, - __cmd: ::std::os::raw::c_int, + pub fn open( + arg1: *const ::std::os::raw::c_char, + arg2: ::std::os::raw::c_int, ... ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn open( - __file: *const ::std::os::raw::c_char, - __oflag: ::std::os::raw::c_int, + pub fn openat( + arg1: ::std::os::raw::c_int, + arg2: *const ::std::os::raw::c_char, + arg3: ::std::os::raw::c_int, ... ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn openat( - __fd: ::std::os::raw::c_int, - __file: *const ::std::os::raw::c_char, - __oflag: ::std::os::raw::c_int, + pub fn creat(arg1: *const ::std::os::raw::c_char, arg2: mode_t) -> ::std::os::raw::c_int; +} +#[pg_guard] +extern "C" { + pub fn fcntl( + arg1: ::std::os::raw::c_int, + arg2: ::std::os::raw::c_int, ... ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn creat(__file: *const ::std::os::raw::c_char, __mode: mode_t) -> ::std::os::raw::c_int; + pub fn openx_np( + arg1: *const ::std::os::raw::c_char, + arg2: ::std::os::raw::c_int, + arg3: filesec_t, + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn lockf( - __fd: ::std::os::raw::c_int, - __cmd: ::std::os::raw::c_int, - __len: off_t, + pub fn open_dprotected_np( + arg1: *const ::std::os::raw::c_char, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ... ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn posix_fadvise( - __fd: ::std::os::raw::c_int, - __offset: off_t, - __len: off_t, - __advise: ::std::os::raw::c_int, + pub fn flock(arg1: ::std::os::raw::c_int, arg2: ::std::os::raw::c_int) + -> ::std::os::raw::c_int; +} +#[pg_guard] +extern "C" { + pub fn filesec_init() -> filesec_t; +} +#[pg_guard] +extern "C" { + pub fn filesec_dup(arg1: filesec_t) -> filesec_t; +} +#[pg_guard] +extern "C" { + pub fn filesec_free(arg1: filesec_t); +} +#[pg_guard] +extern "C" { + pub fn filesec_get_property( + arg1: filesec_t, + arg2: filesec_property_t, + arg3: *mut ::std::os::raw::c_void, ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn posix_fallocate( - __fd: ::std::os::raw::c_int, - __offset: off_t, - __len: off_t, + pub fn filesec_query_property( + arg1: filesec_t, + arg2: filesec_property_t, + arg3: *mut ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; +} +#[pg_guard] +extern "C" { + pub fn filesec_set_property( + arg1: filesec_t, + arg2: filesec_property_t, + arg3: *const ::std::os::raw::c_void, + ) -> ::std::os::raw::c_int; +} +#[pg_guard] +extern "C" { + pub fn filesec_unset_property( + arg1: filesec_t, + arg2: filesec_property_t, ) -> ::std::os::raw::c_int; } pub type XLogRecPtr = uint64; @@ -11887,7 +12290,7 @@ pub struct tm { pub tm_yday: ::std::os::raw::c_int, pub tm_isdst: ::std::os::raw::c_int, pub tm_gmtoff: ::std::os::raw::c_long, - pub tm_zone: *const ::std::os::raw::c_char, + pub tm_zone: *mut ::std::os::raw::c_char, } impl Default for tm { fn default() -> Self { @@ -11898,100 +12301,74 @@ impl Default for tm { } } } -#[repr(C)] -#[derive(Debug, Default, Copy, Clone)] -pub struct itimerspec { - pub it_interval: timespec, - pub it_value: timespec, -} #[pg_guard] extern "C" { - pub fn clock() -> clock_t; + pub static mut tzname: [*mut ::std::os::raw::c_char; 0usize]; } #[pg_guard] extern "C" { - pub fn time(__timer: *mut time_t) -> time_t; + pub static mut getdate_err: ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn difftime(__time1: time_t, __time0: time_t) -> f64; + pub static mut timezone: ::std::os::raw::c_long; } #[pg_guard] extern "C" { - pub fn mktime(__tp: *mut tm) -> time_t; + pub static mut daylight: ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn strftime( - __s: *mut ::std::os::raw::c_char, - __maxsize: usize, - __format: *const ::std::os::raw::c_char, - __tp: *const tm, - ) -> usize; + pub fn asctime(arg1: *const tm) -> *mut ::std::os::raw::c_char; } #[pg_guard] extern "C" { - pub fn strftime_l( - __s: *mut ::std::os::raw::c_char, - __maxsize: usize, - __format: *const ::std::os::raw::c_char, - __tp: *const tm, - __loc: locale_t, - ) -> usize; + pub fn clock() -> clock_t; } #[pg_guard] extern "C" { - pub fn gmtime(__timer: *const time_t) -> *mut tm; + pub fn ctime(arg1: *const time_t) -> *mut ::std::os::raw::c_char; } #[pg_guard] extern "C" { - pub fn localtime(__timer: *const time_t) -> *mut tm; + pub fn difftime(arg1: time_t, arg2: time_t) -> f64; } #[pg_guard] extern "C" { - pub fn gmtime_r(__timer: *const time_t, __tp: *mut tm) -> *mut tm; + pub fn getdate(arg1: *const ::std::os::raw::c_char) -> *mut tm; } #[pg_guard] extern "C" { - pub fn localtime_r(__timer: *const time_t, __tp: *mut tm) -> *mut tm; + pub fn gmtime(arg1: *const time_t) -> *mut tm; } #[pg_guard] extern "C" { - pub fn asctime(__tp: *const tm) -> *mut ::std::os::raw::c_char; + pub fn localtime(arg1: *const time_t) -> *mut tm; } #[pg_guard] extern "C" { - pub fn ctime(__timer: *const time_t) -> *mut ::std::os::raw::c_char; + pub fn mktime(arg1: *mut tm) -> time_t; } #[pg_guard] extern "C" { - pub fn asctime_r( - __tp: *const tm, - __buf: *mut ::std::os::raw::c_char, - ) -> *mut ::std::os::raw::c_char; + pub fn strftime( + arg1: *mut ::std::os::raw::c_char, + arg2: usize, + arg3: *const ::std::os::raw::c_char, + arg4: *const tm, + ) -> usize; } #[pg_guard] extern "C" { - pub fn ctime_r( - __timer: *const time_t, - __buf: *mut ::std::os::raw::c_char, + pub fn strptime( + arg1: *const ::std::os::raw::c_char, + arg2: *const ::std::os::raw::c_char, + arg3: *mut tm, ) -> *mut ::std::os::raw::c_char; } #[pg_guard] extern "C" { - pub static mut __tzname: [*mut ::std::os::raw::c_char; 2usize]; -} -#[pg_guard] -extern "C" { - pub static mut __daylight: ::std::os::raw::c_int; -} -#[pg_guard] -extern "C" { - pub static mut __timezone: ::std::os::raw::c_long; -} -#[pg_guard] -extern "C" { - pub static mut tzname: [*mut ::std::os::raw::c_char; 2usize]; + pub fn time(arg1: *mut time_t) -> time_t; } #[pg_guard] extern "C" { @@ -11999,91 +12376,78 @@ extern "C" { } #[pg_guard] extern "C" { - pub static mut daylight: ::std::os::raw::c_int; -} -#[pg_guard] -extern "C" { - pub static mut timezone: ::std::os::raw::c_long; -} -#[pg_guard] -extern "C" { - pub fn timegm(__tp: *mut tm) -> time_t; + pub fn asctime_r( + arg1: *const tm, + arg2: *mut ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; } #[pg_guard] extern "C" { - pub fn timelocal(__tp: *mut tm) -> time_t; + pub fn ctime_r( + arg1: *const time_t, + arg2: *mut ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; } #[pg_guard] extern "C" { - pub fn dysize(__year: ::std::os::raw::c_int) -> ::std::os::raw::c_int; + pub fn gmtime_r(arg1: *const time_t, arg2: *mut tm) -> *mut tm; } #[pg_guard] extern "C" { - pub fn nanosleep( - __requested_time: *const timespec, - __remaining: *mut timespec, - ) -> ::std::os::raw::c_int; + pub fn localtime_r(arg1: *const time_t, arg2: *mut tm) -> *mut tm; } #[pg_guard] extern "C" { - pub fn clock_getres(__clock_id: clockid_t, __res: *mut timespec) -> ::std::os::raw::c_int; + pub fn posix2time(arg1: time_t) -> time_t; } #[pg_guard] extern "C" { - pub fn clock_gettime(__clock_id: clockid_t, __tp: *mut timespec) -> ::std::os::raw::c_int; + pub fn tzsetwall(); } #[pg_guard] extern "C" { - pub fn clock_settime(__clock_id: clockid_t, __tp: *const timespec) -> ::std::os::raw::c_int; + pub fn time2posix(arg1: time_t) -> time_t; } #[pg_guard] extern "C" { - pub fn clock_nanosleep( - __clock_id: clockid_t, - __flags: ::std::os::raw::c_int, - __req: *const timespec, - __rem: *mut timespec, - ) -> ::std::os::raw::c_int; + pub fn timelocal(arg1: *mut tm) -> time_t; } #[pg_guard] extern "C" { - pub fn clock_getcpuclockid(__pid: pid_t, __clock_id: *mut clockid_t) -> ::std::os::raw::c_int; + pub fn timegm(arg1: *mut tm) -> time_t; } #[pg_guard] extern "C" { - pub fn timer_create( - __clock_id: clockid_t, - __evp: *mut sigevent, - __timerid: *mut timer_t, - ) -> ::std::os::raw::c_int; + pub fn nanosleep(__rqtp: *const timespec, __rmtp: *mut timespec) -> ::std::os::raw::c_int; } +pub const clockid_t__CLOCK_REALTIME: clockid_t = 0; +pub const clockid_t__CLOCK_MONOTONIC: clockid_t = 6; +pub const clockid_t__CLOCK_MONOTONIC_RAW: clockid_t = 4; +pub const clockid_t__CLOCK_MONOTONIC_RAW_APPROX: clockid_t = 5; +pub const clockid_t__CLOCK_UPTIME_RAW: clockid_t = 8; +pub const clockid_t__CLOCK_UPTIME_RAW_APPROX: clockid_t = 9; +pub const clockid_t__CLOCK_PROCESS_CPUTIME_ID: clockid_t = 12; +pub const clockid_t__CLOCK_THREAD_CPUTIME_ID: clockid_t = 16; +pub type clockid_t = ::std::os::raw::c_uint; #[pg_guard] extern "C" { - pub fn timer_delete(__timerid: timer_t) -> ::std::os::raw::c_int; + pub fn clock_getres(__clock_id: clockid_t, __res: *mut timespec) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn timer_settime( - __timerid: timer_t, - __flags: ::std::os::raw::c_int, - __value: *const itimerspec, - __ovalue: *mut itimerspec, - ) -> ::std::os::raw::c_int; + pub fn clock_gettime(__clock_id: clockid_t, __tp: *mut timespec) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn timer_gettime(__timerid: timer_t, __value: *mut itimerspec) -> ::std::os::raw::c_int; + pub fn clock_gettime_nsec_np(__clock_id: clockid_t) -> __uint64_t; } #[pg_guard] extern "C" { - pub fn timer_getoverrun(__timerid: timer_t) -> ::std::os::raw::c_int; + pub fn clock_settime(__clock_id: clockid_t, __tp: *const timespec) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn timespec_get( - __ts: *mut timespec, - __base: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; + pub fn timespec_get(ts: *mut timespec, base: ::std::os::raw::c_int) -> ::std::os::raw::c_int; } pub type instr_time = timespec; #[repr(C)] @@ -12872,7 +13236,7 @@ extern "C" { pub fn appendStringInfoVA( str_: StringInfo, fmt: *const ::std::os::raw::c_char, - args: *mut __va_list_tag, + args: va_list, ) -> ::std::os::raw::c_int; } #[pg_guard] @@ -14459,7 +14823,6 @@ pub struct IndexOnlyScan { pub indexorderby: *mut List, pub indextlist: *mut List, pub indexorderdir: ScanDirection, - pub recheckqual: *mut List, } impl Default for IndexOnlyScan { fn default() -> Self { @@ -15153,7 +15516,7 @@ impl Default for PlanInvalItem { #[repr(C)] #[derive(Debug, Default, Copy, Clone)] pub struct pg_atomic_flag { - pub value: ::std::os::raw::c_char, + pub value: ::std::os::raw::c_int, } #[repr(C)] #[derive(Debug, Default, Copy, Clone)] @@ -15521,7 +15884,7 @@ pub struct proclist_mutable_iter { pub cur: ::std::os::raw::c_int, pub next: ::std::os::raw::c_int, } -pub type slock_t = ::std::os::raw::c_uchar; +pub type slock_t = ::std::os::raw::c_int; #[pg_guard] extern "C" { pub static mut dummy_spinlock: slock_t; @@ -15932,11 +16295,12 @@ impl Default for TriggerDesc { #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct dirent { - pub d_ino: __ino_t, - pub d_off: __off_t, - pub d_reclen: ::std::os::raw::c_ushort, - pub d_type: ::std::os::raw::c_uchar, - pub d_name: [::std::os::raw::c_char; 256usize], + pub d_ino: __uint64_t, + pub d_seekoff: __uint64_t, + pub d_reclen: __uint16_t, + pub d_namlen: __uint16_t, + pub d_type: __uint8_t, + pub d_name: [::std::os::raw::c_char; 1024usize], } impl Default for dirent { fn default() -> Self { @@ -15947,71 +16311,87 @@ impl Default for dirent { } } } -pub const DT_UNKNOWN: ::std::os::raw::c_uint = 0; -pub const DT_FIFO: ::std::os::raw::c_uint = 1; -pub const DT_CHR: ::std::os::raw::c_uint = 2; -pub const DT_DIR: ::std::os::raw::c_uint = 4; -pub const DT_BLK: ::std::os::raw::c_uint = 6; -pub const DT_REG: ::std::os::raw::c_uint = 8; -pub const DT_LNK: ::std::os::raw::c_uint = 10; -pub const DT_SOCK: ::std::os::raw::c_uint = 12; -pub const DT_WHT: ::std::os::raw::c_uint = 14; -pub type _bindgen_ty_9 = ::std::os::raw::c_uint; #[repr(C)] #[derive(Debug, Copy, Clone)] -pub struct __dirstream { +pub struct _telldir { _unused: [u8; 0], } -pub type DIR = __dirstream; -#[pg_guard] -extern "C" { - pub fn opendir(__name: *const ::std::os::raw::c_char) -> *mut DIR; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct DIR { + pub __dd_fd: ::std::os::raw::c_int, + pub __dd_loc: ::std::os::raw::c_long, + pub __dd_size: ::std::os::raw::c_long, + pub __dd_buf: *mut ::std::os::raw::c_char, + pub __dd_len: ::std::os::raw::c_int, + pub __dd_seek: ::std::os::raw::c_long, + pub __padding: ::std::os::raw::c_long, + pub __dd_flags: ::std::os::raw::c_int, + pub __dd_lock: __darwin_pthread_mutex_t, + pub __dd_td: *mut _telldir, +} +impl Default for DIR { + fn default() -> Self { + let mut s = ::std::mem::MaybeUninit::::uninit(); + unsafe { + ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); + s.assume_init() + } + } } #[pg_guard] extern "C" { - pub fn fdopendir(__fd: ::std::os::raw::c_int) -> *mut DIR; + pub fn closedir(arg1: *mut DIR) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn closedir(__dirp: *mut DIR) -> ::std::os::raw::c_int; + pub fn opendir(arg1: *const ::std::os::raw::c_char) -> *mut DIR; } #[pg_guard] extern "C" { - pub fn readdir(__dirp: *mut DIR) -> *mut dirent; + pub fn readdir(arg1: *mut DIR) -> *mut dirent; } #[pg_guard] extern "C" { pub fn readdir_r( - __dirp: *mut DIR, - __entry: *mut dirent, - __result: *mut *mut dirent, + arg1: *mut DIR, + arg2: *mut dirent, + arg3: *mut *mut dirent, ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn rewinddir(__dirp: *mut DIR); + pub fn rewinddir(arg1: *mut DIR); } #[pg_guard] extern "C" { - pub fn seekdir(__dirp: *mut DIR, __pos: ::std::os::raw::c_long); + pub fn seekdir(arg1: *mut DIR, arg2: ::std::os::raw::c_long); } #[pg_guard] extern "C" { - pub fn telldir(__dirp: *mut DIR) -> ::std::os::raw::c_long; + pub fn telldir(arg1: *mut DIR) -> ::std::os::raw::c_long; } #[pg_guard] extern "C" { - pub fn dirfd(__dirp: *mut DIR) -> ::std::os::raw::c_int; + pub fn fdopendir(arg1: ::std::os::raw::c_int) -> *mut DIR; +} +#[pg_guard] +extern "C" { + pub fn alphasort(arg1: *mut *const dirent, arg2: *mut *const dirent) -> ::std::os::raw::c_int; +} +#[pg_guard] +extern "C" { + pub fn dirfd(dirp: *mut DIR) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { pub fn scandir( - __dir: *const ::std::os::raw::c_char, - __namelist: *mut *mut *mut dirent, - __selector: ::std::option::Option< + arg1: *const ::std::os::raw::c_char, + arg2: *mut *mut *mut dirent, + arg3: ::std::option::Option< unsafe extern "C" fn(arg1: *const dirent) -> ::std::os::raw::c_int, >, - __cmp: ::std::option::Option< + arg4: ::std::option::Option< unsafe extern "C" fn( arg1: *mut *const dirent, arg2: *mut *const dirent, @@ -16021,16 +16401,27 @@ extern "C" { } #[pg_guard] extern "C" { - pub fn alphasort(__e1: *mut *const dirent, __e2: *mut *const dirent) -> ::std::os::raw::c_int; + pub fn scandir_b( + arg1: *const ::std::os::raw::c_char, + arg2: *mut *mut *mut dirent, + arg3: *mut ::std::os::raw::c_void, + arg4: *mut ::std::os::raw::c_void, + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { + #[link_name = "\u{1}_getdirentries_is_not_available_when_64_bit_inodes_are_in_effect"] pub fn getdirentries( - __fd: ::std::os::raw::c_int, - __buf: *mut ::std::os::raw::c_char, - __nbytes: usize, - __basep: *mut __off_t, - ) -> __ssize_t; + arg1: ::std::os::raw::c_int, + arg2: *mut ::std::os::raw::c_char, + arg3: ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_long, + ) -> ::std::os::raw::c_int; +} +#[pg_guard] +extern "C" { + pub fn __opendir2(arg1: *const ::std::os::raw::c_char, arg2: ::std::os::raw::c_int) + -> *mut DIR; } pub type File = ::std::os::raw::c_int; #[pg_guard] @@ -18227,7 +18618,7 @@ impl Default for IndexScanState { #[derive(Debug, Copy, Clone)] pub struct IndexOnlyScanState { pub ss: ScanState, - pub recheckqual: *mut ExprState, + pub indexqual: *mut ExprState, pub ioss_ScanKeys: *mut ScanKeyData, pub ioss_NumScanKeys: ::std::os::raw::c_int, pub ioss_OrderByKeys: *mut ScanKeyData, @@ -24365,736 +24756,161 @@ extern "C" { nulls: *mut *mut bool, ) -> ::std::os::raw::c_int; } -pub type sig_atomic_t = __sig_atomic_t; -#[repr(C)] -#[derive(Copy, Clone)] -pub union sigval { - pub sival_int: ::std::os::raw::c_int, - pub sival_ptr: *mut ::std::os::raw::c_void, -} -impl Default for sigval { - fn default() -> Self { - let mut s = ::std::mem::MaybeUninit::::uninit(); - unsafe { - ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); - s.assume_init() - } - } -} -pub type __sigval_t = sigval; -#[repr(C)] -#[derive(Copy, Clone)] -pub struct siginfo_t { - pub si_signo: ::std::os::raw::c_int, - pub si_errno: ::std::os::raw::c_int, - pub si_code: ::std::os::raw::c_int, - pub __pad0: ::std::os::raw::c_int, - pub _sifields: siginfo_t__bindgen_ty_1, -} -#[repr(C)] -#[derive(Copy, Clone)] -pub union siginfo_t__bindgen_ty_1 { - pub _pad: [::std::os::raw::c_int; 28usize], - pub _kill: siginfo_t__bindgen_ty_1__bindgen_ty_1, - pub _timer: siginfo_t__bindgen_ty_1__bindgen_ty_2, - pub _rt: siginfo_t__bindgen_ty_1__bindgen_ty_3, - pub _sigchld: siginfo_t__bindgen_ty_1__bindgen_ty_4, - pub _sigfault: siginfo_t__bindgen_ty_1__bindgen_ty_5, - pub _sigpoll: siginfo_t__bindgen_ty_1__bindgen_ty_6, - pub _sigsys: siginfo_t__bindgen_ty_1__bindgen_ty_7, -} -#[repr(C)] -#[derive(Debug, Default, Copy, Clone)] -pub struct siginfo_t__bindgen_ty_1__bindgen_ty_1 { - pub si_pid: __pid_t, - pub si_uid: __uid_t, -} -#[repr(C)] -#[derive(Copy, Clone)] -pub struct siginfo_t__bindgen_ty_1__bindgen_ty_2 { - pub si_tid: ::std::os::raw::c_int, - pub si_overrun: ::std::os::raw::c_int, - pub si_sigval: __sigval_t, -} -impl Default for siginfo_t__bindgen_ty_1__bindgen_ty_2 { - fn default() -> Self { - let mut s = ::std::mem::MaybeUninit::::uninit(); - unsafe { - ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); - s.assume_init() - } - } -} -#[repr(C)] -#[derive(Copy, Clone)] -pub struct siginfo_t__bindgen_ty_1__bindgen_ty_3 { - pub si_pid: __pid_t, - pub si_uid: __uid_t, - pub si_sigval: __sigval_t, -} -impl Default for siginfo_t__bindgen_ty_1__bindgen_ty_3 { - fn default() -> Self { - let mut s = ::std::mem::MaybeUninit::::uninit(); - unsafe { - ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); - s.assume_init() - } - } -} -#[repr(C)] -#[derive(Debug, Default, Copy, Clone)] -pub struct siginfo_t__bindgen_ty_1__bindgen_ty_4 { - pub si_pid: __pid_t, - pub si_uid: __uid_t, - pub si_status: ::std::os::raw::c_int, - pub si_utime: __clock_t, - pub si_stime: __clock_t, -} -#[repr(C)] -#[derive(Copy, Clone)] -pub struct siginfo_t__bindgen_ty_1__bindgen_ty_5 { - pub si_addr: *mut ::std::os::raw::c_void, - pub si_addr_lsb: ::std::os::raw::c_short, - pub _bounds: siginfo_t__bindgen_ty_1__bindgen_ty_5__bindgen_ty_1, -} -#[repr(C)] -#[derive(Copy, Clone)] -pub union siginfo_t__bindgen_ty_1__bindgen_ty_5__bindgen_ty_1 { - pub _addr_bnd: siginfo_t__bindgen_ty_1__bindgen_ty_5__bindgen_ty_1__bindgen_ty_1, - pub _pkey: __uint32_t, -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct siginfo_t__bindgen_ty_1__bindgen_ty_5__bindgen_ty_1__bindgen_ty_1 { - pub _lower: *mut ::std::os::raw::c_void, - pub _upper: *mut ::std::os::raw::c_void, -} -impl Default for siginfo_t__bindgen_ty_1__bindgen_ty_5__bindgen_ty_1__bindgen_ty_1 { - fn default() -> Self { - let mut s = ::std::mem::MaybeUninit::::uninit(); - unsafe { - ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); - s.assume_init() - } - } -} -impl Default for siginfo_t__bindgen_ty_1__bindgen_ty_5__bindgen_ty_1 { - fn default() -> Self { - let mut s = ::std::mem::MaybeUninit::::uninit(); - unsafe { - ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); - s.assume_init() - } - } -} -impl Default for siginfo_t__bindgen_ty_1__bindgen_ty_5 { - fn default() -> Self { - let mut s = ::std::mem::MaybeUninit::::uninit(); - unsafe { - ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); - s.assume_init() - } - } -} -#[repr(C)] -#[derive(Debug, Default, Copy, Clone)] -pub struct siginfo_t__bindgen_ty_1__bindgen_ty_6 { - pub si_band: ::std::os::raw::c_long, - pub si_fd: ::std::os::raw::c_int, -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct siginfo_t__bindgen_ty_1__bindgen_ty_7 { - pub _call_addr: *mut ::std::os::raw::c_void, - pub _syscall: ::std::os::raw::c_int, - pub _arch: ::std::os::raw::c_uint, -} -impl Default for siginfo_t__bindgen_ty_1__bindgen_ty_7 { - fn default() -> Self { - let mut s = ::std::mem::MaybeUninit::::uninit(); - unsafe { - ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); - s.assume_init() - } - } -} -impl Default for siginfo_t__bindgen_ty_1 { - fn default() -> Self { - let mut s = ::std::mem::MaybeUninit::::uninit(); - unsafe { - ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); - s.assume_init() - } - } -} -impl Default for siginfo_t { - fn default() -> Self { - let mut s = ::std::mem::MaybeUninit::::uninit(); - unsafe { - ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); - s.assume_init() - } - } -} -pub const SI_ASYNCNL: ::std::os::raw::c_int = -60; -pub const SI_DETHREAD: ::std::os::raw::c_int = -7; -pub const SI_TKILL: ::std::os::raw::c_int = -6; -pub const SI_SIGIO: ::std::os::raw::c_int = -5; -pub const SI_ASYNCIO: ::std::os::raw::c_int = -4; -pub const SI_MESGQ: ::std::os::raw::c_int = -3; -pub const SI_TIMER: ::std::os::raw::c_int = -2; -pub const SI_QUEUE: ::std::os::raw::c_int = -1; -pub const SI_USER: ::std::os::raw::c_int = 0; -pub const SI_KERNEL: ::std::os::raw::c_int = 128; -pub type _bindgen_ty_10 = ::std::os::raw::c_int; -pub const ILL_ILLOPC: ::std::os::raw::c_uint = 1; -pub const ILL_ILLOPN: ::std::os::raw::c_uint = 2; -pub const ILL_ILLADR: ::std::os::raw::c_uint = 3; -pub const ILL_ILLTRP: ::std::os::raw::c_uint = 4; -pub const ILL_PRVOPC: ::std::os::raw::c_uint = 5; -pub const ILL_PRVREG: ::std::os::raw::c_uint = 6; -pub const ILL_COPROC: ::std::os::raw::c_uint = 7; -pub const ILL_BADSTK: ::std::os::raw::c_uint = 8; -pub const ILL_BADIADDR: ::std::os::raw::c_uint = 9; -pub type _bindgen_ty_11 = ::std::os::raw::c_uint; -pub const FPE_INTDIV: ::std::os::raw::c_uint = 1; -pub const FPE_INTOVF: ::std::os::raw::c_uint = 2; -pub const FPE_FLTDIV: ::std::os::raw::c_uint = 3; -pub const FPE_FLTOVF: ::std::os::raw::c_uint = 4; -pub const FPE_FLTUND: ::std::os::raw::c_uint = 5; -pub const FPE_FLTRES: ::std::os::raw::c_uint = 6; -pub const FPE_FLTINV: ::std::os::raw::c_uint = 7; -pub const FPE_FLTSUB: ::std::os::raw::c_uint = 8; -pub const FPE_FLTUNK: ::std::os::raw::c_uint = 14; -pub const FPE_CONDTRAP: ::std::os::raw::c_uint = 15; -pub type _bindgen_ty_12 = ::std::os::raw::c_uint; -pub const SEGV_MAPERR: ::std::os::raw::c_uint = 1; -pub const SEGV_ACCERR: ::std::os::raw::c_uint = 2; -pub const SEGV_BNDERR: ::std::os::raw::c_uint = 3; -pub const SEGV_PKUERR: ::std::os::raw::c_uint = 4; -pub const SEGV_ACCADI: ::std::os::raw::c_uint = 5; -pub const SEGV_ADIDERR: ::std::os::raw::c_uint = 6; -pub const SEGV_ADIPERR: ::std::os::raw::c_uint = 7; -pub const SEGV_MTEAERR: ::std::os::raw::c_uint = 8; -pub const SEGV_MTESERR: ::std::os::raw::c_uint = 9; -pub type _bindgen_ty_13 = ::std::os::raw::c_uint; -pub const BUS_ADRALN: ::std::os::raw::c_uint = 1; -pub const BUS_ADRERR: ::std::os::raw::c_uint = 2; -pub const BUS_OBJERR: ::std::os::raw::c_uint = 3; -pub const BUS_MCEERR_AR: ::std::os::raw::c_uint = 4; -pub const BUS_MCEERR_AO: ::std::os::raw::c_uint = 5; -pub type _bindgen_ty_14 = ::std::os::raw::c_uint; -pub const CLD_EXITED: ::std::os::raw::c_uint = 1; -pub const CLD_KILLED: ::std::os::raw::c_uint = 2; -pub const CLD_DUMPED: ::std::os::raw::c_uint = 3; -pub const CLD_TRAPPED: ::std::os::raw::c_uint = 4; -pub const CLD_STOPPED: ::std::os::raw::c_uint = 5; -pub const CLD_CONTINUED: ::std::os::raw::c_uint = 6; -pub type _bindgen_ty_15 = ::std::os::raw::c_uint; -pub const POLL_IN: ::std::os::raw::c_uint = 1; -pub const POLL_OUT: ::std::os::raw::c_uint = 2; -pub const POLL_MSG: ::std::os::raw::c_uint = 3; -pub const POLL_ERR: ::std::os::raw::c_uint = 4; -pub const POLL_PRI: ::std::os::raw::c_uint = 5; -pub const POLL_HUP: ::std::os::raw::c_uint = 6; -pub type _bindgen_ty_16 = ::std::os::raw::c_uint; -pub type sigval_t = __sigval_t; -#[repr(C)] -#[derive(Copy, Clone)] -pub struct sigevent { - pub sigev_value: __sigval_t, - pub sigev_signo: ::std::os::raw::c_int, - pub sigev_notify: ::std::os::raw::c_int, - pub _sigev_un: sigevent__bindgen_ty_1, -} -#[repr(C)] -#[derive(Copy, Clone)] -pub union sigevent__bindgen_ty_1 { - pub _pad: [::std::os::raw::c_int; 12usize], - pub _tid: __pid_t, - pub _sigev_thread: sigevent__bindgen_ty_1__bindgen_ty_1, -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct sigevent__bindgen_ty_1__bindgen_ty_1 { - pub _function: ::std::option::Option, - pub _attribute: *mut pthread_attr_t, -} -impl Default for sigevent__bindgen_ty_1__bindgen_ty_1 { - fn default() -> Self { - let mut s = ::std::mem::MaybeUninit::::uninit(); - unsafe { - ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); - s.assume_init() - } - } -} -impl Default for sigevent__bindgen_ty_1 { - fn default() -> Self { - let mut s = ::std::mem::MaybeUninit::::uninit(); - unsafe { - ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); - s.assume_init() - } - } -} -impl Default for sigevent { - fn default() -> Self { - let mut s = ::std::mem::MaybeUninit::::uninit(); - unsafe { - ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); - s.assume_init() - } - } -} -pub type sigevent_t = sigevent; -pub const SIGEV_SIGNAL: ::std::os::raw::c_uint = 0; -pub const SIGEV_NONE: ::std::os::raw::c_uint = 1; -pub const SIGEV_THREAD: ::std::os::raw::c_uint = 2; -pub const SIGEV_THREAD_ID: ::std::os::raw::c_uint = 4; -pub type _bindgen_ty_17 = ::std::os::raw::c_uint; -pub type __sighandler_t = ::std::option::Option; #[pg_guard] extern "C" { - pub fn __sysv_signal(__sig: ::std::os::raw::c_int, __handler: __sighandler_t) - -> __sighandler_t; + pub static sys_signame: [*const ::std::os::raw::c_char; 32usize]; } #[pg_guard] extern "C" { - pub fn signal(__sig: ::std::os::raw::c_int, __handler: __sighandler_t) -> __sighandler_t; + pub static sys_siglist: [*const ::std::os::raw::c_char; 32usize]; } #[pg_guard] extern "C" { - pub fn kill(__pid: __pid_t, __sig: ::std::os::raw::c_int) -> ::std::os::raw::c_int; + pub fn raise(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn killpg(__pgrp: __pid_t, __sig: ::std::os::raw::c_int) -> ::std::os::raw::c_int; + pub fn bsd_signal( + arg1: ::std::os::raw::c_int, + arg2: ::std::option::Option, + ) -> ::std::option::Option< + unsafe extern "C" fn( + arg1: ::std::os::raw::c_int, + arg2: ::std::option::Option, + ), + >; } #[pg_guard] extern "C" { - pub fn raise(__sig: ::std::os::raw::c_int) -> ::std::os::raw::c_int; + pub fn kill(arg1: pid_t, arg2: ::std::os::raw::c_int) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn ssignal(__sig: ::std::os::raw::c_int, __handler: __sighandler_t) -> __sighandler_t; + pub fn killpg(arg1: pid_t, arg2: ::std::os::raw::c_int) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn gsignal(__sig: ::std::os::raw::c_int) -> ::std::os::raw::c_int; + pub fn pthread_kill(arg1: pthread_t, arg2: ::std::os::raw::c_int) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn psignal(__sig: ::std::os::raw::c_int, __s: *const ::std::os::raw::c_char); + pub fn pthread_sigmask( + arg1: ::std::os::raw::c_int, + arg2: *const sigset_t, + arg3: *mut sigset_t, + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn psiginfo(__pinfo: *const siginfo_t, __s: *const ::std::os::raw::c_char); + pub fn sigaction( + arg1: ::std::os::raw::c_int, + arg2: *const sigaction, + arg3: *mut sigaction, + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn sigblock(__mask: ::std::os::raw::c_int) -> ::std::os::raw::c_int; + pub fn sigaddset(arg1: *mut sigset_t, arg2: ::std::os::raw::c_int) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn sigsetmask(__mask: ::std::os::raw::c_int) -> ::std::os::raw::c_int; + pub fn sigaltstack(arg1: *const stack_t, arg2: *mut stack_t) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn siggetmask() -> ::std::os::raw::c_int; + pub fn sigdelset(arg1: *mut sigset_t, arg2: ::std::os::raw::c_int) -> ::std::os::raw::c_int; } -pub type sig_t = __sighandler_t; #[pg_guard] extern "C" { - pub fn sigemptyset(__set: *mut sigset_t) -> ::std::os::raw::c_int; + pub fn sigemptyset(arg1: *mut sigset_t) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn sigfillset(__set: *mut sigset_t) -> ::std::os::raw::c_int; + pub fn sigfillset(arg1: *mut sigset_t) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn sigaddset(__set: *mut sigset_t, __signo: ::std::os::raw::c_int) - -> ::std::os::raw::c_int; + pub fn sighold(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn sigdelset(__set: *mut sigset_t, __signo: ::std::os::raw::c_int) - -> ::std::os::raw::c_int; + pub fn sigignore(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn sigismember( - __set: *const sigset_t, - __signo: ::std::os::raw::c_int, + pub fn siginterrupt( + arg1: ::std::os::raw::c_int, + arg2: ::std::os::raw::c_int, ) -> ::std::os::raw::c_int; } -#[repr(C)] -#[derive(Copy, Clone)] -pub struct sigaction { - pub __sigaction_handler: sigaction__bindgen_ty_1, - pub sa_mask: __sigset_t, - pub sa_flags: ::std::os::raw::c_int, - pub sa_restorer: ::std::option::Option, -} -#[repr(C)] -#[derive(Copy, Clone)] -pub union sigaction__bindgen_ty_1 { - pub sa_handler: __sighandler_t, - pub sa_sigaction: ::std::option::Option< - unsafe extern "C" fn( - arg1: ::std::os::raw::c_int, - arg2: *mut siginfo_t, - arg3: *mut ::std::os::raw::c_void, - ), - >, -} -impl Default for sigaction__bindgen_ty_1 { - fn default() -> Self { - let mut s = ::std::mem::MaybeUninit::::uninit(); - unsafe { - ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); - s.assume_init() - } - } -} -impl Default for sigaction { - fn default() -> Self { - let mut s = ::std::mem::MaybeUninit::::uninit(); - unsafe { - ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); - s.assume_init() - } - } -} #[pg_guard] extern "C" { - pub fn sigprocmask( - __how: ::std::os::raw::c_int, - __set: *const sigset_t, - __oset: *mut sigset_t, - ) -> ::std::os::raw::c_int; + pub fn sigismember(arg1: *const sigset_t, arg2: ::std::os::raw::c_int) + -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn sigsuspend(__set: *const sigset_t) -> ::std::os::raw::c_int; + pub fn sigpause(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn sigaction( - __sig: ::std::os::raw::c_int, - __act: *const sigaction, - __oact: *mut sigaction, - ) -> ::std::os::raw::c_int; + pub fn sigpending(arg1: *mut sigset_t) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn sigpending(__set: *mut sigset_t) -> ::std::os::raw::c_int; -} -#[pg_guard] -extern "C" { - pub fn sigwait( - __set: *const sigset_t, - __sig: *mut ::std::os::raw::c_int, + pub fn sigprocmask( + arg1: ::std::os::raw::c_int, + arg2: *const sigset_t, + arg3: *mut sigset_t, ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn sigwaitinfo(__set: *const sigset_t, __info: *mut siginfo_t) -> ::std::os::raw::c_int; + pub fn sigrelse(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn sigtimedwait( - __set: *const sigset_t, - __info: *mut siginfo_t, - __timeout: *const timespec, - ) -> ::std::os::raw::c_int; + pub fn sigset( + arg1: ::std::os::raw::c_int, + arg2: ::std::option::Option, + ) -> ::std::option::Option< + unsafe extern "C" fn( + arg1: ::std::os::raw::c_int, + arg2: ::std::option::Option, + ), + >; } #[pg_guard] extern "C" { - pub fn sigqueue( - __pid: __pid_t, - __sig: ::std::os::raw::c_int, - __val: sigval, - ) -> ::std::os::raw::c_int; -} -#[repr(C)] -#[derive(Debug, Default, Copy, Clone)] -pub struct _fpx_sw_bytes { - pub magic1: __uint32_t, - pub extended_size: __uint32_t, - pub xstate_bv: __uint64_t, - pub xstate_size: __uint32_t, - pub __glibc_reserved1: [__uint32_t; 7usize], -} -#[repr(C)] -#[derive(Debug, Default, Copy, Clone)] -pub struct _fpreg { - pub significand: [::std::os::raw::c_ushort; 4usize], - pub exponent: ::std::os::raw::c_ushort, -} -#[repr(C)] -#[derive(Debug, Default, Copy, Clone)] -pub struct _fpxreg { - pub significand: [::std::os::raw::c_ushort; 4usize], - pub exponent: ::std::os::raw::c_ushort, - pub __glibc_reserved1: [::std::os::raw::c_ushort; 3usize], -} -#[repr(C)] -#[derive(Debug, Default, Copy, Clone)] -pub struct _xmmreg { - pub element: [__uint32_t; 4usize], -} -#[repr(C)] -#[derive(Debug, Default, Copy, Clone)] -pub struct _fpstate { - pub cwd: __uint16_t, - pub swd: __uint16_t, - pub ftw: __uint16_t, - pub fop: __uint16_t, - pub rip: __uint64_t, - pub rdp: __uint64_t, - pub mxcsr: __uint32_t, - pub mxcr_mask: __uint32_t, - pub _st: [_fpxreg; 8usize], - pub _xmm: [_xmmreg; 16usize], - pub __glibc_reserved1: [__uint32_t; 24usize], -} -#[repr(C)] -#[derive(Copy, Clone)] -pub struct sigcontext { - pub r8: __uint64_t, - pub r9: __uint64_t, - pub r10: __uint64_t, - pub r11: __uint64_t, - pub r12: __uint64_t, - pub r13: __uint64_t, - pub r14: __uint64_t, - pub r15: __uint64_t, - pub rdi: __uint64_t, - pub rsi: __uint64_t, - pub rbp: __uint64_t, - pub rbx: __uint64_t, - pub rdx: __uint64_t, - pub rax: __uint64_t, - pub rcx: __uint64_t, - pub rsp: __uint64_t, - pub rip: __uint64_t, - pub eflags: __uint64_t, - pub cs: ::std::os::raw::c_ushort, - pub gs: ::std::os::raw::c_ushort, - pub fs: ::std::os::raw::c_ushort, - pub __pad0: ::std::os::raw::c_ushort, - pub err: __uint64_t, - pub trapno: __uint64_t, - pub oldmask: __uint64_t, - pub cr2: __uint64_t, - pub __bindgen_anon_1: sigcontext__bindgen_ty_1, - pub __reserved1: [__uint64_t; 8usize], -} -#[repr(C)] -#[derive(Copy, Clone)] -pub union sigcontext__bindgen_ty_1 { - pub fpstate: *mut _fpstate, - pub __fpstate_word: __uint64_t, -} -impl Default for sigcontext__bindgen_ty_1 { - fn default() -> Self { - let mut s = ::std::mem::MaybeUninit::::uninit(); - unsafe { - ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); - s.assume_init() - } - } -} -impl Default for sigcontext { - fn default() -> Self { - let mut s = ::std::mem::MaybeUninit::::uninit(); - unsafe { - ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); - s.assume_init() - } - } -} -#[repr(C)] -#[derive(Debug, Default, Copy, Clone)] -pub struct _xsave_hdr { - pub xstate_bv: __uint64_t, - pub __glibc_reserved1: [__uint64_t; 2usize], - pub __glibc_reserved2: [__uint64_t; 5usize], -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _ymmh_state { - pub ymmh_space: [__uint32_t; 64usize], -} -impl Default for _ymmh_state { - fn default() -> Self { - let mut s = ::std::mem::MaybeUninit::::uninit(); - unsafe { - ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); - s.assume_init() - } - } -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _xstate { - pub fpstate: _fpstate, - pub xstate_hdr: _xsave_hdr, - pub ymmh: _ymmh_state, -} -impl Default for _xstate { - fn default() -> Self { - let mut s = ::std::mem::MaybeUninit::::uninit(); - unsafe { - ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); - s.assume_init() - } - } + pub fn sigsuspend(arg1: *const sigset_t) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn sigreturn(__scp: *mut sigcontext) -> ::std::os::raw::c_int; -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct stack_t { - pub ss_sp: *mut ::std::os::raw::c_void, - pub ss_flags: ::std::os::raw::c_int, - pub ss_size: usize, -} -impl Default for stack_t { - fn default() -> Self { - let mut s = ::std::mem::MaybeUninit::::uninit(); - unsafe { - ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); - s.assume_init() - } - } -} -pub type greg_t = ::std::os::raw::c_longlong; -pub type gregset_t = [greg_t; 23usize]; -#[repr(C)] -#[derive(Debug, Default, Copy, Clone)] -pub struct _libc_fpxreg { - pub significand: [::std::os::raw::c_ushort; 4usize], - pub exponent: ::std::os::raw::c_ushort, - pub __glibc_reserved1: [::std::os::raw::c_ushort; 3usize], -} -#[repr(C)] -#[derive(Debug, Default, Copy, Clone)] -pub struct _libc_xmmreg { - pub element: [__uint32_t; 4usize], -} -#[repr(C)] -#[derive(Debug, Default, Copy, Clone)] -pub struct _libc_fpstate { - pub cwd: __uint16_t, - pub swd: __uint16_t, - pub ftw: __uint16_t, - pub fop: __uint16_t, - pub rip: __uint64_t, - pub rdp: __uint64_t, - pub mxcsr: __uint32_t, - pub mxcr_mask: __uint32_t, - pub _st: [_libc_fpxreg; 8usize], - pub _xmm: [_libc_xmmreg; 16usize], - pub __glibc_reserved1: [__uint32_t; 24usize], -} -pub type fpregset_t = *mut _libc_fpstate; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct mcontext_t { - pub gregs: gregset_t, - pub fpregs: fpregset_t, - pub __reserved1: [::std::os::raw::c_ulonglong; 8usize], -} -impl Default for mcontext_t { - fn default() -> Self { - let mut s = ::std::mem::MaybeUninit::::uninit(); - unsafe { - ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); - s.assume_init() - } - } -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct ucontext_t { - pub uc_flags: ::std::os::raw::c_ulong, - pub uc_link: *mut ucontext_t, - pub uc_stack: stack_t, - pub uc_mcontext: mcontext_t, - pub uc_sigmask: sigset_t, - pub __fpregs_mem: _libc_fpstate, - pub __ssp: [::std::os::raw::c_ulonglong; 4usize], -} -impl Default for ucontext_t { - fn default() -> Self { - let mut s = ::std::mem::MaybeUninit::::uninit(); - unsafe { - ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); - s.assume_init() - } - } -} -#[pg_guard] -extern "C" { - pub fn siginterrupt( - __sig: ::std::os::raw::c_int, - __interrupt: ::std::os::raw::c_int, + pub fn sigwait( + arg1: *const sigset_t, + arg2: *mut ::std::os::raw::c_int, ) -> ::std::os::raw::c_int; } -pub const SS_ONSTACK: ::std::os::raw::c_uint = 1; -pub const SS_DISABLE: ::std::os::raw::c_uint = 2; -pub type _bindgen_ty_18 = ::std::os::raw::c_uint; #[pg_guard] extern "C" { - pub fn sigaltstack(__ss: *const stack_t, __oss: *mut stack_t) -> ::std::os::raw::c_int; -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct sigstack { - pub ss_sp: *mut ::std::os::raw::c_void, - pub ss_onstack: ::std::os::raw::c_int, -} -impl Default for sigstack { - fn default() -> Self { - let mut s = ::std::mem::MaybeUninit::::uninit(); - unsafe { - ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); - s.assume_init() - } - } + pub fn psignal(arg1: ::std::os::raw::c_uint, arg2: *const ::std::os::raw::c_char); } #[pg_guard] extern "C" { - pub fn sigstack(__ss: *mut sigstack, __oss: *mut sigstack) -> ::std::os::raw::c_int; + pub fn sigblock(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn pthread_sigmask( - __how: ::std::os::raw::c_int, - __newmask: *const __sigset_t, - __oldmask: *mut __sigset_t, - ) -> ::std::os::raw::c_int; + pub fn sigsetmask(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn pthread_kill( - __threadid: pthread_t, - __signo: ::std::os::raw::c_int, + pub fn sigvec( + arg1: ::std::os::raw::c_int, + arg2: *mut sigvec, + arg3: *mut sigvec, ) -> ::std::os::raw::c_int; } -#[pg_guard] -extern "C" { - pub fn __libc_current_sigrtmin() -> ::std::os::raw::c_int; -} -#[pg_guard] -extern "C" { - pub fn __libc_current_sigrtmax() -> ::std::os::raw::c_int; -} pub type pg_time_t = int64; #[repr(C)] #[derive(Debug, Copy, Clone)] @@ -25800,8 +25616,9 @@ extern "C" { #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct sockaddr_un { + pub sun_len: ::std::os::raw::c_uchar, pub sun_family: sa_family_t, - pub sun_path: [::std::os::raw::c_char; 108usize], + pub sun_path: [::std::os::raw::c_char; 104usize], } impl Default for sockaddr_un { fn default() -> Self { @@ -25893,25 +25710,7 @@ pub type RmgrIds = ::std::os::raw::c_uint; pub type pg_crc32c = uint32; #[pg_guard] extern "C" { - pub fn pg_comp_crc32c_sb8( - crc: pg_crc32c, - data: *const ::std::os::raw::c_void, - len: usize, - ) -> pg_crc32c; -} -#[pg_guard] -extern "C" { - pub static mut pg_comp_crc32c: ::std::option::Option< - unsafe extern "C" fn( - crc: pg_crc32c, - data: *const ::std::os::raw::c_void, - len: usize, - ) -> pg_crc32c, - >; -} -#[pg_guard] -extern "C" { - pub fn pg_comp_crc32c_sse42( + pub fn pg_comp_crc32c_armv8( crc: pg_crc32c, data: *const ::std::os::raw::c_void, len: usize, @@ -35395,6 +35194,63 @@ extern "C" { pub fn AtEOXact_Enum(); } #[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct FormData_pg_operator { + pub oid: Oid, + pub oprname: NameData, + pub oprnamespace: Oid, + pub oprowner: Oid, + pub oprkind: ::std::os::raw::c_char, + pub oprcanmerge: bool, + pub oprcanhash: bool, + pub oprleft: Oid, + pub oprright: Oid, + pub oprresult: Oid, + pub oprcom: Oid, + pub oprnegate: Oid, + pub oprcode: regproc, + pub oprrest: regproc, + pub oprjoin: regproc, +} +impl Default for FormData_pg_operator { + fn default() -> Self { + let mut s = ::std::mem::MaybeUninit::::uninit(); + unsafe { + ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); + s.assume_init() + } + } +} +pub type Form_pg_operator = *mut FormData_pg_operator; +#[pg_guard] +extern "C" { + pub fn OperatorCreate( + operatorName: *const ::std::os::raw::c_char, + operatorNamespace: Oid, + leftTypeId: Oid, + rightTypeId: Oid, + procedureId: Oid, + commutatorName: *mut List, + negatorName: *mut List, + restrictionId: Oid, + joinId: Oid, + canMerge: bool, + canHash: bool, + ) -> ObjectAddress; +} +#[pg_guard] +extern "C" { + pub fn makeOperatorDependencies( + tuple: HeapTuple, + makeExtensionDep: bool, + isUpdate: bool, + ) -> ObjectAddress; +} +#[pg_guard] +extern "C" { + pub fn OperatorUpd(baseId: Oid, commId: Oid, negId: Oid, isDelete: bool); +} +#[repr(C)] #[derive(Debug)] pub struct FormData_pg_proc { pub oid: Oid, @@ -58365,13 +58221,6 @@ extern "C" { ) -> ::std::os::raw::c_int; } #[pg_guard] -extern "C" { - pub fn xidLogicalComparator( - arg1: *const ::std::os::raw::c_void, - arg2: *const ::std::os::raw::c_void, - ) -> ::std::os::raw::c_int; -} -#[pg_guard] extern "C" { pub fn pg_inet_cidr_ntop( af: ::std::os::raw::c_int, @@ -60271,29 +60120,8 @@ extern "C" { extern "C" { pub fn SharedRecordTypmodRegistryAttach(arg1: *mut SharedRecordTypmodRegistry); } -pub type __builtin_va_list = [__va_list_tag; 1usize]; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct __va_list_tag { - pub gp_offset: ::std::os::raw::c_uint, - pub fp_offset: ::std::os::raw::c_uint, - pub overflow_arg_area: *mut ::std::os::raw::c_void, - pub reg_save_area: *mut ::std::os::raw::c_void, -} -impl Default for __va_list_tag { - fn default() -> Self { - let mut s = ::std::mem::MaybeUninit::::uninit(); - unsafe { - ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); - s.assume_init() - } - } -} -#[repr(C)] -#[derive(Debug, Default, Copy, Clone)] -pub struct __locale_data { - pub _address: u8, -} +pub type __builtin_va_list = *mut ::std::os::raw::c_char; +pub type __uint128_t = u128; #[repr(C)] #[derive(Debug, Default, Copy, Clone)] pub struct AttrMissing { diff --git a/pgx-pg-sys/src/pg14.rs b/pgx-pg-sys/src/pg14.rs index 3e47516e9..2ecfc5bfc 100644 --- a/pgx-pg-sys/src/pg14.rs +++ b/pgx-pg-sys/src/pg14.rs @@ -178,31 +178,32 @@ pub const ALIGNOF_LONG: u32 = 8; pub const ALIGNOF_PG_INT128_TYPE: u32 = 16; pub const ALIGNOF_SHORT: u32 = 2; pub const BLCKSZ: u32 = 8192; -pub const CONFIGURE_ARGS : & [u8 ; 102usize] = b" '--prefix=/home/ana/.pgx/14.2/pgx-install' '--with-pgport=28814' '--enable-debug' '--enable-cassert'\0" ; +pub const CONFIGURE_ARGS : & [u8 ; 107usize] = b" '--prefix=/Users/e_ridge/.pgx/14.1/pgx-install' '--with-pgport=28814' '--enable-debug' '--enable-cassert'\0" ; pub const DEF_PGPORT: u32 = 28814; pub const DEF_PGPORT_STR: &[u8; 6usize] = b"28814\0"; pub const ENABLE_THREAD_SAFETY: u32 = 1; -pub const HAVE_APPEND_HISTORY: u32 = 1; pub const HAVE_ATOMICS: u32 = 1; pub const HAVE_BACKTRACE_SYMBOLS: u32 = 1; pub const HAVE_CLOCK_GETTIME: u32 = 1; pub const HAVE_COMPUTED_GOTO: u32 = 1; -pub const HAVE_DECL_FDATASYNC: u32 = 1; -pub const HAVE_DECL_F_FULLFSYNC: u32 = 0; -pub const HAVE_DECL_POSIX_FADVISE: u32 = 1; +pub const HAVE_COPYFILE: u32 = 1; +pub const HAVE_COPYFILE_H: u32 = 1; +pub const HAVE_DECL_FDATASYNC: u32 = 0; +pub const HAVE_DECL_F_FULLFSYNC: u32 = 1; +pub const HAVE_DECL_POSIX_FADVISE: u32 = 0; pub const HAVE_DECL_PREADV: u32 = 1; pub const HAVE_DECL_PWRITEV: u32 = 1; pub const HAVE_DECL_RTLD_GLOBAL: u32 = 1; pub const HAVE_DECL_RTLD_NOW: u32 = 1; -pub const HAVE_DECL_STRLCAT: u32 = 0; -pub const HAVE_DECL_STRLCPY: u32 = 0; +pub const HAVE_DECL_STRLCAT: u32 = 1; +pub const HAVE_DECL_STRLCPY: u32 = 1; pub const HAVE_DECL_STRNLEN: u32 = 1; pub const HAVE_DECL_STRTOLL: u32 = 1; pub const HAVE_DECL_STRTOULL: u32 = 1; pub const HAVE_DLOPEN: u32 = 1; pub const HAVE_EXECINFO_H: u32 = 1; -pub const HAVE_EXPLICIT_BZERO: u32 = 1; pub const HAVE_FDATASYNC: u32 = 1; +pub const HAVE_FLS: u32 = 1; pub const HAVE_FSEEKO: u32 = 1; pub const HAVE_FUNCNAME__FUNC: u32 = 1; pub const HAVE_GCC__ATOMIC_INT32_CAS: u32 = 1; @@ -212,11 +213,11 @@ pub const HAVE_GCC__SYNC_INT32_CAS: u32 = 1; pub const HAVE_GCC__SYNC_INT32_TAS: u32 = 1; pub const HAVE_GCC__SYNC_INT64_CAS: u32 = 1; pub const HAVE_GETADDRINFO: u32 = 1; -pub const HAVE_GETHOSTBYNAME_R: u32 = 1; pub const HAVE_GETIFADDRS: u32 = 1; pub const HAVE_GETOPT: u32 = 1; pub const HAVE_GETOPT_H: u32 = 1; pub const HAVE_GETOPT_LONG: u32 = 1; +pub const HAVE_GETPEEREID: u32 = 1; pub const HAVE_GETPWUID_R: u32 = 1; pub const HAVE_GETRLIMIT: u32 = 1; pub const HAVE_GETRUSAGE: u32 = 1; @@ -225,8 +226,10 @@ pub const HAVE_IFADDRS_H: u32 = 1; pub const HAVE_INET_ATON: u32 = 1; pub const HAVE_INTTYPES_H: u32 = 1; pub const HAVE_INT_OPTERR: u32 = 1; +pub const HAVE_INT_OPTRESET: u32 = 1; pub const HAVE_INT_TIMEZONE: u32 = 1; pub const HAVE_IPV6: u32 = 1; +pub const HAVE_KQUEUE: u32 = 1; pub const HAVE_LANGINFO_H: u32 = 1; pub const HAVE_LIBM: u32 = 1; pub const HAVE_LIBREADLINE: u32 = 1; @@ -234,18 +237,17 @@ pub const HAVE_LIBZ: u32 = 1; pub const HAVE_LINK: u32 = 1; pub const HAVE_LOCALE_T: u32 = 1; pub const HAVE_LONG_INT_64: u32 = 1; +pub const HAVE_MBSTOWCS_L: u32 = 1; pub const HAVE_MEMORY_H: u32 = 1; +pub const HAVE_MEMSET_S: u32 = 1; pub const HAVE_MKDTEMP: u32 = 1; pub const HAVE_NETINET_TCP_H: u32 = 1; pub const HAVE_NET_IF_H: u32 = 1; pub const HAVE_POLL: u32 = 1; pub const HAVE_POLL_H: u32 = 1; -pub const HAVE_POSIX_FADVISE: u32 = 1; -pub const HAVE_POSIX_FALLOCATE: u32 = 1; -pub const HAVE_PPOLL: u32 = 1; pub const HAVE_PREAD: u32 = 1; pub const HAVE_PTHREAD: u32 = 1; -pub const HAVE_PTHREAD_BARRIER_WAIT: u32 = 1; +pub const HAVE_PTHREAD_IS_THREADED_NP: u32 = 1; pub const HAVE_PTHREAD_PRIO_INHERIT: u32 = 1; pub const HAVE_PWRITE: u32 = 1; pub const HAVE_RANDOM: u32 = 1; @@ -255,11 +257,7 @@ pub const HAVE_READLINK: u32 = 1; pub const HAVE_READV: u32 = 1; pub const HAVE_RL_COMPLETION_APPEND_CHARACTER: u32 = 1; pub const HAVE_RL_COMPLETION_MATCHES: u32 = 1; -pub const HAVE_RL_COMPLETION_SUPPRESS_QUOTE: u32 = 1; pub const HAVE_RL_FILENAME_COMPLETION_FUNCTION: u32 = 1; -pub const HAVE_RL_FILENAME_QUOTE_CHARACTERS: u32 = 1; -pub const HAVE_RL_FILENAME_QUOTING_FUNCTION: u32 = 1; -pub const HAVE_RL_RESET_SCREEN_SIZE: u32 = 1; pub const HAVE_SETENV: u32 = 1; pub const HAVE_SETSID: u32 = 1; pub const HAVE_SHM_OPEN: u32 = 1; @@ -268,10 +266,11 @@ pub const HAVE_SRANDOM: u32 = 1; pub const HAVE_STDBOOL_H: u32 = 1; pub const HAVE_STDINT_H: u32 = 1; pub const HAVE_STDLIB_H: u32 = 1; -pub const HAVE_STRCHRNUL: u32 = 1; pub const HAVE_STRERROR_R: u32 = 1; pub const HAVE_STRINGS_H: u32 = 1; pub const HAVE_STRING_H: u32 = 1; +pub const HAVE_STRLCAT: u32 = 1; +pub const HAVE_STRLCPY: u32 = 1; pub const HAVE_STRNLEN: u32 = 1; pub const HAVE_STRSIGNAL: u32 = 1; pub const HAVE_STRTOF: u32 = 1; @@ -279,33 +278,35 @@ pub const HAVE_STRTOLL: u32 = 1; pub const HAVE_STRTOULL: u32 = 1; pub const HAVE_STRUCT_ADDRINFO: u32 = 1; pub const HAVE_STRUCT_OPTION: u32 = 1; +pub const HAVE_STRUCT_SOCKADDR_SA_LEN: u32 = 1; pub const HAVE_STRUCT_SOCKADDR_STORAGE: u32 = 1; pub const HAVE_STRUCT_SOCKADDR_STORAGE_SS_FAMILY: u32 = 1; +pub const HAVE_STRUCT_SOCKADDR_STORAGE_SS_LEN: u32 = 1; pub const HAVE_STRUCT_SOCKADDR_UN: u32 = 1; pub const HAVE_STRUCT_TM_TM_ZONE: u32 = 1; pub const HAVE_SYMLINK: u32 = 1; -pub const HAVE_SYNCFS: u32 = 1; -pub const HAVE_SYNC_FILE_RANGE: u32 = 1; pub const HAVE_SYSLOG: u32 = 1; -pub const HAVE_SYS_EPOLL_H: u32 = 1; +pub const HAVE_SYS_EVENT_H: u32 = 1; pub const HAVE_SYS_IPC_H: u32 = 1; -pub const HAVE_SYS_PRCTL_H: u32 = 1; pub const HAVE_SYS_RESOURCE_H: u32 = 1; pub const HAVE_SYS_SELECT_H: u32 = 1; pub const HAVE_SYS_SEM_H: u32 = 1; pub const HAVE_SYS_SHM_H: u32 = 1; +pub const HAVE_SYS_SOCKIO_H: u32 = 1; pub const HAVE_SYS_STAT_H: u32 = 1; pub const HAVE_SYS_TYPES_H: u32 = 1; +pub const HAVE_SYS_UCRED_H: u32 = 1; pub const HAVE_SYS_UIO_H: u32 = 1; pub const HAVE_SYS_UN_H: u32 = 1; pub const HAVE_TERMIOS_H: u32 = 1; pub const HAVE_TYPEOF: u32 = 1; +pub const HAVE_UNION_SEMUN: u32 = 1; pub const HAVE_UNISTD_H: u32 = 1; pub const HAVE_UNSETENV: u32 = 1; pub const HAVE_USELOCALE: u32 = 1; +pub const HAVE_WCSTOMBS_L: u32 = 1; pub const HAVE_WCTYPE_H: u32 = 1; pub const HAVE_WRITEV: u32 = 1; -pub const HAVE_X86_64_POPCNTQ: u32 = 1; pub const HAVE__BOOL: u32 = 1; pub const HAVE__BUILTIN_BSWAP16: u32 = 1; pub const HAVE__BUILTIN_BSWAP32: u32 = 1; @@ -317,25 +318,25 @@ pub const HAVE__BUILTIN_OP_OVERFLOW: u32 = 1; pub const HAVE__BUILTIN_POPCOUNT: u32 = 1; pub const HAVE__BUILTIN_TYPES_COMPATIBLE_P: u32 = 1; pub const HAVE__BUILTIN_UNREACHABLE: u32 = 1; -pub const HAVE__GET_CPUID: u32 = 1; pub const HAVE__STATIC_ASSERT: u32 = 1; pub const INT64_MODIFIER: &[u8; 2usize] = b"l\0"; +pub const LOCALE_T_IN_XLOCALE: u32 = 1; pub const MAXIMUM_ALIGNOF: u32 = 8; pub const MEMSET_LOOP_LIMIT: u32 = 1024; pub const PACKAGE_BUGREPORT: &[u8; 32usize] = b"pgsql-bugs@lists.postgresql.org\0"; pub const PACKAGE_NAME: &[u8; 11usize] = b"PostgreSQL\0"; -pub const PACKAGE_STRING: &[u8; 16usize] = b"PostgreSQL 14.2\0"; +pub const PACKAGE_STRING: &[u8; 16usize] = b"PostgreSQL 14.1\0"; pub const PACKAGE_TARNAME: &[u8; 11usize] = b"postgresql\0"; pub const PACKAGE_URL: &[u8; 28usize] = b"https://www.postgresql.org/\0"; -pub const PACKAGE_VERSION: &[u8; 5usize] = b"14.2\0"; +pub const PACKAGE_VERSION: &[u8; 5usize] = b"14.1\0"; pub const PG_KRB_SRVNAM: &[u8; 9usize] = b"postgres\0"; pub const PG_MAJORVERSION: &[u8; 3usize] = b"14\0"; pub const PG_MAJORVERSION_NUM: u32 = 14; -pub const PG_MINORVERSION_NUM: u32 = 2; +pub const PG_MINORVERSION_NUM: u32 = 1; pub const PG_USE_STDBOOL: u32 = 1; -pub const PG_VERSION: &[u8; 5usize] = b"14.2\0"; -pub const PG_VERSION_NUM: u32 = 140002; -pub const PG_VERSION_STR : & [u8 ; 96usize] = b"PostgreSQL 14.2 on x86_64-pc-linux-gnu, compiled by gcc (Ubuntu 11.2.0-7ubuntu2) 11.2.0, 64-bit\0" ; +pub const PG_VERSION: &[u8; 5usize] = b"14.1\0"; +pub const PG_VERSION_NUM: u32 = 140001; +pub const PG_VERSION_STR : & [u8 ; 115usize] = b"PostgreSQL 14.1 on aarch64-apple-darwin21.3.0, compiled by Apple clang version 13.0.0 (clang-1300.0.29.30), 64-bit\0" ; pub const RELSEG_SIZE: u32 = 131072; pub const SIZEOF_BOOL: u32 = 1; pub const SIZEOF_LONG: u32 = 8; @@ -343,10 +344,12 @@ pub const SIZEOF_OFF_T: u32 = 8; pub const SIZEOF_SIZE_T: u32 = 8; pub const SIZEOF_VOID_P: u32 = 8; pub const STDC_HEADERS: u32 = 1; +pub const STRERROR_R_INT: u32 = 1; +pub const USE_ARMV8_CRC32C: u32 = 1; pub const USE_ASSERT_CHECKING: u32 = 1; -pub const USE_SSE42_CRC32C_WITH_RUNTIME_CHECK: u32 = 1; +pub const USE_SYSV_SEMAPHORES: u32 = 1; pub const USE_SYSV_SHARED_MEMORY: u32 = 1; -pub const USE_UNNAMED_POSIX_SEMAPHORES: u32 = 1; +pub const WCSTOMBS_L_IN_XLOCALE: u32 = 1; pub const XLOG_BLCKSZ: u32 = 8192; pub const DEFAULT_XLOG_SEG_SIZE: u32 = 16777216; pub const NAMEDATALEN: u32 = 64; @@ -362,212 +365,548 @@ pub const BITS_PER_BYTE: u32 = 8; pub const ALIGNOF_BUFFER: u32 = 32; pub const HAVE_WORKING_LINK: u32 = 1; pub const DEFAULT_BACKEND_FLUSH_AFTER: u32 = 0; -pub const DEFAULT_BGWRITER_FLUSH_AFTER: u32 = 64; -pub const DEFAULT_CHECKPOINT_FLUSH_AFTER: u32 = 32; +pub const DEFAULT_BGWRITER_FLUSH_AFTER: u32 = 0; +pub const DEFAULT_CHECKPOINT_FLUSH_AFTER: u32 = 0; pub const WRITEBACK_MAX_PENDING_FLUSHES: u32 = 256; pub const DEFAULT_PGSOCKET_DIR: &[u8; 5usize] = b"/tmp\0"; pub const DEFAULT_EVENT_SOURCE: &[u8; 11usize] = b"PostgreSQL\0"; pub const PG_CACHE_LINE_SIZE: u32 = 128; pub const TRACE_SORT: u32 = 1; -pub const _STDIO_H: u32 = 1; -pub const _FEATURES_H: u32 = 1; -pub const _DEFAULT_SOURCE: u32 = 1; -pub const __GLIBC_USE_ISOC2X: u32 = 0; -pub const __USE_ISOC11: u32 = 1; -pub const __USE_ISOC99: u32 = 1; -pub const __USE_ISOC95: u32 = 1; -pub const __USE_POSIX_IMPLICITLY: u32 = 1; -pub const _POSIX_SOURCE: u32 = 1; -pub const _POSIX_C_SOURCE: u32 = 200809; -pub const __USE_POSIX: u32 = 1; -pub const __USE_POSIX2: u32 = 1; -pub const __USE_POSIX199309: u32 = 1; -pub const __USE_POSIX199506: u32 = 1; -pub const __USE_XOPEN2K: u32 = 1; -pub const __USE_XOPEN2K8: u32 = 1; -pub const _ATFILE_SOURCE: u32 = 1; -pub const __WORDSIZE: u32 = 64; -pub const __WORDSIZE_TIME64_COMPAT32: u32 = 1; -pub const __SYSCALL_WORDSIZE: u32 = 64; -pub const __TIMESIZE: u32 = 64; -pub const __USE_MISC: u32 = 1; -pub const __USE_ATFILE: u32 = 1; -pub const __USE_FORTIFY_LEVEL: u32 = 0; -pub const __GLIBC_USE_DEPRECATED_GETS: u32 = 0; -pub const __GLIBC_USE_DEPRECATED_SCANF: u32 = 0; -pub const _STDC_PREDEF_H: u32 = 1; -pub const __STDC_IEC_559__: u32 = 1; -pub const __STDC_IEC_559_COMPLEX__: u32 = 1; -pub const __STDC_ISO_10646__: u32 = 201706; -pub const __GNU_LIBRARY__: u32 = 6; -pub const __GLIBC__: u32 = 2; -pub const __GLIBC_MINOR__: u32 = 34; -pub const _SYS_CDEFS_H: u32 = 1; -pub const __glibc_c99_flexarr_available: u32 = 1; -pub const __LDOUBLE_REDIRECTS_TO_FLOAT128_ABI: u32 = 0; -pub const __HAVE_GENERIC_SELECTION: u32 = 1; -pub const __GLIBC_USE_LIB_EXT2: u32 = 0; -pub const __GLIBC_USE_IEC_60559_BFP_EXT: u32 = 0; -pub const __GLIBC_USE_IEC_60559_BFP_EXT_C2X: u32 = 0; -pub const __GLIBC_USE_IEC_60559_EXT: u32 = 0; -pub const __GLIBC_USE_IEC_60559_FUNCS_EXT: u32 = 0; -pub const __GLIBC_USE_IEC_60559_FUNCS_EXT_C2X: u32 = 0; -pub const __GLIBC_USE_IEC_60559_TYPES_EXT: u32 = 0; -pub const __GNUC_VA_LIST: u32 = 1; -pub const _BITS_TYPES_H: u32 = 1; -pub const _BITS_TYPESIZES_H: u32 = 1; -pub const __OFF_T_MATCHES_OFF64_T: u32 = 1; -pub const __INO_T_MATCHES_INO64_T: u32 = 1; -pub const __RLIM_T_MATCHES_RLIM64_T: u32 = 1; -pub const __STATFS_MATCHES_STATFS64: u32 = 1; -pub const __KERNEL_OLD_TIMEVAL_MATCHES_TIMEVAL64: u32 = 1; -pub const __FD_SETSIZE: u32 = 1024; -pub const _BITS_TIME64_H: u32 = 1; -pub const _____fpos_t_defined: u32 = 1; -pub const ____mbstate_t_defined: u32 = 1; -pub const _____fpos64_t_defined: u32 = 1; -pub const ____FILE_defined: u32 = 1; -pub const __FILE_defined: u32 = 1; -pub const __struct_FILE_defined: u32 = 1; -pub const _IO_EOF_SEEN: u32 = 16; -pub const _IO_ERR_SEEN: u32 = 32; -pub const _IO_USER_LOCK: u32 = 32768; +pub const __darwin__: u32 = 1; +pub const __DARWIN_ONLY_64_BIT_INO_T: u32 = 1; +pub const __DARWIN_ONLY_UNIX_CONFORMANCE: u32 = 1; +pub const __DARWIN_ONLY_VERS_1050: u32 = 1; +pub const __DARWIN_UNIX03: u32 = 1; +pub const __DARWIN_64_BIT_INO_T: u32 = 1; +pub const __DARWIN_VERS_1050: u32 = 1; +pub const __DARWIN_NON_CANCELABLE: u32 = 0; +pub const __DARWIN_SUF_EXTSN: &[u8; 14usize] = b"$DARWIN_EXTSN\0"; +pub const __DARWIN_C_ANSI: u32 = 4096; +pub const __DARWIN_C_FULL: u32 = 900000; +pub const __DARWIN_C_LEVEL: u32 = 900000; +pub const __STDC_WANT_LIB_EXT1__: u32 = 1; +pub const __DARWIN_NO_LONG_LONG: u32 = 0; +pub const _DARWIN_FEATURE_64_BIT_INODE: u32 = 1; +pub const _DARWIN_FEATURE_ONLY_64_BIT_INODE: u32 = 1; +pub const _DARWIN_FEATURE_ONLY_VERS_1050: u32 = 1; +pub const _DARWIN_FEATURE_ONLY_UNIX_CONFORMANCE: u32 = 1; +pub const _DARWIN_FEATURE_UNIX_CONFORMANCE: u32 = 3; +pub const __has_ptrcheck: u32 = 0; +pub const __API_TO_BE_DEPRECATED: u32 = 100000; +pub const __MAC_10_0: u32 = 1000; +pub const __MAC_10_1: u32 = 1010; +pub const __MAC_10_2: u32 = 1020; +pub const __MAC_10_3: u32 = 1030; +pub const __MAC_10_4: u32 = 1040; +pub const __MAC_10_5: u32 = 1050; +pub const __MAC_10_6: u32 = 1060; +pub const __MAC_10_7: u32 = 1070; +pub const __MAC_10_8: u32 = 1080; +pub const __MAC_10_9: u32 = 1090; +pub const __MAC_10_10: u32 = 101000; +pub const __MAC_10_10_2: u32 = 101002; +pub const __MAC_10_10_3: u32 = 101003; +pub const __MAC_10_11: u32 = 101100; +pub const __MAC_10_11_2: u32 = 101102; +pub const __MAC_10_11_3: u32 = 101103; +pub const __MAC_10_11_4: u32 = 101104; +pub const __MAC_10_12: u32 = 101200; +pub const __MAC_10_12_1: u32 = 101201; +pub const __MAC_10_12_2: u32 = 101202; +pub const __MAC_10_12_4: u32 = 101204; +pub const __MAC_10_13: u32 = 101300; +pub const __MAC_10_13_1: u32 = 101301; +pub const __MAC_10_13_2: u32 = 101302; +pub const __MAC_10_13_4: u32 = 101304; +pub const __MAC_10_14: u32 = 101400; +pub const __MAC_10_14_1: u32 = 101401; +pub const __MAC_10_14_4: u32 = 101404; +pub const __MAC_10_14_6: u32 = 101406; +pub const __MAC_10_15: u32 = 101500; +pub const __MAC_10_15_1: u32 = 101501; +pub const __MAC_10_15_4: u32 = 101504; +pub const __MAC_10_16: u32 = 101600; +pub const __MAC_11_0: u32 = 110000; +pub const __MAC_11_1: u32 = 110100; +pub const __MAC_11_3: u32 = 110300; +pub const __MAC_11_4: u32 = 110400; +pub const __MAC_11_5: u32 = 110500; +pub const __MAC_11_6: u32 = 110600; +pub const __MAC_12_0: u32 = 120000; +pub const __MAC_12_1: u32 = 120100; +pub const __MAC_12_2: u32 = 120200; +pub const __MAC_12_3: u32 = 120300; +pub const __IPHONE_2_0: u32 = 20000; +pub const __IPHONE_2_1: u32 = 20100; +pub const __IPHONE_2_2: u32 = 20200; +pub const __IPHONE_3_0: u32 = 30000; +pub const __IPHONE_3_1: u32 = 30100; +pub const __IPHONE_3_2: u32 = 30200; +pub const __IPHONE_4_0: u32 = 40000; +pub const __IPHONE_4_1: u32 = 40100; +pub const __IPHONE_4_2: u32 = 40200; +pub const __IPHONE_4_3: u32 = 40300; +pub const __IPHONE_5_0: u32 = 50000; +pub const __IPHONE_5_1: u32 = 50100; +pub const __IPHONE_6_0: u32 = 60000; +pub const __IPHONE_6_1: u32 = 60100; +pub const __IPHONE_7_0: u32 = 70000; +pub const __IPHONE_7_1: u32 = 70100; +pub const __IPHONE_8_0: u32 = 80000; +pub const __IPHONE_8_1: u32 = 80100; +pub const __IPHONE_8_2: u32 = 80200; +pub const __IPHONE_8_3: u32 = 80300; +pub const __IPHONE_8_4: u32 = 80400; +pub const __IPHONE_9_0: u32 = 90000; +pub const __IPHONE_9_1: u32 = 90100; +pub const __IPHONE_9_2: u32 = 90200; +pub const __IPHONE_9_3: u32 = 90300; +pub const __IPHONE_10_0: u32 = 100000; +pub const __IPHONE_10_1: u32 = 100100; +pub const __IPHONE_10_2: u32 = 100200; +pub const __IPHONE_10_3: u32 = 100300; +pub const __IPHONE_11_0: u32 = 110000; +pub const __IPHONE_11_1: u32 = 110100; +pub const __IPHONE_11_2: u32 = 110200; +pub const __IPHONE_11_3: u32 = 110300; +pub const __IPHONE_11_4: u32 = 110400; +pub const __IPHONE_12_0: u32 = 120000; +pub const __IPHONE_12_1: u32 = 120100; +pub const __IPHONE_12_2: u32 = 120200; +pub const __IPHONE_12_3: u32 = 120300; +pub const __IPHONE_12_4: u32 = 120400; +pub const __IPHONE_13_0: u32 = 130000; +pub const __IPHONE_13_1: u32 = 130100; +pub const __IPHONE_13_2: u32 = 130200; +pub const __IPHONE_13_3: u32 = 130300; +pub const __IPHONE_13_4: u32 = 130400; +pub const __IPHONE_13_5: u32 = 130500; +pub const __IPHONE_13_6: u32 = 130600; +pub const __IPHONE_13_7: u32 = 130700; +pub const __IPHONE_14_0: u32 = 140000; +pub const __IPHONE_14_1: u32 = 140100; +pub const __IPHONE_14_2: u32 = 140200; +pub const __IPHONE_14_3: u32 = 140300; +pub const __IPHONE_14_5: u32 = 140500; +pub const __IPHONE_14_6: u32 = 140600; +pub const __IPHONE_14_7: u32 = 140700; +pub const __IPHONE_14_8: u32 = 140800; +pub const __IPHONE_15_0: u32 = 150000; +pub const __IPHONE_15_1: u32 = 150100; +pub const __IPHONE_15_2: u32 = 150200; +pub const __IPHONE_15_3: u32 = 150300; +pub const __IPHONE_15_4: u32 = 150400; +pub const __TVOS_9_0: u32 = 90000; +pub const __TVOS_9_1: u32 = 90100; +pub const __TVOS_9_2: u32 = 90200; +pub const __TVOS_10_0: u32 = 100000; +pub const __TVOS_10_0_1: u32 = 100001; +pub const __TVOS_10_1: u32 = 100100; +pub const __TVOS_10_2: u32 = 100200; +pub const __TVOS_11_0: u32 = 110000; +pub const __TVOS_11_1: u32 = 110100; +pub const __TVOS_11_2: u32 = 110200; +pub const __TVOS_11_3: u32 = 110300; +pub const __TVOS_11_4: u32 = 110400; +pub const __TVOS_12_0: u32 = 120000; +pub const __TVOS_12_1: u32 = 120100; +pub const __TVOS_12_2: u32 = 120200; +pub const __TVOS_12_3: u32 = 120300; +pub const __TVOS_12_4: u32 = 120400; +pub const __TVOS_13_0: u32 = 130000; +pub const __TVOS_13_2: u32 = 130200; +pub const __TVOS_13_3: u32 = 130300; +pub const __TVOS_13_4: u32 = 130400; +pub const __TVOS_14_0: u32 = 140000; +pub const __TVOS_14_1: u32 = 140100; +pub const __TVOS_14_2: u32 = 140200; +pub const __TVOS_14_3: u32 = 140300; +pub const __TVOS_14_5: u32 = 140500; +pub const __TVOS_14_6: u32 = 140600; +pub const __TVOS_14_7: u32 = 140700; +pub const __TVOS_15_0: u32 = 150000; +pub const __TVOS_15_1: u32 = 150100; +pub const __TVOS_15_2: u32 = 150200; +pub const __TVOS_15_3: u32 = 150300; +pub const __TVOS_15_4: u32 = 150400; +pub const __WATCHOS_1_0: u32 = 10000; +pub const __WATCHOS_2_0: u32 = 20000; +pub const __WATCHOS_2_1: u32 = 20100; +pub const __WATCHOS_2_2: u32 = 20200; +pub const __WATCHOS_3_0: u32 = 30000; +pub const __WATCHOS_3_1: u32 = 30100; +pub const __WATCHOS_3_1_1: u32 = 30101; +pub const __WATCHOS_3_2: u32 = 30200; +pub const __WATCHOS_4_0: u32 = 40000; +pub const __WATCHOS_4_1: u32 = 40100; +pub const __WATCHOS_4_2: u32 = 40200; +pub const __WATCHOS_4_3: u32 = 40300; +pub const __WATCHOS_5_0: u32 = 50000; +pub const __WATCHOS_5_1: u32 = 50100; +pub const __WATCHOS_5_2: u32 = 50200; +pub const __WATCHOS_5_3: u32 = 50300; +pub const __WATCHOS_6_0: u32 = 60000; +pub const __WATCHOS_6_1: u32 = 60100; +pub const __WATCHOS_6_2: u32 = 60200; +pub const __WATCHOS_7_0: u32 = 70000; +pub const __WATCHOS_7_1: u32 = 70100; +pub const __WATCHOS_7_2: u32 = 70200; +pub const __WATCHOS_7_3: u32 = 70300; +pub const __WATCHOS_7_4: u32 = 70400; +pub const __WATCHOS_7_5: u32 = 70500; +pub const __WATCHOS_7_6: u32 = 70600; +pub const __WATCHOS_8_0: u32 = 80000; +pub const __WATCHOS_8_1: u32 = 80100; +pub const __WATCHOS_8_3: u32 = 80300; +pub const __WATCHOS_8_4: u32 = 80400; +pub const __WATCHOS_8_5: u32 = 80500; +pub const MAC_OS_X_VERSION_10_0: u32 = 1000; +pub const MAC_OS_X_VERSION_10_1: u32 = 1010; +pub const MAC_OS_X_VERSION_10_2: u32 = 1020; +pub const MAC_OS_X_VERSION_10_3: u32 = 1030; +pub const MAC_OS_X_VERSION_10_4: u32 = 1040; +pub const MAC_OS_X_VERSION_10_5: u32 = 1050; +pub const MAC_OS_X_VERSION_10_6: u32 = 1060; +pub const MAC_OS_X_VERSION_10_7: u32 = 1070; +pub const MAC_OS_X_VERSION_10_8: u32 = 1080; +pub const MAC_OS_X_VERSION_10_9: u32 = 1090; +pub const MAC_OS_X_VERSION_10_10: u32 = 101000; +pub const MAC_OS_X_VERSION_10_10_2: u32 = 101002; +pub const MAC_OS_X_VERSION_10_10_3: u32 = 101003; +pub const MAC_OS_X_VERSION_10_11: u32 = 101100; +pub const MAC_OS_X_VERSION_10_11_2: u32 = 101102; +pub const MAC_OS_X_VERSION_10_11_3: u32 = 101103; +pub const MAC_OS_X_VERSION_10_11_4: u32 = 101104; +pub const MAC_OS_X_VERSION_10_12: u32 = 101200; +pub const MAC_OS_X_VERSION_10_12_1: u32 = 101201; +pub const MAC_OS_X_VERSION_10_12_2: u32 = 101202; +pub const MAC_OS_X_VERSION_10_12_4: u32 = 101204; +pub const MAC_OS_X_VERSION_10_13: u32 = 101300; +pub const MAC_OS_X_VERSION_10_13_1: u32 = 101301; +pub const MAC_OS_X_VERSION_10_13_2: u32 = 101302; +pub const MAC_OS_X_VERSION_10_13_4: u32 = 101304; +pub const MAC_OS_X_VERSION_10_14: u32 = 101400; +pub const MAC_OS_X_VERSION_10_14_1: u32 = 101401; +pub const MAC_OS_X_VERSION_10_14_4: u32 = 101404; +pub const MAC_OS_X_VERSION_10_14_6: u32 = 101406; +pub const MAC_OS_X_VERSION_10_15: u32 = 101500; +pub const MAC_OS_X_VERSION_10_15_1: u32 = 101501; +pub const MAC_OS_X_VERSION_10_16: u32 = 101600; +pub const MAC_OS_VERSION_11_0: u32 = 110000; +pub const MAC_OS_VERSION_12_0: u32 = 120000; +pub const __DRIVERKIT_19_0: u32 = 190000; +pub const __DRIVERKIT_20_0: u32 = 200000; +pub const __DRIVERKIT_21_0: u32 = 210000; +pub const __MAC_OS_X_VERSION_MAX_ALLOWED: u32 = 120300; +pub const __ENABLE_LEGACY_MAC_AVAILABILITY: u32 = 1; +pub const __PTHREAD_SIZE__: u32 = 8176; +pub const __PTHREAD_ATTR_SIZE__: u32 = 56; +pub const __PTHREAD_MUTEXATTR_SIZE__: u32 = 8; +pub const __PTHREAD_MUTEX_SIZE__: u32 = 56; +pub const __PTHREAD_CONDATTR_SIZE__: u32 = 8; +pub const __PTHREAD_COND_SIZE__: u32 = 40; +pub const __PTHREAD_ONCE_SIZE__: u32 = 8; +pub const __PTHREAD_RWLOCK_SIZE__: u32 = 192; +pub const __PTHREAD_RWLOCKATTR_SIZE__: u32 = 16; +pub const __DARWIN_WCHAR_MIN: i32 = -2147483648; +pub const _FORTIFY_SOURCE: u32 = 2; +pub const RENAME_SECLUDE: u32 = 1; +pub const RENAME_SWAP: u32 = 2; +pub const RENAME_EXCL: u32 = 4; +pub const RENAME_RESERVED1: u32 = 8; +pub const RENAME_NOFOLLOW_ANY: u32 = 16; +pub const __SLBF: u32 = 1; +pub const __SNBF: u32 = 2; +pub const __SRD: u32 = 4; +pub const __SWR: u32 = 8; +pub const __SRW: u32 = 16; +pub const __SEOF: u32 = 32; +pub const __SERR: u32 = 64; +pub const __SMBF: u32 = 128; +pub const __SAPP: u32 = 256; +pub const __SSTR: u32 = 512; +pub const __SOPT: u32 = 1024; +pub const __SNPT: u32 = 2048; +pub const __SOFF: u32 = 4096; +pub const __SMOD: u32 = 8192; +pub const __SALC: u32 = 16384; +pub const __SIGN: u32 = 32768; pub const _IOFBF: u32 = 0; pub const _IOLBF: u32 = 1; pub const _IONBF: u32 = 2; -pub const BUFSIZ: u32 = 8192; +pub const BUFSIZ: u32 = 1024; pub const EOF: i32 = -1; +pub const FOPEN_MAX: u32 = 20; +pub const FILENAME_MAX: u32 = 1024; +pub const P_tmpdir: &[u8; 10usize] = b"/var/tmp/\0"; +pub const L_tmpnam: u32 = 1024; +pub const TMP_MAX: u32 = 308915776; pub const SEEK_SET: u32 = 0; pub const SEEK_CUR: u32 = 1; pub const SEEK_END: u32 = 2; -pub const P_tmpdir: &[u8; 5usize] = b"/tmp\0"; -pub const _BITS_STDIO_LIM_H: u32 = 1; -pub const L_tmpnam: u32 = 20; -pub const TMP_MAX: u32 = 238328; -pub const FILENAME_MAX: u32 = 4096; -pub const L_ctermid: u32 = 9; -pub const FOPEN_MAX: u32 = 16; -pub const __HAVE_FLOAT128: u32 = 0; -pub const __HAVE_DISTINCT_FLOAT128: u32 = 0; -pub const __HAVE_FLOAT64X: u32 = 1; -pub const __HAVE_FLOAT64X_LONG_DOUBLE: u32 = 1; -pub const __HAVE_FLOAT16: u32 = 0; -pub const __HAVE_FLOAT32: u32 = 1; -pub const __HAVE_FLOAT64: u32 = 1; -pub const __HAVE_FLOAT32X: u32 = 1; -pub const __HAVE_FLOAT128X: u32 = 0; -pub const __HAVE_DISTINCT_FLOAT16: u32 = 0; -pub const __HAVE_DISTINCT_FLOAT32: u32 = 0; -pub const __HAVE_DISTINCT_FLOAT64: u32 = 0; -pub const __HAVE_DISTINCT_FLOAT32X: u32 = 0; -pub const __HAVE_DISTINCT_FLOAT64X: u32 = 0; -pub const __HAVE_DISTINCT_FLOAT128X: u32 = 0; -pub const __HAVE_FLOATN_NOT_TYPEDEF: u32 = 0; -pub const _STDLIB_H: u32 = 1; -pub const WNOHANG: u32 = 1; -pub const WUNTRACED: u32 = 2; -pub const WSTOPPED: u32 = 2; -pub const WEXITED: u32 = 4; -pub const WCONTINUED: u32 = 8; -pub const WNOWAIT: u32 = 16777216; -pub const __WNOTHREAD: u32 = 536870912; -pub const __WALL: u32 = 1073741824; -pub const __WCLONE: u32 = 2147483648; -pub const __W_CONTINUED: u32 = 65535; -pub const __WCOREFLAG: u32 = 128; -pub const __ldiv_t_defined: u32 = 1; -pub const __lldiv_t_defined: u32 = 1; -pub const RAND_MAX: u32 = 2147483647; -pub const EXIT_FAILURE: u32 = 1; -pub const EXIT_SUCCESS: u32 = 0; -pub const _SYS_TYPES_H: u32 = 1; -pub const __clock_t_defined: u32 = 1; -pub const __clockid_t_defined: u32 = 1; -pub const __time_t_defined: u32 = 1; -pub const __timer_t_defined: u32 = 1; -pub const _BITS_STDINT_INTN_H: u32 = 1; -pub const __BIT_TYPES_DEFINED__: u32 = 1; -pub const _ENDIAN_H: u32 = 1; -pub const _BITS_ENDIAN_H: u32 = 1; -pub const __LITTLE_ENDIAN: u32 = 1234; -pub const __BIG_ENDIAN: u32 = 4321; -pub const __PDP_ENDIAN: u32 = 3412; -pub const _BITS_ENDIANNESS_H: u32 = 1; -pub const __BYTE_ORDER: u32 = 1234; -pub const __FLOAT_WORD_ORDER: u32 = 1234; -pub const LITTLE_ENDIAN: u32 = 1234; -pub const BIG_ENDIAN: u32 = 4321; -pub const PDP_ENDIAN: u32 = 3412; -pub const BYTE_ORDER: u32 = 1234; -pub const _BITS_BYTESWAP_H: u32 = 1; -pub const _BITS_UINTN_IDENTITY_H: u32 = 1; -pub const _SYS_SELECT_H: u32 = 1; -pub const __sigset_t_defined: u32 = 1; -pub const __timeval_defined: u32 = 1; -pub const _STRUCT_TIMESPEC: u32 = 1; -pub const FD_SETSIZE: u32 = 1024; -pub const _BITS_PTHREADTYPES_COMMON_H: u32 = 1; -pub const _THREAD_SHARED_TYPES_H: u32 = 1; -pub const _BITS_PTHREADTYPES_ARCH_H: u32 = 1; -pub const __SIZEOF_PTHREAD_MUTEX_T: u32 = 40; -pub const __SIZEOF_PTHREAD_ATTR_T: u32 = 56; -pub const __SIZEOF_PTHREAD_RWLOCK_T: u32 = 56; -pub const __SIZEOF_PTHREAD_BARRIER_T: u32 = 32; -pub const __SIZEOF_PTHREAD_MUTEXATTR_T: u32 = 4; -pub const __SIZEOF_PTHREAD_COND_T: u32 = 48; -pub const __SIZEOF_PTHREAD_CONDATTR_T: u32 = 4; -pub const __SIZEOF_PTHREAD_RWLOCKATTR_T: u32 = 8; -pub const __SIZEOF_PTHREAD_BARRIERATTR_T: u32 = 4; -pub const _THREAD_MUTEX_INTERNAL_H: u32 = 1; -pub const __PTHREAD_MUTEX_HAVE_PREV: u32 = 1; -pub const __have_pthread_attr_t: u32 = 1; -pub const _ALLOCA_H: u32 = 1; -pub const _STRING_H: u32 = 1; -pub const _BITS_TYPES_LOCALE_T_H: u32 = 1; -pub const _BITS_TYPES___LOCALE_T_H: u32 = 1; -pub const _STRINGS_H: u32 = 1; -pub const _STDINT_H: u32 = 1; -pub const _BITS_WCHAR_H: u32 = 1; -pub const _BITS_STDINT_UINTN_H: u32 = 1; -pub const INT8_MIN: i32 = -128; -pub const INT16_MIN: i32 = -32768; -pub const INT32_MIN: i32 = -2147483648; +pub const L_ctermid: u32 = 1024; +pub const _USE_FORTIFY_LEVEL: u32 = 2; +pub const __DARWIN_NSIG: u32 = 32; +pub const NSIG: u32 = 32; +pub const _ARM_SIGNAL_: u32 = 1; +pub const SIGHUP: u32 = 1; +pub const SIGINT: u32 = 2; +pub const SIGQUIT: u32 = 3; +pub const SIGILL: u32 = 4; +pub const SIGTRAP: u32 = 5; +pub const SIGABRT: u32 = 6; +pub const SIGIOT: u32 = 6; +pub const SIGEMT: u32 = 7; +pub const SIGFPE: u32 = 8; +pub const SIGKILL: u32 = 9; +pub const SIGBUS: u32 = 10; +pub const SIGSEGV: u32 = 11; +pub const SIGSYS: u32 = 12; +pub const SIGPIPE: u32 = 13; +pub const SIGALRM: u32 = 14; +pub const SIGTERM: u32 = 15; +pub const SIGURG: u32 = 16; +pub const SIGSTOP: u32 = 17; +pub const SIGTSTP: u32 = 18; +pub const SIGCONT: u32 = 19; +pub const SIGCHLD: u32 = 20; +pub const SIGTTIN: u32 = 21; +pub const SIGTTOU: u32 = 22; +pub const SIGIO: u32 = 23; +pub const SIGXCPU: u32 = 24; +pub const SIGXFSZ: u32 = 25; +pub const SIGVTALRM: u32 = 26; +pub const SIGPROF: u32 = 27; +pub const SIGWINCH: u32 = 28; +pub const SIGINFO: u32 = 29; +pub const SIGUSR1: u32 = 30; +pub const SIGUSR2: u32 = 31; +pub const __DARWIN_OPAQUE_ARM_THREAD_STATE64: u32 = 0; +pub const SIGEV_NONE: u32 = 0; +pub const SIGEV_SIGNAL: u32 = 1; +pub const SIGEV_THREAD: u32 = 3; +pub const ILL_NOOP: u32 = 0; +pub const ILL_ILLOPC: u32 = 1; +pub const ILL_ILLTRP: u32 = 2; +pub const ILL_PRVOPC: u32 = 3; +pub const ILL_ILLOPN: u32 = 4; +pub const ILL_ILLADR: u32 = 5; +pub const ILL_PRVREG: u32 = 6; +pub const ILL_COPROC: u32 = 7; +pub const ILL_BADSTK: u32 = 8; +pub const FPE_NOOP: u32 = 0; +pub const FPE_FLTDIV: u32 = 1; +pub const FPE_FLTOVF: u32 = 2; +pub const FPE_FLTUND: u32 = 3; +pub const FPE_FLTRES: u32 = 4; +pub const FPE_FLTINV: u32 = 5; +pub const FPE_FLTSUB: u32 = 6; +pub const FPE_INTDIV: u32 = 7; +pub const FPE_INTOVF: u32 = 8; +pub const SEGV_NOOP: u32 = 0; +pub const SEGV_MAPERR: u32 = 1; +pub const SEGV_ACCERR: u32 = 2; +pub const BUS_NOOP: u32 = 0; +pub const BUS_ADRALN: u32 = 1; +pub const BUS_ADRERR: u32 = 2; +pub const BUS_OBJERR: u32 = 3; +pub const TRAP_BRKPT: u32 = 1; +pub const TRAP_TRACE: u32 = 2; +pub const CLD_NOOP: u32 = 0; +pub const CLD_EXITED: u32 = 1; +pub const CLD_KILLED: u32 = 2; +pub const CLD_DUMPED: u32 = 3; +pub const CLD_TRAPPED: u32 = 4; +pub const CLD_STOPPED: u32 = 5; +pub const CLD_CONTINUED: u32 = 6; +pub const POLL_IN: u32 = 1; +pub const POLL_OUT: u32 = 2; +pub const POLL_MSG: u32 = 3; +pub const POLL_ERR: u32 = 4; +pub const POLL_PRI: u32 = 5; +pub const POLL_HUP: u32 = 6; +pub const SA_ONSTACK: u32 = 1; +pub const SA_RESTART: u32 = 2; +pub const SA_RESETHAND: u32 = 4; +pub const SA_NOCLDSTOP: u32 = 8; +pub const SA_NODEFER: u32 = 16; +pub const SA_NOCLDWAIT: u32 = 32; +pub const SA_SIGINFO: u32 = 64; +pub const SA_USERTRAMP: u32 = 256; +pub const SA_64REGSET: u32 = 512; +pub const SA_USERSPACE_MASK: u32 = 127; +pub const SIG_BLOCK: u32 = 1; +pub const SIG_UNBLOCK: u32 = 2; +pub const SIG_SETMASK: u32 = 3; +pub const SI_USER: u32 = 65537; +pub const SI_QUEUE: u32 = 65538; +pub const SI_TIMER: u32 = 65539; +pub const SI_ASYNCIO: u32 = 65540; +pub const SI_MESGQ: u32 = 65541; +pub const SS_ONSTACK: u32 = 1; +pub const SS_DISABLE: u32 = 4; +pub const MINSIGSTKSZ: u32 = 32768; +pub const SIGSTKSZ: u32 = 131072; +pub const SV_ONSTACK: u32 = 1; +pub const SV_INTERRUPT: u32 = 2; +pub const SV_RESETHAND: u32 = 4; +pub const SV_NODEFER: u32 = 16; +pub const SV_NOCLDSTOP: u32 = 8; +pub const SV_SIGINFO: u32 = 64; +pub const __WORDSIZE: u32 = 64; pub const INT8_MAX: u32 = 127; pub const INT16_MAX: u32 = 32767; pub const INT32_MAX: u32 = 2147483647; +pub const INT64_MAX: u64 = 9223372036854775807; +pub const INT8_MIN: i32 = -128; +pub const INT16_MIN: i32 = -32768; +pub const INT32_MIN: i32 = -2147483648; +pub const INT64_MIN: i64 = -9223372036854775808; pub const UINT8_MAX: u32 = 255; pub const UINT16_MAX: u32 = 65535; pub const UINT32_MAX: u32 = 4294967295; +pub const UINT64_MAX: i32 = -1; pub const INT_LEAST8_MIN: i32 = -128; pub const INT_LEAST16_MIN: i32 = -32768; pub const INT_LEAST32_MIN: i32 = -2147483648; +pub const INT_LEAST64_MIN: i64 = -9223372036854775808; pub const INT_LEAST8_MAX: u32 = 127; pub const INT_LEAST16_MAX: u32 = 32767; pub const INT_LEAST32_MAX: u32 = 2147483647; +pub const INT_LEAST64_MAX: u64 = 9223372036854775807; pub const UINT_LEAST8_MAX: u32 = 255; pub const UINT_LEAST16_MAX: u32 = 65535; pub const UINT_LEAST32_MAX: u32 = 4294967295; +pub const UINT_LEAST64_MAX: i32 = -1; pub const INT_FAST8_MIN: i32 = -128; -pub const INT_FAST16_MIN: i64 = -9223372036854775808; -pub const INT_FAST32_MIN: i64 = -9223372036854775808; +pub const INT_FAST16_MIN: i32 = -32768; +pub const INT_FAST32_MIN: i32 = -2147483648; +pub const INT_FAST64_MIN: i64 = -9223372036854775808; pub const INT_FAST8_MAX: u32 = 127; -pub const INT_FAST16_MAX: u64 = 9223372036854775807; -pub const INT_FAST32_MAX: u64 = 9223372036854775807; +pub const INT_FAST16_MAX: u32 = 32767; +pub const INT_FAST32_MAX: u32 = 2147483647; +pub const INT_FAST64_MAX: u64 = 9223372036854775807; pub const UINT_FAST8_MAX: u32 = 255; -pub const UINT_FAST16_MAX: i32 = -1; -pub const UINT_FAST32_MAX: i32 = -1; -pub const INTPTR_MIN: i64 = -9223372036854775808; +pub const UINT_FAST16_MAX: u32 = 65535; +pub const UINT_FAST32_MAX: u32 = 4294967295; +pub const UINT_FAST64_MAX: i32 = -1; pub const INTPTR_MAX: u64 = 9223372036854775807; +pub const INTPTR_MIN: i64 = -9223372036854775808; pub const UINTPTR_MAX: i32 = -1; -pub const PTRDIFF_MIN: i64 = -9223372036854775808; -pub const PTRDIFF_MAX: u64 = 9223372036854775807; +pub const SIZE_MAX: i32 = -1; +pub const RSIZE_MAX: i32 = -1; +pub const WINT_MIN: i32 = -2147483648; +pub const WINT_MAX: u32 = 2147483647; pub const SIG_ATOMIC_MIN: i32 = -2147483648; pub const SIG_ATOMIC_MAX: u32 = 2147483647; -pub const SIZE_MAX: i32 = -1; -pub const WINT_MIN: u32 = 0; -pub const WINT_MAX: u32 = 4294967295; -pub const _ERRNO_H: u32 = 1; -pub const _BITS_ERRNO_H: u32 = 1; +pub const PRIO_PROCESS: u32 = 0; +pub const PRIO_PGRP: u32 = 1; +pub const PRIO_USER: u32 = 2; +pub const PRIO_DARWIN_THREAD: u32 = 3; +pub const PRIO_DARWIN_PROCESS: u32 = 4; +pub const PRIO_MIN: i32 = -20; +pub const PRIO_MAX: u32 = 20; +pub const PRIO_DARWIN_BG: u32 = 4096; +pub const PRIO_DARWIN_NONUI: u32 = 4097; +pub const RUSAGE_SELF: u32 = 0; +pub const RUSAGE_CHILDREN: i32 = -1; +pub const RUSAGE_INFO_V0: u32 = 0; +pub const RUSAGE_INFO_V1: u32 = 1; +pub const RUSAGE_INFO_V2: u32 = 2; +pub const RUSAGE_INFO_V3: u32 = 3; +pub const RUSAGE_INFO_V4: u32 = 4; +pub const RUSAGE_INFO_V5: u32 = 5; +pub const RUSAGE_INFO_CURRENT: u32 = 5; +pub const RU_PROC_RUNS_RESLIDE: u32 = 1; +pub const RLIMIT_CPU: u32 = 0; +pub const RLIMIT_FSIZE: u32 = 1; +pub const RLIMIT_DATA: u32 = 2; +pub const RLIMIT_STACK: u32 = 3; +pub const RLIMIT_CORE: u32 = 4; +pub const RLIMIT_AS: u32 = 5; +pub const RLIMIT_RSS: u32 = 5; +pub const RLIMIT_MEMLOCK: u32 = 6; +pub const RLIMIT_NPROC: u32 = 7; +pub const RLIMIT_NOFILE: u32 = 8; +pub const RLIM_NLIMITS: u32 = 9; +pub const _RLIMIT_POSIX_FLAG: u32 = 4096; +pub const RLIMIT_WAKEUPS_MONITOR: u32 = 1; +pub const RLIMIT_CPU_USAGE_MONITOR: u32 = 2; +pub const RLIMIT_THREAD_CPULIMITS: u32 = 3; +pub const RLIMIT_FOOTPRINT_INTERVAL: u32 = 4; +pub const WAKEMON_ENABLE: u32 = 1; +pub const WAKEMON_DISABLE: u32 = 2; +pub const WAKEMON_GET_PARAMS: u32 = 4; +pub const WAKEMON_SET_DEFAULTS: u32 = 8; +pub const WAKEMON_MAKE_FATAL: u32 = 16; +pub const CPUMON_MAKE_FATAL: u32 = 4096; +pub const FOOTPRINT_INTERVAL_RESET: u32 = 1; +pub const IOPOL_TYPE_DISK: u32 = 0; +pub const IOPOL_TYPE_VFS_ATIME_UPDATES: u32 = 2; +pub const IOPOL_TYPE_VFS_MATERIALIZE_DATALESS_FILES: u32 = 3; +pub const IOPOL_TYPE_VFS_STATFS_NO_DATA_VOLUME: u32 = 4; +pub const IOPOL_TYPE_VFS_TRIGGER_RESOLVE: u32 = 5; +pub const IOPOL_TYPE_VFS_IGNORE_CONTENT_PROTECTION: u32 = 6; +pub const IOPOL_TYPE_VFS_IGNORE_PERMISSIONS: u32 = 7; +pub const IOPOL_TYPE_VFS_SKIP_MTIME_UPDATE: u32 = 8; +pub const IOPOL_TYPE_VFS_ALLOW_LOW_SPACE_WRITES: u32 = 9; +pub const IOPOL_SCOPE_PROCESS: u32 = 0; +pub const IOPOL_SCOPE_THREAD: u32 = 1; +pub const IOPOL_SCOPE_DARWIN_BG: u32 = 2; +pub const IOPOL_DEFAULT: u32 = 0; +pub const IOPOL_IMPORTANT: u32 = 1; +pub const IOPOL_PASSIVE: u32 = 2; +pub const IOPOL_THROTTLE: u32 = 3; +pub const IOPOL_UTILITY: u32 = 4; +pub const IOPOL_STANDARD: u32 = 5; +pub const IOPOL_APPLICATION: u32 = 5; +pub const IOPOL_NORMAL: u32 = 1; +pub const IOPOL_ATIME_UPDATES_DEFAULT: u32 = 0; +pub const IOPOL_ATIME_UPDATES_OFF: u32 = 1; +pub const IOPOL_MATERIALIZE_DATALESS_FILES_DEFAULT: u32 = 0; +pub const IOPOL_MATERIALIZE_DATALESS_FILES_OFF: u32 = 1; +pub const IOPOL_MATERIALIZE_DATALESS_FILES_ON: u32 = 2; +pub const IOPOL_VFS_STATFS_NO_DATA_VOLUME_DEFAULT: u32 = 0; +pub const IOPOL_VFS_STATFS_FORCE_NO_DATA_VOLUME: u32 = 1; +pub const IOPOL_VFS_TRIGGER_RESOLVE_DEFAULT: u32 = 0; +pub const IOPOL_VFS_TRIGGER_RESOLVE_OFF: u32 = 1; +pub const IOPOL_VFS_CONTENT_PROTECTION_DEFAULT: u32 = 0; +pub const IOPOL_VFS_CONTENT_PROTECTION_IGNORE: u32 = 1; +pub const IOPOL_VFS_IGNORE_PERMISSIONS_OFF: u32 = 0; +pub const IOPOL_VFS_IGNORE_PERMISSIONS_ON: u32 = 1; +pub const IOPOL_VFS_SKIP_MTIME_UPDATE_OFF: u32 = 0; +pub const IOPOL_VFS_SKIP_MTIME_UPDATE_ON: u32 = 1; +pub const IOPOL_VFS_ALLOW_LOW_SPACE_WRITES_OFF: u32 = 0; +pub const IOPOL_VFS_ALLOW_LOW_SPACE_WRITES_ON: u32 = 1; +pub const WNOHANG: u32 = 1; +pub const WUNTRACED: u32 = 2; +pub const WCOREFLAG: u32 = 128; +pub const _WSTOPPED: u32 = 127; +pub const WEXITED: u32 = 4; +pub const WSTOPPED: u32 = 8; +pub const WCONTINUED: u32 = 16; +pub const WNOWAIT: u32 = 32; +pub const WAIT_ANY: i32 = -1; +pub const WAIT_MYPGRP: u32 = 0; +pub const _QUAD_HIGHWORD: u32 = 1; +pub const _QUAD_LOWWORD: u32 = 0; +pub const __DARWIN_LITTLE_ENDIAN: u32 = 1234; +pub const __DARWIN_BIG_ENDIAN: u32 = 4321; +pub const __DARWIN_PDP_ENDIAN: u32 = 3412; +pub const __DARWIN_BYTE_ORDER: u32 = 1234; +pub const LITTLE_ENDIAN: u32 = 1234; +pub const BIG_ENDIAN: u32 = 4321; +pub const PDP_ENDIAN: u32 = 3412; +pub const BYTE_ORDER: u32 = 1234; +pub const EXIT_FAILURE: u32 = 1; +pub const EXIT_SUCCESS: u32 = 0; +pub const RAND_MAX: u32 = 2147483647; +pub const __HAS_FIXED_CHK_PROTOTYPES: u32 = 1; +pub const __GNUC_VA_LIST: u32 = 1; +pub const __DARWIN_FD_SETSIZE: u32 = 1024; +pub const __DARWIN_NBBY: u32 = 8; +pub const NBBY: u32 = 8; +pub const FD_SETSIZE: u32 = 1024; pub const EPERM: u32 = 1; pub const ENOENT: u32 = 2; pub const ESRCH: u32 = 3; @@ -578,7 +917,7 @@ pub const E2BIG: u32 = 7; pub const ENOEXEC: u32 = 8; pub const EBADF: u32 = 9; pub const ECHILD: u32 = 10; -pub const EAGAIN: u32 = 11; +pub const EDEADLK: u32 = 11; pub const ENOMEM: u32 = 12; pub const EACCES: u32 = 13; pub const EFAULT: u32 = 14; @@ -602,147 +941,88 @@ pub const EMLINK: u32 = 31; pub const EPIPE: u32 = 32; pub const EDOM: u32 = 33; pub const ERANGE: u32 = 34; -pub const EDEADLK: u32 = 35; -pub const ENAMETOOLONG: u32 = 36; -pub const ENOLCK: u32 = 37; -pub const ENOSYS: u32 = 38; -pub const ENOTEMPTY: u32 = 39; -pub const ELOOP: u32 = 40; -pub const EWOULDBLOCK: u32 = 11; -pub const ENOMSG: u32 = 42; -pub const EIDRM: u32 = 43; -pub const ECHRNG: u32 = 44; -pub const EL2NSYNC: u32 = 45; -pub const EL3HLT: u32 = 46; -pub const EL3RST: u32 = 47; -pub const ELNRNG: u32 = 48; -pub const EUNATCH: u32 = 49; -pub const ENOCSI: u32 = 50; -pub const EL2HLT: u32 = 51; -pub const EBADE: u32 = 52; -pub const EBADR: u32 = 53; -pub const EXFULL: u32 = 54; -pub const ENOANO: u32 = 55; -pub const EBADRQC: u32 = 56; -pub const EBADSLT: u32 = 57; -pub const EDEADLOCK: u32 = 35; -pub const EBFONT: u32 = 59; -pub const ENOSTR: u32 = 60; -pub const ENODATA: u32 = 61; -pub const ETIME: u32 = 62; -pub const ENOSR: u32 = 63; -pub const ENONET: u32 = 64; -pub const ENOPKG: u32 = 65; -pub const EREMOTE: u32 = 66; -pub const ENOLINK: u32 = 67; -pub const EADV: u32 = 68; -pub const ESRMNT: u32 = 69; -pub const ECOMM: u32 = 70; -pub const EPROTO: u32 = 71; -pub const EMULTIHOP: u32 = 72; -pub const EDOTDOT: u32 = 73; -pub const EBADMSG: u32 = 74; -pub const EOVERFLOW: u32 = 75; -pub const ENOTUNIQ: u32 = 76; -pub const EBADFD: u32 = 77; -pub const EREMCHG: u32 = 78; -pub const ELIBACC: u32 = 79; -pub const ELIBBAD: u32 = 80; -pub const ELIBSCN: u32 = 81; -pub const ELIBMAX: u32 = 82; -pub const ELIBEXEC: u32 = 83; -pub const EILSEQ: u32 = 84; -pub const ERESTART: u32 = 85; -pub const ESTRPIPE: u32 = 86; -pub const EUSERS: u32 = 87; -pub const ENOTSOCK: u32 = 88; -pub const EDESTADDRREQ: u32 = 89; -pub const EMSGSIZE: u32 = 90; -pub const EPROTOTYPE: u32 = 91; -pub const ENOPROTOOPT: u32 = 92; -pub const EPROTONOSUPPORT: u32 = 93; -pub const ESOCKTNOSUPPORT: u32 = 94; -pub const EOPNOTSUPP: u32 = 95; -pub const EPFNOSUPPORT: u32 = 96; -pub const EAFNOSUPPORT: u32 = 97; -pub const EADDRINUSE: u32 = 98; -pub const EADDRNOTAVAIL: u32 = 99; -pub const ENETDOWN: u32 = 100; -pub const ENETUNREACH: u32 = 101; -pub const ENETRESET: u32 = 102; -pub const ECONNABORTED: u32 = 103; -pub const ECONNRESET: u32 = 104; -pub const ENOBUFS: u32 = 105; -pub const EISCONN: u32 = 106; -pub const ENOTCONN: u32 = 107; -pub const ESHUTDOWN: u32 = 108; -pub const ETOOMANYREFS: u32 = 109; -pub const ETIMEDOUT: u32 = 110; -pub const ECONNREFUSED: u32 = 111; -pub const EHOSTDOWN: u32 = 112; -pub const EHOSTUNREACH: u32 = 113; -pub const EALREADY: u32 = 114; -pub const EINPROGRESS: u32 = 115; -pub const ESTALE: u32 = 116; -pub const EUCLEAN: u32 = 117; -pub const ENOTNAM: u32 = 118; -pub const ENAVAIL: u32 = 119; -pub const EISNAM: u32 = 120; -pub const EREMOTEIO: u32 = 121; -pub const EDQUOT: u32 = 122; -pub const ENOMEDIUM: u32 = 123; -pub const EMEDIUMTYPE: u32 = 124; -pub const ECANCELED: u32 = 125; -pub const ENOKEY: u32 = 126; -pub const EKEYEXPIRED: u32 = 127; -pub const EKEYREVOKED: u32 = 128; -pub const EKEYREJECTED: u32 = 129; -pub const EOWNERDEAD: u32 = 130; -pub const ENOTRECOVERABLE: u32 = 131; -pub const ERFKILL: u32 = 132; -pub const EHWPOISON: u32 = 133; -pub const ENOTSUP: u32 = 95; -pub const _LOCALE_H: u32 = 1; -pub const _BITS_LOCALE_H: u32 = 1; -pub const __LC_CTYPE: u32 = 0; -pub const __LC_NUMERIC: u32 = 1; -pub const __LC_TIME: u32 = 2; -pub const __LC_COLLATE: u32 = 3; -pub const __LC_MONETARY: u32 = 4; -pub const __LC_MESSAGES: u32 = 5; -pub const __LC_ALL: u32 = 6; -pub const __LC_PAPER: u32 = 7; -pub const __LC_NAME: u32 = 8; -pub const __LC_ADDRESS: u32 = 9; -pub const __LC_TELEPHONE: u32 = 10; -pub const __LC_MEASUREMENT: u32 = 11; -pub const __LC_IDENTIFICATION: u32 = 12; -pub const LC_CTYPE: u32 = 0; -pub const LC_NUMERIC: u32 = 1; -pub const LC_TIME: u32 = 2; -pub const LC_COLLATE: u32 = 3; -pub const LC_MONETARY: u32 = 4; -pub const LC_MESSAGES: u32 = 5; -pub const LC_ALL: u32 = 6; -pub const LC_PAPER: u32 = 7; -pub const LC_NAME: u32 = 8; -pub const LC_ADDRESS: u32 = 9; -pub const LC_TELEPHONE: u32 = 10; -pub const LC_MEASUREMENT: u32 = 11; -pub const LC_IDENTIFICATION: u32 = 12; -pub const LC_CTYPE_MASK: u32 = 1; -pub const LC_NUMERIC_MASK: u32 = 2; -pub const LC_TIME_MASK: u32 = 4; -pub const LC_COLLATE_MASK: u32 = 8; -pub const LC_MONETARY_MASK: u32 = 16; -pub const LC_MESSAGES_MASK: u32 = 32; -pub const LC_PAPER_MASK: u32 = 128; -pub const LC_NAME_MASK: u32 = 256; -pub const LC_ADDRESS_MASK: u32 = 512; -pub const LC_TELEPHONE_MASK: u32 = 1024; -pub const LC_MEASUREMENT_MASK: u32 = 2048; -pub const LC_IDENTIFICATION_MASK: u32 = 4096; -pub const LC_ALL_MASK: u32 = 8127; +pub const EAGAIN: u32 = 35; +pub const EWOULDBLOCK: u32 = 35; +pub const EINPROGRESS: u32 = 36; +pub const EALREADY: u32 = 37; +pub const ENOTSOCK: u32 = 38; +pub const EDESTADDRREQ: u32 = 39; +pub const EMSGSIZE: u32 = 40; +pub const EPROTOTYPE: u32 = 41; +pub const ENOPROTOOPT: u32 = 42; +pub const EPROTONOSUPPORT: u32 = 43; +pub const ESOCKTNOSUPPORT: u32 = 44; +pub const ENOTSUP: u32 = 45; +pub const EPFNOSUPPORT: u32 = 46; +pub const EAFNOSUPPORT: u32 = 47; +pub const EADDRINUSE: u32 = 48; +pub const EADDRNOTAVAIL: u32 = 49; +pub const ENETDOWN: u32 = 50; +pub const ENETUNREACH: u32 = 51; +pub const ENETRESET: u32 = 52; +pub const ECONNABORTED: u32 = 53; +pub const ECONNRESET: u32 = 54; +pub const ENOBUFS: u32 = 55; +pub const EISCONN: u32 = 56; +pub const ENOTCONN: u32 = 57; +pub const ESHUTDOWN: u32 = 58; +pub const ETOOMANYREFS: u32 = 59; +pub const ETIMEDOUT: u32 = 60; +pub const ECONNREFUSED: u32 = 61; +pub const ELOOP: u32 = 62; +pub const ENAMETOOLONG: u32 = 63; +pub const EHOSTDOWN: u32 = 64; +pub const EHOSTUNREACH: u32 = 65; +pub const ENOTEMPTY: u32 = 66; +pub const EPROCLIM: u32 = 67; +pub const EUSERS: u32 = 68; +pub const EDQUOT: u32 = 69; +pub const ESTALE: u32 = 70; +pub const EREMOTE: u32 = 71; +pub const EBADRPC: u32 = 72; +pub const ERPCMISMATCH: u32 = 73; +pub const EPROGUNAVAIL: u32 = 74; +pub const EPROGMISMATCH: u32 = 75; +pub const EPROCUNAVAIL: u32 = 76; +pub const ENOLCK: u32 = 77; +pub const ENOSYS: u32 = 78; +pub const EFTYPE: u32 = 79; +pub const EAUTH: u32 = 80; +pub const ENEEDAUTH: u32 = 81; +pub const EPWROFF: u32 = 82; +pub const EDEVERR: u32 = 83; +pub const EOVERFLOW: u32 = 84; +pub const EBADEXEC: u32 = 85; +pub const EBADARCH: u32 = 86; +pub const ESHLIBVERS: u32 = 87; +pub const EBADMACHO: u32 = 88; +pub const ECANCELED: u32 = 89; +pub const EIDRM: u32 = 90; +pub const ENOMSG: u32 = 91; +pub const EILSEQ: u32 = 92; +pub const ENOATTR: u32 = 93; +pub const EBADMSG: u32 = 94; +pub const EMULTIHOP: u32 = 95; +pub const ENODATA: u32 = 96; +pub const ENOLINK: u32 = 97; +pub const ENOSR: u32 = 98; +pub const ENOSTR: u32 = 99; +pub const EPROTO: u32 = 100; +pub const ETIME: u32 = 101; +pub const EOPNOTSUPP: u32 = 102; +pub const ENOPOLICY: u32 = 103; +pub const ENOTRECOVERABLE: u32 = 104; +pub const EOWNERDEAD: u32 = 105; +pub const EQFULL: u32 = 106; +pub const ELAST: u32 = 106; +pub const LC_ALL: u32 = 0; +pub const LC_COLLATE: u32 = 1; +pub const LC_CTYPE: u32 = 2; +pub const LC_MONETARY: u32 = 3; +pub const LC_NUMERIC: u32 = 4; +pub const LC_TIME: u32 = 5; +pub const LC_MESSAGES: u32 = 6; +pub const _LC_LAST: u32 = 7; pub const HAVE_PG_ATTRIBUTE_NORETURN: u32 = 1; pub const true_: u32 = 1; pub const false_: u32 = 0; @@ -770,358 +1050,375 @@ pub const PG_BINARY: u32 = 0; pub const PG_BINARY_A: &[u8; 2usize] = b"a\0"; pub const PG_BINARY_R: &[u8; 2usize] = b"r\0"; pub const PG_BINARY_W: &[u8; 2usize] = b"w\0"; -pub const _CTYPE_H: u32 = 1; -pub const _NETDB_H: u32 = 1; -pub const _NETINET_IN_H: u32 = 1; -pub const _SYS_SOCKET_H: u32 = 1; -pub const __iovec_defined: u32 = 1; +pub const _CACHED_RUNES: u32 = 256; +pub const _CRMASK: i32 = -256; +pub const _RUNE_MAGIC_A: &[u8; 9usize] = b"RuneMagA\0"; +pub const _CTYPE_A: u32 = 256; +pub const _CTYPE_C: u32 = 512; +pub const _CTYPE_D: u32 = 1024; +pub const _CTYPE_G: u32 = 2048; +pub const _CTYPE_L: u32 = 4096; +pub const _CTYPE_P: u32 = 8192; +pub const _CTYPE_S: u32 = 16384; +pub const _CTYPE_U: u32 = 32768; +pub const _CTYPE_X: u32 = 65536; +pub const _CTYPE_B: u32 = 131072; +pub const _CTYPE_R: u32 = 262144; +pub const _CTYPE_I: u32 = 524288; +pub const _CTYPE_T: u32 = 1048576; +pub const _CTYPE_Q: u32 = 2097152; +pub const _CTYPE_SW0: u32 = 536870912; +pub const _CTYPE_SW1: u32 = 1073741824; +pub const _CTYPE_SW2: u32 = 2147483648; +pub const _CTYPE_SW3: u32 = 3221225472; +pub const _CTYPE_SWM: u32 = 3758096384; +pub const _CTYPE_SWS: u32 = 30; +pub const KEV_INET_SUBCLASS: u32 = 1; +pub const KEV_INET_NEW_ADDR: u32 = 1; +pub const KEV_INET_CHANGED_ADDR: u32 = 2; +pub const KEV_INET_ADDR_DELETED: u32 = 3; +pub const KEV_INET_SIFDSTADDR: u32 = 4; +pub const KEV_INET_SIFBRDADDR: u32 = 5; +pub const KEV_INET_SIFNETMASK: u32 = 6; +pub const KEV_INET_ARPCOLLISION: u32 = 7; +pub const KEV_INET_PORTINUSE: u32 = 8; +pub const KEV_INET_ARPRTRFAILURE: u32 = 9; +pub const KEV_INET_ARPRTRALIVE: u32 = 10; +pub const KEV_DL_SUBCLASS: u32 = 2; +pub const KEV_DL_SIFFLAGS: u32 = 1; +pub const KEV_DL_SIFMETRICS: u32 = 2; +pub const KEV_DL_SIFMTU: u32 = 3; +pub const KEV_DL_SIFPHYS: u32 = 4; +pub const KEV_DL_SIFMEDIA: u32 = 5; +pub const KEV_DL_SIFGENERIC: u32 = 6; +pub const KEV_DL_ADDMULTI: u32 = 7; +pub const KEV_DL_DELMULTI: u32 = 8; +pub const KEV_DL_IF_ATTACHED: u32 = 9; +pub const KEV_DL_IF_DETACHING: u32 = 10; +pub const KEV_DL_IF_DETACHED: u32 = 11; +pub const KEV_DL_LINK_OFF: u32 = 12; +pub const KEV_DL_LINK_ON: u32 = 13; +pub const KEV_DL_PROTO_ATTACHED: u32 = 14; +pub const KEV_DL_PROTO_DETACHED: u32 = 15; +pub const KEV_DL_LINK_ADDRESS_CHANGED: u32 = 16; +pub const KEV_DL_WAKEFLAGS_CHANGED: u32 = 17; +pub const KEV_DL_IF_IDLE_ROUTE_REFCNT: u32 = 18; +pub const KEV_DL_IFCAP_CHANGED: u32 = 19; +pub const KEV_DL_LINK_QUALITY_METRIC_CHANGED: u32 = 20; +pub const KEV_DL_NODE_PRESENCE: u32 = 21; +pub const KEV_DL_NODE_ABSENCE: u32 = 22; +pub const KEV_DL_PRIMARY_ELECTED: u32 = 23; +pub const KEV_DL_ISSUES: u32 = 24; +pub const KEV_DL_IFDELEGATE_CHANGED: u32 = 25; +pub const KEV_DL_AWDL_RESTRICTED: u32 = 26; +pub const KEV_DL_AWDL_UNRESTRICTED: u32 = 27; +pub const KEV_DL_RRC_STATE_CHANGED: u32 = 28; +pub const KEV_DL_QOS_MODE_CHANGED: u32 = 29; +pub const KEV_DL_LOW_POWER_MODE_CHANGED: u32 = 30; +pub const KEV_INET6_SUBCLASS: u32 = 6; +pub const KEV_INET6_NEW_USER_ADDR: u32 = 1; +pub const KEV_INET6_CHANGED_ADDR: u32 = 2; +pub const KEV_INET6_ADDR_DELETED: u32 = 3; +pub const KEV_INET6_NEW_LL_ADDR: u32 = 4; +pub const KEV_INET6_NEW_RTADV_ADDR: u32 = 5; +pub const KEV_INET6_DEFROUTER: u32 = 6; +pub const KEV_INET6_REQUEST_NAT64_PREFIX: u32 = 7; +pub const SOCK_STREAM: u32 = 1; +pub const SOCK_DGRAM: u32 = 2; +pub const SOCK_RAW: u32 = 3; +pub const SOCK_RDM: u32 = 4; +pub const SOCK_SEQPACKET: u32 = 5; +pub const SO_DEBUG: u32 = 1; +pub const SO_ACCEPTCONN: u32 = 2; +pub const SO_REUSEADDR: u32 = 4; +pub const SO_KEEPALIVE: u32 = 8; +pub const SO_DONTROUTE: u32 = 16; +pub const SO_BROADCAST: u32 = 32; +pub const SO_USELOOPBACK: u32 = 64; +pub const SO_LINGER: u32 = 128; +pub const SO_OOBINLINE: u32 = 256; +pub const SO_REUSEPORT: u32 = 512; +pub const SO_TIMESTAMP: u32 = 1024; +pub const SO_TIMESTAMP_MONOTONIC: u32 = 2048; +pub const SO_DONTTRUNC: u32 = 8192; +pub const SO_WANTMORE: u32 = 16384; +pub const SO_WANTOOBFLAG: u32 = 32768; +pub const SO_SNDBUF: u32 = 4097; +pub const SO_RCVBUF: u32 = 4098; +pub const SO_SNDLOWAT: u32 = 4099; +pub const SO_RCVLOWAT: u32 = 4100; +pub const SO_SNDTIMEO: u32 = 4101; +pub const SO_RCVTIMEO: u32 = 4102; +pub const SO_ERROR: u32 = 4103; +pub const SO_TYPE: u32 = 4104; +pub const SO_LABEL: u32 = 4112; +pub const SO_PEERLABEL: u32 = 4113; +pub const SO_NREAD: u32 = 4128; +pub const SO_NKE: u32 = 4129; +pub const SO_NOSIGPIPE: u32 = 4130; +pub const SO_NOADDRERR: u32 = 4131; +pub const SO_NWRITE: u32 = 4132; +pub const SO_REUSESHAREUID: u32 = 4133; +pub const SO_NOTIFYCONFLICT: u32 = 4134; +pub const SO_UPCALLCLOSEWAIT: u32 = 4135; +pub const SO_LINGER_SEC: u32 = 4224; +pub const SO_RANDOMPORT: u32 = 4226; +pub const SO_NP_EXTENSIONS: u32 = 4227; +pub const SO_NUMRCVPKT: u32 = 4370; +pub const SO_NET_SERVICE_TYPE: u32 = 4374; +pub const SO_NETSVC_MARKING_LEVEL: u32 = 4377; +pub const NET_SERVICE_TYPE_BE: u32 = 0; +pub const NET_SERVICE_TYPE_BK: u32 = 1; +pub const NET_SERVICE_TYPE_SIG: u32 = 2; +pub const NET_SERVICE_TYPE_VI: u32 = 3; +pub const NET_SERVICE_TYPE_VO: u32 = 4; +pub const NET_SERVICE_TYPE_RV: u32 = 5; +pub const NET_SERVICE_TYPE_AV: u32 = 6; +pub const NET_SERVICE_TYPE_OAM: u32 = 7; +pub const NET_SERVICE_TYPE_RD: u32 = 8; +pub const NETSVC_MRKNG_UNKNOWN: u32 = 0; +pub const NETSVC_MRKNG_LVL_L2: u32 = 1; +pub const NETSVC_MRKNG_LVL_L3L2_ALL: u32 = 2; +pub const NETSVC_MRKNG_LVL_L3L2_BK: u32 = 3; +pub const SAE_ASSOCID_ANY: u32 = 0; +pub const SAE_CONNID_ANY: u32 = 0; +pub const CONNECT_RESUME_ON_READ_WRITE: u32 = 1; +pub const CONNECT_DATA_IDEMPOTENT: u32 = 2; +pub const CONNECT_DATA_AUTHENTICATED: u32 = 4; +pub const SONPX_SETOPTSHUT: u32 = 1; +pub const SOL_SOCKET: u32 = 65535; +pub const AF_UNSPEC: u32 = 0; +pub const AF_UNIX: u32 = 1; +pub const AF_LOCAL: u32 = 1; +pub const AF_INET: u32 = 2; +pub const AF_IMPLINK: u32 = 3; +pub const AF_PUP: u32 = 4; +pub const AF_CHAOS: u32 = 5; +pub const AF_NS: u32 = 6; +pub const AF_ISO: u32 = 7; +pub const AF_OSI: u32 = 7; +pub const AF_ECMA: u32 = 8; +pub const AF_DATAKIT: u32 = 9; +pub const AF_CCITT: u32 = 10; +pub const AF_SNA: u32 = 11; +pub const AF_DECnet: u32 = 12; +pub const AF_DLI: u32 = 13; +pub const AF_LAT: u32 = 14; +pub const AF_HYLINK: u32 = 15; +pub const AF_APPLETALK: u32 = 16; +pub const AF_ROUTE: u32 = 17; +pub const AF_LINK: u32 = 18; +pub const pseudo_AF_XTP: u32 = 19; +pub const AF_COIP: u32 = 20; +pub const AF_CNT: u32 = 21; +pub const pseudo_AF_RTIP: u32 = 22; +pub const AF_IPX: u32 = 23; +pub const AF_SIP: u32 = 24; +pub const pseudo_AF_PIP: u32 = 25; +pub const AF_NDRV: u32 = 27; +pub const AF_ISDN: u32 = 28; +pub const AF_E164: u32 = 28; +pub const pseudo_AF_KEY: u32 = 29; +pub const AF_INET6: u32 = 30; +pub const AF_NATM: u32 = 31; +pub const AF_SYSTEM: u32 = 32; +pub const AF_NETBIOS: u32 = 33; +pub const AF_PPP: u32 = 34; +pub const pseudo_AF_HDRCMPLT: u32 = 35; +pub const AF_RESERVED_36: u32 = 36; +pub const AF_IEEE80211: u32 = 37; +pub const AF_UTUN: u32 = 38; +pub const AF_VSOCK: u32 = 40; +pub const AF_MAX: u32 = 41; +pub const SOCK_MAXADDRLEN: u32 = 255; +pub const _SS_MAXSIZE: u32 = 128; pub const PF_UNSPEC: u32 = 0; pub const PF_LOCAL: u32 = 1; pub const PF_UNIX: u32 = 1; -pub const PF_FILE: u32 = 1; pub const PF_INET: u32 = 2; -pub const PF_AX25: u32 = 3; -pub const PF_IPX: u32 = 4; -pub const PF_APPLETALK: u32 = 5; -pub const PF_NETROM: u32 = 6; -pub const PF_BRIDGE: u32 = 7; -pub const PF_ATMPVC: u32 = 8; -pub const PF_X25: u32 = 9; -pub const PF_INET6: u32 = 10; -pub const PF_ROSE: u32 = 11; +pub const PF_IMPLINK: u32 = 3; +pub const PF_PUP: u32 = 4; +pub const PF_CHAOS: u32 = 5; +pub const PF_NS: u32 = 6; +pub const PF_ISO: u32 = 7; +pub const PF_OSI: u32 = 7; +pub const PF_ECMA: u32 = 8; +pub const PF_DATAKIT: u32 = 9; +pub const PF_CCITT: u32 = 10; +pub const PF_SNA: u32 = 11; pub const PF_DECnet: u32 = 12; -pub const PF_NETBEUI: u32 = 13; -pub const PF_SECURITY: u32 = 14; -pub const PF_KEY: u32 = 15; -pub const PF_NETLINK: u32 = 16; -pub const PF_ROUTE: u32 = 16; -pub const PF_PACKET: u32 = 17; -pub const PF_ASH: u32 = 18; -pub const PF_ECONET: u32 = 19; -pub const PF_ATMSVC: u32 = 20; -pub const PF_RDS: u32 = 21; -pub const PF_SNA: u32 = 22; -pub const PF_IRDA: u32 = 23; -pub const PF_PPPOX: u32 = 24; -pub const PF_WANPIPE: u32 = 25; -pub const PF_LLC: u32 = 26; -pub const PF_IB: u32 = 27; -pub const PF_MPLS: u32 = 28; -pub const PF_CAN: u32 = 29; -pub const PF_TIPC: u32 = 30; -pub const PF_BLUETOOTH: u32 = 31; -pub const PF_IUCV: u32 = 32; -pub const PF_RXRPC: u32 = 33; -pub const PF_ISDN: u32 = 34; -pub const PF_PHONET: u32 = 35; -pub const PF_IEEE802154: u32 = 36; -pub const PF_CAIF: u32 = 37; -pub const PF_ALG: u32 = 38; -pub const PF_NFC: u32 = 39; +pub const PF_DLI: u32 = 13; +pub const PF_LAT: u32 = 14; +pub const PF_HYLINK: u32 = 15; +pub const PF_APPLETALK: u32 = 16; +pub const PF_ROUTE: u32 = 17; +pub const PF_LINK: u32 = 18; +pub const PF_XTP: u32 = 19; +pub const PF_COIP: u32 = 20; +pub const PF_CNT: u32 = 21; +pub const PF_SIP: u32 = 24; +pub const PF_IPX: u32 = 23; +pub const PF_RTIP: u32 = 22; +pub const PF_PIP: u32 = 25; +pub const PF_NDRV: u32 = 27; +pub const PF_ISDN: u32 = 28; +pub const PF_KEY: u32 = 29; +pub const PF_INET6: u32 = 30; +pub const PF_NATM: u32 = 31; +pub const PF_SYSTEM: u32 = 32; +pub const PF_NETBIOS: u32 = 33; +pub const PF_PPP: u32 = 34; +pub const PF_RESERVED_36: u32 = 36; +pub const PF_UTUN: u32 = 38; pub const PF_VSOCK: u32 = 40; -pub const PF_KCM: u32 = 41; -pub const PF_QIPCRTR: u32 = 42; -pub const PF_SMC: u32 = 43; -pub const PF_XDP: u32 = 44; -pub const PF_MAX: u32 = 45; -pub const AF_UNSPEC: u32 = 0; -pub const AF_LOCAL: u32 = 1; -pub const AF_UNIX: u32 = 1; -pub const AF_FILE: u32 = 1; -pub const AF_INET: u32 = 2; -pub const AF_AX25: u32 = 3; -pub const AF_IPX: u32 = 4; -pub const AF_APPLETALK: u32 = 5; -pub const AF_NETROM: u32 = 6; -pub const AF_BRIDGE: u32 = 7; -pub const AF_ATMPVC: u32 = 8; -pub const AF_X25: u32 = 9; -pub const AF_INET6: u32 = 10; -pub const AF_ROSE: u32 = 11; -pub const AF_DECnet: u32 = 12; -pub const AF_NETBEUI: u32 = 13; -pub const AF_SECURITY: u32 = 14; -pub const AF_KEY: u32 = 15; -pub const AF_NETLINK: u32 = 16; -pub const AF_ROUTE: u32 = 16; -pub const AF_PACKET: u32 = 17; -pub const AF_ASH: u32 = 18; -pub const AF_ECONET: u32 = 19; -pub const AF_ATMSVC: u32 = 20; -pub const AF_RDS: u32 = 21; -pub const AF_SNA: u32 = 22; -pub const AF_IRDA: u32 = 23; -pub const AF_PPPOX: u32 = 24; -pub const AF_WANPIPE: u32 = 25; -pub const AF_LLC: u32 = 26; -pub const AF_IB: u32 = 27; -pub const AF_MPLS: u32 = 28; -pub const AF_CAN: u32 = 29; -pub const AF_TIPC: u32 = 30; -pub const AF_BLUETOOTH: u32 = 31; -pub const AF_IUCV: u32 = 32; -pub const AF_RXRPC: u32 = 33; -pub const AF_ISDN: u32 = 34; -pub const AF_PHONET: u32 = 35; -pub const AF_IEEE802154: u32 = 36; -pub const AF_CAIF: u32 = 37; -pub const AF_ALG: u32 = 38; -pub const AF_NFC: u32 = 39; -pub const AF_VSOCK: u32 = 40; -pub const AF_KCM: u32 = 41; -pub const AF_QIPCRTR: u32 = 42; -pub const AF_SMC: u32 = 43; -pub const AF_XDP: u32 = 44; -pub const AF_MAX: u32 = 45; -pub const SOL_RAW: u32 = 255; -pub const SOL_DECNET: u32 = 261; -pub const SOL_X25: u32 = 262; -pub const SOL_PACKET: u32 = 263; -pub const SOL_ATM: u32 = 264; -pub const SOL_AAL: u32 = 265; -pub const SOL_IRDA: u32 = 266; -pub const SOL_NETBEUI: u32 = 267; -pub const SOL_LLC: u32 = 268; -pub const SOL_DCCP: u32 = 269; -pub const SOL_NETLINK: u32 = 270; -pub const SOL_TIPC: u32 = 271; -pub const SOL_RXRPC: u32 = 272; -pub const SOL_PPPOL2TP: u32 = 273; -pub const SOL_BLUETOOTH: u32 = 274; -pub const SOL_PNPIPE: u32 = 275; -pub const SOL_RDS: u32 = 276; -pub const SOL_IUCV: u32 = 277; -pub const SOL_CAIF: u32 = 278; -pub const SOL_ALG: u32 = 279; -pub const SOL_NFC: u32 = 280; -pub const SOL_KCM: u32 = 281; -pub const SOL_TLS: u32 = 282; -pub const SOL_XDP: u32 = 283; -pub const SOMAXCONN: u32 = 4096; -pub const _BITS_SOCKADDR_H: u32 = 1; -pub const _SS_SIZE: u32 = 128; -pub const __BITS_PER_LONG: u32 = 64; -pub const FIOSETOWN: u32 = 35073; -pub const SIOCSPGRP: u32 = 35074; -pub const FIOGETOWN: u32 = 35075; -pub const SIOCGPGRP: u32 = 35076; -pub const SIOCATMARK: u32 = 35077; -pub const SIOCGSTAMP_OLD: u32 = 35078; -pub const SIOCGSTAMPNS_OLD: u32 = 35079; -pub const SOL_SOCKET: u32 = 1; -pub const SO_DEBUG: u32 = 1; -pub const SO_REUSEADDR: u32 = 2; -pub const SO_TYPE: u32 = 3; -pub const SO_ERROR: u32 = 4; -pub const SO_DONTROUTE: u32 = 5; -pub const SO_BROADCAST: u32 = 6; -pub const SO_SNDBUF: u32 = 7; -pub const SO_RCVBUF: u32 = 8; -pub const SO_SNDBUFFORCE: u32 = 32; -pub const SO_RCVBUFFORCE: u32 = 33; -pub const SO_KEEPALIVE: u32 = 9; -pub const SO_OOBINLINE: u32 = 10; -pub const SO_NO_CHECK: u32 = 11; -pub const SO_PRIORITY: u32 = 12; -pub const SO_LINGER: u32 = 13; -pub const SO_BSDCOMPAT: u32 = 14; -pub const SO_REUSEPORT: u32 = 15; -pub const SO_PASSCRED: u32 = 16; -pub const SO_PEERCRED: u32 = 17; -pub const SO_RCVLOWAT: u32 = 18; -pub const SO_SNDLOWAT: u32 = 19; -pub const SO_RCVTIMEO_OLD: u32 = 20; -pub const SO_SNDTIMEO_OLD: u32 = 21; -pub const SO_SECURITY_AUTHENTICATION: u32 = 22; -pub const SO_SECURITY_ENCRYPTION_TRANSPORT: u32 = 23; -pub const SO_SECURITY_ENCRYPTION_NETWORK: u32 = 24; -pub const SO_BINDTODEVICE: u32 = 25; -pub const SO_ATTACH_FILTER: u32 = 26; -pub const SO_DETACH_FILTER: u32 = 27; -pub const SO_GET_FILTER: u32 = 26; -pub const SO_PEERNAME: u32 = 28; -pub const SO_ACCEPTCONN: u32 = 30; -pub const SO_PEERSEC: u32 = 31; -pub const SO_PASSSEC: u32 = 34; -pub const SO_MARK: u32 = 36; -pub const SO_PROTOCOL: u32 = 38; -pub const SO_DOMAIN: u32 = 39; -pub const SO_RXQ_OVFL: u32 = 40; -pub const SO_WIFI_STATUS: u32 = 41; -pub const SCM_WIFI_STATUS: u32 = 41; -pub const SO_PEEK_OFF: u32 = 42; -pub const SO_NOFCS: u32 = 43; -pub const SO_LOCK_FILTER: u32 = 44; -pub const SO_SELECT_ERR_QUEUE: u32 = 45; -pub const SO_BUSY_POLL: u32 = 46; -pub const SO_MAX_PACING_RATE: u32 = 47; -pub const SO_BPF_EXTENSIONS: u32 = 48; -pub const SO_INCOMING_CPU: u32 = 49; -pub const SO_ATTACH_BPF: u32 = 50; -pub const SO_DETACH_BPF: u32 = 27; -pub const SO_ATTACH_REUSEPORT_CBPF: u32 = 51; -pub const SO_ATTACH_REUSEPORT_EBPF: u32 = 52; -pub const SO_CNX_ADVICE: u32 = 53; -pub const SCM_TIMESTAMPING_OPT_STATS: u32 = 54; -pub const SO_MEMINFO: u32 = 55; -pub const SO_INCOMING_NAPI_ID: u32 = 56; -pub const SO_COOKIE: u32 = 57; -pub const SCM_TIMESTAMPING_PKTINFO: u32 = 58; -pub const SO_PEERGROUPS: u32 = 59; -pub const SO_ZEROCOPY: u32 = 60; -pub const SO_TXTIME: u32 = 61; -pub const SCM_TXTIME: u32 = 61; -pub const SO_BINDTOIFINDEX: u32 = 62; -pub const SO_TIMESTAMP_OLD: u32 = 29; -pub const SO_TIMESTAMPNS_OLD: u32 = 35; -pub const SO_TIMESTAMPING_OLD: u32 = 37; -pub const SO_TIMESTAMP_NEW: u32 = 63; -pub const SO_TIMESTAMPNS_NEW: u32 = 64; -pub const SO_TIMESTAMPING_NEW: u32 = 65; -pub const SO_RCVTIMEO_NEW: u32 = 66; -pub const SO_SNDTIMEO_NEW: u32 = 67; -pub const SO_DETACH_REUSEPORT_BPF: u32 = 68; -pub const SO_PREFER_BUSY_POLL: u32 = 69; -pub const SO_BUSY_POLL_BUDGET: u32 = 70; -pub const SO_NETNS_COOKIE: u32 = 71; -pub const SO_TIMESTAMP: u32 = 29; -pub const SO_TIMESTAMPNS: u32 = 35; -pub const SO_TIMESTAMPING: u32 = 37; -pub const SO_RCVTIMEO: u32 = 20; -pub const SO_SNDTIMEO: u32 = 21; -pub const SCM_TIMESTAMP: u32 = 29; -pub const SCM_TIMESTAMPNS: u32 = 35; -pub const SCM_TIMESTAMPING: u32 = 37; -pub const __osockaddr_defined: u32 = 1; -pub const __USE_KERNEL_IPV6_DEFS: u32 = 0; -pub const IP_OPTIONS: u32 = 4; -pub const IP_HDRINCL: u32 = 3; -pub const IP_TOS: u32 = 1; -pub const IP_TTL: u32 = 2; -pub const IP_RECVOPTS: u32 = 6; -pub const IP_RETOPTS: u32 = 7; -pub const IP_MULTICAST_IF: u32 = 32; -pub const IP_MULTICAST_TTL: u32 = 33; -pub const IP_MULTICAST_LOOP: u32 = 34; -pub const IP_ADD_MEMBERSHIP: u32 = 35; -pub const IP_DROP_MEMBERSHIP: u32 = 36; -pub const IP_UNBLOCK_SOURCE: u32 = 37; -pub const IP_BLOCK_SOURCE: u32 = 38; -pub const IP_ADD_SOURCE_MEMBERSHIP: u32 = 39; -pub const IP_DROP_SOURCE_MEMBERSHIP: u32 = 40; -pub const IP_MSFILTER: u32 = 41; -pub const MCAST_JOIN_GROUP: u32 = 42; -pub const MCAST_BLOCK_SOURCE: u32 = 43; -pub const MCAST_UNBLOCK_SOURCE: u32 = 44; -pub const MCAST_LEAVE_GROUP: u32 = 45; -pub const MCAST_JOIN_SOURCE_GROUP: u32 = 46; -pub const MCAST_LEAVE_SOURCE_GROUP: u32 = 47; -pub const MCAST_MSFILTER: u32 = 48; -pub const IP_MULTICAST_ALL: u32 = 49; -pub const IP_UNICAST_IF: u32 = 50; -pub const MCAST_EXCLUDE: u32 = 0; -pub const MCAST_INCLUDE: u32 = 1; -pub const IP_ROUTER_ALERT: u32 = 5; -pub const IP_PKTINFO: u32 = 8; -pub const IP_PKTOPTIONS: u32 = 9; -pub const IP_PMTUDISC: u32 = 10; -pub const IP_MTU_DISCOVER: u32 = 10; -pub const IP_RECVERR: u32 = 11; -pub const IP_RECVTTL: u32 = 12; -pub const IP_RECVTOS: u32 = 13; -pub const IP_MTU: u32 = 14; -pub const IP_FREEBIND: u32 = 15; -pub const IP_IPSEC_POLICY: u32 = 16; -pub const IP_XFRM_POLICY: u32 = 17; -pub const IP_PASSSEC: u32 = 18; -pub const IP_TRANSPARENT: u32 = 19; -pub const IP_ORIGDSTADDR: u32 = 20; -pub const IP_RECVORIGDSTADDR: u32 = 20; -pub const IP_MINTTL: u32 = 21; -pub const IP_NODEFRAG: u32 = 22; -pub const IP_CHECKSUM: u32 = 23; -pub const IP_BIND_ADDRESS_NO_PORT: u32 = 24; -pub const IP_RECVFRAGSIZE: u32 = 25; -pub const IP_RECVERR_RFC4884: u32 = 26; -pub const IP_PMTUDISC_DONT: u32 = 0; -pub const IP_PMTUDISC_WANT: u32 = 1; -pub const IP_PMTUDISC_DO: u32 = 2; -pub const IP_PMTUDISC_PROBE: u32 = 3; -pub const IP_PMTUDISC_INTERFACE: u32 = 4; -pub const IP_PMTUDISC_OMIT: u32 = 5; -pub const SOL_IP: u32 = 0; -pub const IP_DEFAULT_MULTICAST_TTL: u32 = 1; -pub const IP_DEFAULT_MULTICAST_LOOP: u32 = 1; -pub const IP_MAX_MEMBERSHIPS: u32 = 20; -pub const IPV6_ADDRFORM: u32 = 1; -pub const IPV6_2292PKTINFO: u32 = 2; -pub const IPV6_2292HOPOPTS: u32 = 3; -pub const IPV6_2292DSTOPTS: u32 = 4; -pub const IPV6_2292RTHDR: u32 = 5; -pub const IPV6_2292PKTOPTIONS: u32 = 6; -pub const IPV6_CHECKSUM: u32 = 7; -pub const IPV6_2292HOPLIMIT: u32 = 8; -pub const IPV6_NEXTHOP: u32 = 9; -pub const IPV6_AUTHHDR: u32 = 10; -pub const IPV6_UNICAST_HOPS: u32 = 16; -pub const IPV6_MULTICAST_IF: u32 = 17; -pub const IPV6_MULTICAST_HOPS: u32 = 18; -pub const IPV6_MULTICAST_LOOP: u32 = 19; -pub const IPV6_JOIN_GROUP: u32 = 20; -pub const IPV6_LEAVE_GROUP: u32 = 21; -pub const IPV6_ROUTER_ALERT: u32 = 22; -pub const IPV6_MTU_DISCOVER: u32 = 23; -pub const IPV6_MTU: u32 = 24; -pub const IPV6_RECVERR: u32 = 25; -pub const IPV6_V6ONLY: u32 = 26; -pub const IPV6_JOIN_ANYCAST: u32 = 27; -pub const IPV6_LEAVE_ANYCAST: u32 = 28; -pub const IPV6_MULTICAST_ALL: u32 = 29; -pub const IPV6_ROUTER_ALERT_ISOLATE: u32 = 30; -pub const IPV6_RECVERR_RFC4884: u32 = 31; -pub const IPV6_IPSEC_POLICY: u32 = 34; -pub const IPV6_XFRM_POLICY: u32 = 35; -pub const IPV6_HDRINCL: u32 = 36; -pub const IPV6_RECVPKTINFO: u32 = 49; -pub const IPV6_PKTINFO: u32 = 50; -pub const IPV6_RECVHOPLIMIT: u32 = 51; -pub const IPV6_HOPLIMIT: u32 = 52; -pub const IPV6_RECVHOPOPTS: u32 = 53; -pub const IPV6_HOPOPTS: u32 = 54; -pub const IPV6_RTHDRDSTOPTS: u32 = 55; -pub const IPV6_RECVRTHDR: u32 = 56; -pub const IPV6_RTHDR: u32 = 57; -pub const IPV6_RECVDSTOPTS: u32 = 58; -pub const IPV6_DSTOPTS: u32 = 59; -pub const IPV6_RECVPATHMTU: u32 = 60; -pub const IPV6_PATHMTU: u32 = 61; -pub const IPV6_DONTFRAG: u32 = 62; -pub const IPV6_RECVTCLASS: u32 = 66; -pub const IPV6_TCLASS: u32 = 67; -pub const IPV6_AUTOFLOWLABEL: u32 = 70; -pub const IPV6_ADDR_PREFERENCES: u32 = 72; -pub const IPV6_MINHOPCOUNT: u32 = 73; -pub const IPV6_ORIGDSTADDR: u32 = 74; -pub const IPV6_RECVORIGDSTADDR: u32 = 74; -pub const IPV6_TRANSPARENT: u32 = 75; -pub const IPV6_UNICAST_IF: u32 = 76; -pub const IPV6_RECVFRAGSIZE: u32 = 77; -pub const IPV6_FREEBIND: u32 = 78; -pub const IPV6_ADD_MEMBERSHIP: u32 = 20; -pub const IPV6_DROP_MEMBERSHIP: u32 = 21; -pub const IPV6_RXHOPOPTS: u32 = 54; -pub const IPV6_RXDSTOPTS: u32 = 59; -pub const IPV6_PMTUDISC_DONT: u32 = 0; -pub const IPV6_PMTUDISC_WANT: u32 = 1; -pub const IPV6_PMTUDISC_DO: u32 = 2; -pub const IPV6_PMTUDISC_PROBE: u32 = 3; -pub const IPV6_PMTUDISC_INTERFACE: u32 = 4; -pub const IPV6_PMTUDISC_OMIT: u32 = 5; -pub const SOL_IPV6: u32 = 41; -pub const SOL_ICMPV6: u32 = 58; -pub const IPV6_RTHDR_LOOSE: u32 = 0; -pub const IPV6_RTHDR_STRICT: u32 = 1; -pub const IPV6_RTHDR_TYPE_0: u32 = 0; +pub const PF_MAX: u32 = 41; +pub const NET_MAXID: u32 = 41; +pub const NET_RT_DUMP: u32 = 1; +pub const NET_RT_FLAGS: u32 = 2; +pub const NET_RT_IFLIST: u32 = 3; +pub const NET_RT_STAT: u32 = 4; +pub const NET_RT_TRASH: u32 = 5; +pub const NET_RT_IFLIST2: u32 = 6; +pub const NET_RT_DUMP2: u32 = 7; +pub const NET_RT_FLAGS_PRIV: u32 = 10; +pub const NET_RT_MAXID: u32 = 11; +pub const SOMAXCONN: u32 = 128; +pub const MSG_OOB: u32 = 1; +pub const MSG_PEEK: u32 = 2; +pub const MSG_DONTROUTE: u32 = 4; +pub const MSG_EOR: u32 = 8; +pub const MSG_TRUNC: u32 = 16; +pub const MSG_CTRUNC: u32 = 32; +pub const MSG_WAITALL: u32 = 64; +pub const MSG_DONTWAIT: u32 = 128; +pub const MSG_EOF: u32 = 256; +pub const MSG_WAITSTREAM: u32 = 512; +pub const MSG_FLUSH: u32 = 1024; +pub const MSG_HOLD: u32 = 2048; +pub const MSG_SEND: u32 = 4096; +pub const MSG_HAVEMORE: u32 = 8192; +pub const MSG_RCVMORE: u32 = 16384; +pub const MSG_NEEDSA: u32 = 65536; +pub const MSG_NOSIGNAL: u32 = 524288; +pub const SCM_RIGHTS: u32 = 1; +pub const SCM_TIMESTAMP: u32 = 2; +pub const SCM_CREDS: u32 = 3; +pub const SCM_TIMESTAMP_MONOTONIC: u32 = 4; +pub const SHUT_RD: u32 = 0; +pub const SHUT_WR: u32 = 1; +pub const SHUT_RDWR: u32 = 2; +pub const IPPROTO_IP: u32 = 0; +pub const IPPROTO_HOPOPTS: u32 = 0; +pub const IPPROTO_ICMP: u32 = 1; +pub const IPPROTO_IGMP: u32 = 2; +pub const IPPROTO_GGP: u32 = 3; +pub const IPPROTO_IPV4: u32 = 4; +pub const IPPROTO_IPIP: u32 = 4; +pub const IPPROTO_TCP: u32 = 6; +pub const IPPROTO_ST: u32 = 7; +pub const IPPROTO_EGP: u32 = 8; +pub const IPPROTO_PIGP: u32 = 9; +pub const IPPROTO_RCCMON: u32 = 10; +pub const IPPROTO_NVPII: u32 = 11; +pub const IPPROTO_PUP: u32 = 12; +pub const IPPROTO_ARGUS: u32 = 13; +pub const IPPROTO_EMCON: u32 = 14; +pub const IPPROTO_XNET: u32 = 15; +pub const IPPROTO_CHAOS: u32 = 16; +pub const IPPROTO_UDP: u32 = 17; +pub const IPPROTO_MUX: u32 = 18; +pub const IPPROTO_MEAS: u32 = 19; +pub const IPPROTO_HMP: u32 = 20; +pub const IPPROTO_PRM: u32 = 21; +pub const IPPROTO_IDP: u32 = 22; +pub const IPPROTO_TRUNK1: u32 = 23; +pub const IPPROTO_TRUNK2: u32 = 24; +pub const IPPROTO_LEAF1: u32 = 25; +pub const IPPROTO_LEAF2: u32 = 26; +pub const IPPROTO_RDP: u32 = 27; +pub const IPPROTO_IRTP: u32 = 28; +pub const IPPROTO_TP: u32 = 29; +pub const IPPROTO_BLT: u32 = 30; +pub const IPPROTO_NSP: u32 = 31; +pub const IPPROTO_INP: u32 = 32; +pub const IPPROTO_SEP: u32 = 33; +pub const IPPROTO_3PC: u32 = 34; +pub const IPPROTO_IDPR: u32 = 35; +pub const IPPROTO_XTP: u32 = 36; +pub const IPPROTO_DDP: u32 = 37; +pub const IPPROTO_CMTP: u32 = 38; +pub const IPPROTO_TPXX: u32 = 39; +pub const IPPROTO_IL: u32 = 40; +pub const IPPROTO_IPV6: u32 = 41; +pub const IPPROTO_SDRP: u32 = 42; +pub const IPPROTO_ROUTING: u32 = 43; +pub const IPPROTO_FRAGMENT: u32 = 44; +pub const IPPROTO_IDRP: u32 = 45; +pub const IPPROTO_RSVP: u32 = 46; +pub const IPPROTO_GRE: u32 = 47; +pub const IPPROTO_MHRP: u32 = 48; +pub const IPPROTO_BHA: u32 = 49; +pub const IPPROTO_ESP: u32 = 50; +pub const IPPROTO_AH: u32 = 51; +pub const IPPROTO_INLSP: u32 = 52; +pub const IPPROTO_SWIPE: u32 = 53; +pub const IPPROTO_NHRP: u32 = 54; +pub const IPPROTO_ICMPV6: u32 = 58; +pub const IPPROTO_NONE: u32 = 59; +pub const IPPROTO_DSTOPTS: u32 = 60; +pub const IPPROTO_AHIP: u32 = 61; +pub const IPPROTO_CFTP: u32 = 62; +pub const IPPROTO_HELLO: u32 = 63; +pub const IPPROTO_SATEXPAK: u32 = 64; +pub const IPPROTO_KRYPTOLAN: u32 = 65; +pub const IPPROTO_RVD: u32 = 66; +pub const IPPROTO_IPPC: u32 = 67; +pub const IPPROTO_ADFS: u32 = 68; +pub const IPPROTO_SATMON: u32 = 69; +pub const IPPROTO_VISA: u32 = 70; +pub const IPPROTO_IPCV: u32 = 71; +pub const IPPROTO_CPNX: u32 = 72; +pub const IPPROTO_CPHB: u32 = 73; +pub const IPPROTO_WSN: u32 = 74; +pub const IPPROTO_PVP: u32 = 75; +pub const IPPROTO_BRSATMON: u32 = 76; +pub const IPPROTO_ND: u32 = 77; +pub const IPPROTO_WBMON: u32 = 78; +pub const IPPROTO_WBEXPAK: u32 = 79; +pub const IPPROTO_EON: u32 = 80; +pub const IPPROTO_VMTP: u32 = 81; +pub const IPPROTO_SVMTP: u32 = 82; +pub const IPPROTO_VINES: u32 = 83; +pub const IPPROTO_TTP: u32 = 84; +pub const IPPROTO_IGP: u32 = 85; +pub const IPPROTO_DGP: u32 = 86; +pub const IPPROTO_TCF: u32 = 87; +pub const IPPROTO_IGRP: u32 = 88; +pub const IPPROTO_OSPFIGP: u32 = 89; +pub const IPPROTO_SRPC: u32 = 90; +pub const IPPROTO_LARP: u32 = 91; +pub const IPPROTO_MTP: u32 = 92; +pub const IPPROTO_AX25: u32 = 93; +pub const IPPROTO_IPEIP: u32 = 94; +pub const IPPROTO_MICP: u32 = 95; +pub const IPPROTO_SCCSP: u32 = 96; +pub const IPPROTO_ETHERIP: u32 = 97; +pub const IPPROTO_ENCAP: u32 = 98; +pub const IPPROTO_APES: u32 = 99; +pub const IPPROTO_GMTP: u32 = 100; +pub const IPPROTO_PIM: u32 = 103; +pub const IPPROTO_IPCOMP: u32 = 108; +pub const IPPROTO_PGM: u32 = 113; +pub const IPPROTO_SCTP: u32 = 132; +pub const IPPROTO_DIVERT: u32 = 254; +pub const IPPROTO_RAW: u32 = 255; +pub const IPPROTO_MAX: u32 = 256; +pub const IPPROTO_DONE: u32 = 257; +pub const __DARWIN_IPPORT_RESERVED: u32 = 1024; +pub const IPPORT_USERRESERVED: u32 = 5000; +pub const IPPORT_HIFIRSTAUTO: u32 = 49152; +pub const IPPORT_HILASTAUTO: u32 = 65535; +pub const IPPORT_RESERVEDSTART: u32 = 600; pub const IN_CLASSA_NET: u32 = 4278190080; pub const IN_CLASSA_NSHIFT: u32 = 24; pub const IN_CLASSA_HOST: u32 = 16777215; @@ -1133,68 +1430,285 @@ pub const IN_CLASSB_MAX: u32 = 65536; pub const IN_CLASSC_NET: u32 = 4294967040; pub const IN_CLASSC_NSHIFT: u32 = 8; pub const IN_CLASSC_HOST: u32 = 255; +pub const IN_CLASSD_NET: u32 = 4026531840; +pub const IN_CLASSD_NSHIFT: u32 = 28; +pub const IN_CLASSD_HOST: u32 = 268435455; +pub const INADDR_NONE: u32 = 4294967295; pub const IN_LOOPBACKNET: u32 = 127; pub const INET_ADDRSTRLEN: u32 = 16; +pub const IP_OPTIONS: u32 = 1; +pub const IP_HDRINCL: u32 = 2; +pub const IP_TOS: u32 = 3; +pub const IP_TTL: u32 = 4; +pub const IP_RECVOPTS: u32 = 5; +pub const IP_RECVRETOPTS: u32 = 6; +pub const IP_RECVDSTADDR: u32 = 7; +pub const IP_RETOPTS: u32 = 8; +pub const IP_MULTICAST_IF: u32 = 9; +pub const IP_MULTICAST_TTL: u32 = 10; +pub const IP_MULTICAST_LOOP: u32 = 11; +pub const IP_ADD_MEMBERSHIP: u32 = 12; +pub const IP_DROP_MEMBERSHIP: u32 = 13; +pub const IP_MULTICAST_VIF: u32 = 14; +pub const IP_RSVP_ON: u32 = 15; +pub const IP_RSVP_OFF: u32 = 16; +pub const IP_RSVP_VIF_ON: u32 = 17; +pub const IP_RSVP_VIF_OFF: u32 = 18; +pub const IP_PORTRANGE: u32 = 19; +pub const IP_RECVIF: u32 = 20; +pub const IP_IPSEC_POLICY: u32 = 21; +pub const IP_FAITH: u32 = 22; +pub const IP_STRIPHDR: u32 = 23; +pub const IP_RECVTTL: u32 = 24; +pub const IP_BOUND_IF: u32 = 25; +pub const IP_PKTINFO: u32 = 26; +pub const IP_RECVPKTINFO: u32 = 26; +pub const IP_RECVTOS: u32 = 27; +pub const IP_DONTFRAG: u32 = 28; +pub const IP_FW_ADD: u32 = 40; +pub const IP_FW_DEL: u32 = 41; +pub const IP_FW_FLUSH: u32 = 42; +pub const IP_FW_ZERO: u32 = 43; +pub const IP_FW_GET: u32 = 44; +pub const IP_FW_RESETLOG: u32 = 45; +pub const IP_OLD_FW_ADD: u32 = 50; +pub const IP_OLD_FW_DEL: u32 = 51; +pub const IP_OLD_FW_FLUSH: u32 = 52; +pub const IP_OLD_FW_ZERO: u32 = 53; +pub const IP_OLD_FW_GET: u32 = 54; +pub const IP_NAT__XXX: u32 = 55; +pub const IP_OLD_FW_RESETLOG: u32 = 56; +pub const IP_DUMMYNET_CONFIGURE: u32 = 60; +pub const IP_DUMMYNET_DEL: u32 = 61; +pub const IP_DUMMYNET_FLUSH: u32 = 62; +pub const IP_DUMMYNET_GET: u32 = 64; +pub const IP_TRAFFIC_MGT_BACKGROUND: u32 = 65; +pub const IP_MULTICAST_IFINDEX: u32 = 66; +pub const IP_ADD_SOURCE_MEMBERSHIP: u32 = 70; +pub const IP_DROP_SOURCE_MEMBERSHIP: u32 = 71; +pub const IP_BLOCK_SOURCE: u32 = 72; +pub const IP_UNBLOCK_SOURCE: u32 = 73; +pub const IP_MSFILTER: u32 = 74; +pub const MCAST_JOIN_GROUP: u32 = 80; +pub const MCAST_LEAVE_GROUP: u32 = 81; +pub const MCAST_JOIN_SOURCE_GROUP: u32 = 82; +pub const MCAST_LEAVE_SOURCE_GROUP: u32 = 83; +pub const MCAST_BLOCK_SOURCE: u32 = 84; +pub const MCAST_UNBLOCK_SOURCE: u32 = 85; +pub const IP_DEFAULT_MULTICAST_TTL: u32 = 1; +pub const IP_DEFAULT_MULTICAST_LOOP: u32 = 1; +pub const IP_MIN_MEMBERSHIPS: u32 = 31; +pub const IP_MAX_MEMBERSHIPS: u32 = 4095; +pub const IP_MAX_GROUP_SRC_FILTER: u32 = 512; +pub const IP_MAX_SOCK_SRC_FILTER: u32 = 128; +pub const IP_MAX_SOCK_MUTE_FILTER: u32 = 128; +pub const MCAST_UNDEFINED: u32 = 0; +pub const MCAST_INCLUDE: u32 = 1; +pub const MCAST_EXCLUDE: u32 = 2; +pub const IP_PORTRANGE_DEFAULT: u32 = 0; +pub const IP_PORTRANGE_HIGH: u32 = 1; +pub const IP_PORTRANGE_LOW: u32 = 2; +pub const IPPROTO_MAXID: u32 = 52; +pub const IPCTL_FORWARDING: u32 = 1; +pub const IPCTL_SENDREDIRECTS: u32 = 2; +pub const IPCTL_DEFTTL: u32 = 3; +pub const IPCTL_RTEXPIRE: u32 = 5; +pub const IPCTL_RTMINEXPIRE: u32 = 6; +pub const IPCTL_RTMAXCACHE: u32 = 7; +pub const IPCTL_SOURCEROUTE: u32 = 8; +pub const IPCTL_DIRECTEDBROADCAST: u32 = 9; +pub const IPCTL_INTRQMAXLEN: u32 = 10; +pub const IPCTL_INTRQDROPS: u32 = 11; +pub const IPCTL_STATS: u32 = 12; +pub const IPCTL_ACCEPTSOURCEROUTE: u32 = 13; +pub const IPCTL_FASTFORWARDING: u32 = 14; +pub const IPCTL_KEEPFAITH: u32 = 15; +pub const IPCTL_GIF_TTL: u32 = 16; +pub const IPCTL_MAXID: u32 = 17; +pub const __KAME_VERSION: &[u8; 18usize] = b"2009/apple-darwin\0"; +pub const IPV6PORT_RESERVED: u32 = 1024; +pub const IPV6PORT_ANONMIN: u32 = 49152; +pub const IPV6PORT_ANONMAX: u32 = 65535; +pub const IPV6PORT_RESERVEDMIN: u32 = 600; +pub const IPV6PORT_RESERVEDMAX: u32 = 1023; pub const INET6_ADDRSTRLEN: u32 = 46; -pub const _RPC_NETDB_H: u32 = 1; +pub const __IPV6_ADDR_SCOPE_NODELOCAL: u32 = 1; +pub const __IPV6_ADDR_SCOPE_INTFACELOCAL: u32 = 1; +pub const __IPV6_ADDR_SCOPE_LINKLOCAL: u32 = 2; +pub const __IPV6_ADDR_SCOPE_SITELOCAL: u32 = 5; +pub const __IPV6_ADDR_SCOPE_ORGLOCAL: u32 = 8; +pub const __IPV6_ADDR_SCOPE_GLOBAL: u32 = 14; +pub const IPV6_ADDR_MC_FLAGS_TRANSIENT: u32 = 16; +pub const IPV6_ADDR_MC_FLAGS_PREFIX: u32 = 32; +pub const IPV6_ADDR_MC_FLAGS_UNICAST_BASED: u32 = 48; +pub const IPV6_SOCKOPT_RESERVED1: u32 = 3; +pub const IPV6_UNICAST_HOPS: u32 = 4; +pub const IPV6_MULTICAST_IF: u32 = 9; +pub const IPV6_MULTICAST_HOPS: u32 = 10; +pub const IPV6_MULTICAST_LOOP: u32 = 11; +pub const IPV6_JOIN_GROUP: u32 = 12; +pub const IPV6_LEAVE_GROUP: u32 = 13; +pub const IPV6_PORTRANGE: u32 = 14; +pub const ICMP6_FILTER: u32 = 18; +pub const IPV6_2292PKTINFO: u32 = 19; +pub const IPV6_2292HOPLIMIT: u32 = 20; +pub const IPV6_2292NEXTHOP: u32 = 21; +pub const IPV6_2292HOPOPTS: u32 = 22; +pub const IPV6_2292DSTOPTS: u32 = 23; +pub const IPV6_2292RTHDR: u32 = 24; +pub const IPV6_2292PKTOPTIONS: u32 = 25; +pub const IPV6_CHECKSUM: u32 = 26; +pub const IPV6_V6ONLY: u32 = 27; +pub const IPV6_BINDV6ONLY: u32 = 27; +pub const IPV6_IPSEC_POLICY: u32 = 28; +pub const IPV6_FAITH: u32 = 29; +pub const IPV6_FW_ADD: u32 = 30; +pub const IPV6_FW_DEL: u32 = 31; +pub const IPV6_FW_FLUSH: u32 = 32; +pub const IPV6_FW_ZERO: u32 = 33; +pub const IPV6_FW_GET: u32 = 34; +pub const IPV6_RECVTCLASS: u32 = 35; +pub const IPV6_TCLASS: u32 = 36; +pub const IPV6_BOUND_IF: u32 = 125; +pub const IPV6_RTHDR_LOOSE: u32 = 0; +pub const IPV6_RTHDR_STRICT: u32 = 1; +pub const IPV6_RTHDR_TYPE_0: u32 = 0; +pub const IPV6_DEFAULT_MULTICAST_HOPS: u32 = 1; +pub const IPV6_DEFAULT_MULTICAST_LOOP: u32 = 1; +pub const IPV6_MIN_MEMBERSHIPS: u32 = 31; +pub const IPV6_MAX_MEMBERSHIPS: u32 = 4095; +pub const IPV6_MAX_GROUP_SRC_FILTER: u32 = 512; +pub const IPV6_MAX_SOCK_SRC_FILTER: u32 = 128; +pub const IPV6_PORTRANGE_DEFAULT: u32 = 0; +pub const IPV6_PORTRANGE_HIGH: u32 = 1; +pub const IPV6_PORTRANGE_LOW: u32 = 2; +pub const IPV6PROTO_MAXID: u32 = 104; +pub const IPV6CTL_FORWARDING: u32 = 1; +pub const IPV6CTL_SENDREDIRECTS: u32 = 2; +pub const IPV6CTL_DEFHLIM: u32 = 3; +pub const IPV6CTL_FORWSRCRT: u32 = 5; +pub const IPV6CTL_STATS: u32 = 6; +pub const IPV6CTL_MRTSTATS: u32 = 7; +pub const IPV6CTL_MRTPROTO: u32 = 8; +pub const IPV6CTL_MAXFRAGPACKETS: u32 = 9; +pub const IPV6CTL_SOURCECHECK: u32 = 10; +pub const IPV6CTL_SOURCECHECK_LOGINT: u32 = 11; +pub const IPV6CTL_ACCEPT_RTADV: u32 = 12; +pub const IPV6CTL_KEEPFAITH: u32 = 13; +pub const IPV6CTL_LOG_INTERVAL: u32 = 14; +pub const IPV6CTL_HDRNESTLIMIT: u32 = 15; +pub const IPV6CTL_DAD_COUNT: u32 = 16; +pub const IPV6CTL_AUTO_FLOWLABEL: u32 = 17; +pub const IPV6CTL_DEFMCASTHLIM: u32 = 18; +pub const IPV6CTL_GIF_HLIM: u32 = 19; +pub const IPV6CTL_KAME_VERSION: u32 = 20; +pub const IPV6CTL_USE_DEPRECATED: u32 = 21; +pub const IPV6CTL_RR_PRUNE: u32 = 22; +pub const IPV6CTL_V6ONLY: u32 = 24; +pub const IPV6CTL_RTEXPIRE: u32 = 25; +pub const IPV6CTL_RTMINEXPIRE: u32 = 26; +pub const IPV6CTL_RTMAXCACHE: u32 = 27; +pub const IPV6CTL_USETEMPADDR: u32 = 32; +pub const IPV6CTL_TEMPPLTIME: u32 = 33; +pub const IPV6CTL_TEMPVLTIME: u32 = 34; +pub const IPV6CTL_AUTO_LINKLOCAL: u32 = 35; +pub const IPV6CTL_RIP6STATS: u32 = 36; +pub const IPV6CTL_PREFER_TEMPADDR: u32 = 37; +pub const IPV6CTL_ADDRCTLPOLICY: u32 = 38; +pub const IPV6CTL_USE_DEFAULTZONE: u32 = 39; +pub const IPV6CTL_MAXFRAGS: u32 = 41; +pub const IPV6CTL_MCAST_PMTU: u32 = 44; +pub const IPV6CTL_NEIGHBORGCTHRESH: u32 = 46; +pub const IPV6CTL_MAXIFPREFIXES: u32 = 47; +pub const IPV6CTL_MAXIFDEFROUTERS: u32 = 48; +pub const IPV6CTL_MAXDYNROUTES: u32 = 49; +pub const ICMPV6CTL_ND6_ONLINKNSRFC4861: u32 = 50; +pub const IPV6CTL_ULA_USETEMPADDR: u32 = 51; +pub const IPV6CTL_MAXID: u32 = 51; pub const _PATH_HEQUIV: &[u8; 17usize] = b"/etc/hosts.equiv\0"; pub const _PATH_HOSTS: &[u8; 11usize] = b"/etc/hosts\0"; pub const _PATH_NETWORKS: &[u8; 14usize] = b"/etc/networks\0"; -pub const _PATH_NSSWITCH_CONF: &[u8; 19usize] = b"/etc/nsswitch.conf\0"; pub const _PATH_PROTOCOLS: &[u8; 15usize] = b"/etc/protocols\0"; pub const _PATH_SERVICES: &[u8; 14usize] = b"/etc/services\0"; +pub const NETDB_INTERNAL: i32 = -1; +pub const NETDB_SUCCESS: u32 = 0; pub const HOST_NOT_FOUND: u32 = 1; pub const TRY_AGAIN: u32 = 2; pub const NO_RECOVERY: u32 = 3; pub const NO_DATA: u32 = 4; -pub const NETDB_INTERNAL: i32 = -1; -pub const NETDB_SUCCESS: u32 = 0; pub const NO_ADDRESS: u32 = 4; +pub const EAI_ADDRFAMILY: u32 = 1; +pub const EAI_AGAIN: u32 = 2; +pub const EAI_BADFLAGS: u32 = 3; +pub const EAI_FAIL: u32 = 4; +pub const EAI_FAMILY: u32 = 5; +pub const EAI_MEMORY: u32 = 6; +pub const EAI_NODATA: u32 = 7; +pub const EAI_NONAME: u32 = 8; +pub const EAI_SERVICE: u32 = 9; +pub const EAI_SOCKTYPE: u32 = 10; +pub const EAI_SYSTEM: u32 = 11; +pub const EAI_BADHINTS: u32 = 12; +pub const EAI_PROTOCOL: u32 = 13; +pub const EAI_OVERFLOW: u32 = 14; +pub const EAI_MAX: u32 = 15; pub const AI_PASSIVE: u32 = 1; pub const AI_CANONNAME: u32 = 2; pub const AI_NUMERICHOST: u32 = 4; -pub const AI_V4MAPPED: u32 = 8; -pub const AI_ALL: u32 = 16; -pub const AI_ADDRCONFIG: u32 = 32; -pub const AI_NUMERICSERV: u32 = 1024; -pub const EAI_BADFLAGS: i32 = -1; -pub const EAI_NONAME: i32 = -2; -pub const EAI_AGAIN: i32 = -3; -pub const EAI_FAIL: i32 = -4; -pub const EAI_FAMILY: i32 = -6; -pub const EAI_SOCKTYPE: i32 = -7; -pub const EAI_SERVICE: i32 = -8; -pub const EAI_MEMORY: i32 = -10; -pub const EAI_SYSTEM: i32 = -11; -pub const EAI_OVERFLOW: i32 = -12; +pub const AI_NUMERICSERV: u32 = 4096; +pub const AI_ALL: u32 = 256; +pub const AI_V4MAPPED_CFG: u32 = 512; +pub const AI_ADDRCONFIG: u32 = 1024; +pub const AI_V4MAPPED: u32 = 2048; +pub const AI_DEFAULT: u32 = 1536; +pub const AI_UNUSABLE: u32 = 268435456; pub const NI_MAXHOST: u32 = 1025; pub const NI_MAXSERV: u32 = 32; -pub const NI_NUMERICHOST: u32 = 1; -pub const NI_NUMERICSERV: u32 = 2; -pub const NI_NOFQDN: u32 = 4; -pub const NI_NAMEREQD: u32 = 8; +pub const NI_NOFQDN: u32 = 1; +pub const NI_NUMERICHOST: u32 = 2; +pub const NI_NAMEREQD: u32 = 4; +pub const NI_NUMERICSERV: u32 = 8; +pub const NI_NUMERICSCOPE: u32 = 256; pub const NI_DGRAM: u32 = 16; -pub const _PWD_H: u32 = 1; -pub const NSS_BUFLEN_PASSWD: u32 = 1024; +pub const NI_WITHSCOPEID: u32 = 32; +pub const SCOPE_DELIMITER: u8 = 37u8; +pub const _PATH_PWD: &[u8; 5usize] = b"/etc\0"; +pub const _PATH_PASSWD: &[u8; 12usize] = b"/etc/passwd\0"; +pub const _PASSWD: &[u8; 7usize] = b"passwd\0"; +pub const _PATH_MASTERPASSWD: &[u8; 19usize] = b"/etc/master.passwd\0"; +pub const _PATH_MASTERPASSWD_LOCK: &[u8; 10usize] = b"/etc/ptmp\0"; +pub const _MASTERPASSWD: &[u8; 14usize] = b"master.passwd\0"; +pub const _PATH_MP_DB: &[u8; 12usize] = b"/etc/pwd.db\0"; +pub const _MP_DB: &[u8; 7usize] = b"pwd.db\0"; +pub const _PATH_SMP_DB: &[u8; 13usize] = b"/etc/spwd.db\0"; +pub const _SMP_DB: &[u8; 8usize] = b"spwd.db\0"; +pub const _PATH_PWD_MKDB: &[u8; 19usize] = b"/usr/sbin/pwd_mkdb\0"; +pub const _PW_KEYBYNAME: u8 = 49u8; +pub const _PW_KEYBYNUM: u8 = 50u8; +pub const _PW_KEYBYUID: u8 = 51u8; +pub const _PASSWORD_EFMT1: u8 = 95u8; +pub const _PASSWORD_LEN: u32 = 128; +pub const _PASSWORD_NOUID: u32 = 1; +pub const _PASSWORD_NOGID: u32 = 2; +pub const _PASSWORD_NOCHG: u32 = 4; +pub const _PASSWORD_NOEXP: u32 = 8; +pub const _PASSWORD_WARNDAYS: u32 = 14; +pub const _PASSWORD_CHGNOW: i32 = -1; pub const PGINVALID_SOCKET: i32 = -1; -pub const PG_BACKEND_VERSIONSTR: &[u8; 28usize] = b"postgres (PostgreSQL) 14.2\n\0"; +pub const PG_BACKEND_VERSIONSTR: &[u8; 28usize] = b"postgres (PostgreSQL) 14.1\n\0"; pub const EXE: &[u8; 1usize] = b"\0"; pub const DEVNULL: &[u8; 10usize] = b"/dev/null\0"; pub const USE_REPL_SNPRINTF: u32 = 1; pub const PG_STRERROR_R_BUFLEN: u32 = 256; pub const PG_IOLBF: u32 = 1; -pub const _MATH_H: u32 = 1; -pub const _BITS_LIBM_SIMD_DECL_STUBS_H: u32 = 1; -pub const __FP_LOGB0_IS_MIN: u32 = 1; -pub const __FP_LOGBNAN_IS_MIN: u32 = 1; +pub const FP_SUPERNORMAL: u32 = 6; +pub const FP_FAST_FMA: u32 = 1; +pub const FP_FAST_FMAF: u32 = 1; +pub const FP_FAST_FMAL: u32 = 1; pub const FP_ILOGB0: i32 = -2147483648; pub const FP_ILOGBNAN: i32 = -2147483648; -pub const __MATH_DECLARING_DOUBLE: u32 = 1; -pub const __MATH_DECLARING_FLOATN: u32 = 0; -pub const __MATH_DECLARE_LDOUBLE: u32 = 1; pub const MATH_ERRNO: u32 = 1; pub const MATH_ERREXCEPT: u32 = 2; -pub const math_errhandling: u32 = 3; pub const M_E: f64 = 2.718281828459045; pub const M_LOG2E: f64 = 1.4426950408889634; pub const M_LOG10E: f64 = 0.4342944819032518; @@ -1208,9 +1722,13 @@ pub const M_2_PI: f64 = 0.6366197723675814; pub const M_2_SQRTPI: f64 = 1.1283791670955126; pub const M_SQRT2: f64 = 1.4142135623730951; pub const M_SQRT1_2: f64 = 0.7071067811865476; -pub const _SETJMP_H: u32 = 1; -pub const _BITS_SETJMP_H: u32 = 1; -pub const __jmp_buf_tag_defined: u32 = 1; +pub const DOMAIN: u32 = 1; +pub const SING: u32 = 2; +pub const OVERFLOW: u32 = 3; +pub const UNDERFLOW: u32 = 4; +pub const TLOSS: u32 = 5; +pub const PLOSS: u32 = 6; +pub const _JBLEN: u32 = 48; pub const DEBUG5: u32 = 10; pub const DEBUG4: u32 = 11; pub const DEBUG3: u32 = 12; @@ -1288,136 +1806,155 @@ pub const LP_DEAD: u32 = 3; pub const SpecTokenOffsetNumber: u32 = 65534; pub const MovedPartitionsOffsetNumber: u32 = 65533; pub const FIELDNO_HEAPTUPLEDATA_DATA: u32 = 3; -pub const _FCNTL_H: u32 = 1; -pub const __O_LARGEFILE: u32 = 0; -pub const F_GETLK64: u32 = 5; -pub const F_SETLK64: u32 = 6; -pub const F_SETLKW64: u32 = 7; -pub const O_ACCMODE: u32 = 3; pub const O_RDONLY: u32 = 0; pub const O_WRONLY: u32 = 1; pub const O_RDWR: u32 = 2; -pub const O_CREAT: u32 = 64; -pub const O_EXCL: u32 = 128; -pub const O_NOCTTY: u32 = 256; -pub const O_TRUNC: u32 = 512; -pub const O_APPEND: u32 = 1024; -pub const O_NONBLOCK: u32 = 2048; -pub const O_NDELAY: u32 = 2048; -pub const O_SYNC: u32 = 1052672; -pub const O_FSYNC: u32 = 1052672; -pub const O_ASYNC: u32 = 8192; -pub const __O_DIRECTORY: u32 = 65536; -pub const __O_NOFOLLOW: u32 = 131072; -pub const __O_CLOEXEC: u32 = 524288; -pub const __O_DIRECT: u32 = 16384; -pub const __O_NOATIME: u32 = 262144; -pub const __O_PATH: u32 = 2097152; -pub const __O_DSYNC: u32 = 4096; -pub const __O_TMPFILE: u32 = 4259840; -pub const F_GETLK: u32 = 5; -pub const F_SETLK: u32 = 6; -pub const F_SETLKW: u32 = 7; -pub const O_DIRECTORY: u32 = 65536; -pub const O_NOFOLLOW: u32 = 131072; -pub const O_CLOEXEC: u32 = 524288; -pub const O_DSYNC: u32 = 4096; -pub const O_RSYNC: u32 = 1052672; +pub const O_ACCMODE: u32 = 3; +pub const FREAD: u32 = 1; +pub const FWRITE: u32 = 2; +pub const O_NONBLOCK: u32 = 4; +pub const O_APPEND: u32 = 8; +pub const O_SYNC: u32 = 128; +pub const O_SHLOCK: u32 = 16; +pub const O_EXLOCK: u32 = 32; +pub const O_ASYNC: u32 = 64; +pub const O_FSYNC: u32 = 128; +pub const O_NOFOLLOW: u32 = 256; +pub const O_CREAT: u32 = 512; +pub const O_TRUNC: u32 = 1024; +pub const O_EXCL: u32 = 2048; +pub const O_EVTONLY: u32 = 32768; +pub const O_NOCTTY: u32 = 131072; +pub const O_DIRECTORY: u32 = 1048576; +pub const O_SYMLINK: u32 = 2097152; +pub const O_DSYNC: u32 = 4194304; +pub const O_CLOEXEC: u32 = 16777216; +pub const O_NOFOLLOW_ANY: u32 = 536870912; +pub const AT_FDCWD: i32 = -2; +pub const AT_EACCESS: u32 = 16; +pub const AT_SYMLINK_NOFOLLOW: u32 = 32; +pub const AT_SYMLINK_FOLLOW: u32 = 64; +pub const AT_REMOVEDIR: u32 = 128; +pub const AT_REALDEV: u32 = 512; +pub const AT_FDONLY: u32 = 1024; +pub const AT_SYMLINK_NOFOLLOW_ANY: u32 = 2048; +pub const O_DP_GETRAWENCRYPTED: u32 = 1; +pub const O_DP_GETRAWUNENCRYPTED: u32 = 2; +pub const FAPPEND: u32 = 8; +pub const FASYNC: u32 = 64; +pub const FFSYNC: u32 = 128; +pub const FFDSYNC: u32 = 4194304; +pub const FNONBLOCK: u32 = 4; +pub const FNDELAY: u32 = 4; +pub const O_NDELAY: u32 = 4; +pub const CPF_OVERWRITE: u32 = 1; +pub const CPF_IGNORE_MODE: u32 = 2; +pub const CPF_MASK: u32 = 3; pub const F_DUPFD: u32 = 0; pub const F_GETFD: u32 = 1; pub const F_SETFD: u32 = 2; pub const F_GETFL: u32 = 3; pub const F_SETFL: u32 = 4; -pub const __F_SETOWN: u32 = 8; -pub const __F_GETOWN: u32 = 9; -pub const F_SETOWN: u32 = 8; -pub const F_GETOWN: u32 = 9; -pub const __F_SETSIG: u32 = 10; -pub const __F_GETSIG: u32 = 11; -pub const __F_SETOWN_EX: u32 = 15; -pub const __F_GETOWN_EX: u32 = 16; -pub const F_DUPFD_CLOEXEC: u32 = 1030; +pub const F_GETOWN: u32 = 5; +pub const F_SETOWN: u32 = 6; +pub const F_GETLK: u32 = 7; +pub const F_SETLK: u32 = 8; +pub const F_SETLKW: u32 = 9; +pub const F_SETLKWTIMEOUT: u32 = 10; +pub const F_FLUSH_DATA: u32 = 40; +pub const F_CHKCLEAN: u32 = 41; +pub const F_PREALLOCATE: u32 = 42; +pub const F_SETSIZE: u32 = 43; +pub const F_RDADVISE: u32 = 44; +pub const F_RDAHEAD: u32 = 45; +pub const F_NOCACHE: u32 = 48; +pub const F_LOG2PHYS: u32 = 49; +pub const F_GETPATH: u32 = 50; +pub const F_FULLFSYNC: u32 = 51; +pub const F_PATHPKG_CHECK: u32 = 52; +pub const F_FREEZE_FS: u32 = 53; +pub const F_THAW_FS: u32 = 54; +pub const F_GLOBAL_NOCACHE: u32 = 55; +pub const F_ADDSIGS: u32 = 59; +pub const F_ADDFILESIGS: u32 = 61; +pub const F_NODIRECT: u32 = 62; +pub const F_GETPROTECTIONCLASS: u32 = 63; +pub const F_SETPROTECTIONCLASS: u32 = 64; +pub const F_LOG2PHYS_EXT: u32 = 65; +pub const F_GETLKPID: u32 = 66; +pub const F_SETBACKINGSTORE: u32 = 70; +pub const F_GETPATH_MTMINFO: u32 = 71; +pub const F_GETCODEDIR: u32 = 72; +pub const F_SETNOSIGPIPE: u32 = 73; +pub const F_GETNOSIGPIPE: u32 = 74; +pub const F_TRANSCODEKEY: u32 = 75; +pub const F_SINGLE_WRITER: u32 = 76; +pub const F_GETPROTECTIONLEVEL: u32 = 77; +pub const F_FINDSIGS: u32 = 78; +pub const F_ADDFILESIGS_FOR_DYLD_SIM: u32 = 83; +pub const F_BARRIERFSYNC: u32 = 85; +pub const F_ADDFILESIGS_RETURN: u32 = 97; +pub const F_CHECK_LV: u32 = 98; +pub const F_PUNCHHOLE: u32 = 99; +pub const F_TRIM_ACTIVE_FILE: u32 = 100; +pub const F_SPECULATIVE_READ: u32 = 101; +pub const F_GETPATH_NOFIRMLINK: u32 = 102; +pub const F_ADDFILESIGS_INFO: u32 = 103; +pub const F_ADDFILESUPPL: u32 = 104; +pub const F_GETSIGSINFO: u32 = 105; +pub const F_FSRESERVED: u32 = 106; +pub const FCNTL_FS_SPECIFIC_BASE: u32 = 65536; +pub const F_DUPFD_CLOEXEC: u32 = 67; pub const FD_CLOEXEC: u32 = 1; -pub const F_RDLCK: u32 = 0; -pub const F_WRLCK: u32 = 1; +pub const F_RDLCK: u32 = 1; pub const F_UNLCK: u32 = 2; -pub const F_EXLCK: u32 = 4; -pub const F_SHLCK: u32 = 8; -pub const LOCK_SH: u32 = 1; -pub const LOCK_EX: u32 = 2; -pub const LOCK_NB: u32 = 4; -pub const LOCK_UN: u32 = 8; -pub const FAPPEND: u32 = 1024; -pub const FFSYNC: u32 = 1052672; -pub const FASYNC: u32 = 8192; -pub const FNONBLOCK: u32 = 2048; -pub const FNDELAY: u32 = 2048; -pub const __POSIX_FADV_DONTNEED: u32 = 4; -pub const __POSIX_FADV_NOREUSE: u32 = 5; -pub const POSIX_FADV_NORMAL: u32 = 0; -pub const POSIX_FADV_RANDOM: u32 = 1; -pub const POSIX_FADV_SEQUENTIAL: u32 = 2; -pub const POSIX_FADV_WILLNEED: u32 = 3; -pub const POSIX_FADV_DONTNEED: u32 = 4; -pub const POSIX_FADV_NOREUSE: u32 = 5; -pub const AT_FDCWD: i32 = -100; -pub const AT_SYMLINK_NOFOLLOW: u32 = 256; -pub const AT_REMOVEDIR: u32 = 512; -pub const AT_SYMLINK_FOLLOW: u32 = 1024; -pub const AT_EACCESS: u32 = 512; -pub const _BITS_STAT_H: u32 = 1; -pub const _BITS_STRUCT_STAT_H: u32 = 1; -pub const __S_IFMT: u32 = 61440; -pub const __S_IFDIR: u32 = 16384; -pub const __S_IFCHR: u32 = 8192; -pub const __S_IFBLK: u32 = 24576; -pub const __S_IFREG: u32 = 32768; -pub const __S_IFIFO: u32 = 4096; -pub const __S_IFLNK: u32 = 40960; -pub const __S_IFSOCK: u32 = 49152; -pub const __S_ISUID: u32 = 2048; -pub const __S_ISGID: u32 = 1024; -pub const __S_ISVTX: u32 = 512; -pub const __S_IREAD: u32 = 256; -pub const __S_IWRITE: u32 = 128; -pub const __S_IEXEC: u32 = 64; -pub const UTIME_NOW: u32 = 1073741823; -pub const UTIME_OMIT: u32 = 1073741822; +pub const F_WRLCK: u32 = 3; +pub const SEEK_HOLE: u32 = 3; +pub const SEEK_DATA: u32 = 4; pub const S_IFMT: u32 = 61440; -pub const S_IFDIR: u32 = 16384; +pub const S_IFIFO: u32 = 4096; pub const S_IFCHR: u32 = 8192; +pub const S_IFDIR: u32 = 16384; pub const S_IFBLK: u32 = 24576; pub const S_IFREG: u32 = 32768; -pub const S_IFIFO: u32 = 4096; pub const S_IFLNK: u32 = 40960; pub const S_IFSOCK: u32 = 49152; -pub const S_ISUID: u32 = 2048; -pub const S_ISGID: u32 = 1024; -pub const S_ISVTX: u32 = 512; +pub const S_IFWHT: u32 = 57344; +pub const S_IRWXU: u32 = 448; pub const S_IRUSR: u32 = 256; pub const S_IWUSR: u32 = 128; pub const S_IXUSR: u32 = 64; -pub const S_IRWXU: u32 = 448; +pub const S_IRWXG: u32 = 56; pub const S_IRGRP: u32 = 32; pub const S_IWGRP: u32 = 16; pub const S_IXGRP: u32 = 8; -pub const S_IRWXG: u32 = 56; +pub const S_IRWXO: u32 = 7; pub const S_IROTH: u32 = 4; pub const S_IWOTH: u32 = 2; pub const S_IXOTH: u32 = 1; -pub const S_IRWXO: u32 = 7; -pub const R_OK: u32 = 4; -pub const W_OK: u32 = 2; -pub const X_OK: u32 = 1; -pub const F_OK: u32 = 0; -pub const F_ULOCK: u32 = 0; -pub const F_LOCK: u32 = 1; -pub const F_TLOCK: u32 = 2; -pub const F_TEST: u32 = 3; +pub const S_ISUID: u32 = 2048; +pub const S_ISGID: u32 = 1024; +pub const S_ISVTX: u32 = 512; +pub const S_ISTXT: u32 = 512; +pub const S_IREAD: u32 = 256; +pub const S_IWRITE: u32 = 128; +pub const S_IEXEC: u32 = 64; +pub const F_ALLOCATECONTIG: u32 = 2; +pub const F_ALLOCATEALL: u32 = 4; +pub const F_PEOFPOSMODE: u32 = 3; +pub const F_VOLPOSMODE: u32 = 4; +pub const USER_FSIGNATURES_CDHASH_LEN: u32 = 20; +pub const GETSIGSINFO_PLATFORM_BINARY: u32 = 1; +pub const LOCK_SH: u32 = 1; +pub const LOCK_EX: u32 = 2; +pub const LOCK_NB: u32 = 4; +pub const LOCK_UN: u32 = 8; +pub const O_POPUP: u32 = 2147483648; +pub const O_ALERT: u32 = 536870912; pub const InvalidXLogRecPtr: u32 = 0; pub const PG_O_DIRECT: u32 = 0; -pub const OPEN_SYNC_FLAG: u32 = 1052672; -pub const OPEN_DATASYNC_FLAG: u32 = 4096; +pub const OPEN_SYNC_FLAG: u32 = 128; +pub const OPEN_DATASYNC_FLAG: u32 = 4194304; pub const FirstGenbkiObjectId: u32 = 10000; pub const FirstBootstrapObjectId: u32 = 12000; pub const FirstNormalObjectId: u32 = 16384; @@ -1743,24 +2280,7 @@ pub const FIELDNO_HEAPTUPLETABLESLOT_OFF: u32 = 2; pub const FIELDNO_MINIMALTUPLETABLESLOT_TUPLE: u32 = 1; pub const FIELDNO_MINIMALTUPLETABLESLOT_OFF: u32 = 4; pub const BITS_PER_BITMAPWORD: u32 = 64; -pub const _TIME_H: u32 = 1; -pub const _BITS_TIME_H: u32 = 1; -pub const CLOCK_REALTIME: u32 = 0; -pub const CLOCK_MONOTONIC: u32 = 1; -pub const CLOCK_PROCESS_CPUTIME_ID: u32 = 2; -pub const CLOCK_THREAD_CPUTIME_ID: u32 = 3; -pub const CLOCK_MONOTONIC_RAW: u32 = 4; -pub const CLOCK_REALTIME_COARSE: u32 = 5; -pub const CLOCK_MONOTONIC_COARSE: u32 = 6; -pub const CLOCK_BOOTTIME: u32 = 7; -pub const CLOCK_REALTIME_ALARM: u32 = 8; -pub const CLOCK_BOOTTIME_ALARM: u32 = 9; -pub const CLOCK_TAI: u32 = 11; -pub const TIMER_ABSTIME: u32 = 1; -pub const __struct_tm_defined: u32 = 1; -pub const __itimerspec_defined: u32 = 1; pub const TIME_UTC: u32 = 1; -pub const PG_INSTR_CLOCK: u32 = 1; pub const FIELDNO_FUNCTIONCALLINFODATA_ISNULL: u32 = 4; pub const FIELDNO_FUNCTIONCALLINFODATA_ARGS: u32 = 6; pub const PG_MAGIC_FUNCTION_NAME_STRING: &[u8; 14usize] = b"Pg_magic_func\0"; @@ -1812,84 +2332,121 @@ pub const INDEX_VAR: u32 = 65002; pub const ROWID_VAR: u32 = 65003; pub const PRS2_OLD_VARNO: u32 = 1; pub const PRS2_NEW_VARNO: u32 = 2; -pub const _LIBC_LIMITS_H_: u32 = 1; -pub const MB_LEN_MAX: u32 = 16; -pub const _BITS_POSIX1_LIM_H: u32 = 1; -pub const _POSIX_AIO_LISTIO_MAX: u32 = 2; -pub const _POSIX_AIO_MAX: u32 = 1; +pub const __DARWIN_CLK_TCK: u32 = 100; +pub const CHAR_BIT: u32 = 8; +pub const MB_LEN_MAX: u32 = 6; +pub const CLK_TCK: u32 = 100; +pub const SCHAR_MAX: u32 = 127; +pub const SCHAR_MIN: i32 = -128; +pub const UCHAR_MAX: u32 = 255; +pub const CHAR_MAX: u32 = 127; +pub const CHAR_MIN: i32 = -128; +pub const USHRT_MAX: u32 = 65535; +pub const SHRT_MAX: u32 = 32767; +pub const SHRT_MIN: i32 = -32768; +pub const UINT_MAX: u32 = 4294967295; +pub const INT_MAX: u32 = 2147483647; +pub const INT_MIN: i32 = -2147483648; +pub const ULONG_MAX: i32 = -1; +pub const LONG_MAX: u64 = 9223372036854775807; +pub const LONG_MIN: i64 = -9223372036854775808; +pub const ULLONG_MAX: i32 = -1; +pub const LLONG_MAX: u64 = 9223372036854775807; +pub const LLONG_MIN: i64 = -9223372036854775808; +pub const LONG_BIT: u32 = 64; +pub const SSIZE_MAX: u64 = 9223372036854775807; +pub const WORD_BIT: u32 = 32; +pub const SIZE_T_MAX: i32 = -1; +pub const UQUAD_MAX: i32 = -1; +pub const QUAD_MAX: u64 = 9223372036854775807; +pub const QUAD_MIN: i64 = -9223372036854775808; +pub const ARG_MAX: u32 = 1048576; +pub const CHILD_MAX: u32 = 266; +pub const GID_MAX: u32 = 2147483647; +pub const LINK_MAX: u32 = 32767; +pub const MAX_CANON: u32 = 1024; +pub const MAX_INPUT: u32 = 1024; +pub const NAME_MAX: u32 = 255; +pub const NGROUPS_MAX: u32 = 16; +pub const UID_MAX: u32 = 2147483647; +pub const OPEN_MAX: u32 = 10240; +pub const PATH_MAX: u32 = 1024; +pub const PIPE_BUF: u32 = 512; +pub const BC_BASE_MAX: u32 = 99; +pub const BC_DIM_MAX: u32 = 2048; +pub const BC_SCALE_MAX: u32 = 99; +pub const BC_STRING_MAX: u32 = 1000; +pub const CHARCLASS_NAME_MAX: u32 = 14; +pub const COLL_WEIGHTS_MAX: u32 = 2; +pub const EQUIV_CLASS_MAX: u32 = 2; +pub const EXPR_NEST_MAX: u32 = 32; +pub const LINE_MAX: u32 = 2048; +pub const RE_DUP_MAX: u32 = 255; +pub const NZERO: u32 = 20; pub const _POSIX_ARG_MAX: u32 = 4096; pub const _POSIX_CHILD_MAX: u32 = 25; -pub const _POSIX_DELAYTIMER_MAX: u32 = 32; -pub const _POSIX_HOST_NAME_MAX: u32 = 255; pub const _POSIX_LINK_MAX: u32 = 8; -pub const _POSIX_LOGIN_NAME_MAX: u32 = 9; pub const _POSIX_MAX_CANON: u32 = 255; pub const _POSIX_MAX_INPUT: u32 = 255; -pub const _POSIX_MQ_OPEN_MAX: u32 = 8; -pub const _POSIX_MQ_PRIO_MAX: u32 = 32; pub const _POSIX_NAME_MAX: u32 = 14; pub const _POSIX_NGROUPS_MAX: u32 = 8; pub const _POSIX_OPEN_MAX: u32 = 20; pub const _POSIX_PATH_MAX: u32 = 256; pub const _POSIX_PIPE_BUF: u32 = 512; -pub const _POSIX_RE_DUP_MAX: u32 = 255; -pub const _POSIX_RTSIG_MAX: u32 = 8; -pub const _POSIX_SEM_NSEMS_MAX: u32 = 256; -pub const _POSIX_SEM_VALUE_MAX: u32 = 32767; -pub const _POSIX_SIGQUEUE_MAX: u32 = 32; pub const _POSIX_SSIZE_MAX: u32 = 32767; pub const _POSIX_STREAM_MAX: u32 = 8; -pub const _POSIX_SYMLINK_MAX: u32 = 255; -pub const _POSIX_SYMLOOP_MAX: u32 = 8; -pub const _POSIX_TIMER_MAX: u32 = 32; -pub const _POSIX_TTY_NAME_MAX: u32 = 9; pub const _POSIX_TZNAME_MAX: u32 = 6; -pub const _POSIX_CLOCKRES_MIN: u32 = 20000000; -pub const NR_OPEN: u32 = 1024; -pub const NGROUPS_MAX: u32 = 65536; -pub const ARG_MAX: u32 = 131072; -pub const LINK_MAX: u32 = 127; -pub const MAX_CANON: u32 = 255; -pub const MAX_INPUT: u32 = 255; -pub const NAME_MAX: u32 = 255; -pub const PATH_MAX: u32 = 4096; -pub const PIPE_BUF: u32 = 4096; -pub const XATTR_NAME_MAX: u32 = 255; -pub const XATTR_SIZE_MAX: u32 = 65536; -pub const XATTR_LIST_MAX: u32 = 65536; -pub const RTSIG_MAX: u32 = 32; -pub const _POSIX_THREAD_KEYS_MAX: u32 = 128; -pub const PTHREAD_KEYS_MAX: u32 = 1024; -pub const _POSIX_THREAD_DESTRUCTOR_ITERATIONS: u32 = 4; -pub const PTHREAD_DESTRUCTOR_ITERATIONS: u32 = 4; -pub const _POSIX_THREAD_THREADS_MAX: u32 = 64; -pub const AIO_PRIO_DELTA_MAX: u32 = 20; -pub const PTHREAD_STACK_MIN: u32 = 16384; -pub const DELAYTIMER_MAX: u32 = 2147483647; -pub const TTY_NAME_MAX: u32 = 32; -pub const LOGIN_NAME_MAX: u32 = 256; -pub const HOST_NAME_MAX: u32 = 64; -pub const MQ_PRIO_MAX: u32 = 32768; -pub const SEM_VALUE_MAX: u32 = 2147483647; -pub const _BITS_POSIX2_LIM_H: u32 = 1; pub const _POSIX2_BC_BASE_MAX: u32 = 99; pub const _POSIX2_BC_DIM_MAX: u32 = 2048; pub const _POSIX2_BC_SCALE_MAX: u32 = 99; pub const _POSIX2_BC_STRING_MAX: u32 = 1000; -pub const _POSIX2_COLL_WEIGHTS_MAX: u32 = 2; +pub const _POSIX2_EQUIV_CLASS_MAX: u32 = 2; pub const _POSIX2_EXPR_NEST_MAX: u32 = 32; pub const _POSIX2_LINE_MAX: u32 = 2048; pub const _POSIX2_RE_DUP_MAX: u32 = 255; +pub const _POSIX_AIO_LISTIO_MAX: u32 = 2; +pub const _POSIX_AIO_MAX: u32 = 1; +pub const _POSIX_DELAYTIMER_MAX: u32 = 32; +pub const _POSIX_MQ_OPEN_MAX: u32 = 8; +pub const _POSIX_MQ_PRIO_MAX: u32 = 32; +pub const _POSIX_RTSIG_MAX: u32 = 8; +pub const _POSIX_SEM_NSEMS_MAX: u32 = 256; +pub const _POSIX_SEM_VALUE_MAX: u32 = 32767; +pub const _POSIX_SIGQUEUE_MAX: u32 = 32; +pub const _POSIX_TIMER_MAX: u32 = 32; +pub const _POSIX_CLOCKRES_MIN: u32 = 20000000; +pub const _POSIX_THREAD_DESTRUCTOR_ITERATIONS: u32 = 4; +pub const _POSIX_THREAD_KEYS_MAX: u32 = 128; +pub const _POSIX_THREAD_THREADS_MAX: u32 = 64; +pub const PTHREAD_DESTRUCTOR_ITERATIONS: u32 = 4; +pub const PTHREAD_KEYS_MAX: u32 = 512; +pub const PTHREAD_STACK_MIN: u32 = 16384; +pub const _POSIX_HOST_NAME_MAX: u32 = 255; +pub const _POSIX_LOGIN_NAME_MAX: u32 = 9; +pub const _POSIX_SS_REPL_MAX: u32 = 4; +pub const _POSIX_SYMLINK_MAX: u32 = 255; +pub const _POSIX_SYMLOOP_MAX: u32 = 8; +pub const _POSIX_TRACE_EVENT_NAME_MAX: u32 = 30; +pub const _POSIX_TRACE_NAME_MAX: u32 = 8; +pub const _POSIX_TRACE_SYS_MAX: u32 = 8; +pub const _POSIX_TRACE_USER_EVENT_MAX: u32 = 32; +pub const _POSIX_TTY_NAME_MAX: u32 = 9; pub const _POSIX2_CHARCLASS_NAME_MAX: u32 = 14; -pub const BC_BASE_MAX: u32 = 99; -pub const BC_DIM_MAX: u32 = 2048; -pub const BC_SCALE_MAX: u32 = 99; -pub const BC_STRING_MAX: u32 = 1000; -pub const COLL_WEIGHTS_MAX: u32 = 255; -pub const EXPR_NEST_MAX: u32 = 32; -pub const LINE_MAX: u32 = 2048; -pub const CHARCLASS_NAME_MAX: u32 = 2048; -pub const RE_DUP_MAX: u32 = 32767; +pub const _POSIX2_COLL_WEIGHTS_MAX: u32 = 2; +pub const _POSIX_RE_DUP_MAX: u32 = 255; +pub const OFF_MIN: i64 = -9223372036854775808; +pub const OFF_MAX: u64 = 9223372036854775807; +pub const PASS_MAX: u32 = 128; +pub const NL_ARGMAX: u32 = 9; +pub const NL_LANGMAX: u32 = 14; +pub const NL_MSGMAX: u32 = 32767; +pub const NL_NMAX: u32 = 1; +pub const NL_SETMAX: u32 = 255; +pub const NL_TEXTMAX: u32 = 2048; +pub const _XOPEN_IOV_MAX: u32 = 16; +pub const IOV_MAX: u32 = 1024; +pub const _XOPEN_NAME_MAX: u32 = 255; +pub const _XOPEN_PATH_MAX: u32 = 1024; pub const DSM_IMPL_POSIX: u32 = 1; pub const DSM_IMPL_SYSV: u32 = 2; pub const DSM_IMPL_WINDOWS: u32 = 3; @@ -1920,9 +2477,25 @@ pub const HASH_SHARED_MEM: u32 = 2048; pub const HASH_ATTACH: u32 = 4096; pub const HASH_FIXED_SIZE: u32 = 8192; pub const NO_MAX_DSIZE: i32 = -1; -pub const _DIRENT_H: u32 = 1; -pub const _DIRENT_MATCHES_DIRENT64: u32 = 1; +pub const __DARWIN_MAXNAMLEN: u32 = 255; +pub const __DARWIN_MAXPATHLEN: u32 = 1024; pub const MAXNAMLEN: u32 = 255; +pub const DT_UNKNOWN: u32 = 0; +pub const DT_FIFO: u32 = 1; +pub const DT_CHR: u32 = 2; +pub const DT_DIR: u32 = 4; +pub const DT_BLK: u32 = 6; +pub const DT_REG: u32 = 8; +pub const DT_LNK: u32 = 10; +pub const DT_SOCK: u32 = 12; +pub const DT_WHT: u32 = 14; +pub const DIRBLKSIZ: u32 = 1024; +pub const DTF_HIDEW: u32 = 1; +pub const DTF_NODUP: u32 = 2; +pub const DTF_REWIND: u32 = 4; +pub const __DTF_READALL: u32 = 8; +pub const __DTF_SKIPREAD: u32 = 16; +pub const __DTF_ATEND: u32 = 32; pub const PG_TEMP_FILES_DIR: &[u8; 10usize] = b"pgsql_tmp\0"; pub const PG_TEMP_FILE_PREFIX: &[u8; 10usize] = b"pgsql_tmp\0"; pub const SHARED_TUPLESTORE_SINGLE_PASS: u32 = 1; @@ -2037,6 +2610,7 @@ pub const CURSOR_OPT_FAST_PLAN: u32 = 256; pub const CURSOR_OPT_GENERIC_PLAN: u32 = 512; pub const CURSOR_OPT_CUSTOM_PLAN: u32 = 1024; pub const CURSOR_OPT_PARALLEL_OK: u32 = 2048; +pub const FETCH_ALL: u64 = 9223372036854775807; pub const MaxAllocHugeSize: u32 = 0; pub const ALLOCSET_DEFAULT_MINSIZE: u32 = 0; pub const ALLOCSET_DEFAULT_INITSIZE: u32 = 8192; @@ -2053,85 +2627,6 @@ pub const EXEC_FLAG_BACKWARD: u32 = 4; pub const EXEC_FLAG_MARK: u32 = 8; pub const EXEC_FLAG_SKIP_TRIGGERS: u32 = 16; pub const EXEC_FLAG_WITH_NO_DATA: u32 = 32; -pub const _BITS_SIGNUM_GENERIC_H: u32 = 1; -pub const SIGINT: u32 = 2; -pub const SIGILL: u32 = 4; -pub const SIGABRT: u32 = 6; -pub const SIGFPE: u32 = 8; -pub const SIGSEGV: u32 = 11; -pub const SIGTERM: u32 = 15; -pub const SIGHUP: u32 = 1; -pub const SIGQUIT: u32 = 3; -pub const SIGTRAP: u32 = 5; -pub const SIGKILL: u32 = 9; -pub const SIGPIPE: u32 = 13; -pub const SIGALRM: u32 = 14; -pub const SIGIOT: u32 = 6; -pub const _BITS_SIGNUM_ARCH_H: u32 = 1; -pub const SIGSTKFLT: u32 = 16; -pub const SIGPWR: u32 = 30; -pub const SIGBUS: u32 = 7; -pub const SIGSYS: u32 = 31; -pub const SIGURG: u32 = 23; -pub const SIGSTOP: u32 = 19; -pub const SIGTSTP: u32 = 20; -pub const SIGCONT: u32 = 18; -pub const SIGCHLD: u32 = 17; -pub const SIGTTIN: u32 = 21; -pub const SIGTTOU: u32 = 22; -pub const SIGPOLL: u32 = 29; -pub const SIGXFSZ: u32 = 25; -pub const SIGXCPU: u32 = 24; -pub const SIGVTALRM: u32 = 26; -pub const SIGPROF: u32 = 27; -pub const SIGUSR1: u32 = 10; -pub const SIGUSR2: u32 = 12; -pub const SIGWINCH: u32 = 28; -pub const SIGIO: u32 = 29; -pub const SIGCLD: u32 = 17; -pub const __SIGRTMIN: u32 = 32; -pub const __SIGRTMAX: u32 = 64; -pub const _NSIG: u32 = 65; -pub const __sig_atomic_t_defined: u32 = 1; -pub const __siginfo_t_defined: u32 = 1; -pub const __SI_MAX_SIZE: u32 = 128; -pub const _BITS_SIGINFO_ARCH_H: u32 = 1; -pub const __SI_ERRNO_THEN_CODE: u32 = 1; -pub const __SI_HAVE_SIGSYS: u32 = 1; -pub const _BITS_SIGINFO_CONSTS_H: u32 = 1; -pub const __SI_ASYNCIO_AFTER_SIGIO: u32 = 1; -pub const __sigevent_t_defined: u32 = 1; -pub const __SIGEV_MAX_SIZE: u32 = 64; -pub const _BITS_SIGEVENT_CONSTS_H: u32 = 1; -pub const NSIG: u32 = 65; -pub const _BITS_SIGACTION_H: u32 = 1; -pub const SA_NOCLDSTOP: u32 = 1; -pub const SA_NOCLDWAIT: u32 = 2; -pub const SA_SIGINFO: u32 = 4; -pub const SA_ONSTACK: u32 = 134217728; -pub const SA_RESTART: u32 = 268435456; -pub const SA_NODEFER: u32 = 1073741824; -pub const SA_RESETHAND: u32 = 2147483648; -pub const SA_INTERRUPT: u32 = 536870912; -pub const SA_NOMASK: u32 = 1073741824; -pub const SA_ONESHOT: u32 = 2147483648; -pub const SA_STACK: u32 = 134217728; -pub const SIG_BLOCK: u32 = 0; -pub const SIG_UNBLOCK: u32 = 1; -pub const SIG_SETMASK: u32 = 2; -pub const _BITS_SIGCONTEXT_H: u32 = 1; -pub const FP_XSTATE_MAGIC1: u32 = 1179670611; -pub const FP_XSTATE_MAGIC2: u32 = 1179670597; -pub const __stack_t_defined: u32 = 1; -pub const _SYS_UCONTEXT_H: u32 = 1; -pub const __NGREG: u32 = 23; -pub const NGREG: u32 = 23; -pub const _BITS_SIGSTACK_H: u32 = 1; -pub const MINSIGSTKSZ: u32 = 2048; -pub const SIGSTKSZ: u32 = 8192; -pub const _BITS_SS_FLAGS_H: u32 = 1; -pub const __sigstack_defined: u32 = 1; -pub const _BITS_SIGTHREAD_H: u32 = 1; pub const TZ_STRLEN_MAX: u32 = 255; pub const InvalidPid: i32 = -1; pub const USE_POSTGRES_DATES: u32 = 0; @@ -2154,7 +2649,13 @@ pub const MIN_XFN_CHARS: u32 = 16; pub const MAX_XFN_CHARS: u32 = 40; pub const VALID_XFN_CHARS: &[u8; 40usize] = b"0123456789ABCDEF.history.backup.partial\0"; pub const PGSTAT_NUM_PROGRESS_PARAM: u32 = 20; -pub const _SYS_UN_H: u32 = 1; +pub const SOL_LOCAL: u32 = 0; +pub const LOCAL_PEERCRED: u32 = 1; +pub const LOCAL_PEERPID: u32 = 2; +pub const LOCAL_PEEREPID: u32 = 3; +pub const LOCAL_PEERUUID: u32 = 4; +pub const LOCAL_PEEREUUID: u32 = 5; +pub const LOCAL_PEERTOKEN: u32 = 6; pub const MAX_STARTUP_PACKET_LENGTH: u32 = 10000; pub const AUTH_REQ_OK: u32 = 0; pub const AUTH_REQ_KRB4: u32 = 1; @@ -2324,6 +2825,7 @@ pub const XACT_COMPLETION_FORCE_SYNC_COMMIT: u32 = 2147483648; pub const EOH_HEADER_MAGIC: i32 = -1; pub const MAXDIM: u32 = 6; pub const EA_MAGIC: u32 = 689375833; +pub const MAX_KILOBYTES: u32 = 2147483647; pub const PG_AUTOCONF_FILENAME: &[u8; 21usize] = b"postgresql.auto.conf\0"; pub const GUC_QUALIFIER_SEPARATOR: u8 = 46u8; pub const GUC_LIST_INPUT: u32 = 1; @@ -2515,6 +3017,122 @@ pub const Natts_pg_enum: u32 = 4; pub const EnumOidIndexId: u32 = 3502; pub const EnumTypIdLabelIndexId: u32 = 3503; pub const EnumTypIdSortOrderIndexId: u32 = 3534; +pub const OperatorRelationId: u32 = 2617; +pub const Anum_pg_operator_oid: u32 = 1; +pub const Anum_pg_operator_oprname: u32 = 2; +pub const Anum_pg_operator_oprnamespace: u32 = 3; +pub const Anum_pg_operator_oprowner: u32 = 4; +pub const Anum_pg_operator_oprkind: u32 = 5; +pub const Anum_pg_operator_oprcanmerge: u32 = 6; +pub const Anum_pg_operator_oprcanhash: u32 = 7; +pub const Anum_pg_operator_oprleft: u32 = 8; +pub const Anum_pg_operator_oprright: u32 = 9; +pub const Anum_pg_operator_oprresult: u32 = 10; +pub const Anum_pg_operator_oprcom: u32 = 11; +pub const Anum_pg_operator_oprnegate: u32 = 12; +pub const Anum_pg_operator_oprcode: u32 = 13; +pub const Anum_pg_operator_oprrest: u32 = 14; +pub const Anum_pg_operator_oprjoin: u32 = 15; +pub const Natts_pg_operator: u32 = 15; +pub const BooleanNotEqualOperator: u32 = 85; +pub const BooleanEqualOperator: u32 = 91; +pub const Int4EqualOperator: u32 = 96; +pub const Int4LessOperator: u32 = 97; +pub const TextEqualOperator: u32 = 98; +pub const NameEqualTextOperator: u32 = 254; +pub const NameLessTextOperator: u32 = 255; +pub const NameGreaterEqualTextOperator: u32 = 257; +pub const TIDEqualOperator: u32 = 387; +pub const TIDLessOperator: u32 = 2799; +pub const TIDGreaterOperator: u32 = 2800; +pub const TIDLessEqOperator: u32 = 2801; +pub const TIDGreaterEqOperator: u32 = 2802; +pub const Int8LessOperator: u32 = 412; +pub const OID_NAME_REGEXEQ_OP: u32 = 639; +pub const OID_TEXT_REGEXEQ_OP: u32 = 641; +pub const TextLessOperator: u32 = 664; +pub const TextGreaterEqualOperator: u32 = 667; +pub const Float8LessOperator: u32 = 672; +pub const BpcharEqualOperator: u32 = 1054; +pub const OID_BPCHAR_REGEXEQ_OP: u32 = 1055; +pub const BpcharLessOperator: u32 = 1058; +pub const BpcharGreaterEqualOperator: u32 = 1061; +pub const ARRAY_EQ_OP: u32 = 1070; +pub const ARRAY_LT_OP: u32 = 1072; +pub const ARRAY_GT_OP: u32 = 1073; +pub const OID_NAME_LIKE_OP: u32 = 1207; +pub const OID_TEXT_LIKE_OP: u32 = 1209; +pub const OID_BPCHAR_LIKE_OP: u32 = 1211; +pub const OID_NAME_ICREGEXEQ_OP: u32 = 1226; +pub const OID_TEXT_ICREGEXEQ_OP: u32 = 1228; +pub const OID_BPCHAR_ICREGEXEQ_OP: u32 = 1234; +pub const OID_INET_SUB_OP: u32 = 931; +pub const OID_INET_SUBEQ_OP: u32 = 932; +pub const OID_INET_SUP_OP: u32 = 933; +pub const OID_INET_SUPEQ_OP: u32 = 934; +pub const OID_INET_OVERLAP_OP: u32 = 3552; +pub const OID_NAME_ICLIKE_OP: u32 = 1625; +pub const OID_TEXT_ICLIKE_OP: u32 = 1627; +pub const OID_BPCHAR_ICLIKE_OP: u32 = 1629; +pub const ByteaEqualOperator: u32 = 1955; +pub const ByteaLessOperator: u32 = 1957; +pub const ByteaGreaterEqualOperator: u32 = 1960; +pub const OID_BYTEA_LIKE_OP: u32 = 2016; +pub const TextPatternLessOperator: u32 = 2314; +pub const TextPatternGreaterEqualOperator: u32 = 2317; +pub const BpcharPatternLessOperator: u32 = 2326; +pub const BpcharPatternGreaterEqualOperator: u32 = 2329; +pub const OID_ARRAY_OVERLAP_OP: u32 = 2750; +pub const OID_ARRAY_CONTAINS_OP: u32 = 2751; +pub const OID_ARRAY_CONTAINED_OP: u32 = 2752; +pub const RECORD_EQ_OP: u32 = 2988; +pub const RECORD_LT_OP: u32 = 2990; +pub const RECORD_GT_OP: u32 = 2991; +pub const OID_RANGE_LESS_OP: u32 = 3884; +pub const OID_RANGE_LESS_EQUAL_OP: u32 = 3885; +pub const OID_RANGE_GREATER_EQUAL_OP: u32 = 3886; +pub const OID_RANGE_GREATER_OP: u32 = 3887; +pub const OID_RANGE_OVERLAP_OP: u32 = 3888; +pub const OID_RANGE_CONTAINS_ELEM_OP: u32 = 3889; +pub const OID_RANGE_CONTAINS_OP: u32 = 3890; +pub const OID_RANGE_ELEM_CONTAINED_OP: u32 = 3891; +pub const OID_RANGE_CONTAINED_OP: u32 = 3892; +pub const OID_RANGE_LEFT_OP: u32 = 3893; +pub const OID_RANGE_RIGHT_OP: u32 = 3894; +pub const OID_RANGE_OVERLAPS_LEFT_OP: u32 = 3895; +pub const OID_RANGE_OVERLAPS_RIGHT_OP: u32 = 3896; +pub const OID_MULTIRANGE_LESS_OP: u32 = 2862; +pub const OID_MULTIRANGE_LESS_EQUAL_OP: u32 = 2863; +pub const OID_MULTIRANGE_GREATER_EQUAL_OP: u32 = 2864; +pub const OID_MULTIRANGE_GREATER_OP: u32 = 2865; +pub const OID_RANGE_OVERLAPS_MULTIRANGE_OP: u32 = 2866; +pub const OID_MULTIRANGE_OVERLAPS_RANGE_OP: u32 = 2867; +pub const OID_MULTIRANGE_OVERLAPS_MULTIRANGE_OP: u32 = 2868; +pub const OID_MULTIRANGE_CONTAINS_ELEM_OP: u32 = 2869; +pub const OID_MULTIRANGE_CONTAINS_RANGE_OP: u32 = 2870; +pub const OID_MULTIRANGE_CONTAINS_MULTIRANGE_OP: u32 = 2871; +pub const OID_MULTIRANGE_ELEM_CONTAINED_OP: u32 = 2872; +pub const OID_MULTIRANGE_RANGE_CONTAINED_OP: u32 = 2873; +pub const OID_MULTIRANGE_MULTIRANGE_CONTAINED_OP: u32 = 2874; +pub const OID_RANGE_CONTAINS_MULTIRANGE_OP: u32 = 4539; +pub const OID_RANGE_MULTIRANGE_CONTAINED_OP: u32 = 4540; +pub const OID_RANGE_OVERLAPS_LEFT_MULTIRANGE_OP: u32 = 2875; +pub const OID_MULTIRANGE_OVERLAPS_LEFT_RANGE_OP: u32 = 2876; +pub const OID_MULTIRANGE_OVERLAPS_LEFT_MULTIRANGE_OP: u32 = 2877; +pub const OID_RANGE_OVERLAPS_RIGHT_MULTIRANGE_OP: u32 = 3585; +pub const OID_MULTIRANGE_OVERLAPS_RIGHT_RANGE_OP: u32 = 4035; +pub const OID_MULTIRANGE_OVERLAPS_RIGHT_MULTIRANGE_OP: u32 = 4142; +pub const OID_RANGE_ADJACENT_MULTIRANGE_OP: u32 = 4179; +pub const OID_MULTIRANGE_ADJACENT_RANGE_OP: u32 = 4180; +pub const OID_MULTIRANGE_ADJACENT_MULTIRANGE_OP: u32 = 4198; +pub const OID_RANGE_LEFT_MULTIRANGE_OP: u32 = 4395; +pub const OID_MULTIRANGE_LEFT_RANGE_OP: u32 = 4396; +pub const OID_MULTIRANGE_LEFT_MULTIRANGE_OP: u32 = 4397; +pub const OID_RANGE_RIGHT_MULTIRANGE_OP: u32 = 4398; +pub const OID_MULTIRANGE_RIGHT_RANGE_OP: u32 = 4399; +pub const OID_MULTIRANGE_RIGHT_MULTIRANGE_OP: u32 = 4400; +pub const OperatorOidIndexId: u32 = 2688; +pub const OperatorNameNspIndexId: u32 = 2689; pub const ProcedureRelationId: u32 = 1255; pub const ProcedureRelation_Rowtype_Id: u32 = 81; pub const Anum_pg_proc_oid: u32 = 1; @@ -2757,7 +3375,6 @@ pub const PROC_IN_SAFE_IC: u32 = 4; pub const PROC_VACUUM_FOR_WRAPAROUND: u32 = 8; pub const PROC_IN_LOGICAL_DECODING: u32 = 16; pub const PROC_VACUUM_STATE_MASK: u32 = 14; -pub const PROC_COPYABLE_FLAGS: u32 = 6; pub const FP_LOCK_SLOTS_PER_BACKEND: u32 = 16; pub const INVALID_PGPROCNO: u32 = 2147483647; pub const NUM_AUXILIARY_PROCS: u32 = 5; @@ -3079,88 +3696,71 @@ pub const TYPECACHE_HASH_EXTENDED_PROC_FINFO: u32 = 32768; pub const TYPECACHE_MULTIRANGE_INFO: u32 = 65536; pub type Oid = ::std::os::raw::c_uint; pub type pg_int64 = ::std::os::raw::c_long; -pub type va_list = __builtin_va_list; -pub type __gnuc_va_list = __builtin_va_list; -pub type __u_char = ::std::os::raw::c_uchar; -pub type __u_short = ::std::os::raw::c_ushort; -pub type __u_int = ::std::os::raw::c_uint; -pub type __u_long = ::std::os::raw::c_ulong; pub type __int8_t = ::std::os::raw::c_schar; pub type __uint8_t = ::std::os::raw::c_uchar; pub type __int16_t = ::std::os::raw::c_short; pub type __uint16_t = ::std::os::raw::c_ushort; pub type __int32_t = ::std::os::raw::c_int; pub type __uint32_t = ::std::os::raw::c_uint; -pub type __int64_t = ::std::os::raw::c_long; -pub type __uint64_t = ::std::os::raw::c_ulong; -pub type __int_least8_t = __int8_t; -pub type __uint_least8_t = __uint8_t; -pub type __int_least16_t = __int16_t; -pub type __uint_least16_t = __uint16_t; -pub type __int_least32_t = __int32_t; -pub type __uint_least32_t = __uint32_t; -pub type __int_least64_t = __int64_t; -pub type __uint_least64_t = __uint64_t; -pub type __quad_t = ::std::os::raw::c_long; -pub type __u_quad_t = ::std::os::raw::c_ulong; -pub type __intmax_t = ::std::os::raw::c_long; -pub type __uintmax_t = ::std::os::raw::c_ulong; -pub type __dev_t = ::std::os::raw::c_ulong; -pub type __uid_t = ::std::os::raw::c_uint; -pub type __gid_t = ::std::os::raw::c_uint; -pub type __ino_t = ::std::os::raw::c_ulong; -pub type __ino64_t = ::std::os::raw::c_ulong; -pub type __mode_t = ::std::os::raw::c_uint; -pub type __nlink_t = ::std::os::raw::c_ulong; -pub type __off_t = ::std::os::raw::c_long; -pub type __off64_t = ::std::os::raw::c_long; -pub type __pid_t = ::std::os::raw::c_int; -#[repr(C)] -#[derive(Debug, Default, Copy, Clone)] -pub struct __fsid_t { - pub __val: [::std::os::raw::c_int; 2usize], -} -pub type __clock_t = ::std::os::raw::c_long; -pub type __rlim_t = ::std::os::raw::c_ulong; -pub type __rlim64_t = ::std::os::raw::c_ulong; -pub type __id_t = ::std::os::raw::c_uint; -pub type __time_t = ::std::os::raw::c_long; -pub type __useconds_t = ::std::os::raw::c_uint; -pub type __suseconds_t = ::std::os::raw::c_long; -pub type __suseconds64_t = ::std::os::raw::c_long; -pub type __daddr_t = ::std::os::raw::c_int; -pub type __key_t = ::std::os::raw::c_int; -pub type __clockid_t = ::std::os::raw::c_int; -pub type __timer_t = *mut ::std::os::raw::c_void; -pub type __blksize_t = ::std::os::raw::c_long; -pub type __blkcnt_t = ::std::os::raw::c_long; -pub type __blkcnt64_t = ::std::os::raw::c_long; -pub type __fsblkcnt_t = ::std::os::raw::c_ulong; -pub type __fsblkcnt64_t = ::std::os::raw::c_ulong; -pub type __fsfilcnt_t = ::std::os::raw::c_ulong; -pub type __fsfilcnt64_t = ::std::os::raw::c_ulong; -pub type __fsword_t = ::std::os::raw::c_long; -pub type __ssize_t = ::std::os::raw::c_long; -pub type __syscall_slong_t = ::std::os::raw::c_long; -pub type __syscall_ulong_t = ::std::os::raw::c_ulong; -pub type __loff_t = __off64_t; -pub type __caddr_t = *mut ::std::os::raw::c_char; -pub type __intptr_t = ::std::os::raw::c_long; -pub type __socklen_t = ::std::os::raw::c_uint; -pub type __sig_atomic_t = ::std::os::raw::c_int; +pub type __int64_t = ::std::os::raw::c_longlong; +pub type __uint64_t = ::std::os::raw::c_ulonglong; +pub type __darwin_intptr_t = ::std::os::raw::c_long; +pub type __darwin_natural_t = ::std::os::raw::c_uint; +pub type __darwin_ct_rune_t = ::std::os::raw::c_int; #[repr(C)] #[derive(Copy, Clone)] -pub struct __mbstate_t { - pub __count: ::std::os::raw::c_int, - pub __value: __mbstate_t__bindgen_ty_1, +pub union __mbstate_t { + pub __mbstate8: [::std::os::raw::c_char; 128usize], + pub _mbstateL: ::std::os::raw::c_longlong, } +impl Default for __mbstate_t { + fn default() -> Self { + let mut s = ::std::mem::MaybeUninit::::uninit(); + unsafe { + ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); + s.assume_init() + } + } +} +pub type __darwin_mbstate_t = __mbstate_t; +pub type __darwin_ptrdiff_t = ::std::os::raw::c_long; +pub type __darwin_size_t = ::std::os::raw::c_ulong; +pub type __darwin_va_list = __builtin_va_list; +pub type __darwin_wchar_t = ::std::os::raw::c_int; +pub type __darwin_rune_t = __darwin_wchar_t; +pub type __darwin_wint_t = ::std::os::raw::c_int; +pub type __darwin_clock_t = ::std::os::raw::c_ulong; +pub type __darwin_socklen_t = __uint32_t; +pub type __darwin_ssize_t = ::std::os::raw::c_long; +pub type __darwin_time_t = ::std::os::raw::c_long; +pub type __darwin_blkcnt_t = __int64_t; +pub type __darwin_blksize_t = __int32_t; +pub type __darwin_dev_t = __int32_t; +pub type __darwin_fsblkcnt_t = ::std::os::raw::c_uint; +pub type __darwin_fsfilcnt_t = ::std::os::raw::c_uint; +pub type __darwin_gid_t = __uint32_t; +pub type __darwin_id_t = __uint32_t; +pub type __darwin_ino64_t = __uint64_t; +pub type __darwin_ino_t = __darwin_ino64_t; +pub type __darwin_mach_port_name_t = __darwin_natural_t; +pub type __darwin_mach_port_t = __darwin_mach_port_name_t; +pub type __darwin_mode_t = __uint16_t; +pub type __darwin_off_t = __int64_t; +pub type __darwin_pid_t = __int32_t; +pub type __darwin_sigset_t = __uint32_t; +pub type __darwin_suseconds_t = __int32_t; +pub type __darwin_uid_t = __uint32_t; +pub type __darwin_useconds_t = __uint32_t; +pub type __darwin_uuid_t = [::std::os::raw::c_uchar; 16usize]; +pub type __darwin_uuid_string_t = [::std::os::raw::c_char; 37usize]; #[repr(C)] -#[derive(Copy, Clone)] -pub union __mbstate_t__bindgen_ty_1 { - pub __wch: ::std::os::raw::c_uint, - pub __wchb: [::std::os::raw::c_char; 4usize], +#[derive(Debug, Copy, Clone)] +pub struct __darwin_pthread_handler_rec { + pub __routine: ::std::option::Option, + pub __arg: *mut ::std::os::raw::c_void, + pub __next: *mut __darwin_pthread_handler_rec, } -impl Default for __mbstate_t__bindgen_ty_1 { +impl Default for __darwin_pthread_handler_rec { fn default() -> Self { let mut s = ::std::mem::MaybeUninit::::uninit(); unsafe { @@ -3169,7 +3769,13 @@ impl Default for __mbstate_t__bindgen_ty_1 { } } } -impl Default for __mbstate_t { +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _opaque_pthread_attr_t { + pub __sig: ::std::os::raw::c_long, + pub __opaque: [::std::os::raw::c_char; 56usize], +} +impl Default for _opaque_pthread_attr_t { fn default() -> Self { let mut s = ::std::mem::MaybeUninit::::uninit(); unsafe { @@ -3179,12 +3785,12 @@ impl Default for __mbstate_t { } } #[repr(C)] -#[derive(Copy, Clone)] -pub struct _G_fpos_t { - pub __pos: __off_t, - pub __state: __mbstate_t, +#[derive(Debug, Copy, Clone)] +pub struct _opaque_pthread_cond_t { + pub __sig: ::std::os::raw::c_long, + pub __opaque: [::std::os::raw::c_char; 40usize], } -impl Default for _G_fpos_t { +impl Default for _opaque_pthread_cond_t { fn default() -> Self { let mut s = ::std::mem::MaybeUninit::::uninit(); unsafe { @@ -3193,14 +3799,19 @@ impl Default for _G_fpos_t { } } } -pub type __fpos_t = _G_fpos_t; #[repr(C)] -#[derive(Copy, Clone)] -pub struct _G_fpos64_t { - pub __pos: __off64_t, - pub __state: __mbstate_t, +#[derive(Debug, Default, Copy, Clone)] +pub struct _opaque_pthread_condattr_t { + pub __sig: ::std::os::raw::c_long, + pub __opaque: [::std::os::raw::c_char; 8usize], } -impl Default for _G_fpos64_t { +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _opaque_pthread_mutex_t { + pub __sig: ::std::os::raw::c_long, + pub __opaque: [::std::os::raw::c_char; 56usize], +} +impl Default for _opaque_pthread_mutex_t { fn default() -> Self { let mut s = ::std::mem::MaybeUninit::::uninit(); unsafe { @@ -3209,59 +3820,175 @@ impl Default for _G_fpos64_t { } } } -pub type __fpos64_t = _G_fpos64_t; -pub type __FILE = _IO_FILE; -pub type FILE = _IO_FILE; +#[repr(C)] +#[derive(Debug, Default, Copy, Clone)] +pub struct _opaque_pthread_mutexattr_t { + pub __sig: ::std::os::raw::c_long, + pub __opaque: [::std::os::raw::c_char; 8usize], +} +#[repr(C)] +#[derive(Debug, Default, Copy, Clone)] +pub struct _opaque_pthread_once_t { + pub __sig: ::std::os::raw::c_long, + pub __opaque: [::std::os::raw::c_char; 8usize], +} #[repr(C)] #[derive(Debug, Copy, Clone)] -pub struct _IO_marker { - _unused: [u8; 0], +pub struct _opaque_pthread_rwlock_t { + pub __sig: ::std::os::raw::c_long, + pub __opaque: [::std::os::raw::c_char; 192usize], +} +impl Default for _opaque_pthread_rwlock_t { + fn default() -> Self { + let mut s = ::std::mem::MaybeUninit::::uninit(); + unsafe { + ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); + s.assume_init() + } + } +} +#[repr(C)] +#[derive(Debug, Default, Copy, Clone)] +pub struct _opaque_pthread_rwlockattr_t { + pub __sig: ::std::os::raw::c_long, + pub __opaque: [::std::os::raw::c_char; 16usize], } #[repr(C)] #[derive(Debug, Copy, Clone)] -pub struct _IO_codecvt { - _unused: [u8; 0], +pub struct _opaque_pthread_t { + pub __sig: ::std::os::raw::c_long, + pub __cleanup_stack: *mut __darwin_pthread_handler_rec, + pub __opaque: [::std::os::raw::c_char; 8176usize], +} +impl Default for _opaque_pthread_t { + fn default() -> Self { + let mut s = ::std::mem::MaybeUninit::::uninit(); + unsafe { + ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); + s.assume_init() + } + } +} +pub type __darwin_pthread_attr_t = _opaque_pthread_attr_t; +pub type __darwin_pthread_cond_t = _opaque_pthread_cond_t; +pub type __darwin_pthread_condattr_t = _opaque_pthread_condattr_t; +pub type __darwin_pthread_key_t = ::std::os::raw::c_ulong; +pub type __darwin_pthread_mutex_t = _opaque_pthread_mutex_t; +pub type __darwin_pthread_mutexattr_t = _opaque_pthread_mutexattr_t; +pub type __darwin_pthread_once_t = _opaque_pthread_once_t; +pub type __darwin_pthread_rwlock_t = _opaque_pthread_rwlock_t; +pub type __darwin_pthread_rwlockattr_t = _opaque_pthread_rwlockattr_t; +pub type __darwin_pthread_t = *mut _opaque_pthread_t; +pub type __darwin_nl_item = ::std::os::raw::c_int; +pub type __darwin_wctrans_t = ::std::os::raw::c_int; +pub type __darwin_wctype_t = __uint32_t; +pub type u_int8_t = ::std::os::raw::c_uchar; +pub type u_int16_t = ::std::os::raw::c_ushort; +pub type u_int32_t = ::std::os::raw::c_uint; +pub type u_int64_t = ::std::os::raw::c_ulonglong; +pub type register_t = i64; +pub type user_addr_t = u_int64_t; +pub type user_size_t = u_int64_t; +pub type user_ssize_t = i64; +pub type user_long_t = i64; +pub type user_ulong_t = u_int64_t; +pub type user_time_t = i64; +pub type user_off_t = i64; +pub type syscall_arg_t = u_int64_t; +pub type va_list = __darwin_va_list; +#[pg_guard] +extern "C" { + pub fn renameat( + arg1: ::std::os::raw::c_int, + arg2: *const ::std::os::raw::c_char, + arg3: ::std::os::raw::c_int, + arg4: *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; +} +#[pg_guard] +extern "C" { + pub fn renamex_np( + arg1: *const ::std::os::raw::c_char, + arg2: *const ::std::os::raw::c_char, + arg3: ::std::os::raw::c_uint, + ) -> ::std::os::raw::c_int; +} +#[pg_guard] +extern "C" { + pub fn renameatx_np( + arg1: ::std::os::raw::c_int, + arg2: *const ::std::os::raw::c_char, + arg3: ::std::os::raw::c_int, + arg4: *const ::std::os::raw::c_char, + arg5: ::std::os::raw::c_uint, + ) -> ::std::os::raw::c_int; +} +pub type fpos_t = __darwin_off_t; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct __sbuf { + pub _base: *mut ::std::os::raw::c_uchar, + pub _size: ::std::os::raw::c_int, +} +impl Default for __sbuf { + fn default() -> Self { + let mut s = ::std::mem::MaybeUninit::::uninit(); + unsafe { + ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); + s.assume_init() + } + } } #[repr(C)] #[derive(Debug, Copy, Clone)] -pub struct _IO_wide_data { +pub struct __sFILEX { _unused: [u8; 0], } -pub type _IO_lock_t = ::std::os::raw::c_void; #[repr(C)] #[derive(Debug, Copy, Clone)] -pub struct _IO_FILE { - pub _flags: ::std::os::raw::c_int, - pub _IO_read_ptr: *mut ::std::os::raw::c_char, - pub _IO_read_end: *mut ::std::os::raw::c_char, - pub _IO_read_base: *mut ::std::os::raw::c_char, - pub _IO_write_base: *mut ::std::os::raw::c_char, - pub _IO_write_ptr: *mut ::std::os::raw::c_char, - pub _IO_write_end: *mut ::std::os::raw::c_char, - pub _IO_buf_base: *mut ::std::os::raw::c_char, - pub _IO_buf_end: *mut ::std::os::raw::c_char, - pub _IO_save_base: *mut ::std::os::raw::c_char, - pub _IO_backup_base: *mut ::std::os::raw::c_char, - pub _IO_save_end: *mut ::std::os::raw::c_char, - pub _markers: *mut _IO_marker, - pub _chain: *mut _IO_FILE, - pub _fileno: ::std::os::raw::c_int, - pub _flags2: ::std::os::raw::c_int, - pub _old_offset: __off_t, - pub _cur_column: ::std::os::raw::c_ushort, - pub _vtable_offset: ::std::os::raw::c_schar, - pub _shortbuf: [::std::os::raw::c_char; 1usize], - pub _lock: *mut _IO_lock_t, - pub _offset: __off64_t, - pub _codecvt: *mut _IO_codecvt, - pub _wide_data: *mut _IO_wide_data, - pub _freeres_list: *mut _IO_FILE, - pub _freeres_buf: *mut ::std::os::raw::c_void, - pub __pad5: usize, - pub _mode: ::std::os::raw::c_int, - pub _unused2: [::std::os::raw::c_char; 20usize], +pub struct __sFILE { + pub _p: *mut ::std::os::raw::c_uchar, + pub _r: ::std::os::raw::c_int, + pub _w: ::std::os::raw::c_int, + pub _flags: ::std::os::raw::c_short, + pub _file: ::std::os::raw::c_short, + pub _bf: __sbuf, + pub _lbfsize: ::std::os::raw::c_int, + pub _cookie: *mut ::std::os::raw::c_void, + pub _close: ::std::option::Option< + unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int, + >, + pub _read: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut ::std::os::raw::c_void, + arg2: *mut ::std::os::raw::c_char, + arg3: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int, + >, + pub _seek: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut ::std::os::raw::c_void, + arg2: fpos_t, + arg3: ::std::os::raw::c_int, + ) -> fpos_t, + >, + pub _write: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut ::std::os::raw::c_void, + arg2: *const ::std::os::raw::c_char, + arg3: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int, + >, + pub _ub: __sbuf, + pub _extra: *mut __sFILEX, + pub _ur: ::std::os::raw::c_int, + pub _ubuf: [::std::os::raw::c_uchar; 3usize], + pub _nbuf: [::std::os::raw::c_uchar; 1usize], + pub _lb: __sbuf, + pub _blksize: ::std::os::raw::c_int, + pub _offset: fpos_t, } -impl Default for _IO_FILE { +impl Default for __sFILE { fn default() -> Self { let mut s = ::std::mem::MaybeUninit::::uninit(); unsafe { @@ -3270,766 +3997,602 @@ impl Default for _IO_FILE { } } } -pub type off_t = __off_t; -pub type fpos_t = __fpos_t; +pub type FILE = __sFILE; #[pg_guard] extern "C" { - pub static mut stdin: *mut FILE; + pub static mut __stdinp: *mut FILE; } #[pg_guard] extern "C" { - pub static mut stdout: *mut FILE; + pub static mut __stdoutp: *mut FILE; } #[pg_guard] extern "C" { - pub static mut stderr: *mut FILE; + pub static mut __stderrp: *mut FILE; } #[pg_guard] extern "C" { - pub fn remove(__filename: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; + pub fn clearerr(arg1: *mut FILE); } #[pg_guard] extern "C" { - pub fn rename( - __old: *const ::std::os::raw::c_char, - __new: *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; + pub fn fclose(arg1: *mut FILE) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn renameat( - __oldfd: ::std::os::raw::c_int, - __old: *const ::std::os::raw::c_char, - __newfd: ::std::os::raw::c_int, - __new: *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; + pub fn feof(arg1: *mut FILE) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn fclose(__stream: *mut FILE) -> ::std::os::raw::c_int; + pub fn ferror(arg1: *mut FILE) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn tmpfile() -> *mut FILE; + pub fn fflush(arg1: *mut FILE) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn tmpnam(arg1: *mut ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; + pub fn fgetc(arg1: *mut FILE) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn tmpnam_r(__s: *mut ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; + pub fn fgetpos(arg1: *mut FILE, arg2: *mut fpos_t) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn tempnam( - __dir: *const ::std::os::raw::c_char, - __pfx: *const ::std::os::raw::c_char, + pub fn fgets( + arg1: *mut ::std::os::raw::c_char, + arg2: ::std::os::raw::c_int, + arg3: *mut FILE, ) -> *mut ::std::os::raw::c_char; } #[pg_guard] -extern "C" { - pub fn fflush(__stream: *mut FILE) -> ::std::os::raw::c_int; -} -#[pg_guard] -extern "C" { - pub fn fflush_unlocked(__stream: *mut FILE) -> ::std::os::raw::c_int; -} -#[pg_guard] extern "C" { pub fn fopen( __filename: *const ::std::os::raw::c_char, - __modes: *const ::std::os::raw::c_char, - ) -> *mut FILE; -} -#[pg_guard] -extern "C" { - pub fn freopen( - __filename: *const ::std::os::raw::c_char, - __modes: *const ::std::os::raw::c_char, - __stream: *mut FILE, - ) -> *mut FILE; -} -#[pg_guard] -extern "C" { - pub fn fdopen(__fd: ::std::os::raw::c_int, __modes: *const ::std::os::raw::c_char) - -> *mut FILE; -} -#[pg_guard] -extern "C" { - pub fn fmemopen( - __s: *mut ::std::os::raw::c_void, - __len: usize, - __modes: *const ::std::os::raw::c_char, - ) -> *mut FILE; -} -#[pg_guard] -extern "C" { - pub fn open_memstream( - __bufloc: *mut *mut ::std::os::raw::c_char, - __sizeloc: *mut usize, + __mode: *const ::std::os::raw::c_char, ) -> *mut FILE; } #[pg_guard] extern "C" { - pub fn setbuf(__stream: *mut FILE, __buf: *mut ::std::os::raw::c_char); -} -#[pg_guard] -extern "C" { - pub fn setvbuf( - __stream: *mut FILE, - __buf: *mut ::std::os::raw::c_char, - __modes: ::std::os::raw::c_int, - __n: usize, + pub fn fprintf( + arg1: *mut FILE, + arg2: *const ::std::os::raw::c_char, + ... ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn setbuffer(__stream: *mut FILE, __buf: *mut ::std::os::raw::c_char, __size: usize); + pub fn fputc(arg1: ::std::os::raw::c_int, arg2: *mut FILE) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn setlinebuf(__stream: *mut FILE); + pub fn fputs(arg1: *const ::std::os::raw::c_char, arg2: *mut FILE) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn fprintf( + pub fn fread( + __ptr: *mut ::std::os::raw::c_void, + __size: ::std::os::raw::c_ulong, + __nitems: ::std::os::raw::c_ulong, __stream: *mut FILE, - __format: *const ::std::os::raw::c_char, - ... - ) -> ::std::os::raw::c_int; + ) -> ::std::os::raw::c_ulong; } #[pg_guard] extern "C" { - pub fn printf(__format: *const ::std::os::raw::c_char, ...) -> ::std::os::raw::c_int; + pub fn freopen( + arg1: *const ::std::os::raw::c_char, + arg2: *const ::std::os::raw::c_char, + arg3: *mut FILE, + ) -> *mut FILE; } #[pg_guard] extern "C" { - pub fn sprintf( - __s: *mut ::std::os::raw::c_char, - __format: *const ::std::os::raw::c_char, + pub fn fscanf( + arg1: *mut FILE, + arg2: *const ::std::os::raw::c_char, ... ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn vfprintf( - __s: *mut FILE, - __format: *const ::std::os::raw::c_char, - __arg: *mut __va_list_tag, + pub fn fseek( + arg1: *mut FILE, + arg2: ::std::os::raw::c_long, + arg3: ::std::os::raw::c_int, ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn vprintf( - __format: *const ::std::os::raw::c_char, - __arg: *mut __va_list_tag, - ) -> ::std::os::raw::c_int; + pub fn fsetpos(arg1: *mut FILE, arg2: *const fpos_t) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn vsprintf( - __s: *mut ::std::os::raw::c_char, - __format: *const ::std::os::raw::c_char, - __arg: *mut __va_list_tag, - ) -> ::std::os::raw::c_int; + pub fn ftell(arg1: *mut FILE) -> ::std::os::raw::c_long; } #[pg_guard] extern "C" { - pub fn snprintf( - __s: *mut ::std::os::raw::c_char, - __maxlen: ::std::os::raw::c_ulong, - __format: *const ::std::os::raw::c_char, - ... - ) -> ::std::os::raw::c_int; + pub fn fwrite( + __ptr: *const ::std::os::raw::c_void, + __size: ::std::os::raw::c_ulong, + __nitems: ::std::os::raw::c_ulong, + __stream: *mut FILE, + ) -> ::std::os::raw::c_ulong; } #[pg_guard] extern "C" { - pub fn vsnprintf( - __s: *mut ::std::os::raw::c_char, - __maxlen: ::std::os::raw::c_ulong, - __format: *const ::std::os::raw::c_char, - __arg: *mut __va_list_tag, - ) -> ::std::os::raw::c_int; + pub fn getc(arg1: *mut FILE) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn vdprintf( - __fd: ::std::os::raw::c_int, - __fmt: *const ::std::os::raw::c_char, - __arg: *mut __va_list_tag, - ) -> ::std::os::raw::c_int; + pub fn getchar() -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn dprintf( - __fd: ::std::os::raw::c_int, - __fmt: *const ::std::os::raw::c_char, - ... - ) -> ::std::os::raw::c_int; + pub fn gets(arg1: *mut ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; } #[pg_guard] extern "C" { - pub fn fscanf( - __stream: *mut FILE, - __format: *const ::std::os::raw::c_char, - ... - ) -> ::std::os::raw::c_int; + pub fn perror(arg1: *const ::std::os::raw::c_char); } #[pg_guard] extern "C" { - pub fn scanf(__format: *const ::std::os::raw::c_char, ...) -> ::std::os::raw::c_int; + pub fn printf(arg1: *const ::std::os::raw::c_char, ...) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn sscanf( - __s: *const ::std::os::raw::c_char, - __format: *const ::std::os::raw::c_char, - ... - ) -> ::std::os::raw::c_int; + pub fn putc(arg1: ::std::os::raw::c_int, arg2: *mut FILE) -> ::std::os::raw::c_int; } -pub type _Float32 = f32; -pub type _Float64 = f64; -pub type _Float32x = f64; -pub type _Float64x = u128; #[pg_guard] extern "C" { - #[link_name = "\u{1}__isoc99_fscanf"] - pub fn fscanf1( - __stream: *mut FILE, - __format: *const ::std::os::raw::c_char, - ... - ) -> ::std::os::raw::c_int; + pub fn putchar(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - #[link_name = "\u{1}__isoc99_scanf"] - pub fn scanf1(__format: *const ::std::os::raw::c_char, ...) -> ::std::os::raw::c_int; + pub fn puts(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - #[link_name = "\u{1}__isoc99_sscanf"] - pub fn sscanf1( - __s: *const ::std::os::raw::c_char, - __format: *const ::std::os::raw::c_char, - ... - ) -> ::std::os::raw::c_int; + pub fn remove(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn vfscanf( - __s: *mut FILE, - __format: *const ::std::os::raw::c_char, - __arg: *mut __va_list_tag, + pub fn rename( + __old: *const ::std::os::raw::c_char, + __new: *const ::std::os::raw::c_char, ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn vscanf( - __format: *const ::std::os::raw::c_char, - __arg: *mut __va_list_tag, - ) -> ::std::os::raw::c_int; + pub fn rewind(arg1: *mut FILE); } #[pg_guard] extern "C" { - pub fn vsscanf( - __s: *const ::std::os::raw::c_char, - __format: *const ::std::os::raw::c_char, - __arg: *mut __va_list_tag, - ) -> ::std::os::raw::c_int; + pub fn scanf(arg1: *const ::std::os::raw::c_char, ...) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - #[link_name = "\u{1}__isoc99_vfscanf"] - pub fn vfscanf1( - __s: *mut FILE, - __format: *const ::std::os::raw::c_char, - __arg: *mut __va_list_tag, - ) -> ::std::os::raw::c_int; + pub fn setbuf(arg1: *mut FILE, arg2: *mut ::std::os::raw::c_char); } #[pg_guard] extern "C" { - #[link_name = "\u{1}__isoc99_vscanf"] - pub fn vscanf1( - __format: *const ::std::os::raw::c_char, - __arg: *mut __va_list_tag, + pub fn setvbuf( + arg1: *mut FILE, + arg2: *mut ::std::os::raw::c_char, + arg3: ::std::os::raw::c_int, + arg4: usize, ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - #[link_name = "\u{1}__isoc99_vsscanf"] - pub fn vsscanf1( - __s: *const ::std::os::raw::c_char, - __format: *const ::std::os::raw::c_char, - __arg: *mut __va_list_tag, + pub fn sprintf( + arg1: *mut ::std::os::raw::c_char, + arg2: *const ::std::os::raw::c_char, + ... ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn fgetc(__stream: *mut FILE) -> ::std::os::raw::c_int; + pub fn sscanf( + arg1: *const ::std::os::raw::c_char, + arg2: *const ::std::os::raw::c_char, + ... + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn getc(__stream: *mut FILE) -> ::std::os::raw::c_int; + pub fn tmpfile() -> *mut FILE; } #[pg_guard] extern "C" { - pub fn getchar() -> ::std::os::raw::c_int; + pub fn tmpnam(arg1: *mut ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; } #[pg_guard] extern "C" { - pub fn getc_unlocked(__stream: *mut FILE) -> ::std::os::raw::c_int; + pub fn ungetc(arg1: ::std::os::raw::c_int, arg2: *mut FILE) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn getchar_unlocked() -> ::std::os::raw::c_int; + pub fn vfprintf( + arg1: *mut FILE, + arg2: *const ::std::os::raw::c_char, + arg3: __builtin_va_list, + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn fgetc_unlocked(__stream: *mut FILE) -> ::std::os::raw::c_int; + pub fn vprintf( + arg1: *const ::std::os::raw::c_char, + arg2: __builtin_va_list, + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn fputc(__c: ::std::os::raw::c_int, __stream: *mut FILE) -> ::std::os::raw::c_int; + pub fn vsprintf( + arg1: *mut ::std::os::raw::c_char, + arg2: *const ::std::os::raw::c_char, + arg3: __builtin_va_list, + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn putc(__c: ::std::os::raw::c_int, __stream: *mut FILE) -> ::std::os::raw::c_int; + pub fn ctermid(arg1: *mut ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; } #[pg_guard] extern "C" { - pub fn putchar(__c: ::std::os::raw::c_int) -> ::std::os::raw::c_int; + pub fn fdopen(arg1: ::std::os::raw::c_int, arg2: *const ::std::os::raw::c_char) -> *mut FILE; } #[pg_guard] extern "C" { - pub fn fputc_unlocked(__c: ::std::os::raw::c_int, __stream: *mut FILE) - -> ::std::os::raw::c_int; + pub fn fileno(arg1: *mut FILE) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn putc_unlocked(__c: ::std::os::raw::c_int, __stream: *mut FILE) -> ::std::os::raw::c_int; + pub fn pclose(arg1: *mut FILE) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn putchar_unlocked(__c: ::std::os::raw::c_int) -> ::std::os::raw::c_int; + pub fn popen( + arg1: *const ::std::os::raw::c_char, + arg2: *const ::std::os::raw::c_char, + ) -> *mut FILE; } #[pg_guard] extern "C" { - pub fn getw(__stream: *mut FILE) -> ::std::os::raw::c_int; + pub fn __srget(arg1: *mut FILE) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn putw(__w: ::std::os::raw::c_int, __stream: *mut FILE) -> ::std::os::raw::c_int; + pub fn __svfscanf( + arg1: *mut FILE, + arg2: *const ::std::os::raw::c_char, + arg3: va_list, + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn fgets( - __s: *mut ::std::os::raw::c_char, - __n: ::std::os::raw::c_int, - __stream: *mut FILE, - ) -> *mut ::std::os::raw::c_char; + pub fn __swbuf(arg1: ::std::os::raw::c_int, arg2: *mut FILE) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn __getdelim( - __lineptr: *mut *mut ::std::os::raw::c_char, - __n: *mut usize, - __delimiter: ::std::os::raw::c_int, - __stream: *mut FILE, - ) -> __ssize_t; + pub fn flockfile(arg1: *mut FILE); } #[pg_guard] extern "C" { - pub fn getdelim( - __lineptr: *mut *mut ::std::os::raw::c_char, - __n: *mut usize, - __delimiter: ::std::os::raw::c_int, - __stream: *mut FILE, - ) -> __ssize_t; + pub fn ftrylockfile(arg1: *mut FILE) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn getline( - __lineptr: *mut *mut ::std::os::raw::c_char, - __n: *mut usize, - __stream: *mut FILE, - ) -> __ssize_t; + pub fn funlockfile(arg1: *mut FILE); } #[pg_guard] extern "C" { - pub fn fputs(__s: *const ::std::os::raw::c_char, __stream: *mut FILE) -> ::std::os::raw::c_int; + pub fn getc_unlocked(arg1: *mut FILE) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn puts(__s: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; + pub fn getchar_unlocked() -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn ungetc(__c: ::std::os::raw::c_int, __stream: *mut FILE) -> ::std::os::raw::c_int; + pub fn putc_unlocked(arg1: ::std::os::raw::c_int, arg2: *mut FILE) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn fread( - __ptr: *mut ::std::os::raw::c_void, - __size: ::std::os::raw::c_ulong, - __n: ::std::os::raw::c_ulong, - __stream: *mut FILE, - ) -> ::std::os::raw::c_ulong; + pub fn putchar_unlocked(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn fwrite( - __ptr: *const ::std::os::raw::c_void, - __size: ::std::os::raw::c_ulong, - __n: ::std::os::raw::c_ulong, - __s: *mut FILE, - ) -> ::std::os::raw::c_ulong; + pub fn getw(arg1: *mut FILE) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn fread_unlocked( - __ptr: *mut ::std::os::raw::c_void, - __size: usize, - __n: usize, - __stream: *mut FILE, - ) -> usize; + pub fn putw(arg1: ::std::os::raw::c_int, arg2: *mut FILE) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn fwrite_unlocked( - __ptr: *const ::std::os::raw::c_void, - __size: usize, - __n: usize, - __stream: *mut FILE, - ) -> usize; + pub fn tempnam( + __dir: *const ::std::os::raw::c_char, + __prefix: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; } +pub type off_t = __darwin_off_t; #[pg_guard] extern "C" { - pub fn fseek( + pub fn fseeko( __stream: *mut FILE, - __off: ::std::os::raw::c_long, + __offset: off_t, __whence: ::std::os::raw::c_int, ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn ftell(__stream: *mut FILE) -> ::std::os::raw::c_long; + pub fn ftello(__stream: *mut FILE) -> off_t; } #[pg_guard] extern "C" { - pub fn rewind(__stream: *mut FILE); + pub fn snprintf( + __str: *mut ::std::os::raw::c_char, + __size: ::std::os::raw::c_ulong, + __format: *const ::std::os::raw::c_char, + ... + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn fseeko( + pub fn vfscanf( __stream: *mut FILE, - __off: __off_t, - __whence: ::std::os::raw::c_int, + __format: *const ::std::os::raw::c_char, + arg1: __builtin_va_list, ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn ftello(__stream: *mut FILE) -> __off_t; -} -#[pg_guard] -extern "C" { - pub fn fgetpos(__stream: *mut FILE, __pos: *mut fpos_t) -> ::std::os::raw::c_int; -} -#[pg_guard] -extern "C" { - pub fn fsetpos(__stream: *mut FILE, __pos: *const fpos_t) -> ::std::os::raw::c_int; -} -#[pg_guard] -extern "C" { - pub fn clearerr(__stream: *mut FILE); -} -#[pg_guard] -extern "C" { - pub fn feof(__stream: *mut FILE) -> ::std::os::raw::c_int; -} -#[pg_guard] -extern "C" { - pub fn ferror(__stream: *mut FILE) -> ::std::os::raw::c_int; -} -#[pg_guard] -extern "C" { - pub fn clearerr_unlocked(__stream: *mut FILE); + pub fn vscanf( + __format: *const ::std::os::raw::c_char, + arg1: __builtin_va_list, + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn feof_unlocked(__stream: *mut FILE) -> ::std::os::raw::c_int; + pub fn vsnprintf( + __str: *mut ::std::os::raw::c_char, + __size: ::std::os::raw::c_ulong, + __format: *const ::std::os::raw::c_char, + arg1: __builtin_va_list, + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn ferror_unlocked(__stream: *mut FILE) -> ::std::os::raw::c_int; + pub fn vsscanf( + __str: *const ::std::os::raw::c_char, + __format: *const ::std::os::raw::c_char, + arg1: __builtin_va_list, + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn perror(__s: *const ::std::os::raw::c_char); + pub fn dprintf( + arg1: ::std::os::raw::c_int, + arg2: *const ::std::os::raw::c_char, + ... + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn fileno(__stream: *mut FILE) -> ::std::os::raw::c_int; + pub fn vdprintf( + arg1: ::std::os::raw::c_int, + arg2: *const ::std::os::raw::c_char, + arg3: va_list, + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn fileno_unlocked(__stream: *mut FILE) -> ::std::os::raw::c_int; + pub fn getdelim( + __linep: *mut *mut ::std::os::raw::c_char, + __linecapp: *mut usize, + __delimiter: ::std::os::raw::c_int, + __stream: *mut FILE, + ) -> isize; } #[pg_guard] extern "C" { - pub fn pclose(__stream: *mut FILE) -> ::std::os::raw::c_int; + pub fn getline( + __linep: *mut *mut ::std::os::raw::c_char, + __linecapp: *mut usize, + __stream: *mut FILE, + ) -> isize; } #[pg_guard] extern "C" { - pub fn popen( - __command: *const ::std::os::raw::c_char, - __modes: *const ::std::os::raw::c_char, + pub fn fmemopen( + __buf: *mut ::std::os::raw::c_void, + __size: usize, + __mode: *const ::std::os::raw::c_char, ) -> *mut FILE; } #[pg_guard] extern "C" { - pub fn ctermid(__s: *mut ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; -} -#[pg_guard] -extern "C" { - pub fn flockfile(__stream: *mut FILE); -} -#[pg_guard] -extern "C" { - pub fn ftrylockfile(__stream: *mut FILE) -> ::std::os::raw::c_int; -} -#[pg_guard] -extern "C" { - pub fn funlockfile(__stream: *mut FILE); -} -#[pg_guard] -extern "C" { - pub fn __uflow(arg1: *mut FILE) -> ::std::os::raw::c_int; + pub fn open_memstream( + __bufp: *mut *mut ::std::os::raw::c_char, + __sizep: *mut usize, + ) -> *mut FILE; } #[pg_guard] extern "C" { - pub fn __overflow(arg1: *mut FILE, arg2: ::std::os::raw::c_int) -> ::std::os::raw::c_int; -} -pub type wchar_t = ::std::os::raw::c_int; -#[repr(C)] -#[derive(Debug, Default, Copy, Clone)] -pub struct div_t { - pub quot: ::std::os::raw::c_int, - pub rem: ::std::os::raw::c_int, -} -#[repr(C)] -#[derive(Debug, Default, Copy, Clone)] -pub struct ldiv_t { - pub quot: ::std::os::raw::c_long, - pub rem: ::std::os::raw::c_long, -} -#[repr(C)] -#[derive(Debug, Default, Copy, Clone)] -pub struct lldiv_t { - pub quot: ::std::os::raw::c_longlong, - pub rem: ::std::os::raw::c_longlong, + pub static sys_nerr: ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn __ctype_get_mb_cur_max() -> usize; + pub static mut sys_errlist: [*const ::std::os::raw::c_char; 0usize]; } #[pg_guard] extern "C" { - pub fn atof(__nptr: *const ::std::os::raw::c_char) -> f64; + pub fn asprintf( + arg1: *mut *mut ::std::os::raw::c_char, + arg2: *const ::std::os::raw::c_char, + ... + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn atoi(__nptr: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; + pub fn ctermid_r(arg1: *mut ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; } #[pg_guard] extern "C" { - pub fn atol(__nptr: *const ::std::os::raw::c_char) -> ::std::os::raw::c_long; + pub fn fgetln(arg1: *mut FILE, arg2: *mut usize) -> *mut ::std::os::raw::c_char; } #[pg_guard] extern "C" { - pub fn atoll(__nptr: *const ::std::os::raw::c_char) -> ::std::os::raw::c_longlong; + pub fn fmtcheck( + arg1: *const ::std::os::raw::c_char, + arg2: *const ::std::os::raw::c_char, + ) -> *const ::std::os::raw::c_char; } #[pg_guard] extern "C" { - pub fn strtod( - __nptr: *const ::std::os::raw::c_char, - __endptr: *mut *mut ::std::os::raw::c_char, - ) -> f64; + pub fn fpurge(arg1: *mut FILE) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn strtof( - __nptr: *const ::std::os::raw::c_char, - __endptr: *mut *mut ::std::os::raw::c_char, - ) -> f32; + pub fn setbuffer( + arg1: *mut FILE, + arg2: *mut ::std::os::raw::c_char, + arg3: ::std::os::raw::c_int, + ); } #[pg_guard] extern "C" { - pub fn strtold( - __nptr: *const ::std::os::raw::c_char, - __endptr: *mut *mut ::std::os::raw::c_char, - ) -> u128; + pub fn setlinebuf(arg1: *mut FILE) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn strtol( - __nptr: *const ::std::os::raw::c_char, - __endptr: *mut *mut ::std::os::raw::c_char, - __base: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_long; + pub fn vasprintf( + arg1: *mut *mut ::std::os::raw::c_char, + arg2: *const ::std::os::raw::c_char, + arg3: va_list, + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn strtoul( - __nptr: *const ::std::os::raw::c_char, - __endptr: *mut *mut ::std::os::raw::c_char, - __base: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_ulong; + pub fn funopen( + arg1: *const ::std::os::raw::c_void, + arg2: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut ::std::os::raw::c_void, + arg2: *mut ::std::os::raw::c_char, + arg3: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int, + >, + arg3: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut ::std::os::raw::c_void, + arg2: *const ::std::os::raw::c_char, + arg3: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int, + >, + arg4: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut ::std::os::raw::c_void, + arg2: fpos_t, + arg3: ::std::os::raw::c_int, + ) -> fpos_t, + >, + arg5: ::std::option::Option< + unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int, + >, + ) -> *mut FILE; } #[pg_guard] extern "C" { - pub fn strtoq( - __nptr: *const ::std::os::raw::c_char, - __endptr: *mut *mut ::std::os::raw::c_char, - __base: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_longlong; + pub fn __sprintf_chk( + arg1: *mut ::std::os::raw::c_char, + arg2: ::std::os::raw::c_int, + arg3: usize, + arg4: *const ::std::os::raw::c_char, + ... + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn strtouq( - __nptr: *const ::std::os::raw::c_char, - __endptr: *mut *mut ::std::os::raw::c_char, - __base: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_ulonglong; + pub fn __snprintf_chk( + arg1: *mut ::std::os::raw::c_char, + arg2: usize, + arg3: ::std::os::raw::c_int, + arg4: usize, + arg5: *const ::std::os::raw::c_char, + ... + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn strtoll( - __nptr: *const ::std::os::raw::c_char, - __endptr: *mut *mut ::std::os::raw::c_char, - __base: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_longlong; + pub fn __vsprintf_chk( + arg1: *mut ::std::os::raw::c_char, + arg2: ::std::os::raw::c_int, + arg3: usize, + arg4: *const ::std::os::raw::c_char, + arg5: va_list, + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn strtoull( - __nptr: *const ::std::os::raw::c_char, - __endptr: *mut *mut ::std::os::raw::c_char, - __base: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_ulonglong; + pub fn __vsnprintf_chk( + arg1: *mut ::std::os::raw::c_char, + arg2: usize, + arg3: ::std::os::raw::c_int, + arg4: usize, + arg5: *const ::std::os::raw::c_char, + arg6: va_list, + ) -> ::std::os::raw::c_int; } -#[pg_guard] -extern "C" { - pub fn l64a(__n: ::std::os::raw::c_long) -> *mut ::std::os::raw::c_char; -} -#[pg_guard] -extern "C" { - pub fn a64l(__s: *const ::std::os::raw::c_char) -> ::std::os::raw::c_long; -} -pub type u_char = __u_char; -pub type u_short = __u_short; -pub type u_int = __u_int; -pub type u_long = __u_long; -pub type quad_t = __quad_t; -pub type u_quad_t = __u_quad_t; -pub type fsid_t = __fsid_t; -pub type loff_t = __loff_t; -pub type ino_t = __ino_t; -pub type dev_t = __dev_t; -pub type gid_t = __gid_t; -pub type mode_t = __mode_t; -pub type nlink_t = __nlink_t; -pub type uid_t = __uid_t; -pub type pid_t = __pid_t; -pub type id_t = __id_t; -pub type daddr_t = __daddr_t; -pub type caddr_t = __caddr_t; -pub type key_t = __key_t; -pub type clock_t = __clock_t; -pub type clockid_t = __clockid_t; -pub type time_t = __time_t; -pub type timer_t = __timer_t; -pub type ulong = ::std::os::raw::c_ulong; -pub type ushort = ::std::os::raw::c_ushort; -pub type uint = ::std::os::raw::c_uint; -pub type u_int8_t = __uint8_t; -pub type u_int16_t = __uint16_t; -pub type u_int32_t = __uint32_t; -pub type u_int64_t = __uint64_t; -pub type register_t = ::std::os::raw::c_long; +pub const idtype_t_P_ALL: idtype_t = 0; +pub const idtype_t_P_PID: idtype_t = 1; +pub const idtype_t_P_PGID: idtype_t = 2; +pub type idtype_t = ::std::os::raw::c_uint; +pub type pid_t = __darwin_pid_t; +pub type id_t = __darwin_id_t; +pub type sig_atomic_t = ::std::os::raw::c_int; #[repr(C)] #[derive(Debug, Default, Copy, Clone)] -pub struct __sigset_t { - pub __val: [::std::os::raw::c_ulong; 16usize], +pub struct __darwin_arm_exception_state { + pub __exception: __uint32_t, + pub __fsr: __uint32_t, + pub __far: __uint32_t, } -pub type sigset_t = __sigset_t; #[repr(C)] #[derive(Debug, Default, Copy, Clone)] -pub struct timeval { - pub tv_sec: __time_t, - pub tv_usec: __suseconds_t, +pub struct __darwin_arm_exception_state64 { + pub __far: __uint64_t, + pub __esr: __uint32_t, + pub __exception: __uint32_t, } #[repr(C)] #[derive(Debug, Default, Copy, Clone)] -pub struct timespec { - pub tv_sec: __time_t, - pub tv_nsec: __syscall_slong_t, +pub struct __darwin_arm_thread_state { + pub __r: [__uint32_t; 13usize], + pub __sp: __uint32_t, + pub __lr: __uint32_t, + pub __pc: __uint32_t, + pub __cpsr: __uint32_t, } -pub type suseconds_t = __suseconds_t; -pub type __fd_mask = ::std::os::raw::c_long; #[repr(C)] #[derive(Debug, Default, Copy, Clone)] -pub struct fd_set { - pub __fds_bits: [__fd_mask; 16usize], -} -pub type fd_mask = __fd_mask; -#[pg_guard] -extern "C" { - pub fn select( - __nfds: ::std::os::raw::c_int, - __readfds: *mut fd_set, - __writefds: *mut fd_set, - __exceptfds: *mut fd_set, - __timeout: *mut timeval, - ) -> ::std::os::raw::c_int; -} -#[pg_guard] -extern "C" { - pub fn pselect( - __nfds: ::std::os::raw::c_int, - __readfds: *mut fd_set, - __writefds: *mut fd_set, - __exceptfds: *mut fd_set, - __timeout: *const timespec, - __sigmask: *const __sigset_t, - ) -> ::std::os::raw::c_int; -} -pub type blksize_t = __blksize_t; -pub type blkcnt_t = __blkcnt_t; -pub type fsblkcnt_t = __fsblkcnt_t; -pub type fsfilcnt_t = __fsfilcnt_t; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct __pthread_internal_list { - pub __prev: *mut __pthread_internal_list, - pub __next: *mut __pthread_internal_list, +pub struct __darwin_arm_thread_state64 { + pub __x: [__uint64_t; 29usize], + pub __fp: __uint64_t, + pub __lr: __uint64_t, + pub __sp: __uint64_t, + pub __pc: __uint64_t, + pub __cpsr: __uint32_t, + pub __pad: __uint32_t, } -impl Default for __pthread_internal_list { - fn default() -> Self { - let mut s = ::std::mem::MaybeUninit::::uninit(); - unsafe { - ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); - s.assume_init() - } - } -} -pub type __pthread_list_t = __pthread_internal_list; #[repr(C)] #[derive(Debug, Copy, Clone)] -pub struct __pthread_internal_slist { - pub __next: *mut __pthread_internal_slist, +pub struct __darwin_arm_vfp_state { + pub __r: [__uint32_t; 64usize], + pub __fpscr: __uint32_t, } -impl Default for __pthread_internal_slist { +impl Default for __darwin_arm_vfp_state { fn default() -> Self { let mut s = ::std::mem::MaybeUninit::::uninit(); unsafe { @@ -4038,98 +4601,66 @@ impl Default for __pthread_internal_slist { } } } -pub type __pthread_slist_t = __pthread_internal_slist; #[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct __pthread_mutex_s { - pub __lock: ::std::os::raw::c_int, - pub __count: ::std::os::raw::c_uint, - pub __owner: ::std::os::raw::c_int, - pub __nusers: ::std::os::raw::c_uint, - pub __kind: ::std::os::raw::c_int, - pub __spins: ::std::os::raw::c_short, - pub __elision: ::std::os::raw::c_short, - pub __list: __pthread_list_t, -} -impl Default for __pthread_mutex_s { - fn default() -> Self { - let mut s = ::std::mem::MaybeUninit::::uninit(); - unsafe { - ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); - s.assume_init() - } - } +#[repr(align(16))] +#[derive(Debug, Default, Copy, Clone)] +pub struct __darwin_arm_neon_state64 { + pub __v: [__uint128_t; 32usize], + pub __fpsr: __uint32_t, + pub __fpcr: __uint32_t, } #[repr(C)] +#[repr(align(16))] #[derive(Debug, Default, Copy, Clone)] -pub struct __pthread_rwlock_arch_t { - pub __readers: ::std::os::raw::c_uint, - pub __writers: ::std::os::raw::c_uint, - pub __wrphase_futex: ::std::os::raw::c_uint, - pub __writers_futex: ::std::os::raw::c_uint, - pub __pad3: ::std::os::raw::c_uint, - pub __pad4: ::std::os::raw::c_uint, - pub __cur_writer: ::std::os::raw::c_int, - pub __shared: ::std::os::raw::c_int, - pub __rwelision: ::std::os::raw::c_schar, - pub __pad1: [::std::os::raw::c_uchar; 7usize], - pub __pad2: ::std::os::raw::c_ulong, - pub __flags: ::std::os::raw::c_uint, +pub struct __darwin_arm_neon_state { + pub __v: [__uint128_t; 16usize], + pub __fpsr: __uint32_t, + pub __fpcr: __uint32_t, } #[repr(C)] -#[derive(Copy, Clone)] -pub struct __pthread_cond_s { - pub __bindgen_anon_1: __pthread_cond_s__bindgen_ty_1, - pub __bindgen_anon_2: __pthread_cond_s__bindgen_ty_2, - pub __g_refs: [::std::os::raw::c_uint; 2usize], - pub __g_size: [::std::os::raw::c_uint; 2usize], - pub __g1_orig_size: ::std::os::raw::c_uint, - pub __wrefs: ::std::os::raw::c_uint, - pub __g_signals: [::std::os::raw::c_uint; 2usize], +#[derive(Debug, Default, Copy, Clone)] +pub struct __arm_pagein_state { + pub __pagein_error: ::std::os::raw::c_int, } #[repr(C)] -#[derive(Copy, Clone)] -pub union __pthread_cond_s__bindgen_ty_1 { - pub __wseq: ::std::os::raw::c_ulonglong, - pub __wseq32: __pthread_cond_s__bindgen_ty_1__bindgen_ty_1, +#[derive(Debug, Default, Copy, Clone)] +pub struct __arm_legacy_debug_state { + pub __bvr: [__uint32_t; 16usize], + pub __bcr: [__uint32_t; 16usize], + pub __wvr: [__uint32_t; 16usize], + pub __wcr: [__uint32_t; 16usize], } #[repr(C)] #[derive(Debug, Default, Copy, Clone)] -pub struct __pthread_cond_s__bindgen_ty_1__bindgen_ty_1 { - pub __low: ::std::os::raw::c_uint, - pub __high: ::std::os::raw::c_uint, -} -impl Default for __pthread_cond_s__bindgen_ty_1 { - fn default() -> Self { - let mut s = ::std::mem::MaybeUninit::::uninit(); - unsafe { - ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); - s.assume_init() - } - } +pub struct __darwin_arm_debug_state32 { + pub __bvr: [__uint32_t; 16usize], + pub __bcr: [__uint32_t; 16usize], + pub __wvr: [__uint32_t; 16usize], + pub __wcr: [__uint32_t; 16usize], + pub __mdscr_el1: __uint64_t, } #[repr(C)] -#[derive(Copy, Clone)] -pub union __pthread_cond_s__bindgen_ty_2 { - pub __g1_start: ::std::os::raw::c_ulonglong, - pub __g1_start32: __pthread_cond_s__bindgen_ty_2__bindgen_ty_1, +#[derive(Debug, Default, Copy, Clone)] +pub struct __darwin_arm_debug_state64 { + pub __bvr: [__uint64_t; 16usize], + pub __bcr: [__uint64_t; 16usize], + pub __wvr: [__uint64_t; 16usize], + pub __wcr: [__uint64_t; 16usize], + pub __mdscr_el1: __uint64_t, } #[repr(C)] #[derive(Debug, Default, Copy, Clone)] -pub struct __pthread_cond_s__bindgen_ty_2__bindgen_ty_1 { - pub __low: ::std::os::raw::c_uint, - pub __high: ::std::os::raw::c_uint, +pub struct __darwin_arm_cpmu_state64 { + pub __ctrs: [__uint64_t; 16usize], } -impl Default for __pthread_cond_s__bindgen_ty_2 { - fn default() -> Self { - let mut s = ::std::mem::MaybeUninit::::uninit(); - unsafe { - ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); - s.assume_init() - } - } +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct __darwin_mcontext32 { + pub __es: __darwin_arm_exception_state, + pub __ss: __darwin_arm_thread_state, + pub __fs: __darwin_arm_vfp_state, } -impl Default for __pthread_cond_s { +impl Default for __darwin_mcontext32 { fn default() -> Self { let mut s = ::std::mem::MaybeUninit::::uninit(); unsafe { @@ -4138,21 +4669,24 @@ impl Default for __pthread_cond_s { } } } -pub type __tss_t = ::std::os::raw::c_uint; -pub type __thrd_t = ::std::os::raw::c_ulong; #[repr(C)] +#[repr(align(16))] #[derive(Debug, Default, Copy, Clone)] -pub struct __once_flag { - pub __data: ::std::os::raw::c_int, +pub struct __darwin_mcontext64 { + pub __es: __darwin_arm_exception_state64, + pub __ss: __darwin_arm_thread_state64, + pub __ns: __darwin_arm_neon_state64, } -pub type pthread_t = ::std::os::raw::c_ulong; +pub type mcontext_t = *mut __darwin_mcontext64; +pub type pthread_attr_t = __darwin_pthread_attr_t; #[repr(C)] -#[derive(Copy, Clone)] -pub union pthread_mutexattr_t { - pub __size: [::std::os::raw::c_char; 4usize], - pub __align: ::std::os::raw::c_int, +#[derive(Debug, Copy, Clone)] +pub struct __darwin_sigaltstack { + pub ss_sp: *mut ::std::os::raw::c_void, + pub ss_size: __darwin_size_t, + pub ss_flags: ::std::os::raw::c_int, } -impl Default for pthread_mutexattr_t { +impl Default for __darwin_sigaltstack { fn default() -> Self { let mut s = ::std::mem::MaybeUninit::::uninit(); unsafe { @@ -4161,13 +4695,18 @@ impl Default for pthread_mutexattr_t { } } } +pub type stack_t = __darwin_sigaltstack; #[repr(C)] -#[derive(Copy, Clone)] -pub union pthread_condattr_t { - pub __size: [::std::os::raw::c_char; 4usize], - pub __align: ::std::os::raw::c_int, +#[derive(Debug, Copy, Clone)] +pub struct __darwin_ucontext { + pub uc_onstack: ::std::os::raw::c_int, + pub uc_sigmask: __darwin_sigset_t, + pub uc_stack: __darwin_sigaltstack, + pub uc_link: *mut __darwin_ucontext, + pub uc_mcsize: __darwin_size_t, + pub uc_mcontext: *mut __darwin_mcontext64, } -impl Default for pthread_condattr_t { +impl Default for __darwin_ucontext { fn default() -> Self { let mut s = ::std::mem::MaybeUninit::::uninit(); unsafe { @@ -4176,15 +4715,16 @@ impl Default for pthread_condattr_t { } } } -pub type pthread_key_t = ::std::os::raw::c_uint; -pub type pthread_once_t = ::std::os::raw::c_int; +pub type ucontext_t = __darwin_ucontext; +pub type sigset_t = __darwin_sigset_t; +pub type uid_t = __darwin_uid_t; #[repr(C)] #[derive(Copy, Clone)] -pub union pthread_attr_t { - pub __size: [::std::os::raw::c_char; 56usize], - pub __align: ::std::os::raw::c_long, +pub union sigval { + pub sival_int: ::std::os::raw::c_int, + pub sival_ptr: *mut ::std::os::raw::c_void, } -impl Default for pthread_attr_t { +impl Default for sigval { fn default() -> Self { let mut s = ::std::mem::MaybeUninit::::uninit(); unsafe { @@ -4195,12 +4735,14 @@ impl Default for pthread_attr_t { } #[repr(C)] #[derive(Copy, Clone)] -pub union pthread_mutex_t { - pub __data: __pthread_mutex_s, - pub __size: [::std::os::raw::c_char; 40usize], - pub __align: ::std::os::raw::c_long, +pub struct sigevent { + pub sigev_notify: ::std::os::raw::c_int, + pub sigev_signo: ::std::os::raw::c_int, + pub sigev_value: sigval, + pub sigev_notify_function: ::std::option::Option, + pub sigev_notify_attributes: *mut pthread_attr_t, } -impl Default for pthread_mutex_t { +impl Default for sigevent { fn default() -> Self { let mut s = ::std::mem::MaybeUninit::::uninit(); unsafe { @@ -4211,12 +4753,19 @@ impl Default for pthread_mutex_t { } #[repr(C)] #[derive(Copy, Clone)] -pub union pthread_cond_t { - pub __data: __pthread_cond_s, - pub __size: [::std::os::raw::c_char; 48usize], - pub __align: ::std::os::raw::c_longlong, +pub struct __siginfo { + pub si_signo: ::std::os::raw::c_int, + pub si_errno: ::std::os::raw::c_int, + pub si_code: ::std::os::raw::c_int, + pub si_pid: pid_t, + pub si_uid: uid_t, + pub si_status: ::std::os::raw::c_int, + pub si_addr: *mut ::std::os::raw::c_void, + pub si_value: sigval, + pub si_band: ::std::os::raw::c_long, + pub __pad: [::std::os::raw::c_ulong; 7usize], } -impl Default for pthread_cond_t { +impl Default for __siginfo { fn default() -> Self { let mut s = ::std::mem::MaybeUninit::::uninit(); unsafe { @@ -4225,14 +4774,20 @@ impl Default for pthread_cond_t { } } } +pub type siginfo_t = __siginfo; #[repr(C)] #[derive(Copy, Clone)] -pub union pthread_rwlock_t { - pub __data: __pthread_rwlock_arch_t, - pub __size: [::std::os::raw::c_char; 56usize], - pub __align: ::std::os::raw::c_long, +pub union __sigaction_u { + pub __sa_handler: ::std::option::Option, + pub __sa_sigaction: ::std::option::Option< + unsafe extern "C" fn( + arg1: ::std::os::raw::c_int, + arg2: *mut __siginfo, + arg3: *mut ::std::os::raw::c_void, + ), + >, } -impl Default for pthread_rwlock_t { +impl Default for __sigaction_u { fn default() -> Self { let mut s = ::std::mem::MaybeUninit::::uninit(); unsafe { @@ -4243,11 +4798,21 @@ impl Default for pthread_rwlock_t { } #[repr(C)] #[derive(Copy, Clone)] -pub union pthread_rwlockattr_t { - pub __size: [::std::os::raw::c_char; 8usize], - pub __align: ::std::os::raw::c_long, +pub struct __sigaction { + pub __sigaction_u: __sigaction_u, + pub sa_tramp: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut ::std::os::raw::c_void, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + arg4: *mut siginfo_t, + arg5: *mut ::std::os::raw::c_void, + ), + >, + pub sa_mask: sigset_t, + pub sa_flags: ::std::os::raw::c_int, } -impl Default for pthread_rwlockattr_t { +impl Default for __sigaction { fn default() -> Self { let mut s = ::std::mem::MaybeUninit::::uninit(); unsafe { @@ -4256,14 +4821,14 @@ impl Default for pthread_rwlockattr_t { } } } -pub type pthread_spinlock_t = ::std::os::raw::c_int; #[repr(C)] #[derive(Copy, Clone)] -pub union pthread_barrier_t { - pub __size: [::std::os::raw::c_char; 32usize], - pub __align: ::std::os::raw::c_long, +pub struct sigaction { + pub __sigaction_u: __sigaction_u, + pub sa_mask: sigset_t, + pub sa_flags: ::std::os::raw::c_int, } -impl Default for pthread_barrier_t { +impl Default for sigaction { fn default() -> Self { let mut s = ::std::mem::MaybeUninit::::uninit(); unsafe { @@ -4272,53 +4837,21 @@ impl Default for pthread_barrier_t { } } } +pub type sig_t = ::std::option::Option; #[repr(C)] -#[derive(Copy, Clone)] -pub union pthread_barrierattr_t { - pub __size: [::std::os::raw::c_char; 4usize], - pub __align: ::std::os::raw::c_int, -} -impl Default for pthread_barrierattr_t { - fn default() -> Self { - let mut s = ::std::mem::MaybeUninit::::uninit(); - unsafe { - ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); - s.assume_init() - } - } -} -#[pg_guard] -extern "C" { - pub fn random() -> ::std::os::raw::c_long; -} -#[pg_guard] -extern "C" { - pub fn srandom(__seed: ::std::os::raw::c_uint); -} -#[pg_guard] -extern "C" { - pub fn initstate( - __seed: ::std::os::raw::c_uint, - __statebuf: *mut ::std::os::raw::c_char, - __statelen: usize, - ) -> *mut ::std::os::raw::c_char; -} -#[pg_guard] -extern "C" { - pub fn setstate(__statebuf: *mut ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; +#[derive(Debug, Default, Copy, Clone)] +pub struct sigvec { + pub sv_handler: ::std::option::Option, + pub sv_mask: ::std::os::raw::c_int, + pub sv_flags: ::std::os::raw::c_int, } #[repr(C)] #[derive(Debug, Copy, Clone)] -pub struct random_data { - pub fptr: *mut i32, - pub rptr: *mut i32, - pub state: *mut i32, - pub rand_type: ::std::os::raw::c_int, - pub rand_deg: ::std::os::raw::c_int, - pub rand_sep: ::std::os::raw::c_int, - pub end_ptr: *mut i32, +pub struct sigstack { + pub ss_sp: *mut ::std::os::raw::c_char, + pub ss_onstack: ::std::os::raw::c_int, } -impl Default for random_data { +impl Default for sigstack { fn default() -> Self { let mut s = ::std::mem::MaybeUninit::::uninit(); unsafe { @@ -4329,188 +4862,558 @@ impl Default for random_data { } #[pg_guard] extern "C" { - pub fn random_r(__buf: *mut random_data, __result: *mut i32) -> ::std::os::raw::c_int; + pub fn signal( + arg1: ::std::os::raw::c_int, + arg2: ::std::option::Option, + ) -> ::std::option::Option< + unsafe extern "C" fn( + arg1: ::std::os::raw::c_int, + arg2: ::std::option::Option, + ), + >; } -#[pg_guard] -extern "C" { - pub fn srandom_r( - __seed: ::std::os::raw::c_uint, - __buf: *mut random_data, - ) -> ::std::os::raw::c_int; +pub type int_least8_t = i8; +pub type int_least16_t = i16; +pub type int_least32_t = i32; +pub type int_least64_t = i64; +pub type uint_least8_t = u8; +pub type uint_least16_t = u16; +pub type uint_least32_t = u32; +pub type uint_least64_t = u64; +pub type int_fast8_t = i8; +pub type int_fast16_t = i16; +pub type int_fast32_t = i32; +pub type int_fast64_t = i64; +pub type uint_fast8_t = u8; +pub type uint_fast16_t = u16; +pub type uint_fast32_t = u32; +pub type uint_fast64_t = u64; +pub type intmax_t = ::std::os::raw::c_long; +pub type uintmax_t = ::std::os::raw::c_ulong; +#[repr(C)] +#[derive(Debug, Default, Copy, Clone)] +pub struct timeval { + pub tv_sec: __darwin_time_t, + pub tv_usec: __darwin_suseconds_t, } -#[pg_guard] -extern "C" { - pub fn initstate_r( - __seed: ::std::os::raw::c_uint, - __statebuf: *mut ::std::os::raw::c_char, - __statelen: usize, - __buf: *mut random_data, - ) -> ::std::os::raw::c_int; +pub type rlim_t = __uint64_t; +#[repr(C)] +#[derive(Debug, Default, Copy, Clone)] +pub struct rusage { + pub ru_utime: timeval, + pub ru_stime: timeval, + pub ru_maxrss: ::std::os::raw::c_long, + pub ru_ixrss: ::std::os::raw::c_long, + pub ru_idrss: ::std::os::raw::c_long, + pub ru_isrss: ::std::os::raw::c_long, + pub ru_minflt: ::std::os::raw::c_long, + pub ru_majflt: ::std::os::raw::c_long, + pub ru_nswap: ::std::os::raw::c_long, + pub ru_inblock: ::std::os::raw::c_long, + pub ru_oublock: ::std::os::raw::c_long, + pub ru_msgsnd: ::std::os::raw::c_long, + pub ru_msgrcv: ::std::os::raw::c_long, + pub ru_nsignals: ::std::os::raw::c_long, + pub ru_nvcsw: ::std::os::raw::c_long, + pub ru_nivcsw: ::std::os::raw::c_long, +} +pub type rusage_info_t = *mut ::std::os::raw::c_void; +#[repr(C)] +#[derive(Debug, Default, Copy, Clone)] +pub struct rusage_info_v0 { + pub ri_uuid: [u8; 16usize], + pub ri_user_time: u64, + pub ri_system_time: u64, + pub ri_pkg_idle_wkups: u64, + pub ri_interrupt_wkups: u64, + pub ri_pageins: u64, + pub ri_wired_size: u64, + pub ri_resident_size: u64, + pub ri_phys_footprint: u64, + pub ri_proc_start_abstime: u64, + pub ri_proc_exit_abstime: u64, } -#[pg_guard] -extern "C" { - pub fn setstate_r( - __statebuf: *mut ::std::os::raw::c_char, - __buf: *mut random_data, - ) -> ::std::os::raw::c_int; +#[repr(C)] +#[derive(Debug, Default, Copy, Clone)] +pub struct rusage_info_v1 { + pub ri_uuid: [u8; 16usize], + pub ri_user_time: u64, + pub ri_system_time: u64, + pub ri_pkg_idle_wkups: u64, + pub ri_interrupt_wkups: u64, + pub ri_pageins: u64, + pub ri_wired_size: u64, + pub ri_resident_size: u64, + pub ri_phys_footprint: u64, + pub ri_proc_start_abstime: u64, + pub ri_proc_exit_abstime: u64, + pub ri_child_user_time: u64, + pub ri_child_system_time: u64, + pub ri_child_pkg_idle_wkups: u64, + pub ri_child_interrupt_wkups: u64, + pub ri_child_pageins: u64, + pub ri_child_elapsed_abstime: u64, } -#[pg_guard] -extern "C" { - pub fn rand() -> ::std::os::raw::c_int; +#[repr(C)] +#[derive(Debug, Default, Copy, Clone)] +pub struct rusage_info_v2 { + pub ri_uuid: [u8; 16usize], + pub ri_user_time: u64, + pub ri_system_time: u64, + pub ri_pkg_idle_wkups: u64, + pub ri_interrupt_wkups: u64, + pub ri_pageins: u64, + pub ri_wired_size: u64, + pub ri_resident_size: u64, + pub ri_phys_footprint: u64, + pub ri_proc_start_abstime: u64, + pub ri_proc_exit_abstime: u64, + pub ri_child_user_time: u64, + pub ri_child_system_time: u64, + pub ri_child_pkg_idle_wkups: u64, + pub ri_child_interrupt_wkups: u64, + pub ri_child_pageins: u64, + pub ri_child_elapsed_abstime: u64, + pub ri_diskio_bytesread: u64, + pub ri_diskio_byteswritten: u64, } -#[pg_guard] -extern "C" { - pub fn srand(__seed: ::std::os::raw::c_uint); +#[repr(C)] +#[derive(Debug, Default, Copy, Clone)] +pub struct rusage_info_v3 { + pub ri_uuid: [u8; 16usize], + pub ri_user_time: u64, + pub ri_system_time: u64, + pub ri_pkg_idle_wkups: u64, + pub ri_interrupt_wkups: u64, + pub ri_pageins: u64, + pub ri_wired_size: u64, + pub ri_resident_size: u64, + pub ri_phys_footprint: u64, + pub ri_proc_start_abstime: u64, + pub ri_proc_exit_abstime: u64, + pub ri_child_user_time: u64, + pub ri_child_system_time: u64, + pub ri_child_pkg_idle_wkups: u64, + pub ri_child_interrupt_wkups: u64, + pub ri_child_pageins: u64, + pub ri_child_elapsed_abstime: u64, + pub ri_diskio_bytesread: u64, + pub ri_diskio_byteswritten: u64, + pub ri_cpu_time_qos_default: u64, + pub ri_cpu_time_qos_maintenance: u64, + pub ri_cpu_time_qos_background: u64, + pub ri_cpu_time_qos_utility: u64, + pub ri_cpu_time_qos_legacy: u64, + pub ri_cpu_time_qos_user_initiated: u64, + pub ri_cpu_time_qos_user_interactive: u64, + pub ri_billed_system_time: u64, + pub ri_serviced_system_time: u64, } -#[pg_guard] -extern "C" { - pub fn rand_r(__seed: *mut ::std::os::raw::c_uint) -> ::std::os::raw::c_int; +#[repr(C)] +#[derive(Debug, Default, Copy, Clone)] +pub struct rusage_info_v4 { + pub ri_uuid: [u8; 16usize], + pub ri_user_time: u64, + pub ri_system_time: u64, + pub ri_pkg_idle_wkups: u64, + pub ri_interrupt_wkups: u64, + pub ri_pageins: u64, + pub ri_wired_size: u64, + pub ri_resident_size: u64, + pub ri_phys_footprint: u64, + pub ri_proc_start_abstime: u64, + pub ri_proc_exit_abstime: u64, + pub ri_child_user_time: u64, + pub ri_child_system_time: u64, + pub ri_child_pkg_idle_wkups: u64, + pub ri_child_interrupt_wkups: u64, + pub ri_child_pageins: u64, + pub ri_child_elapsed_abstime: u64, + pub ri_diskio_bytesread: u64, + pub ri_diskio_byteswritten: u64, + pub ri_cpu_time_qos_default: u64, + pub ri_cpu_time_qos_maintenance: u64, + pub ri_cpu_time_qos_background: u64, + pub ri_cpu_time_qos_utility: u64, + pub ri_cpu_time_qos_legacy: u64, + pub ri_cpu_time_qos_user_initiated: u64, + pub ri_cpu_time_qos_user_interactive: u64, + pub ri_billed_system_time: u64, + pub ri_serviced_system_time: u64, + pub ri_logical_writes: u64, + pub ri_lifetime_max_phys_footprint: u64, + pub ri_instructions: u64, + pub ri_cycles: u64, + pub ri_billed_energy: u64, + pub ri_serviced_energy: u64, + pub ri_interval_max_phys_footprint: u64, + pub ri_runnable_time: u64, } -#[pg_guard] -extern "C" { - pub fn drand48() -> f64; +#[repr(C)] +#[derive(Debug, Default, Copy, Clone)] +pub struct rusage_info_v5 { + pub ri_uuid: [u8; 16usize], + pub ri_user_time: u64, + pub ri_system_time: u64, + pub ri_pkg_idle_wkups: u64, + pub ri_interrupt_wkups: u64, + pub ri_pageins: u64, + pub ri_wired_size: u64, + pub ri_resident_size: u64, + pub ri_phys_footprint: u64, + pub ri_proc_start_abstime: u64, + pub ri_proc_exit_abstime: u64, + pub ri_child_user_time: u64, + pub ri_child_system_time: u64, + pub ri_child_pkg_idle_wkups: u64, + pub ri_child_interrupt_wkups: u64, + pub ri_child_pageins: u64, + pub ri_child_elapsed_abstime: u64, + pub ri_diskio_bytesread: u64, + pub ri_diskio_byteswritten: u64, + pub ri_cpu_time_qos_default: u64, + pub ri_cpu_time_qos_maintenance: u64, + pub ri_cpu_time_qos_background: u64, + pub ri_cpu_time_qos_utility: u64, + pub ri_cpu_time_qos_legacy: u64, + pub ri_cpu_time_qos_user_initiated: u64, + pub ri_cpu_time_qos_user_interactive: u64, + pub ri_billed_system_time: u64, + pub ri_serviced_system_time: u64, + pub ri_logical_writes: u64, + pub ri_lifetime_max_phys_footprint: u64, + pub ri_instructions: u64, + pub ri_cycles: u64, + pub ri_billed_energy: u64, + pub ri_serviced_energy: u64, + pub ri_interval_max_phys_footprint: u64, + pub ri_runnable_time: u64, + pub ri_flags: u64, +} +pub type rusage_info_current = rusage_info_v5; +#[repr(C)] +#[derive(Debug, Default, Copy, Clone)] +pub struct rlimit { + pub rlim_cur: rlim_t, + pub rlim_max: rlim_t, } -#[pg_guard] -extern "C" { - pub fn erand48(__xsubi: *mut ::std::os::raw::c_ushort) -> f64; +#[repr(C)] +#[derive(Debug, Default, Copy, Clone)] +pub struct proc_rlimit_control_wakeupmon { + pub wm_flags: u32, + pub wm_rate: i32, } #[pg_guard] extern "C" { - pub fn lrand48() -> ::std::os::raw::c_long; + pub fn getpriority(arg1: ::std::os::raw::c_int, arg2: id_t) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn nrand48(__xsubi: *mut ::std::os::raw::c_ushort) -> ::std::os::raw::c_long; + pub fn getiopolicy_np( + arg1: ::std::os::raw::c_int, + arg2: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn mrand48() -> ::std::os::raw::c_long; + pub fn getrlimit(arg1: ::std::os::raw::c_int, arg2: *mut rlimit) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn jrand48(__xsubi: *mut ::std::os::raw::c_ushort) -> ::std::os::raw::c_long; + pub fn getrusage(arg1: ::std::os::raw::c_int, arg2: *mut rusage) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn srand48(__seedval: ::std::os::raw::c_long); + pub fn setpriority( + arg1: ::std::os::raw::c_int, + arg2: id_t, + arg3: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn seed48(__seed16v: *mut ::std::os::raw::c_ushort) -> *mut ::std::os::raw::c_ushort; + pub fn setiopolicy_np( + arg1: ::std::os::raw::c_int, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn lcong48(__param: *mut ::std::os::raw::c_ushort); + pub fn setrlimit(arg1: ::std::os::raw::c_int, arg2: *const rlimit) -> ::std::os::raw::c_int; } -#[repr(C)] +#[repr(C, packed)] #[derive(Debug, Default, Copy, Clone)] -pub struct drand48_data { - pub __x: [::std::os::raw::c_ushort; 3usize], - pub __old_x: [::std::os::raw::c_ushort; 3usize], - pub __c: ::std::os::raw::c_ushort, - pub __init: ::std::os::raw::c_ushort, - pub __a: ::std::os::raw::c_ulonglong, +pub struct _OSUnalignedU16 { + pub __val: u16, } -#[pg_guard] -extern "C" { - pub fn drand48_r(__buffer: *mut drand48_data, __result: *mut f64) -> ::std::os::raw::c_int; +#[repr(C, packed)] +#[derive(Debug, Default, Copy, Clone)] +pub struct _OSUnalignedU32 { + pub __val: u32, } -#[pg_guard] -extern "C" { - pub fn erand48_r( - __xsubi: *mut ::std::os::raw::c_ushort, - __buffer: *mut drand48_data, - __result: *mut f64, - ) -> ::std::os::raw::c_int; +#[repr(C, packed)] +#[derive(Debug, Default, Copy, Clone)] +pub struct _OSUnalignedU64 { + pub __val: u64, } -#[pg_guard] -extern "C" { - pub fn lrand48_r( - __buffer: *mut drand48_data, - __result: *mut ::std::os::raw::c_long, - ) -> ::std::os::raw::c_int; +#[repr(C)] +#[derive(Copy, Clone)] +pub union wait { + pub w_status: ::std::os::raw::c_int, + pub w_T: wait__bindgen_ty_1, + pub w_S: wait__bindgen_ty_2, } -#[pg_guard] -extern "C" { - pub fn nrand48_r( - __xsubi: *mut ::std::os::raw::c_ushort, - __buffer: *mut drand48_data, - __result: *mut ::std::os::raw::c_long, - ) -> ::std::os::raw::c_int; +#[repr(C)] +#[repr(align(4))] +#[derive(Debug, Default, Copy, Clone)] +pub struct wait__bindgen_ty_1 { + pub _bitfield_align_1: [u16; 0], + pub _bitfield_1: __BindgenBitfieldUnit<[u8; 4usize]>, +} +impl wait__bindgen_ty_1 { + #[inline] + pub fn w_Termsig(&self) -> ::std::os::raw::c_uint { + unsafe { ::std::mem::transmute(self._bitfield_1.get(0usize, 7u8) as u32) } + } + #[inline] + pub fn set_w_Termsig(&mut self, val: ::std::os::raw::c_uint) { + unsafe { + let val: u32 = ::std::mem::transmute(val); + self._bitfield_1.set(0usize, 7u8, val as u64) + } + } + #[inline] + pub fn w_Coredump(&self) -> ::std::os::raw::c_uint { + unsafe { ::std::mem::transmute(self._bitfield_1.get(7usize, 1u8) as u32) } + } + #[inline] + pub fn set_w_Coredump(&mut self, val: ::std::os::raw::c_uint) { + unsafe { + let val: u32 = ::std::mem::transmute(val); + self._bitfield_1.set(7usize, 1u8, val as u64) + } + } + #[inline] + pub fn w_Retcode(&self) -> ::std::os::raw::c_uint { + unsafe { ::std::mem::transmute(self._bitfield_1.get(8usize, 8u8) as u32) } + } + #[inline] + pub fn set_w_Retcode(&mut self, val: ::std::os::raw::c_uint) { + unsafe { + let val: u32 = ::std::mem::transmute(val); + self._bitfield_1.set(8usize, 8u8, val as u64) + } + } + #[inline] + pub fn w_Filler(&self) -> ::std::os::raw::c_uint { + unsafe { ::std::mem::transmute(self._bitfield_1.get(16usize, 16u8) as u32) } + } + #[inline] + pub fn set_w_Filler(&mut self, val: ::std::os::raw::c_uint) { + unsafe { + let val: u32 = ::std::mem::transmute(val); + self._bitfield_1.set(16usize, 16u8, val as u64) + } + } + #[inline] + pub fn new_bitfield_1( + w_Termsig: ::std::os::raw::c_uint, + w_Coredump: ::std::os::raw::c_uint, + w_Retcode: ::std::os::raw::c_uint, + w_Filler: ::std::os::raw::c_uint, + ) -> __BindgenBitfieldUnit<[u8; 4usize]> { + let mut __bindgen_bitfield_unit: __BindgenBitfieldUnit<[u8; 4usize]> = Default::default(); + __bindgen_bitfield_unit.set(0usize, 7u8, { + let w_Termsig: u32 = unsafe { ::std::mem::transmute(w_Termsig) }; + w_Termsig as u64 + }); + __bindgen_bitfield_unit.set(7usize, 1u8, { + let w_Coredump: u32 = unsafe { ::std::mem::transmute(w_Coredump) }; + w_Coredump as u64 + }); + __bindgen_bitfield_unit.set(8usize, 8u8, { + let w_Retcode: u32 = unsafe { ::std::mem::transmute(w_Retcode) }; + w_Retcode as u64 + }); + __bindgen_bitfield_unit.set(16usize, 16u8, { + let w_Filler: u32 = unsafe { ::std::mem::transmute(w_Filler) }; + w_Filler as u64 + }); + __bindgen_bitfield_unit + } +} +#[repr(C)] +#[repr(align(4))] +#[derive(Debug, Default, Copy, Clone)] +pub struct wait__bindgen_ty_2 { + pub _bitfield_align_1: [u16; 0], + pub _bitfield_1: __BindgenBitfieldUnit<[u8; 4usize]>, +} +impl wait__bindgen_ty_2 { + #[inline] + pub fn w_Stopval(&self) -> ::std::os::raw::c_uint { + unsafe { ::std::mem::transmute(self._bitfield_1.get(0usize, 8u8) as u32) } + } + #[inline] + pub fn set_w_Stopval(&mut self, val: ::std::os::raw::c_uint) { + unsafe { + let val: u32 = ::std::mem::transmute(val); + self._bitfield_1.set(0usize, 8u8, val as u64) + } + } + #[inline] + pub fn w_Stopsig(&self) -> ::std::os::raw::c_uint { + unsafe { ::std::mem::transmute(self._bitfield_1.get(8usize, 8u8) as u32) } + } + #[inline] + pub fn set_w_Stopsig(&mut self, val: ::std::os::raw::c_uint) { + unsafe { + let val: u32 = ::std::mem::transmute(val); + self._bitfield_1.set(8usize, 8u8, val as u64) + } + } + #[inline] + pub fn w_Filler(&self) -> ::std::os::raw::c_uint { + unsafe { ::std::mem::transmute(self._bitfield_1.get(16usize, 16u8) as u32) } + } + #[inline] + pub fn set_w_Filler(&mut self, val: ::std::os::raw::c_uint) { + unsafe { + let val: u32 = ::std::mem::transmute(val); + self._bitfield_1.set(16usize, 16u8, val as u64) + } + } + #[inline] + pub fn new_bitfield_1( + w_Stopval: ::std::os::raw::c_uint, + w_Stopsig: ::std::os::raw::c_uint, + w_Filler: ::std::os::raw::c_uint, + ) -> __BindgenBitfieldUnit<[u8; 4usize]> { + let mut __bindgen_bitfield_unit: __BindgenBitfieldUnit<[u8; 4usize]> = Default::default(); + __bindgen_bitfield_unit.set(0usize, 8u8, { + let w_Stopval: u32 = unsafe { ::std::mem::transmute(w_Stopval) }; + w_Stopval as u64 + }); + __bindgen_bitfield_unit.set(8usize, 8u8, { + let w_Stopsig: u32 = unsafe { ::std::mem::transmute(w_Stopsig) }; + w_Stopsig as u64 + }); + __bindgen_bitfield_unit.set(16usize, 16u8, { + let w_Filler: u32 = unsafe { ::std::mem::transmute(w_Filler) }; + w_Filler as u64 + }); + __bindgen_bitfield_unit + } +} +impl Default for wait { + fn default() -> Self { + let mut s = ::std::mem::MaybeUninit::::uninit(); + unsafe { + ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); + s.assume_init() + } + } } #[pg_guard] extern "C" { - pub fn mrand48_r( - __buffer: *mut drand48_data, - __result: *mut ::std::os::raw::c_long, - ) -> ::std::os::raw::c_int; + pub fn wait(arg1: *mut ::std::os::raw::c_int) -> pid_t; } #[pg_guard] extern "C" { - pub fn jrand48_r( - __xsubi: *mut ::std::os::raw::c_ushort, - __buffer: *mut drand48_data, - __result: *mut ::std::os::raw::c_long, - ) -> ::std::os::raw::c_int; + pub fn waitpid( + arg1: pid_t, + arg2: *mut ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ) -> pid_t; } #[pg_guard] extern "C" { - pub fn srand48_r( - __seedval: ::std::os::raw::c_long, - __buffer: *mut drand48_data, + pub fn waitid( + arg1: idtype_t, + arg2: id_t, + arg3: *mut siginfo_t, + arg4: ::std::os::raw::c_int, ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn seed48_r( - __seed16v: *mut ::std::os::raw::c_ushort, - __buffer: *mut drand48_data, - ) -> ::std::os::raw::c_int; + pub fn wait3( + arg1: *mut ::std::os::raw::c_int, + arg2: ::std::os::raw::c_int, + arg3: *mut rusage, + ) -> pid_t; } #[pg_guard] extern "C" { - pub fn lcong48_r( - __param: *mut ::std::os::raw::c_ushort, - __buffer: *mut drand48_data, - ) -> ::std::os::raw::c_int; + pub fn wait4( + arg1: pid_t, + arg2: *mut ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + arg4: *mut rusage, + ) -> pid_t; } #[pg_guard] extern "C" { - pub fn malloc(__size: ::std::os::raw::c_ulong) -> *mut ::std::os::raw::c_void; + pub fn alloca(arg1: ::std::os::raw::c_ulong) -> *mut ::std::os::raw::c_void; +} +pub type ct_rune_t = __darwin_ct_rune_t; +pub type rune_t = __darwin_rune_t; +pub type wchar_t = __darwin_wchar_t; +#[repr(C)] +#[derive(Debug, Default, Copy, Clone)] +pub struct div_t { + pub quot: ::std::os::raw::c_int, + pub rem: ::std::os::raw::c_int, +} +#[repr(C)] +#[derive(Debug, Default, Copy, Clone)] +pub struct ldiv_t { + pub quot: ::std::os::raw::c_long, + pub rem: ::std::os::raw::c_long, +} +#[repr(C)] +#[derive(Debug, Default, Copy, Clone)] +pub struct lldiv_t { + pub quot: ::std::os::raw::c_longlong, + pub rem: ::std::os::raw::c_longlong, } #[pg_guard] extern "C" { - pub fn calloc( - __nmemb: ::std::os::raw::c_ulong, - __size: ::std::os::raw::c_ulong, - ) -> *mut ::std::os::raw::c_void; + pub static mut __mb_cur_max: ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn realloc( - __ptr: *mut ::std::os::raw::c_void, + pub fn malloc(__size: ::std::os::raw::c_ulong) -> *mut ::std::os::raw::c_void; +} +#[pg_guard] +extern "C" { + pub fn calloc( + __count: ::std::os::raw::c_ulong, __size: ::std::os::raw::c_ulong, ) -> *mut ::std::os::raw::c_void; } #[pg_guard] extern "C" { - pub fn free(__ptr: *mut ::std::os::raw::c_void); + pub fn free(arg1: *mut ::std::os::raw::c_void); } #[pg_guard] extern "C" { - pub fn reallocarray( + pub fn realloc( __ptr: *mut ::std::os::raw::c_void, - __nmemb: usize, - __size: usize, + __size: ::std::os::raw::c_ulong, ) -> *mut ::std::os::raw::c_void; } #[pg_guard] extern "C" { - pub fn alloca(__size: ::std::os::raw::c_ulong) -> *mut ::std::os::raw::c_void; + pub fn valloc(arg1: usize) -> *mut ::std::os::raw::c_void; } #[pg_guard] extern "C" { - pub fn valloc(__size: usize) -> *mut ::std::os::raw::c_void; + pub fn aligned_alloc( + __alignment: ::std::os::raw::c_ulong, + __size: ::std::os::raw::c_ulong, + ) -> *mut ::std::os::raw::c_void; } #[pg_guard] extern "C" { @@ -4522,1374 +5425,1150 @@ extern "C" { } #[pg_guard] extern "C" { - pub fn aligned_alloc( - __alignment: ::std::os::raw::c_ulong, - __size: ::std::os::raw::c_ulong, - ) -> *mut ::std::os::raw::c_void; + pub fn abort(); } #[pg_guard] extern "C" { - pub fn abort(); + pub fn abs(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn atexit(__func: ::std::option::Option) -> ::std::os::raw::c_int; + pub fn atexit(arg1: ::std::option::Option) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn at_quick_exit( - __func: ::std::option::Option, - ) -> ::std::os::raw::c_int; + pub fn atof(arg1: *const ::std::os::raw::c_char) -> f64; } #[pg_guard] extern "C" { - pub fn on_exit( - __func: ::std::option::Option< - unsafe extern "C" fn( - __status: ::std::os::raw::c_int, - __arg: *mut ::std::os::raw::c_void, - ), - >, - __arg: *mut ::std::os::raw::c_void, - ) -> ::std::os::raw::c_int; + pub fn atoi(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn exit(__status: ::std::os::raw::c_int); + pub fn atol(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_long; } #[pg_guard] extern "C" { - pub fn quick_exit(__status: ::std::os::raw::c_int); + pub fn atoll(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_longlong; } #[pg_guard] extern "C" { - pub fn _Exit(__status: ::std::os::raw::c_int); + pub fn bsearch( + __key: *const ::std::os::raw::c_void, + __base: *const ::std::os::raw::c_void, + __nel: usize, + __width: usize, + __compar: ::std::option::Option< + unsafe extern "C" fn( + arg1: *const ::std::os::raw::c_void, + arg2: *const ::std::os::raw::c_void, + ) -> ::std::os::raw::c_int, + >, + ) -> *mut ::std::os::raw::c_void; } #[pg_guard] extern "C" { - pub fn getenv(__name: *const ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; + pub fn div(arg1: ::std::os::raw::c_int, arg2: ::std::os::raw::c_int) -> div_t; } #[pg_guard] extern "C" { - pub fn putenv(__string: *mut ::std::os::raw::c_char) -> ::std::os::raw::c_int; + pub fn exit(arg1: ::std::os::raw::c_int); } #[pg_guard] extern "C" { - pub fn setenv( - __name: *const ::std::os::raw::c_char, - __value: *const ::std::os::raw::c_char, - __replace: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; + pub fn getenv(arg1: *const ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; +} +#[pg_guard] +extern "C" { + pub fn labs(arg1: ::std::os::raw::c_long) -> ::std::os::raw::c_long; +} +#[pg_guard] +extern "C" { + pub fn ldiv(arg1: ::std::os::raw::c_long, arg2: ::std::os::raw::c_long) -> ldiv_t; } #[pg_guard] extern "C" { - pub fn unsetenv(__name: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; + pub fn llabs(arg1: ::std::os::raw::c_longlong) -> ::std::os::raw::c_longlong; } #[pg_guard] extern "C" { - pub fn clearenv() -> ::std::os::raw::c_int; + pub fn lldiv(arg1: ::std::os::raw::c_longlong, arg2: ::std::os::raw::c_longlong) -> lldiv_t; } #[pg_guard] extern "C" { - pub fn mktemp(__template: *mut ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; + pub fn mblen(__s: *const ::std::os::raw::c_char, __n: usize) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn mkstemp(__template: *mut ::std::os::raw::c_char) -> ::std::os::raw::c_int; + pub fn mbstowcs(arg1: *mut wchar_t, arg2: *const ::std::os::raw::c_char, arg3: usize) -> usize; } #[pg_guard] extern "C" { - pub fn mkstemps( - __template: *mut ::std::os::raw::c_char, - __suffixlen: ::std::os::raw::c_int, + pub fn mbtowc( + arg1: *mut wchar_t, + arg2: *const ::std::os::raw::c_char, + arg3: usize, ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn mkdtemp(__template: *mut ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; + pub fn qsort( + __base: *mut ::std::os::raw::c_void, + __nel: usize, + __width: usize, + __compar: ::std::option::Option< + unsafe extern "C" fn( + arg1: *const ::std::os::raw::c_void, + arg2: *const ::std::os::raw::c_void, + ) -> ::std::os::raw::c_int, + >, + ); } #[pg_guard] extern "C" { - pub fn system(__command: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; + pub fn rand() -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn realpath( - __name: *const ::std::os::raw::c_char, - __resolved: *mut ::std::os::raw::c_char, - ) -> *mut ::std::os::raw::c_char; + pub fn srand(arg1: ::std::os::raw::c_uint); } -pub type __compar_fn_t = ::std::option::Option< - unsafe extern "C" fn( - arg1: *const ::std::os::raw::c_void, - arg2: *const ::std::os::raw::c_void, - ) -> ::std::os::raw::c_int, ->; #[pg_guard] extern "C" { - pub fn bsearch( - __key: *const ::std::os::raw::c_void, - __base: *const ::std::os::raw::c_void, - __nmemb: usize, - __size: usize, - __compar: __compar_fn_t, - ) -> *mut ::std::os::raw::c_void; + pub fn strtod( + arg1: *const ::std::os::raw::c_char, + arg2: *mut *mut ::std::os::raw::c_char, + ) -> f64; } #[pg_guard] extern "C" { - pub fn qsort( - __base: *mut ::std::os::raw::c_void, - __nmemb: usize, - __size: usize, - __compar: __compar_fn_t, - ); + pub fn strtof( + arg1: *const ::std::os::raw::c_char, + arg2: *mut *mut ::std::os::raw::c_char, + ) -> f32; } #[pg_guard] extern "C" { - pub fn abs(__x: ::std::os::raw::c_int) -> ::std::os::raw::c_int; + pub fn strtol( + __str: *const ::std::os::raw::c_char, + __endptr: *mut *mut ::std::os::raw::c_char, + __base: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_long; } #[pg_guard] extern "C" { - pub fn labs(__x: ::std::os::raw::c_long) -> ::std::os::raw::c_long; + pub fn strtold( + arg1: *const ::std::os::raw::c_char, + arg2: *mut *mut ::std::os::raw::c_char, + ) -> f64; } #[pg_guard] extern "C" { - pub fn llabs(__x: ::std::os::raw::c_longlong) -> ::std::os::raw::c_longlong; + pub fn strtoll( + __str: *const ::std::os::raw::c_char, + __endptr: *mut *mut ::std::os::raw::c_char, + __base: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_longlong; } #[pg_guard] extern "C" { - pub fn div(__numer: ::std::os::raw::c_int, __denom: ::std::os::raw::c_int) -> div_t; + pub fn strtoul( + __str: *const ::std::os::raw::c_char, + __endptr: *mut *mut ::std::os::raw::c_char, + __base: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_ulong; } #[pg_guard] extern "C" { - pub fn ldiv(__numer: ::std::os::raw::c_long, __denom: ::std::os::raw::c_long) -> ldiv_t; + pub fn strtoull( + __str: *const ::std::os::raw::c_char, + __endptr: *mut *mut ::std::os::raw::c_char, + __base: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_ulonglong; } #[pg_guard] extern "C" { - pub fn lldiv( - __numer: ::std::os::raw::c_longlong, - __denom: ::std::os::raw::c_longlong, - ) -> lldiv_t; + pub fn system(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn ecvt( - __value: f64, - __ndigit: ::std::os::raw::c_int, - __decpt: *mut ::std::os::raw::c_int, - __sign: *mut ::std::os::raw::c_int, - ) -> *mut ::std::os::raw::c_char; + pub fn wcstombs(arg1: *mut ::std::os::raw::c_char, arg2: *const wchar_t, arg3: usize) -> usize; } #[pg_guard] extern "C" { - pub fn fcvt( - __value: f64, - __ndigit: ::std::os::raw::c_int, - __decpt: *mut ::std::os::raw::c_int, - __sign: *mut ::std::os::raw::c_int, - ) -> *mut ::std::os::raw::c_char; + pub fn wctomb(arg1: *mut ::std::os::raw::c_char, arg2: wchar_t) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn gcvt( - __value: f64, - __ndigit: ::std::os::raw::c_int, - __buf: *mut ::std::os::raw::c_char, - ) -> *mut ::std::os::raw::c_char; + pub fn _Exit(arg1: ::std::os::raw::c_int); } #[pg_guard] extern "C" { - pub fn qecvt( - __value: u128, - __ndigit: ::std::os::raw::c_int, - __decpt: *mut ::std::os::raw::c_int, - __sign: *mut ::std::os::raw::c_int, - ) -> *mut ::std::os::raw::c_char; + pub fn a64l(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_long; } #[pg_guard] extern "C" { - pub fn qfcvt( - __value: u128, - __ndigit: ::std::os::raw::c_int, - __decpt: *mut ::std::os::raw::c_int, - __sign: *mut ::std::os::raw::c_int, - ) -> *mut ::std::os::raw::c_char; + pub fn drand48() -> f64; } #[pg_guard] extern "C" { - pub fn qgcvt( - __value: u128, - __ndigit: ::std::os::raw::c_int, - __buf: *mut ::std::os::raw::c_char, + pub fn ecvt( + arg1: f64, + arg2: ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, ) -> *mut ::std::os::raw::c_char; } #[pg_guard] extern "C" { - pub fn ecvt_r( - __value: f64, - __ndigit: ::std::os::raw::c_int, - __decpt: *mut ::std::os::raw::c_int, - __sign: *mut ::std::os::raw::c_int, - __buf: *mut ::std::os::raw::c_char, - __len: usize, - ) -> ::std::os::raw::c_int; + pub fn erand48(arg1: *mut ::std::os::raw::c_ushort) -> f64; } #[pg_guard] extern "C" { - pub fn fcvt_r( - __value: f64, - __ndigit: ::std::os::raw::c_int, - __decpt: *mut ::std::os::raw::c_int, - __sign: *mut ::std::os::raw::c_int, - __buf: *mut ::std::os::raw::c_char, - __len: usize, - ) -> ::std::os::raw::c_int; + pub fn fcvt( + arg1: f64, + arg2: ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + ) -> *mut ::std::os::raw::c_char; } #[pg_guard] extern "C" { - pub fn qecvt_r( - __value: u128, - __ndigit: ::std::os::raw::c_int, - __decpt: *mut ::std::os::raw::c_int, - __sign: *mut ::std::os::raw::c_int, - __buf: *mut ::std::os::raw::c_char, - __len: usize, - ) -> ::std::os::raw::c_int; + pub fn gcvt( + arg1: f64, + arg2: ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; } #[pg_guard] extern "C" { - pub fn qfcvt_r( - __value: u128, - __ndigit: ::std::os::raw::c_int, - __decpt: *mut ::std::os::raw::c_int, - __sign: *mut ::std::os::raw::c_int, - __buf: *mut ::std::os::raw::c_char, - __len: usize, + pub fn getsubopt( + arg1: *mut *mut ::std::os::raw::c_char, + arg2: *const *mut ::std::os::raw::c_char, + arg3: *mut *mut ::std::os::raw::c_char, ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn mblen(__s: *const ::std::os::raw::c_char, __n: usize) -> ::std::os::raw::c_int; + pub fn grantpt(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn mbtowc( - __pwc: *mut wchar_t, - __s: *const ::std::os::raw::c_char, - __n: usize, - ) -> ::std::os::raw::c_int; + pub fn initstate( + arg1: ::std::os::raw::c_uint, + arg2: *mut ::std::os::raw::c_char, + arg3: usize, + ) -> *mut ::std::os::raw::c_char; } #[pg_guard] extern "C" { - pub fn wctomb(__s: *mut ::std::os::raw::c_char, __wchar: wchar_t) -> ::std::os::raw::c_int; + pub fn jrand48(arg1: *mut ::std::os::raw::c_ushort) -> ::std::os::raw::c_long; } #[pg_guard] extern "C" { - pub fn mbstowcs(__pwcs: *mut wchar_t, __s: *const ::std::os::raw::c_char, __n: usize) -> usize; + pub fn l64a(arg1: ::std::os::raw::c_long) -> *mut ::std::os::raw::c_char; } #[pg_guard] extern "C" { - pub fn wcstombs(__s: *mut ::std::os::raw::c_char, __pwcs: *const wchar_t, __n: usize) -> usize; + pub fn lcong48(arg1: *mut ::std::os::raw::c_ushort); } #[pg_guard] extern "C" { - pub fn rpmatch(__response: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; + pub fn lrand48() -> ::std::os::raw::c_long; } #[pg_guard] extern "C" { - pub fn getsubopt( - __optionp: *mut *mut ::std::os::raw::c_char, - __tokens: *const *mut ::std::os::raw::c_char, - __valuep: *mut *mut ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; + pub fn mktemp(arg1: *mut ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; } #[pg_guard] extern "C" { - pub fn getloadavg(__loadavg: *mut f64, __nelem: ::std::os::raw::c_int) - -> ::std::os::raw::c_int; + pub fn mkstemp(arg1: *mut ::std::os::raw::c_char) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn memcpy( - __dest: *mut ::std::os::raw::c_void, - __src: *const ::std::os::raw::c_void, - __n: ::std::os::raw::c_ulong, - ) -> *mut ::std::os::raw::c_void; + pub fn mrand48() -> ::std::os::raw::c_long; } #[pg_guard] extern "C" { - pub fn memmove( - __dest: *mut ::std::os::raw::c_void, - __src: *const ::std::os::raw::c_void, - __n: ::std::os::raw::c_ulong, - ) -> *mut ::std::os::raw::c_void; + pub fn nrand48(arg1: *mut ::std::os::raw::c_ushort) -> ::std::os::raw::c_long; } #[pg_guard] extern "C" { - pub fn memccpy( - __dest: *mut ::std::os::raw::c_void, - __src: *const ::std::os::raw::c_void, - __c: ::std::os::raw::c_int, - __n: ::std::os::raw::c_ulong, - ) -> *mut ::std::os::raw::c_void; + pub fn posix_openpt(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn memset( - __s: *mut ::std::os::raw::c_void, - __c: ::std::os::raw::c_int, - __n: ::std::os::raw::c_ulong, - ) -> *mut ::std::os::raw::c_void; + pub fn ptsname(arg1: ::std::os::raw::c_int) -> *mut ::std::os::raw::c_char; } #[pg_guard] extern "C" { - pub fn memcmp( - __s1: *const ::std::os::raw::c_void, - __s2: *const ::std::os::raw::c_void, - __n: ::std::os::raw::c_ulong, + pub fn ptsname_r( + fildes: ::std::os::raw::c_int, + buffer: *mut ::std::os::raw::c_char, + buflen: usize, ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn memchr( - __s: *const ::std::os::raw::c_void, - __c: ::std::os::raw::c_int, - __n: ::std::os::raw::c_ulong, - ) -> *mut ::std::os::raw::c_void; + pub fn putenv(arg1: *mut ::std::os::raw::c_char) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn strcpy( - __dest: *mut ::std::os::raw::c_char, - __src: *const ::std::os::raw::c_char, - ) -> *mut ::std::os::raw::c_char; + pub fn random() -> ::std::os::raw::c_long; } #[pg_guard] extern "C" { - pub fn strncpy( - __dest: *mut ::std::os::raw::c_char, - __src: *const ::std::os::raw::c_char, - __n: ::std::os::raw::c_ulong, - ) -> *mut ::std::os::raw::c_char; + pub fn rand_r(arg1: *mut ::std::os::raw::c_uint) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn strcat( - __dest: *mut ::std::os::raw::c_char, - __src: *const ::std::os::raw::c_char, + #[link_name = "\u{1}_realpath$DARWIN_EXTSN"] + pub fn realpath( + arg1: *const ::std::os::raw::c_char, + arg2: *mut ::std::os::raw::c_char, ) -> *mut ::std::os::raw::c_char; } #[pg_guard] extern "C" { - pub fn strncat( - __dest: *mut ::std::os::raw::c_char, - __src: *const ::std::os::raw::c_char, - __n: ::std::os::raw::c_ulong, - ) -> *mut ::std::os::raw::c_char; + pub fn seed48(arg1: *mut ::std::os::raw::c_ushort) -> *mut ::std::os::raw::c_ushort; } #[pg_guard] extern "C" { - pub fn strcmp( - __s1: *const ::std::os::raw::c_char, - __s2: *const ::std::os::raw::c_char, + pub fn setenv( + __name: *const ::std::os::raw::c_char, + __value: *const ::std::os::raw::c_char, + __overwrite: ::std::os::raw::c_int, ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn strncmp( - __s1: *const ::std::os::raw::c_char, - __s2: *const ::std::os::raw::c_char, - __n: ::std::os::raw::c_ulong, - ) -> ::std::os::raw::c_int; + pub fn setkey(arg1: *const ::std::os::raw::c_char); } #[pg_guard] extern "C" { - pub fn strcoll( - __s1: *const ::std::os::raw::c_char, - __s2: *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; + pub fn setstate(arg1: *const ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; } #[pg_guard] extern "C" { - pub fn strxfrm( - __dest: *mut ::std::os::raw::c_char, - __src: *const ::std::os::raw::c_char, - __n: ::std::os::raw::c_ulong, - ) -> ::std::os::raw::c_ulong; -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct __locale_struct { - pub __locales: [*mut __locale_data; 13usize], - pub __ctype_b: *const ::std::os::raw::c_ushort, - pub __ctype_tolower: *const ::std::os::raw::c_int, - pub __ctype_toupper: *const ::std::os::raw::c_int, - pub __names: [*const ::std::os::raw::c_char; 13usize], -} -impl Default for __locale_struct { - fn default() -> Self { - let mut s = ::std::mem::MaybeUninit::::uninit(); - unsafe { - ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); - s.assume_init() - } - } + pub fn srand48(arg1: ::std::os::raw::c_long); } -pub type __locale_t = *mut __locale_struct; -pub type locale_t = __locale_t; #[pg_guard] extern "C" { - pub fn strcoll_l( - __s1: *const ::std::os::raw::c_char, - __s2: *const ::std::os::raw::c_char, - __l: locale_t, - ) -> ::std::os::raw::c_int; + pub fn srandom(arg1: ::std::os::raw::c_uint); } #[pg_guard] extern "C" { - pub fn strxfrm_l( - __dest: *mut ::std::os::raw::c_char, - __src: *const ::std::os::raw::c_char, - __n: usize, - __l: locale_t, - ) -> usize; + pub fn unlockpt(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn strdup(__s: *const ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; + pub fn unsetenv(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; } +pub type dev_t = __darwin_dev_t; +pub type mode_t = __darwin_mode_t; #[pg_guard] extern "C" { - pub fn strndup( - __string: *const ::std::os::raw::c_char, - __n: ::std::os::raw::c_ulong, - ) -> *mut ::std::os::raw::c_char; + pub fn arc4random() -> u32; } #[pg_guard] extern "C" { - pub fn strchr( - __s: *const ::std::os::raw::c_char, - __c: ::std::os::raw::c_int, - ) -> *mut ::std::os::raw::c_char; + pub fn arc4random_addrandom(arg1: *mut ::std::os::raw::c_uchar, arg2: ::std::os::raw::c_int); } #[pg_guard] extern "C" { - pub fn strrchr( - __s: *const ::std::os::raw::c_char, - __c: ::std::os::raw::c_int, - ) -> *mut ::std::os::raw::c_char; + pub fn arc4random_buf(__buf: *mut ::std::os::raw::c_void, __nbytes: usize); } #[pg_guard] extern "C" { - pub fn strcspn( - __s: *const ::std::os::raw::c_char, - __reject: *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_ulong; + pub fn arc4random_stir(); } #[pg_guard] extern "C" { - pub fn strspn( - __s: *const ::std::os::raw::c_char, - __accept: *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_ulong; + pub fn arc4random_uniform(__upper_bound: u32) -> u32; } #[pg_guard] extern "C" { - pub fn strpbrk( - __s: *const ::std::os::raw::c_char, - __accept: *const ::std::os::raw::c_char, - ) -> *mut ::std::os::raw::c_char; + pub fn atexit_b(arg1: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn strstr( - __haystack: *const ::std::os::raw::c_char, - __needle: *const ::std::os::raw::c_char, - ) -> *mut ::std::os::raw::c_char; + pub fn bsearch_b( + __key: *const ::std::os::raw::c_void, + __base: *const ::std::os::raw::c_void, + __nel: usize, + __width: usize, + __compar: *mut ::std::os::raw::c_void, + ) -> *mut ::std::os::raw::c_void; } #[pg_guard] extern "C" { - pub fn strtok( - __s: *mut ::std::os::raw::c_char, - __delim: *const ::std::os::raw::c_char, + pub fn cgetcap( + arg1: *mut ::std::os::raw::c_char, + arg2: *const ::std::os::raw::c_char, + arg3: ::std::os::raw::c_int, ) -> *mut ::std::os::raw::c_char; } #[pg_guard] extern "C" { - pub fn __strtok_r( - __s: *mut ::std::os::raw::c_char, - __delim: *const ::std::os::raw::c_char, - __save_ptr: *mut *mut ::std::os::raw::c_char, - ) -> *mut ::std::os::raw::c_char; + pub fn cgetclose() -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn strtok_r( - __s: *mut ::std::os::raw::c_char, - __delim: *const ::std::os::raw::c_char, - __save_ptr: *mut *mut ::std::os::raw::c_char, - ) -> *mut ::std::os::raw::c_char; + pub fn cgetent( + arg1: *mut *mut ::std::os::raw::c_char, + arg2: *mut *mut ::std::os::raw::c_char, + arg3: *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn strlen(__s: *const ::std::os::raw::c_char) -> ::std::os::raw::c_ulong; + pub fn cgetfirst( + arg1: *mut *mut ::std::os::raw::c_char, + arg2: *mut *mut ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn strnlen(__string: *const ::std::os::raw::c_char, __maxlen: usize) -> usize; + pub fn cgetmatch( + arg1: *const ::std::os::raw::c_char, + arg2: *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn strerror(__errnum: ::std::os::raw::c_int) -> *mut ::std::os::raw::c_char; + pub fn cgetnext( + arg1: *mut *mut ::std::os::raw::c_char, + arg2: *mut *mut ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - #[link_name = "\u{1}__xpg_strerror_r"] - pub fn strerror_r( - __errnum: ::std::os::raw::c_int, - __buf: *mut ::std::os::raw::c_char, - __buflen: usize, + pub fn cgetnum( + arg1: *mut ::std::os::raw::c_char, + arg2: *const ::std::os::raw::c_char, + arg3: *mut ::std::os::raw::c_long, ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn strerror_l( - __errnum: ::std::os::raw::c_int, - __l: locale_t, - ) -> *mut ::std::os::raw::c_char; + pub fn cgetset(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn bcmp( - __s1: *const ::std::os::raw::c_void, - __s2: *const ::std::os::raw::c_void, - __n: ::std::os::raw::c_ulong, + pub fn cgetstr( + arg1: *mut ::std::os::raw::c_char, + arg2: *const ::std::os::raw::c_char, + arg3: *mut *mut ::std::os::raw::c_char, ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn bcopy( - __src: *const ::std::os::raw::c_void, - __dest: *mut ::std::os::raw::c_void, - __n: usize, - ); + pub fn cgetustr( + arg1: *mut ::std::os::raw::c_char, + arg2: *const ::std::os::raw::c_char, + arg3: *mut *mut ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn bzero(__s: *mut ::std::os::raw::c_void, __n: ::std::os::raw::c_ulong); + pub fn daemon( + arg1: ::std::os::raw::c_int, + arg2: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn index( - __s: *const ::std::os::raw::c_char, - __c: ::std::os::raw::c_int, + pub fn devname(arg1: dev_t, arg2: mode_t) -> *mut ::std::os::raw::c_char; +} +#[pg_guard] +extern "C" { + pub fn devname_r( + arg1: dev_t, + arg2: mode_t, + buf: *mut ::std::os::raw::c_char, + len: ::std::os::raw::c_int, ) -> *mut ::std::os::raw::c_char; } #[pg_guard] extern "C" { - pub fn rindex( - __s: *const ::std::os::raw::c_char, - __c: ::std::os::raw::c_int, + pub fn getbsize( + arg1: *mut ::std::os::raw::c_int, + arg2: *mut ::std::os::raw::c_long, ) -> *mut ::std::os::raw::c_char; } #[pg_guard] extern "C" { - pub fn ffs(__i: ::std::os::raw::c_int) -> ::std::os::raw::c_int; + pub fn getloadavg(arg1: *mut f64, arg2: ::std::os::raw::c_int) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn ffsl(__l: ::std::os::raw::c_long) -> ::std::os::raw::c_int; + pub fn getprogname() -> *const ::std::os::raw::c_char; } #[pg_guard] extern "C" { - pub fn ffsll(__ll: ::std::os::raw::c_longlong) -> ::std::os::raw::c_int; + pub fn setprogname(arg1: *const ::std::os::raw::c_char); } #[pg_guard] extern "C" { - pub fn strcasecmp( - __s1: *const ::std::os::raw::c_char, - __s2: *const ::std::os::raw::c_char, + pub fn heapsort( + __base: *mut ::std::os::raw::c_void, + __nel: usize, + __width: usize, + __compar: ::std::option::Option< + unsafe extern "C" fn( + arg1: *const ::std::os::raw::c_void, + arg2: *const ::std::os::raw::c_void, + ) -> ::std::os::raw::c_int, + >, ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn strncasecmp( - __s1: *const ::std::os::raw::c_char, - __s2: *const ::std::os::raw::c_char, - __n: ::std::os::raw::c_ulong, + pub fn heapsort_b( + __base: *mut ::std::os::raw::c_void, + __nel: usize, + __width: usize, + __compar: *mut ::std::os::raw::c_void, ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn strcasecmp_l( - __s1: *const ::std::os::raw::c_char, - __s2: *const ::std::os::raw::c_char, - __loc: locale_t, + pub fn mergesort( + __base: *mut ::std::os::raw::c_void, + __nel: usize, + __width: usize, + __compar: ::std::option::Option< + unsafe extern "C" fn( + arg1: *const ::std::os::raw::c_void, + arg2: *const ::std::os::raw::c_void, + ) -> ::std::os::raw::c_int, + >, ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn strncasecmp_l( - __s1: *const ::std::os::raw::c_char, - __s2: *const ::std::os::raw::c_char, - __n: usize, - __loc: locale_t, + pub fn mergesort_b( + __base: *mut ::std::os::raw::c_void, + __nel: usize, + __width: usize, + __compar: *mut ::std::os::raw::c_void, ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn explicit_bzero(__s: *mut ::std::os::raw::c_void, __n: usize); + pub fn psort( + __base: *mut ::std::os::raw::c_void, + __nel: usize, + __width: usize, + __compar: ::std::option::Option< + unsafe extern "C" fn( + arg1: *const ::std::os::raw::c_void, + arg2: *const ::std::os::raw::c_void, + ) -> ::std::os::raw::c_int, + >, + ); } #[pg_guard] extern "C" { - pub fn strsep( - __stringp: *mut *mut ::std::os::raw::c_char, - __delim: *const ::std::os::raw::c_char, - ) -> *mut ::std::os::raw::c_char; + pub fn psort_b( + __base: *mut ::std::os::raw::c_void, + __nel: usize, + __width: usize, + __compar: *mut ::std::os::raw::c_void, + ); } #[pg_guard] extern "C" { - pub fn strsignal(__sig: ::std::os::raw::c_int) -> *mut ::std::os::raw::c_char; + pub fn psort_r( + __base: *mut ::std::os::raw::c_void, + __nel: usize, + __width: usize, + arg1: *mut ::std::os::raw::c_void, + __compar: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut ::std::os::raw::c_void, + arg2: *const ::std::os::raw::c_void, + arg3: *const ::std::os::raw::c_void, + ) -> ::std::os::raw::c_int, + >, + ); } #[pg_guard] extern "C" { - pub fn __stpcpy( - __dest: *mut ::std::os::raw::c_char, - __src: *const ::std::os::raw::c_char, - ) -> *mut ::std::os::raw::c_char; + pub fn qsort_b( + __base: *mut ::std::os::raw::c_void, + __nel: usize, + __width: usize, + __compar: *mut ::std::os::raw::c_void, + ); } #[pg_guard] extern "C" { - pub fn stpcpy( - __dest: *mut ::std::os::raw::c_char, - __src: *const ::std::os::raw::c_char, - ) -> *mut ::std::os::raw::c_char; + pub fn qsort_r( + __base: *mut ::std::os::raw::c_void, + __nel: usize, + __width: usize, + arg1: *mut ::std::os::raw::c_void, + __compar: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut ::std::os::raw::c_void, + arg2: *const ::std::os::raw::c_void, + arg3: *const ::std::os::raw::c_void, + ) -> ::std::os::raw::c_int, + >, + ); } #[pg_guard] extern "C" { - pub fn __stpncpy( - __dest: *mut ::std::os::raw::c_char, - __src: *const ::std::os::raw::c_char, - __n: usize, - ) -> *mut ::std::os::raw::c_char; + pub fn radixsort( + __base: *mut *const ::std::os::raw::c_uchar, + __nel: ::std::os::raw::c_int, + __table: *const ::std::os::raw::c_uchar, + __endbyte: ::std::os::raw::c_uint, + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn stpncpy( - __dest: *mut ::std::os::raw::c_char, - __src: *const ::std::os::raw::c_char, - __n: ::std::os::raw::c_ulong, - ) -> *mut ::std::os::raw::c_char; -} -#[repr(C)] -#[repr(align(16))] -#[derive(Debug, Default, Copy, Clone)] -pub struct max_align_t { - pub __clang_max_align_nonce1: ::std::os::raw::c_longlong, - pub __bindgen_padding_0: u64, - pub __clang_max_align_nonce2: u128, -} -pub type int_least8_t = __int_least8_t; -pub type int_least16_t = __int_least16_t; -pub type int_least32_t = __int_least32_t; -pub type int_least64_t = __int_least64_t; -pub type uint_least8_t = __uint_least8_t; -pub type uint_least16_t = __uint_least16_t; -pub type uint_least32_t = __uint_least32_t; -pub type uint_least64_t = __uint_least64_t; -pub type int_fast8_t = ::std::os::raw::c_schar; -pub type int_fast16_t = ::std::os::raw::c_long; -pub type int_fast32_t = ::std::os::raw::c_long; -pub type int_fast64_t = ::std::os::raw::c_long; -pub type uint_fast8_t = ::std::os::raw::c_uchar; -pub type uint_fast16_t = ::std::os::raw::c_ulong; -pub type uint_fast32_t = ::std::os::raw::c_ulong; -pub type uint_fast64_t = ::std::os::raw::c_ulong; -pub type intmax_t = __intmax_t; -pub type uintmax_t = __uintmax_t; -#[pg_guard] -extern "C" { - pub fn __errno_location() -> *mut ::std::os::raw::c_int; -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct lconv { - pub decimal_point: *mut ::std::os::raw::c_char, - pub thousands_sep: *mut ::std::os::raw::c_char, - pub grouping: *mut ::std::os::raw::c_char, - pub int_curr_symbol: *mut ::std::os::raw::c_char, - pub currency_symbol: *mut ::std::os::raw::c_char, - pub mon_decimal_point: *mut ::std::os::raw::c_char, - pub mon_thousands_sep: *mut ::std::os::raw::c_char, - pub mon_grouping: *mut ::std::os::raw::c_char, - pub positive_sign: *mut ::std::os::raw::c_char, - pub negative_sign: *mut ::std::os::raw::c_char, - pub int_frac_digits: ::std::os::raw::c_char, - pub frac_digits: ::std::os::raw::c_char, - pub p_cs_precedes: ::std::os::raw::c_char, - pub p_sep_by_space: ::std::os::raw::c_char, - pub n_cs_precedes: ::std::os::raw::c_char, - pub n_sep_by_space: ::std::os::raw::c_char, - pub p_sign_posn: ::std::os::raw::c_char, - pub n_sign_posn: ::std::os::raw::c_char, - pub int_p_cs_precedes: ::std::os::raw::c_char, - pub int_p_sep_by_space: ::std::os::raw::c_char, - pub int_n_cs_precedes: ::std::os::raw::c_char, - pub int_n_sep_by_space: ::std::os::raw::c_char, - pub int_p_sign_posn: ::std::os::raw::c_char, - pub int_n_sign_posn: ::std::os::raw::c_char, -} -impl Default for lconv { - fn default() -> Self { - let mut s = ::std::mem::MaybeUninit::::uninit(); - unsafe { - ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); - s.assume_init() - } - } + pub fn rpmatch(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn setlocale( - __category: ::std::os::raw::c_int, - __locale: *const ::std::os::raw::c_char, - ) -> *mut ::std::os::raw::c_char; + pub fn sradixsort( + __base: *mut *const ::std::os::raw::c_uchar, + __nel: ::std::os::raw::c_int, + __table: *const ::std::os::raw::c_uchar, + __endbyte: ::std::os::raw::c_uint, + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn localeconv() -> *mut lconv; + pub fn sranddev(); } #[pg_guard] extern "C" { - pub fn newlocale( - __category_mask: ::std::os::raw::c_int, - __locale: *const ::std::os::raw::c_char, - __base: locale_t, - ) -> locale_t; + pub fn srandomdev(); } #[pg_guard] extern "C" { - pub fn duplocale(__dataset: locale_t) -> locale_t; + pub fn reallocf( + __ptr: *mut ::std::os::raw::c_void, + __size: usize, + ) -> *mut ::std::os::raw::c_void; } #[pg_guard] extern "C" { - pub fn freelocale(__dataset: locale_t); + pub fn strtonum( + __numstr: *const ::std::os::raw::c_char, + __minval: ::std::os::raw::c_longlong, + __maxval: ::std::os::raw::c_longlong, + __errstrp: *mut *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_longlong; } #[pg_guard] extern "C" { - pub fn uselocale(__dataset: locale_t) -> locale_t; + pub fn strtoq( + __str: *const ::std::os::raw::c_char, + __endptr: *mut *mut ::std::os::raw::c_char, + __base: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_longlong; } -pub type pg_funcptr_t = ::std::option::Option; -pub type Pointer = *mut ::std::os::raw::c_char; -pub type int8 = ::std::os::raw::c_schar; -pub type int16 = ::std::os::raw::c_short; -pub type int32 = ::std::os::raw::c_int; -pub type uint8 = ::std::os::raw::c_uchar; -pub type uint16 = ::std::os::raw::c_ushort; -pub type uint32 = ::std::os::raw::c_uint; -pub type bits8 = uint8; -pub type bits16 = uint16; -pub type bits32 = uint32; -pub type int64 = ::std::os::raw::c_long; -pub type uint64 = ::std::os::raw::c_ulong; -pub type int128 = i128; -pub type uint128 = u128; -pub type Size = usize; -pub type Index = ::std::os::raw::c_uint; -pub type Offset = ::std::os::raw::c_int; -pub type float4 = f32; -pub type float8 = f64; -pub type regproc = Oid; -pub type RegProcedure = regproc; -pub type TransactionId = uint32; -pub type LocalTransactionId = uint32; -pub type SubTransactionId = uint32; -pub type MultiXactId = TransactionId; -pub type MultiXactOffset = uint32; -pub type CommandId = uint32; -#[repr(C)] -#[derive(Debug, Default)] -pub struct varlena { - pub vl_len_: [::std::os::raw::c_char; 4usize], - pub vl_dat: __IncompleteArrayField<::std::os::raw::c_char>, -} -pub type bytea = varlena; -pub type text = varlena; -pub type BpChar = varlena; -pub type VarChar = varlena; -#[repr(C)] -#[derive(Debug, Default)] -pub struct int2vector { - pub vl_len_: int32, - pub ndim: ::std::os::raw::c_int, - pub dataoffset: int32, - pub elemtype: Oid, - pub dim1: ::std::os::raw::c_int, - pub lbound1: ::std::os::raw::c_int, - pub values: __IncompleteArrayField, -} -#[repr(C)] -#[derive(Debug, Default)] -pub struct oidvector { - pub vl_len_: int32, - pub ndim: ::std::os::raw::c_int, - pub dataoffset: int32, - pub elemtype: Oid, - pub dim1: ::std::os::raw::c_int, - pub lbound1: ::std::os::raw::c_int, - pub values: __IncompleteArrayField, -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct nameData { - pub data: [::std::os::raw::c_char; 64usize], -} -impl Default for nameData { - fn default() -> Self { - let mut s = ::std::mem::MaybeUninit::::uninit(); - unsafe { - ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); - s.assume_init() - } - } -} -pub type NameData = nameData; -pub type Name = *mut NameData; #[pg_guard] extern "C" { - pub fn ExceptionalCondition( - conditionName: *const ::std::os::raw::c_char, - errorType: *const ::std::os::raw::c_char, - fileName: *const ::std::os::raw::c_char, - lineNumber: ::std::os::raw::c_int, - ); -} -#[repr(C)] -#[derive(Copy, Clone)] -pub union PGAlignedBlock { - pub data: [::std::os::raw::c_char; 8192usize], - pub force_align_d: f64, - pub force_align_i64: int64, -} -impl Default for PGAlignedBlock { - fn default() -> Self { - let mut s = ::std::mem::MaybeUninit::::uninit(); - unsafe { - ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); - s.assume_init() - } - } -} -#[repr(C)] -#[derive(Copy, Clone)] -pub union PGAlignedXLogBlock { - pub data: [::std::os::raw::c_char; 8192usize], - pub force_align_d: f64, - pub force_align_i64: int64, -} -impl Default for PGAlignedXLogBlock { - fn default() -> Self { - let mut s = ::std::mem::MaybeUninit::::uninit(); - unsafe { - ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); - s.assume_init() - } - } + pub fn strtouq( + __str: *const ::std::os::raw::c_char, + __endptr: *mut *mut ::std::os::raw::c_char, + __base: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_ulonglong; } -pub const _ISupper: ::std::os::raw::c_uint = 256; -pub const _ISlower: ::std::os::raw::c_uint = 512; -pub const _ISalpha: ::std::os::raw::c_uint = 1024; -pub const _ISdigit: ::std::os::raw::c_uint = 2048; -pub const _ISxdigit: ::std::os::raw::c_uint = 4096; -pub const _ISspace: ::std::os::raw::c_uint = 8192; -pub const _ISprint: ::std::os::raw::c_uint = 16384; -pub const _ISgraph: ::std::os::raw::c_uint = 32768; -pub const _ISblank: ::std::os::raw::c_uint = 1; -pub const _IScntrl: ::std::os::raw::c_uint = 2; -pub const _ISpunct: ::std::os::raw::c_uint = 4; -pub const _ISalnum: ::std::os::raw::c_uint = 8; -pub type _bindgen_ty_1 = ::std::os::raw::c_uint; #[pg_guard] extern "C" { - pub fn __ctype_b_loc() -> *mut *const ::std::os::raw::c_ushort; + pub static mut suboptarg: *mut ::std::os::raw::c_char; } #[pg_guard] extern "C" { - pub fn __ctype_tolower_loc() -> *mut *const __int32_t; + pub fn memchr( + __s: *const ::std::os::raw::c_void, + __c: ::std::os::raw::c_int, + __n: ::std::os::raw::c_ulong, + ) -> *mut ::std::os::raw::c_void; } #[pg_guard] extern "C" { - pub fn __ctype_toupper_loc() -> *mut *const __int32_t; + pub fn memcmp( + __s1: *const ::std::os::raw::c_void, + __s2: *const ::std::os::raw::c_void, + __n: ::std::os::raw::c_ulong, + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn isalnum(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; + pub fn memcpy( + __dst: *mut ::std::os::raw::c_void, + __src: *const ::std::os::raw::c_void, + __n: ::std::os::raw::c_ulong, + ) -> *mut ::std::os::raw::c_void; } #[pg_guard] extern "C" { - pub fn isalpha(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; + pub fn memmove( + __dst: *mut ::std::os::raw::c_void, + __src: *const ::std::os::raw::c_void, + __len: ::std::os::raw::c_ulong, + ) -> *mut ::std::os::raw::c_void; } #[pg_guard] extern "C" { - pub fn iscntrl(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; + pub fn memset( + __b: *mut ::std::os::raw::c_void, + __c: ::std::os::raw::c_int, + __len: ::std::os::raw::c_ulong, + ) -> *mut ::std::os::raw::c_void; } #[pg_guard] extern "C" { - pub fn isdigit(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; + pub fn strcat( + __s1: *mut ::std::os::raw::c_char, + __s2: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; } #[pg_guard] extern "C" { - pub fn islower(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; + pub fn strchr( + __s: *const ::std::os::raw::c_char, + __c: ::std::os::raw::c_int, + ) -> *mut ::std::os::raw::c_char; } #[pg_guard] extern "C" { - pub fn isgraph(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; + pub fn strcmp( + __s1: *const ::std::os::raw::c_char, + __s2: *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn isprint(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; + pub fn strcoll( + __s1: *const ::std::os::raw::c_char, + __s2: *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn ispunct(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; + pub fn strcpy( + __dst: *mut ::std::os::raw::c_char, + __src: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; } #[pg_guard] extern "C" { - pub fn isspace(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; + pub fn strcspn( + __s: *const ::std::os::raw::c_char, + __charset: *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_ulong; } #[pg_guard] extern "C" { - pub fn isupper(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; + pub fn strerror(__errnum: ::std::os::raw::c_int) -> *mut ::std::os::raw::c_char; } #[pg_guard] extern "C" { - pub fn isxdigit(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; + pub fn strlen(__s: *const ::std::os::raw::c_char) -> ::std::os::raw::c_ulong; } #[pg_guard] extern "C" { - pub fn tolower(__c: ::std::os::raw::c_int) -> ::std::os::raw::c_int; + pub fn strncat( + __s1: *mut ::std::os::raw::c_char, + __s2: *const ::std::os::raw::c_char, + __n: ::std::os::raw::c_ulong, + ) -> *mut ::std::os::raw::c_char; } #[pg_guard] extern "C" { - pub fn toupper(__c: ::std::os::raw::c_int) -> ::std::os::raw::c_int; + pub fn strncmp( + __s1: *const ::std::os::raw::c_char, + __s2: *const ::std::os::raw::c_char, + __n: ::std::os::raw::c_ulong, + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn isblank(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; + pub fn strncpy( + __dst: *mut ::std::os::raw::c_char, + __src: *const ::std::os::raw::c_char, + __n: ::std::os::raw::c_ulong, + ) -> *mut ::std::os::raw::c_char; } #[pg_guard] extern "C" { - pub fn isascii(__c: ::std::os::raw::c_int) -> ::std::os::raw::c_int; + pub fn strpbrk( + __s: *const ::std::os::raw::c_char, + __charset: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; } #[pg_guard] extern "C" { - pub fn toascii(__c: ::std::os::raw::c_int) -> ::std::os::raw::c_int; + pub fn strrchr( + __s: *const ::std::os::raw::c_char, + __c: ::std::os::raw::c_int, + ) -> *mut ::std::os::raw::c_char; } #[pg_guard] extern "C" { - pub fn _toupper(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; + pub fn strspn( + __s: *const ::std::os::raw::c_char, + __charset: *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_ulong; } #[pg_guard] extern "C" { - pub fn _tolower(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; + pub fn strstr( + __big: *const ::std::os::raw::c_char, + __little: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; } #[pg_guard] extern "C" { - pub fn isalnum_l(arg1: ::std::os::raw::c_int, arg2: locale_t) -> ::std::os::raw::c_int; + pub fn strtok( + __str: *mut ::std::os::raw::c_char, + __sep: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; } #[pg_guard] extern "C" { - pub fn isalpha_l(arg1: ::std::os::raw::c_int, arg2: locale_t) -> ::std::os::raw::c_int; + pub fn strxfrm( + __s1: *mut ::std::os::raw::c_char, + __s2: *const ::std::os::raw::c_char, + __n: ::std::os::raw::c_ulong, + ) -> ::std::os::raw::c_ulong; } #[pg_guard] extern "C" { - pub fn iscntrl_l(arg1: ::std::os::raw::c_int, arg2: locale_t) -> ::std::os::raw::c_int; + pub fn strtok_r( + __str: *mut ::std::os::raw::c_char, + __sep: *const ::std::os::raw::c_char, + __lasts: *mut *mut ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; } #[pg_guard] extern "C" { - pub fn isdigit_l(arg1: ::std::os::raw::c_int, arg2: locale_t) -> ::std::os::raw::c_int; + pub fn strerror_r( + __errnum: ::std::os::raw::c_int, + __strerrbuf: *mut ::std::os::raw::c_char, + __buflen: usize, + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn islower_l(arg1: ::std::os::raw::c_int, arg2: locale_t) -> ::std::os::raw::c_int; + pub fn strdup(__s1: *const ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; } #[pg_guard] extern "C" { - pub fn isgraph_l(arg1: ::std::os::raw::c_int, arg2: locale_t) -> ::std::os::raw::c_int; + pub fn memccpy( + __dst: *mut ::std::os::raw::c_void, + __src: *const ::std::os::raw::c_void, + __c: ::std::os::raw::c_int, + __n: ::std::os::raw::c_ulong, + ) -> *mut ::std::os::raw::c_void; } #[pg_guard] extern "C" { - pub fn isprint_l(arg1: ::std::os::raw::c_int, arg2: locale_t) -> ::std::os::raw::c_int; + pub fn stpcpy( + __dst: *mut ::std::os::raw::c_char, + __src: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; } #[pg_guard] extern "C" { - pub fn ispunct_l(arg1: ::std::os::raw::c_int, arg2: locale_t) -> ::std::os::raw::c_int; + pub fn stpncpy( + __dst: *mut ::std::os::raw::c_char, + __src: *const ::std::os::raw::c_char, + __n: ::std::os::raw::c_ulong, + ) -> *mut ::std::os::raw::c_char; } #[pg_guard] extern "C" { - pub fn isspace_l(arg1: ::std::os::raw::c_int, arg2: locale_t) -> ::std::os::raw::c_int; + pub fn strndup( + __s1: *const ::std::os::raw::c_char, + __n: ::std::os::raw::c_ulong, + ) -> *mut ::std::os::raw::c_char; } #[pg_guard] extern "C" { - pub fn isupper_l(arg1: ::std::os::raw::c_int, arg2: locale_t) -> ::std::os::raw::c_int; + pub fn strnlen(__s1: *const ::std::os::raw::c_char, __n: usize) -> usize; } #[pg_guard] extern "C" { - pub fn isxdigit_l(arg1: ::std::os::raw::c_int, arg2: locale_t) -> ::std::os::raw::c_int; + pub fn strsignal(__sig: ::std::os::raw::c_int) -> *mut ::std::os::raw::c_char; } +pub type rsize_t = __darwin_size_t; +pub type errno_t = ::std::os::raw::c_int; #[pg_guard] extern "C" { - pub fn isblank_l(arg1: ::std::os::raw::c_int, arg2: locale_t) -> ::std::os::raw::c_int; + pub fn memset_s( + __s: *mut ::std::os::raw::c_void, + __smax: rsize_t, + __c: ::std::os::raw::c_int, + __n: rsize_t, + ) -> errno_t; } #[pg_guard] extern "C" { - pub fn __tolower_l(__c: ::std::os::raw::c_int, __l: locale_t) -> ::std::os::raw::c_int; + pub fn memmem( + __big: *const ::std::os::raw::c_void, + __big_len: usize, + __little: *const ::std::os::raw::c_void, + __little_len: usize, + ) -> *mut ::std::os::raw::c_void; } #[pg_guard] extern "C" { - pub fn tolower_l(__c: ::std::os::raw::c_int, __l: locale_t) -> ::std::os::raw::c_int; + pub fn memset_pattern4( + __b: *mut ::std::os::raw::c_void, + __pattern4: *const ::std::os::raw::c_void, + __len: usize, + ); } #[pg_guard] extern "C" { - pub fn __toupper_l(__c: ::std::os::raw::c_int, __l: locale_t) -> ::std::os::raw::c_int; + pub fn memset_pattern8( + __b: *mut ::std::os::raw::c_void, + __pattern8: *const ::std::os::raw::c_void, + __len: usize, + ); } #[pg_guard] extern "C" { - pub fn toupper_l(__c: ::std::os::raw::c_int, __l: locale_t) -> ::std::os::raw::c_int; -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct iovec { - pub iov_base: *mut ::std::os::raw::c_void, - pub iov_len: usize, -} -impl Default for iovec { - fn default() -> Self { - let mut s = ::std::mem::MaybeUninit::::uninit(); - unsafe { - ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); - s.assume_init() - } - } -} -pub type socklen_t = __socklen_t; -pub const __socket_type_SOCK_STREAM: __socket_type = 1; -pub const __socket_type_SOCK_DGRAM: __socket_type = 2; -pub const __socket_type_SOCK_RAW: __socket_type = 3; -pub const __socket_type_SOCK_RDM: __socket_type = 4; -pub const __socket_type_SOCK_SEQPACKET: __socket_type = 5; -pub const __socket_type_SOCK_DCCP: __socket_type = 6; -pub const __socket_type_SOCK_PACKET: __socket_type = 10; -pub const __socket_type_SOCK_CLOEXEC: __socket_type = 524288; -pub const __socket_type_SOCK_NONBLOCK: __socket_type = 2048; -pub type __socket_type = ::std::os::raw::c_uint; -pub type sa_family_t = ::std::os::raw::c_ushort; -#[repr(C)] -#[derive(Debug, Default, Copy, Clone)] -pub struct sockaddr { - pub sa_family: sa_family_t, - pub sa_data: [::std::os::raw::c_char; 14usize], -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct sockaddr_storage { - pub ss_family: sa_family_t, - pub __ss_padding: [::std::os::raw::c_char; 118usize], - pub __ss_align: ::std::os::raw::c_ulong, -} -impl Default for sockaddr_storage { - fn default() -> Self { - let mut s = ::std::mem::MaybeUninit::::uninit(); - unsafe { - ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); - s.assume_init() - } - } -} -pub const MSG_OOB: ::std::os::raw::c_uint = 1; -pub const MSG_PEEK: ::std::os::raw::c_uint = 2; -pub const MSG_DONTROUTE: ::std::os::raw::c_uint = 4; -pub const MSG_CTRUNC: ::std::os::raw::c_uint = 8; -pub const MSG_PROXY: ::std::os::raw::c_uint = 16; -pub const MSG_TRUNC: ::std::os::raw::c_uint = 32; -pub const MSG_DONTWAIT: ::std::os::raw::c_uint = 64; -pub const MSG_EOR: ::std::os::raw::c_uint = 128; -pub const MSG_WAITALL: ::std::os::raw::c_uint = 256; -pub const MSG_FIN: ::std::os::raw::c_uint = 512; -pub const MSG_SYN: ::std::os::raw::c_uint = 1024; -pub const MSG_CONFIRM: ::std::os::raw::c_uint = 2048; -pub const MSG_RST: ::std::os::raw::c_uint = 4096; -pub const MSG_ERRQUEUE: ::std::os::raw::c_uint = 8192; -pub const MSG_NOSIGNAL: ::std::os::raw::c_uint = 16384; -pub const MSG_MORE: ::std::os::raw::c_uint = 32768; -pub const MSG_WAITFORONE: ::std::os::raw::c_uint = 65536; -pub const MSG_BATCH: ::std::os::raw::c_uint = 262144; -pub const MSG_ZEROCOPY: ::std::os::raw::c_uint = 67108864; -pub const MSG_FASTOPEN: ::std::os::raw::c_uint = 536870912; -pub const MSG_CMSG_CLOEXEC: ::std::os::raw::c_uint = 1073741824; -pub type _bindgen_ty_2 = ::std::os::raw::c_uint; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct msghdr { - pub msg_name: *mut ::std::os::raw::c_void, - pub msg_namelen: socklen_t, - pub msg_iov: *mut iovec, - pub msg_iovlen: usize, - pub msg_control: *mut ::std::os::raw::c_void, - pub msg_controllen: usize, - pub msg_flags: ::std::os::raw::c_int, -} -impl Default for msghdr { - fn default() -> Self { - let mut s = ::std::mem::MaybeUninit::::uninit(); - unsafe { - ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); - s.assume_init() - } - } -} -#[repr(C)] -#[derive(Debug, Default)] -pub struct cmsghdr { - pub cmsg_len: usize, - pub cmsg_level: ::std::os::raw::c_int, - pub cmsg_type: ::std::os::raw::c_int, - pub __cmsg_data: __IncompleteArrayField<::std::os::raw::c_uchar>, + pub fn memset_pattern16( + __b: *mut ::std::os::raw::c_void, + __pattern16: *const ::std::os::raw::c_void, + __len: usize, + ); } #[pg_guard] extern "C" { - pub fn __cmsg_nxthdr(__mhdr: *mut msghdr, __cmsg: *mut cmsghdr) -> *mut cmsghdr; + pub fn strcasestr( + __big: *const ::std::os::raw::c_char, + __little: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; } -pub const SCM_RIGHTS: ::std::os::raw::c_uint = 1; -pub type _bindgen_ty_3 = ::std::os::raw::c_uint; -#[repr(C)] -#[derive(Debug, Default, Copy, Clone)] -pub struct __kernel_fd_set { - pub fds_bits: [::std::os::raw::c_ulong; 16usize], -} -pub type __kernel_sighandler_t = - ::std::option::Option; -pub type __kernel_key_t = ::std::os::raw::c_int; -pub type __kernel_mqd_t = ::std::os::raw::c_int; -pub type __kernel_old_uid_t = ::std::os::raw::c_ushort; -pub type __kernel_old_gid_t = ::std::os::raw::c_ushort; -pub type __kernel_old_dev_t = ::std::os::raw::c_ulong; -pub type __kernel_long_t = ::std::os::raw::c_long; -pub type __kernel_ulong_t = ::std::os::raw::c_ulong; -pub type __kernel_ino_t = __kernel_ulong_t; -pub type __kernel_mode_t = ::std::os::raw::c_uint; -pub type __kernel_pid_t = ::std::os::raw::c_int; -pub type __kernel_ipc_pid_t = ::std::os::raw::c_int; -pub type __kernel_uid_t = ::std::os::raw::c_uint; -pub type __kernel_gid_t = ::std::os::raw::c_uint; -pub type __kernel_suseconds_t = __kernel_long_t; -pub type __kernel_daddr_t = ::std::os::raw::c_int; -pub type __kernel_uid32_t = ::std::os::raw::c_uint; -pub type __kernel_gid32_t = ::std::os::raw::c_uint; -pub type __kernel_size_t = __kernel_ulong_t; -pub type __kernel_ssize_t = __kernel_long_t; -pub type __kernel_ptrdiff_t = __kernel_long_t; -#[repr(C)] -#[derive(Debug, Default, Copy, Clone)] -pub struct __kernel_fsid_t { - pub val: [::std::os::raw::c_int; 2usize], -} -pub type __kernel_off_t = __kernel_long_t; -pub type __kernel_loff_t = ::std::os::raw::c_longlong; -pub type __kernel_old_time_t = __kernel_long_t; -pub type __kernel_time_t = __kernel_long_t; -pub type __kernel_time64_t = ::std::os::raw::c_longlong; -pub type __kernel_clock_t = __kernel_long_t; -pub type __kernel_timer_t = ::std::os::raw::c_int; -pub type __kernel_clockid_t = ::std::os::raw::c_int; -pub type __kernel_caddr_t = *mut ::std::os::raw::c_char; -pub type __kernel_uid16_t = ::std::os::raw::c_ushort; -pub type __kernel_gid16_t = ::std::os::raw::c_ushort; -#[repr(C)] -#[derive(Debug, Default, Copy, Clone)] -pub struct linger { - pub l_onoff: ::std::os::raw::c_int, - pub l_linger: ::std::os::raw::c_int, +#[pg_guard] +extern "C" { + pub fn strnstr( + __big: *const ::std::os::raw::c_char, + __little: *const ::std::os::raw::c_char, + __len: usize, + ) -> *mut ::std::os::raw::c_char; } -#[repr(C)] -#[derive(Debug, Default, Copy, Clone)] -pub struct osockaddr { - pub sa_family: ::std::os::raw::c_ushort, - pub sa_data: [::std::os::raw::c_uchar; 14usize], +#[pg_guard] +extern "C" { + pub fn strlcat( + __dst: *mut ::std::os::raw::c_char, + __source: *const ::std::os::raw::c_char, + __size: ::std::os::raw::c_ulong, + ) -> ::std::os::raw::c_ulong; } -pub const SHUT_RD: ::std::os::raw::c_uint = 0; -pub const SHUT_WR: ::std::os::raw::c_uint = 1; -pub const SHUT_RDWR: ::std::os::raw::c_uint = 2; -pub type _bindgen_ty_4 = ::std::os::raw::c_uint; #[pg_guard] extern "C" { - pub fn socket( - __domain: ::std::os::raw::c_int, - __type: ::std::os::raw::c_int, - __protocol: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; + pub fn strlcpy( + __dst: *mut ::std::os::raw::c_char, + __source: *const ::std::os::raw::c_char, + __size: ::std::os::raw::c_ulong, + ) -> ::std::os::raw::c_ulong; } #[pg_guard] extern "C" { - pub fn socketpair( - __domain: ::std::os::raw::c_int, - __type: ::std::os::raw::c_int, - __protocol: ::std::os::raw::c_int, - __fds: *mut ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; + pub fn strmode(__mode: ::std::os::raw::c_int, __bp: *mut ::std::os::raw::c_char); } #[pg_guard] extern "C" { - pub fn bind( - __fd: ::std::os::raw::c_int, - __addr: *const sockaddr, - __len: socklen_t, - ) -> ::std::os::raw::c_int; + pub fn strsep( + __stringp: *mut *mut ::std::os::raw::c_char, + __delim: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; } #[pg_guard] extern "C" { - pub fn getsockname( - __fd: ::std::os::raw::c_int, - __addr: *mut sockaddr, - __len: *mut socklen_t, - ) -> ::std::os::raw::c_int; + pub fn swab( + arg1: *const ::std::os::raw::c_void, + arg2: *mut ::std::os::raw::c_void, + arg3: isize, + ); } #[pg_guard] extern "C" { - pub fn connect( - __fd: ::std::os::raw::c_int, - __addr: *const sockaddr, - __len: socklen_t, + pub fn timingsafe_bcmp( + __b1: *const ::std::os::raw::c_void, + __b2: *const ::std::os::raw::c_void, + __len: usize, ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn getpeername( - __fd: ::std::os::raw::c_int, - __addr: *mut sockaddr, - __len: *mut socklen_t, + pub fn strsignal_r( + __sig: ::std::os::raw::c_int, + __strsignalbuf: *mut ::std::os::raw::c_char, + __buflen: usize, ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn send( - __fd: ::std::os::raw::c_int, - __buf: *const ::std::os::raw::c_void, - __n: usize, - __flags: ::std::os::raw::c_int, - ) -> isize; + pub fn bcmp( + arg1: *const ::std::os::raw::c_void, + arg2: *const ::std::os::raw::c_void, + arg3: ::std::os::raw::c_ulong, + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn recv( - __fd: ::std::os::raw::c_int, - __buf: *mut ::std::os::raw::c_void, - __n: usize, - __flags: ::std::os::raw::c_int, - ) -> isize; + pub fn bcopy( + arg1: *const ::std::os::raw::c_void, + arg2: *mut ::std::os::raw::c_void, + arg3: usize, + ); } #[pg_guard] extern "C" { - pub fn sendto( - __fd: ::std::os::raw::c_int, - __buf: *const ::std::os::raw::c_void, - __n: usize, - __flags: ::std::os::raw::c_int, - __addr: *const sockaddr, - __addr_len: socklen_t, - ) -> isize; + pub fn bzero(arg1: *mut ::std::os::raw::c_void, arg2: ::std::os::raw::c_ulong); } #[pg_guard] extern "C" { - pub fn recvfrom( - __fd: ::std::os::raw::c_int, - __buf: *mut ::std::os::raw::c_void, - __n: usize, - __flags: ::std::os::raw::c_int, - __addr: *mut sockaddr, - __addr_len: *mut socklen_t, - ) -> isize; + pub fn index( + arg1: *const ::std::os::raw::c_char, + arg2: ::std::os::raw::c_int, + ) -> *mut ::std::os::raw::c_char; } #[pg_guard] extern "C" { - pub fn sendmsg( - __fd: ::std::os::raw::c_int, - __message: *const msghdr, - __flags: ::std::os::raw::c_int, - ) -> isize; + pub fn rindex( + arg1: *const ::std::os::raw::c_char, + arg2: ::std::os::raw::c_int, + ) -> *mut ::std::os::raw::c_char; } #[pg_guard] extern "C" { - pub fn recvmsg( - __fd: ::std::os::raw::c_int, - __message: *mut msghdr, - __flags: ::std::os::raw::c_int, - ) -> isize; + pub fn ffs(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn getsockopt( - __fd: ::std::os::raw::c_int, - __level: ::std::os::raw::c_int, - __optname: ::std::os::raw::c_int, - __optval: *mut ::std::os::raw::c_void, - __optlen: *mut socklen_t, + pub fn strcasecmp( + arg1: *const ::std::os::raw::c_char, + arg2: *const ::std::os::raw::c_char, ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn setsockopt( - __fd: ::std::os::raw::c_int, - __level: ::std::os::raw::c_int, - __optname: ::std::os::raw::c_int, - __optval: *const ::std::os::raw::c_void, - __optlen: socklen_t, + pub fn strncasecmp( + arg1: *const ::std::os::raw::c_char, + arg2: *const ::std::os::raw::c_char, + arg3: ::std::os::raw::c_ulong, ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn listen(__fd: ::std::os::raw::c_int, __n: ::std::os::raw::c_int) - -> ::std::os::raw::c_int; + pub fn ffsl(arg1: ::std::os::raw::c_long) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn accept( - __fd: ::std::os::raw::c_int, - __addr: *mut sockaddr, - __addr_len: *mut socklen_t, - ) -> ::std::os::raw::c_int; + pub fn ffsll(arg1: ::std::os::raw::c_longlong) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn shutdown( - __fd: ::std::os::raw::c_int, - __how: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; + pub fn fls(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn sockatmark(__fd: ::std::os::raw::c_int) -> ::std::os::raw::c_int; + pub fn flsl(arg1: ::std::os::raw::c_long) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn isfdtype( - __fd: ::std::os::raw::c_int, - __fdtype: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; + pub fn flsll(arg1: ::std::os::raw::c_longlong) -> ::std::os::raw::c_int; } -pub type in_addr_t = u32; +pub type max_align_t = f64; +pub type __gnuc_va_list = __builtin_va_list; +pub type u_char = ::std::os::raw::c_uchar; +pub type u_short = ::std::os::raw::c_ushort; +pub type u_int = ::std::os::raw::c_uint; +pub type u_long = ::std::os::raw::c_ulong; +pub type ushort = ::std::os::raw::c_ushort; +pub type uint = ::std::os::raw::c_uint; +pub type u_quad_t = u_int64_t; +pub type quad_t = i64; +pub type qaddr_t = *mut quad_t; +pub type caddr_t = *mut ::std::os::raw::c_char; +pub type daddr_t = i32; +pub type fixpt_t = u_int32_t; +pub type blkcnt_t = __darwin_blkcnt_t; +pub type blksize_t = __darwin_blksize_t; +pub type gid_t = __darwin_gid_t; +pub type in_addr_t = __uint32_t; +pub type in_port_t = __uint16_t; +pub type ino_t = __darwin_ino_t; +pub type ino64_t = __darwin_ino64_t; +pub type key_t = __int32_t; +pub type nlink_t = __uint16_t; +pub type segsz_t = i32; +pub type swblk_t = i32; +pub type clock_t = __darwin_clock_t; +pub type time_t = __darwin_time_t; +pub type useconds_t = __darwin_useconds_t; +pub type suseconds_t = __darwin_suseconds_t; #[repr(C)] #[derive(Debug, Default, Copy, Clone)] -pub struct in_addr { - pub s_addr: in_addr_t, +pub struct fd_set { + pub fds_bits: [__int32_t; 32usize], +} +#[pg_guard] +extern "C" { + pub fn __darwin_check_fd_set_overflow( + arg1: ::std::os::raw::c_int, + arg2: *const ::std::os::raw::c_void, + arg3: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; +} +pub type fd_mask = __int32_t; +pub type pthread_cond_t = __darwin_pthread_cond_t; +pub type pthread_condattr_t = __darwin_pthread_condattr_t; +pub type pthread_mutex_t = __darwin_pthread_mutex_t; +pub type pthread_mutexattr_t = __darwin_pthread_mutexattr_t; +pub type pthread_once_t = __darwin_pthread_once_t; +pub type pthread_rwlock_t = __darwin_pthread_rwlock_t; +pub type pthread_rwlockattr_t = __darwin_pthread_rwlockattr_t; +pub type pthread_t = __darwin_pthread_t; +pub type pthread_key_t = __darwin_pthread_key_t; +pub type fsblkcnt_t = __darwin_fsblkcnt_t; +pub type fsfilcnt_t = __darwin_fsfilcnt_t; +#[pg_guard] +extern "C" { + pub fn __error() -> *mut ::std::os::raw::c_int; } #[repr(C)] #[derive(Debug, Copy, Clone)] -pub struct ip_opts { - pub ip_dst: in_addr, - pub ip_opts: [::std::os::raw::c_char; 40usize], +pub struct lconv { + pub decimal_point: *mut ::std::os::raw::c_char, + pub thousands_sep: *mut ::std::os::raw::c_char, + pub grouping: *mut ::std::os::raw::c_char, + pub int_curr_symbol: *mut ::std::os::raw::c_char, + pub currency_symbol: *mut ::std::os::raw::c_char, + pub mon_decimal_point: *mut ::std::os::raw::c_char, + pub mon_thousands_sep: *mut ::std::os::raw::c_char, + pub mon_grouping: *mut ::std::os::raw::c_char, + pub positive_sign: *mut ::std::os::raw::c_char, + pub negative_sign: *mut ::std::os::raw::c_char, + pub int_frac_digits: ::std::os::raw::c_char, + pub frac_digits: ::std::os::raw::c_char, + pub p_cs_precedes: ::std::os::raw::c_char, + pub p_sep_by_space: ::std::os::raw::c_char, + pub n_cs_precedes: ::std::os::raw::c_char, + pub n_sep_by_space: ::std::os::raw::c_char, + pub p_sign_posn: ::std::os::raw::c_char, + pub n_sign_posn: ::std::os::raw::c_char, + pub int_p_cs_precedes: ::std::os::raw::c_char, + pub int_n_cs_precedes: ::std::os::raw::c_char, + pub int_p_sep_by_space: ::std::os::raw::c_char, + pub int_n_sep_by_space: ::std::os::raw::c_char, + pub int_p_sign_posn: ::std::os::raw::c_char, + pub int_n_sign_posn: ::std::os::raw::c_char, } -impl Default for ip_opts { +impl Default for lconv { fn default() -> Self { let mut s = ::std::mem::MaybeUninit::::uninit(); unsafe { @@ -5898,98 +6577,83 @@ impl Default for ip_opts { } } } +#[pg_guard] +extern "C" { + pub fn localeconv() -> *mut lconv; +} +#[pg_guard] +extern "C" { + pub fn setlocale( + arg1: ::std::os::raw::c_int, + arg2: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; +} +pub type pg_funcptr_t = ::std::option::Option; +pub type Pointer = *mut ::std::os::raw::c_char; +pub type int8 = ::std::os::raw::c_schar; +pub type int16 = ::std::os::raw::c_short; +pub type int32 = ::std::os::raw::c_int; +pub type uint8 = ::std::os::raw::c_uchar; +pub type uint16 = ::std::os::raw::c_ushort; +pub type uint32 = ::std::os::raw::c_uint; +pub type bits8 = uint8; +pub type bits16 = uint16; +pub type bits32 = uint32; +pub type int64 = ::std::os::raw::c_long; +pub type uint64 = ::std::os::raw::c_ulong; +pub type int128 = i128; +pub type uint128 = u128; +pub type Size = usize; +pub type Index = ::std::os::raw::c_uint; +pub type Offset = ::std::os::raw::c_int; +pub type float4 = f32; +pub type float8 = f64; +pub type regproc = Oid; +pub type RegProcedure = regproc; +pub type TransactionId = uint32; +pub type LocalTransactionId = uint32; +pub type SubTransactionId = uint32; +pub type MultiXactId = TransactionId; +pub type MultiXactOffset = uint32; +pub type CommandId = uint32; #[repr(C)] -#[derive(Debug, Default, Copy, Clone)] -pub struct ip_mreqn { - pub imr_multiaddr: in_addr, - pub imr_address: in_addr, - pub imr_ifindex: ::std::os::raw::c_int, +#[derive(Debug, Default)] +pub struct varlena { + pub vl_len_: [::std::os::raw::c_char; 4usize], + pub vl_dat: __IncompleteArrayField<::std::os::raw::c_char>, } +pub type bytea = varlena; +pub type text = varlena; +pub type BpChar = varlena; +pub type VarChar = varlena; #[repr(C)] -#[derive(Debug, Default, Copy, Clone)] -pub struct in_pktinfo { - pub ipi_ifindex: ::std::os::raw::c_int, - pub ipi_spec_dst: in_addr, - pub ipi_addr: in_addr, +#[derive(Debug, Default)] +pub struct int2vector { + pub vl_len_: int32, + pub ndim: ::std::os::raw::c_int, + pub dataoffset: int32, + pub elemtype: Oid, + pub dim1: ::std::os::raw::c_int, + pub lbound1: ::std::os::raw::c_int, + pub values: __IncompleteArrayField, } -pub const IPPROTO_IP: ::std::os::raw::c_uint = 0; -pub const IPPROTO_ICMP: ::std::os::raw::c_uint = 1; -pub const IPPROTO_IGMP: ::std::os::raw::c_uint = 2; -pub const IPPROTO_IPIP: ::std::os::raw::c_uint = 4; -pub const IPPROTO_TCP: ::std::os::raw::c_uint = 6; -pub const IPPROTO_EGP: ::std::os::raw::c_uint = 8; -pub const IPPROTO_PUP: ::std::os::raw::c_uint = 12; -pub const IPPROTO_UDP: ::std::os::raw::c_uint = 17; -pub const IPPROTO_IDP: ::std::os::raw::c_uint = 22; -pub const IPPROTO_TP: ::std::os::raw::c_uint = 29; -pub const IPPROTO_DCCP: ::std::os::raw::c_uint = 33; -pub const IPPROTO_IPV6: ::std::os::raw::c_uint = 41; -pub const IPPROTO_RSVP: ::std::os::raw::c_uint = 46; -pub const IPPROTO_GRE: ::std::os::raw::c_uint = 47; -pub const IPPROTO_ESP: ::std::os::raw::c_uint = 50; -pub const IPPROTO_AH: ::std::os::raw::c_uint = 51; -pub const IPPROTO_MTP: ::std::os::raw::c_uint = 92; -pub const IPPROTO_BEETPH: ::std::os::raw::c_uint = 94; -pub const IPPROTO_ENCAP: ::std::os::raw::c_uint = 98; -pub const IPPROTO_PIM: ::std::os::raw::c_uint = 103; -pub const IPPROTO_COMP: ::std::os::raw::c_uint = 108; -pub const IPPROTO_SCTP: ::std::os::raw::c_uint = 132; -pub const IPPROTO_UDPLITE: ::std::os::raw::c_uint = 136; -pub const IPPROTO_MPLS: ::std::os::raw::c_uint = 137; -pub const IPPROTO_ETHERNET: ::std::os::raw::c_uint = 143; -pub const IPPROTO_RAW: ::std::os::raw::c_uint = 255; -pub const IPPROTO_MPTCP: ::std::os::raw::c_uint = 262; -pub const IPPROTO_MAX: ::std::os::raw::c_uint = 263; -pub type _bindgen_ty_5 = ::std::os::raw::c_uint; -pub const IPPROTO_HOPOPTS: ::std::os::raw::c_uint = 0; -pub const IPPROTO_ROUTING: ::std::os::raw::c_uint = 43; -pub const IPPROTO_FRAGMENT: ::std::os::raw::c_uint = 44; -pub const IPPROTO_ICMPV6: ::std::os::raw::c_uint = 58; -pub const IPPROTO_NONE: ::std::os::raw::c_uint = 59; -pub const IPPROTO_DSTOPTS: ::std::os::raw::c_uint = 60; -pub const IPPROTO_MH: ::std::os::raw::c_uint = 135; -pub type _bindgen_ty_6 = ::std::os::raw::c_uint; -pub type in_port_t = u16; -pub const IPPORT_ECHO: ::std::os::raw::c_uint = 7; -pub const IPPORT_DISCARD: ::std::os::raw::c_uint = 9; -pub const IPPORT_SYSTAT: ::std::os::raw::c_uint = 11; -pub const IPPORT_DAYTIME: ::std::os::raw::c_uint = 13; -pub const IPPORT_NETSTAT: ::std::os::raw::c_uint = 15; -pub const IPPORT_FTP: ::std::os::raw::c_uint = 21; -pub const IPPORT_TELNET: ::std::os::raw::c_uint = 23; -pub const IPPORT_SMTP: ::std::os::raw::c_uint = 25; -pub const IPPORT_TIMESERVER: ::std::os::raw::c_uint = 37; -pub const IPPORT_NAMESERVER: ::std::os::raw::c_uint = 42; -pub const IPPORT_WHOIS: ::std::os::raw::c_uint = 43; -pub const IPPORT_MTP: ::std::os::raw::c_uint = 57; -pub const IPPORT_TFTP: ::std::os::raw::c_uint = 69; -pub const IPPORT_RJE: ::std::os::raw::c_uint = 77; -pub const IPPORT_FINGER: ::std::os::raw::c_uint = 79; -pub const IPPORT_TTYLINK: ::std::os::raw::c_uint = 87; -pub const IPPORT_SUPDUP: ::std::os::raw::c_uint = 95; -pub const IPPORT_EXECSERVER: ::std::os::raw::c_uint = 512; -pub const IPPORT_LOGINSERVER: ::std::os::raw::c_uint = 513; -pub const IPPORT_CMDSERVER: ::std::os::raw::c_uint = 514; -pub const IPPORT_EFSSERVER: ::std::os::raw::c_uint = 520; -pub const IPPORT_BIFFUDP: ::std::os::raw::c_uint = 512; -pub const IPPORT_WHOSERVER: ::std::os::raw::c_uint = 513; -pub const IPPORT_ROUTESERVER: ::std::os::raw::c_uint = 520; -pub const IPPORT_RESERVED: ::std::os::raw::c_uint = 1024; -pub const IPPORT_USERRESERVED: ::std::os::raw::c_uint = 5000; -pub type _bindgen_ty_7 = ::std::os::raw::c_uint; #[repr(C)] -#[derive(Copy, Clone)] -pub struct in6_addr { - pub __in6_u: in6_addr__bindgen_ty_1, +#[derive(Debug, Default)] +pub struct oidvector { + pub vl_len_: int32, + pub ndim: ::std::os::raw::c_int, + pub dataoffset: int32, + pub elemtype: Oid, + pub dim1: ::std::os::raw::c_int, + pub lbound1: ::std::os::raw::c_int, + pub values: __IncompleteArrayField, } #[repr(C)] -#[derive(Copy, Clone)] -pub union in6_addr__bindgen_ty_1 { - pub __u6_addr8: [u8; 16usize], - pub __u6_addr16: [u16; 8usize], - pub __u6_addr32: [u32; 4usize], +#[derive(Debug, Copy, Clone)] +pub struct nameData { + pub data: [::std::os::raw::c_char; 64usize], } -impl Default for in6_addr__bindgen_ty_1 { +impl Default for nameData { fn default() -> Self { let mut s = ::std::mem::MaybeUninit::::uninit(); unsafe { @@ -5998,7 +6662,25 @@ impl Default for in6_addr__bindgen_ty_1 { } } } -impl Default for in6_addr { +pub type NameData = nameData; +pub type Name = *mut NameData; +#[pg_guard] +extern "C" { + pub fn ExceptionalCondition( + conditionName: *const ::std::os::raw::c_char, + errorType: *const ::std::os::raw::c_char, + fileName: *const ::std::os::raw::c_char, + lineNumber: ::std::os::raw::c_int, + ); +} +#[repr(C)] +#[derive(Copy, Clone)] +pub union PGAlignedBlock { + pub data: [::std::os::raw::c_char; 8192usize], + pub force_align_d: f64, + pub force_align_i64: int64, +} +impl Default for PGAlignedBlock { fn default() -> Self { let mut s = ::std::mem::MaybeUninit::::uninit(); unsafe { @@ -6007,32 +6689,14 @@ impl Default for in6_addr { } } } -#[pg_guard] -extern "C" { - pub static in6addr_any: in6_addr; -} -#[pg_guard] -extern "C" { - pub static in6addr_loopback: in6_addr; -} -#[repr(C)] -#[derive(Debug, Default, Copy, Clone)] -pub struct sockaddr_in { - pub sin_family: sa_family_t, - pub sin_port: in_port_t, - pub sin_addr: in_addr, - pub sin_zero: [::std::os::raw::c_uchar; 8usize], -} #[repr(C)] #[derive(Copy, Clone)] -pub struct sockaddr_in6 { - pub sin6_family: sa_family_t, - pub sin6_port: in_port_t, - pub sin6_flowinfo: u32, - pub sin6_addr: in6_addr, - pub sin6_scope_id: u32, +pub union PGAlignedXLogBlock { + pub data: [::std::os::raw::c_char; 8192usize], + pub force_align_d: f64, + pub force_align_i64: int64, } -impl Default for sockaddr_in6 { +impl Default for PGAlignedXLogBlock { fn default() -> Self { let mut s = ::std::mem::MaybeUninit::::uninit(); unsafe { @@ -6041,41 +6705,20 @@ impl Default for sockaddr_in6 { } } } -#[repr(C)] -#[derive(Debug, Default, Copy, Clone)] -pub struct ip_mreq { - pub imr_multiaddr: in_addr, - pub imr_interface: in_addr, -} -#[repr(C)] -#[derive(Debug, Default, Copy, Clone)] -pub struct ip_mreq_source { - pub imr_multiaddr: in_addr, - pub imr_interface: in_addr, - pub imr_sourceaddr: in_addr, -} -#[repr(C)] -#[derive(Copy, Clone)] -pub struct ipv6_mreq { - pub ipv6mr_multiaddr: in6_addr, - pub ipv6mr_interface: ::std::os::raw::c_uint, -} -impl Default for ipv6_mreq { - fn default() -> Self { - let mut s = ::std::mem::MaybeUninit::::uninit(); - unsafe { - ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); - s.assume_init() - } - } +#[pg_guard] +extern "C" { + pub fn fdatasync(fildes: ::std::os::raw::c_int) -> ::std::os::raw::c_int; } +pub type wint_t = __darwin_wint_t; #[repr(C)] #[derive(Debug, Copy, Clone)] -pub struct group_req { - pub gr_interface: u32, - pub gr_group: sockaddr_storage, +pub struct _RuneEntry { + pub __min: __darwin_rune_t, + pub __max: __darwin_rune_t, + pub __map: __darwin_rune_t, + pub __types: *mut __uint32_t, } -impl Default for group_req { +impl Default for _RuneEntry { fn default() -> Self { let mut s = ::std::mem::MaybeUninit::::uninit(); unsafe { @@ -6086,12 +6729,11 @@ impl Default for group_req { } #[repr(C)] #[derive(Debug, Copy, Clone)] -pub struct group_source_req { - pub gsr_interface: u32, - pub gsr_group: sockaddr_storage, - pub gsr_source: sockaddr_storage, +pub struct _RuneRange { + pub __nranges: ::std::os::raw::c_int, + pub __ranges: *mut _RuneEntry, } -impl Default for group_source_req { +impl Default for _RuneRange { fn default() -> Self { let mut s = ::std::mem::MaybeUninit::::uninit(); unsafe { @@ -6102,69 +6744,43 @@ impl Default for group_source_req { } #[repr(C)] #[derive(Debug, Default, Copy, Clone)] -pub struct ip_msfilter { - pub imsf_multiaddr: in_addr, - pub imsf_interface: in_addr, - pub imsf_fmode: u32, - pub imsf_numsrc: u32, - pub imsf_slist: [in_addr; 1usize], +pub struct _RuneCharClass { + pub __name: [::std::os::raw::c_char; 14usize], + pub __mask: __uint32_t, } #[repr(C)] #[derive(Debug, Copy, Clone)] -pub struct group_filter { - pub gf_interface: u32, - pub gf_group: sockaddr_storage, - pub gf_fmode: u32, - pub gf_numsrc: u32, - pub gf_slist: [sockaddr_storage; 1usize], -} -impl Default for group_filter { - fn default() -> Self { - let mut s = ::std::mem::MaybeUninit::::uninit(); - unsafe { - ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); - s.assume_init() - } - } -} -#[pg_guard] -extern "C" { - pub fn ntohl(__netlong: u32) -> u32; -} -#[pg_guard] -extern "C" { - pub fn ntohs(__netshort: u16) -> u16; -} -#[pg_guard] -extern "C" { - pub fn htonl(__hostlong: u32) -> u32; -} -#[pg_guard] -extern "C" { - pub fn htons(__hostshort: u16) -> u16; -} -#[pg_guard] -extern "C" { - pub fn bindresvport( - __sockfd: ::std::os::raw::c_int, - __sock_in: *mut sockaddr_in, - ) -> ::std::os::raw::c_int; -} -#[pg_guard] -extern "C" { - pub fn bindresvport6( - __sockfd: ::std::os::raw::c_int, - __sock_in: *mut sockaddr_in6, - ) -> ::std::os::raw::c_int; -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct rpcent { - pub r_name: *mut ::std::os::raw::c_char, - pub r_aliases: *mut *mut ::std::os::raw::c_char, - pub r_number: ::std::os::raw::c_int, +pub struct _RuneLocale { + pub __magic: [::std::os::raw::c_char; 8usize], + pub __encoding: [::std::os::raw::c_char; 32usize], + pub __sgetrune: ::std::option::Option< + unsafe extern "C" fn( + arg1: *const ::std::os::raw::c_char, + arg2: __darwin_size_t, + arg3: *mut *const ::std::os::raw::c_char, + ) -> __darwin_rune_t, + >, + pub __sputrune: ::std::option::Option< + unsafe extern "C" fn( + arg1: __darwin_rune_t, + arg2: *mut ::std::os::raw::c_char, + arg3: __darwin_size_t, + arg4: *mut *mut ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int, + >, + pub __invalid_rune: __darwin_rune_t, + pub __runetype: [__uint32_t; 256usize], + pub __maplower: [__darwin_rune_t; 256usize], + pub __mapupper: [__darwin_rune_t; 256usize], + pub __runetype_ext: _RuneRange, + pub __maplower_ext: _RuneRange, + pub __mapupper_ext: _RuneRange, + pub __variable: *mut ::std::os::raw::c_void, + pub __variable_len: ::std::os::raw::c_int, + pub __ncharclasses: ::std::os::raw::c_int, + pub __charclasses: *mut _RuneCharClass, } -impl Default for rpcent { +impl Default for _RuneLocale { fn default() -> Self { let mut s = ::std::mem::MaybeUninit::::uninit(); unsafe { @@ -6175,62 +6791,48 @@ impl Default for rpcent { } #[pg_guard] extern "C" { - pub fn setrpcent(__stayopen: ::std::os::raw::c_int); + pub static mut _DefaultRuneLocale: _RuneLocale; } #[pg_guard] extern "C" { - pub fn endrpcent(); + pub static mut _CurrentRuneLocale: *mut _RuneLocale; } #[pg_guard] extern "C" { - pub fn getrpcbyname(__name: *const ::std::os::raw::c_char) -> *mut rpcent; + pub fn ___runetype(arg1: __darwin_ct_rune_t) -> ::std::os::raw::c_ulong; } #[pg_guard] extern "C" { - pub fn getrpcbynumber(__number: ::std::os::raw::c_int) -> *mut rpcent; + pub fn ___tolower(arg1: __darwin_ct_rune_t) -> __darwin_ct_rune_t; } #[pg_guard] extern "C" { - pub fn getrpcent() -> *mut rpcent; + pub fn ___toupper(arg1: __darwin_ct_rune_t) -> __darwin_ct_rune_t; } #[pg_guard] extern "C" { - pub fn getrpcbyname_r( - __name: *const ::std::os::raw::c_char, - __result_buf: *mut rpcent, - __buffer: *mut ::std::os::raw::c_char, - __buflen: usize, - __result: *mut *mut rpcent, + pub fn __maskrune( + arg1: __darwin_ct_rune_t, + arg2: ::std::os::raw::c_ulong, ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn getrpcbynumber_r( - __number: ::std::os::raw::c_int, - __result_buf: *mut rpcent, - __buffer: *mut ::std::os::raw::c_char, - __buflen: usize, - __result: *mut *mut rpcent, - ) -> ::std::os::raw::c_int; + pub fn __toupper(arg1: __darwin_ct_rune_t) -> __darwin_ct_rune_t; } #[pg_guard] extern "C" { - pub fn getrpcent_r( - __result_buf: *mut rpcent, - __buffer: *mut ::std::os::raw::c_char, - __buflen: usize, - __result: *mut *mut rpcent, - ) -> ::std::os::raw::c_int; + pub fn __tolower(arg1: __darwin_ct_rune_t) -> __darwin_ct_rune_t; } +pub type socklen_t = __darwin_socklen_t; +pub type sa_family_t = __uint8_t; #[repr(C)] #[derive(Debug, Copy, Clone)] -pub struct netent { - pub n_name: *mut ::std::os::raw::c_char, - pub n_aliases: *mut *mut ::std::os::raw::c_char, - pub n_addrtype: ::std::os::raw::c_int, - pub n_net: u32, +pub struct iovec { + pub iov_base: *mut ::std::os::raw::c_void, + pub iov_len: usize, } -impl Default for netent { +impl Default for iovec { fn default() -> Self { let mut s = ::std::mem::MaybeUninit::::uninit(); unsafe { @@ -6239,28 +6841,18 @@ impl Default for netent { } } } -#[pg_guard] -extern "C" { - pub fn __h_errno_location() -> *mut ::std::os::raw::c_int; -} -#[pg_guard] -extern "C" { - pub fn herror(__str: *const ::std::os::raw::c_char); -} -#[pg_guard] -extern "C" { - pub fn hstrerror(__err_num: ::std::os::raw::c_int) -> *const ::std::os::raw::c_char; -} +pub type sae_associd_t = __uint32_t; +pub type sae_connid_t = __uint32_t; #[repr(C)] #[derive(Debug, Copy, Clone)] -pub struct hostent { - pub h_name: *mut ::std::os::raw::c_char, - pub h_aliases: *mut *mut ::std::os::raw::c_char, - pub h_addrtype: ::std::os::raw::c_int, - pub h_length: ::std::os::raw::c_int, - pub h_addr_list: *mut *mut ::std::os::raw::c_char, +pub struct sa_endpoints { + pub sae_srcif: ::std::os::raw::c_uint, + pub sae_srcaddr: *const sockaddr, + pub sae_srcaddrlen: socklen_t, + pub sae_dstaddr: *const sockaddr, + pub sae_dstaddrlen: socklen_t, } -impl Default for hostent { +impl Default for sa_endpoints { fn default() -> Self { let mut s = ::std::mem::MaybeUninit::::uninit(); unsafe { @@ -6269,2680 +6861,2367 @@ impl Default for hostent { } } } -#[pg_guard] -extern "C" { - pub fn sethostent(__stay_open: ::std::os::raw::c_int); -} -#[pg_guard] -extern "C" { - pub fn endhostent(); -} -#[pg_guard] -extern "C" { - pub fn gethostent() -> *mut hostent; -} -#[pg_guard] -extern "C" { - pub fn gethostbyaddr( - __addr: *const ::std::os::raw::c_void, - __len: __socklen_t, - __type: ::std::os::raw::c_int, - ) -> *mut hostent; -} -#[pg_guard] -extern "C" { - pub fn gethostbyname(__name: *const ::std::os::raw::c_char) -> *mut hostent; -} -#[pg_guard] -extern "C" { - pub fn gethostbyname2( - __name: *const ::std::os::raw::c_char, - __af: ::std::os::raw::c_int, - ) -> *mut hostent; -} -#[pg_guard] -extern "C" { - pub fn gethostent_r( - __result_buf: *mut hostent, - __buf: *mut ::std::os::raw::c_char, - __buflen: usize, - __result: *mut *mut hostent, - __h_errnop: *mut ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; -} -#[pg_guard] -extern "C" { - pub fn gethostbyaddr_r( - __addr: *const ::std::os::raw::c_void, - __len: __socklen_t, - __type: ::std::os::raw::c_int, - __result_buf: *mut hostent, - __buf: *mut ::std::os::raw::c_char, - __buflen: usize, - __result: *mut *mut hostent, - __h_errnop: *mut ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; -} -#[pg_guard] -extern "C" { - pub fn gethostbyname_r( - __name: *const ::std::os::raw::c_char, - __result_buf: *mut hostent, - __buf: *mut ::std::os::raw::c_char, - __buflen: usize, - __result: *mut *mut hostent, - __h_errnop: *mut ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; -} -#[pg_guard] -extern "C" { - pub fn gethostbyname2_r( - __name: *const ::std::os::raw::c_char, - __af: ::std::os::raw::c_int, - __result_buf: *mut hostent, - __buf: *mut ::std::os::raw::c_char, - __buflen: usize, - __result: *mut *mut hostent, - __h_errnop: *mut ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; -} -#[pg_guard] -extern "C" { - pub fn setnetent(__stay_open: ::std::os::raw::c_int); -} -#[pg_guard] -extern "C" { - pub fn endnetent(); -} -#[pg_guard] -extern "C" { - pub fn getnetent() -> *mut netent; -} -#[pg_guard] -extern "C" { - pub fn getnetbyaddr(__net: u32, __type: ::std::os::raw::c_int) -> *mut netent; -} -#[pg_guard] -extern "C" { - pub fn getnetbyname(__name: *const ::std::os::raw::c_char) -> *mut netent; -} -#[pg_guard] -extern "C" { - pub fn getnetent_r( - __result_buf: *mut netent, - __buf: *mut ::std::os::raw::c_char, - __buflen: usize, - __result: *mut *mut netent, - __h_errnop: *mut ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; -} -#[pg_guard] -extern "C" { - pub fn getnetbyaddr_r( - __net: u32, - __type: ::std::os::raw::c_int, - __result_buf: *mut netent, - __buf: *mut ::std::os::raw::c_char, - __buflen: usize, - __result: *mut *mut netent, - __h_errnop: *mut ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; -} -#[pg_guard] -extern "C" { - pub fn getnetbyname_r( - __name: *const ::std::os::raw::c_char, - __result_buf: *mut netent, - __buf: *mut ::std::os::raw::c_char, - __buflen: usize, - __result: *mut *mut netent, - __h_errnop: *mut ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; -} +pub type sa_endpoints_t = sa_endpoints; #[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct servent { - pub s_name: *mut ::std::os::raw::c_char, - pub s_aliases: *mut *mut ::std::os::raw::c_char, - pub s_port: ::std::os::raw::c_int, - pub s_proto: *mut ::std::os::raw::c_char, -} -impl Default for servent { - fn default() -> Self { - let mut s = ::std::mem::MaybeUninit::::uninit(); - unsafe { - ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); - s.assume_init() - } - } -} -#[pg_guard] -extern "C" { - pub fn setservent(__stay_open: ::std::os::raw::c_int); -} -#[pg_guard] -extern "C" { - pub fn endservent(); -} -#[pg_guard] -extern "C" { - pub fn getservent() -> *mut servent; -} -#[pg_guard] -extern "C" { - pub fn getservbyname( - __name: *const ::std::os::raw::c_char, - __proto: *const ::std::os::raw::c_char, - ) -> *mut servent; -} -#[pg_guard] -extern "C" { - pub fn getservbyport( - __port: ::std::os::raw::c_int, - __proto: *const ::std::os::raw::c_char, - ) -> *mut servent; -} -#[pg_guard] -extern "C" { - pub fn getservent_r( - __result_buf: *mut servent, - __buf: *mut ::std::os::raw::c_char, - __buflen: usize, - __result: *mut *mut servent, - ) -> ::std::os::raw::c_int; -} -#[pg_guard] -extern "C" { - pub fn getservbyname_r( - __name: *const ::std::os::raw::c_char, - __proto: *const ::std::os::raw::c_char, - __result_buf: *mut servent, - __buf: *mut ::std::os::raw::c_char, - __buflen: usize, - __result: *mut *mut servent, - ) -> ::std::os::raw::c_int; -} -#[pg_guard] -extern "C" { - pub fn getservbyport_r( - __port: ::std::os::raw::c_int, - __proto: *const ::std::os::raw::c_char, - __result_buf: *mut servent, - __buf: *mut ::std::os::raw::c_char, - __buflen: usize, - __result: *mut *mut servent, - ) -> ::std::os::raw::c_int; -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct protoent { - pub p_name: *mut ::std::os::raw::c_char, - pub p_aliases: *mut *mut ::std::os::raw::c_char, - pub p_proto: ::std::os::raw::c_int, -} -impl Default for protoent { - fn default() -> Self { - let mut s = ::std::mem::MaybeUninit::::uninit(); - unsafe { - ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); - s.assume_init() - } - } -} -#[pg_guard] -extern "C" { - pub fn setprotoent(__stay_open: ::std::os::raw::c_int); -} -#[pg_guard] -extern "C" { - pub fn endprotoent(); -} -#[pg_guard] -extern "C" { - pub fn getprotoent() -> *mut protoent; -} -#[pg_guard] -extern "C" { - pub fn getprotobyname(__name: *const ::std::os::raw::c_char) -> *mut protoent; -} -#[pg_guard] -extern "C" { - pub fn getprotobynumber(__proto: ::std::os::raw::c_int) -> *mut protoent; -} -#[pg_guard] -extern "C" { - pub fn getprotoent_r( - __result_buf: *mut protoent, - __buf: *mut ::std::os::raw::c_char, - __buflen: usize, - __result: *mut *mut protoent, - ) -> ::std::os::raw::c_int; -} -#[pg_guard] -extern "C" { - pub fn getprotobyname_r( - __name: *const ::std::os::raw::c_char, - __result_buf: *mut protoent, - __buf: *mut ::std::os::raw::c_char, - __buflen: usize, - __result: *mut *mut protoent, - ) -> ::std::os::raw::c_int; -} -#[pg_guard] -extern "C" { - pub fn getprotobynumber_r( - __proto: ::std::os::raw::c_int, - __result_buf: *mut protoent, - __buf: *mut ::std::os::raw::c_char, - __buflen: usize, - __result: *mut *mut protoent, - ) -> ::std::os::raw::c_int; -} -#[pg_guard] -extern "C" { - pub fn setnetgrent(__netgroup: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; -} -#[pg_guard] -extern "C" { - pub fn endnetgrent(); -} -#[pg_guard] -extern "C" { - pub fn getnetgrent( - __hostp: *mut *mut ::std::os::raw::c_char, - __userp: *mut *mut ::std::os::raw::c_char, - __domainp: *mut *mut ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; -} -#[pg_guard] -extern "C" { - pub fn innetgr( - __netgroup: *const ::std::os::raw::c_char, - __host: *const ::std::os::raw::c_char, - __user: *const ::std::os::raw::c_char, - __domain: *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; -} -#[pg_guard] -extern "C" { - pub fn getnetgrent_r( - __hostp: *mut *mut ::std::os::raw::c_char, - __userp: *mut *mut ::std::os::raw::c_char, - __domainp: *mut *mut ::std::os::raw::c_char, - __buffer: *mut ::std::os::raw::c_char, - __buflen: usize, - ) -> ::std::os::raw::c_int; -} -#[pg_guard] -extern "C" { - pub fn rcmd( - __ahost: *mut *mut ::std::os::raw::c_char, - __rport: ::std::os::raw::c_ushort, - __locuser: *const ::std::os::raw::c_char, - __remuser: *const ::std::os::raw::c_char, - __cmd: *const ::std::os::raw::c_char, - __fd2p: *mut ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; -} -#[pg_guard] -extern "C" { - pub fn rcmd_af( - __ahost: *mut *mut ::std::os::raw::c_char, - __rport: ::std::os::raw::c_ushort, - __locuser: *const ::std::os::raw::c_char, - __remuser: *const ::std::os::raw::c_char, - __cmd: *const ::std::os::raw::c_char, - __fd2p: *mut ::std::os::raw::c_int, - __af: sa_family_t, - ) -> ::std::os::raw::c_int; -} -#[pg_guard] -extern "C" { - pub fn rexec( - __ahost: *mut *mut ::std::os::raw::c_char, - __rport: ::std::os::raw::c_int, - __name: *const ::std::os::raw::c_char, - __pass: *const ::std::os::raw::c_char, - __cmd: *const ::std::os::raw::c_char, - __fd2p: *mut ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; -} -#[pg_guard] -extern "C" { - pub fn rexec_af( - __ahost: *mut *mut ::std::os::raw::c_char, - __rport: ::std::os::raw::c_int, - __name: *const ::std::os::raw::c_char, - __pass: *const ::std::os::raw::c_char, - __cmd: *const ::std::os::raw::c_char, - __fd2p: *mut ::std::os::raw::c_int, - __af: sa_family_t, - ) -> ::std::os::raw::c_int; -} -#[pg_guard] -extern "C" { - pub fn ruserok( - __rhost: *const ::std::os::raw::c_char, - __suser: ::std::os::raw::c_int, - __remuser: *const ::std::os::raw::c_char, - __locuser: *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; -} -#[pg_guard] -extern "C" { - pub fn ruserok_af( - __rhost: *const ::std::os::raw::c_char, - __suser: ::std::os::raw::c_int, - __remuser: *const ::std::os::raw::c_char, - __locuser: *const ::std::os::raw::c_char, - __af: sa_family_t, - ) -> ::std::os::raw::c_int; -} -#[pg_guard] -extern "C" { - pub fn iruserok( - __raddr: u32, - __suser: ::std::os::raw::c_int, - __remuser: *const ::std::os::raw::c_char, - __locuser: *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; -} -#[pg_guard] -extern "C" { - pub fn iruserok_af( - __raddr: *const ::std::os::raw::c_void, - __suser: ::std::os::raw::c_int, - __remuser: *const ::std::os::raw::c_char, - __locuser: *const ::std::os::raw::c_char, - __af: sa_family_t, - ) -> ::std::os::raw::c_int; -} -#[pg_guard] -extern "C" { - pub fn rresvport(__alport: *mut ::std::os::raw::c_int) -> ::std::os::raw::c_int; -} -#[pg_guard] -extern "C" { - pub fn rresvport_af( - __alport: *mut ::std::os::raw::c_int, - __af: sa_family_t, - ) -> ::std::os::raw::c_int; +#[derive(Debug, Default, Copy, Clone)] +pub struct linger { + pub l_onoff: ::std::os::raw::c_int, + pub l_linger: ::std::os::raw::c_int, } #[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct addrinfo { - pub ai_flags: ::std::os::raw::c_int, - pub ai_family: ::std::os::raw::c_int, - pub ai_socktype: ::std::os::raw::c_int, - pub ai_protocol: ::std::os::raw::c_int, - pub ai_addrlen: socklen_t, - pub ai_addr: *mut sockaddr, - pub ai_canonname: *mut ::std::os::raw::c_char, - pub ai_next: *mut addrinfo, -} -impl Default for addrinfo { - fn default() -> Self { - let mut s = ::std::mem::MaybeUninit::::uninit(); - unsafe { - ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); - s.assume_init() - } - } -} -#[pg_guard] -extern "C" { - pub fn getaddrinfo( - __name: *const ::std::os::raw::c_char, - __service: *const ::std::os::raw::c_char, - __req: *const addrinfo, - __pai: *mut *mut addrinfo, - ) -> ::std::os::raw::c_int; -} -#[pg_guard] -extern "C" { - pub fn freeaddrinfo(__ai: *mut addrinfo); -} -#[pg_guard] -extern "C" { - pub fn gai_strerror(__ecode: ::std::os::raw::c_int) -> *const ::std::os::raw::c_char; -} -#[pg_guard] -extern "C" { - pub fn getnameinfo( - __sa: *const sockaddr, - __salen: socklen_t, - __host: *mut ::std::os::raw::c_char, - __hostlen: socklen_t, - __serv: *mut ::std::os::raw::c_char, - __servlen: socklen_t, - __flags: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; +#[derive(Debug, Default, Copy, Clone)] +pub struct so_np_extensions { + pub npx_flags: u_int32_t, + pub npx_mask: u_int32_t, } #[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct passwd { - pub pw_name: *mut ::std::os::raw::c_char, - pub pw_passwd: *mut ::std::os::raw::c_char, - pub pw_uid: __uid_t, - pub pw_gid: __gid_t, - pub pw_gecos: *mut ::std::os::raw::c_char, - pub pw_dir: *mut ::std::os::raw::c_char, - pub pw_shell: *mut ::std::os::raw::c_char, -} -impl Default for passwd { - fn default() -> Self { - let mut s = ::std::mem::MaybeUninit::::uninit(); - unsafe { - ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); - s.assume_init() - } - } -} -#[pg_guard] -extern "C" { - pub fn setpwent(); -} -#[pg_guard] -extern "C" { - pub fn endpwent(); -} -#[pg_guard] -extern "C" { - pub fn getpwent() -> *mut passwd; -} -#[pg_guard] -extern "C" { - pub fn fgetpwent(__stream: *mut FILE) -> *mut passwd; -} -#[pg_guard] -extern "C" { - pub fn putpwent(__p: *const passwd, __f: *mut FILE) -> ::std::os::raw::c_int; -} -#[pg_guard] -extern "C" { - pub fn getpwuid(__uid: __uid_t) -> *mut passwd; -} -#[pg_guard] -extern "C" { - pub fn getpwnam(__name: *const ::std::os::raw::c_char) -> *mut passwd; -} -#[pg_guard] -extern "C" { - pub fn getpwent_r( - __resultbuf: *mut passwd, - __buffer: *mut ::std::os::raw::c_char, - __buflen: usize, - __result: *mut *mut passwd, - ) -> ::std::os::raw::c_int; -} -#[pg_guard] -extern "C" { - pub fn getpwuid_r( - __uid: __uid_t, - __resultbuf: *mut passwd, - __buffer: *mut ::std::os::raw::c_char, - __buflen: usize, - __result: *mut *mut passwd, - ) -> ::std::os::raw::c_int; -} -#[pg_guard] -extern "C" { - pub fn getpwnam_r( - __name: *const ::std::os::raw::c_char, - __resultbuf: *mut passwd, - __buffer: *mut ::std::os::raw::c_char, - __buflen: usize, - __result: *mut *mut passwd, - ) -> ::std::os::raw::c_int; -} -#[pg_guard] -extern "C" { - pub fn fgetpwent_r( - __stream: *mut FILE, - __resultbuf: *mut passwd, - __buffer: *mut ::std::os::raw::c_char, - __buflen: usize, - __result: *mut *mut passwd, - ) -> ::std::os::raw::c_int; -} -pub type pgsocket = ::std::os::raw::c_int; -#[pg_guard] -extern "C" { - pub fn pg_set_noblock(sock: pgsocket) -> bool; -} -#[pg_guard] -extern "C" { - pub fn pg_set_block(sock: pgsocket) -> bool; -} -#[pg_guard] -extern "C" { - pub fn has_drive_prefix(filename: *const ::std::os::raw::c_char) -> bool; -} -#[pg_guard] -extern "C" { - pub fn first_dir_separator( - filename: *const ::std::os::raw::c_char, - ) -> *mut ::std::os::raw::c_char; -} -#[pg_guard] -extern "C" { - pub fn last_dir_separator( - filename: *const ::std::os::raw::c_char, - ) -> *mut ::std::os::raw::c_char; -} -#[pg_guard] -extern "C" { - pub fn first_path_var_separator( - pathlist: *const ::std::os::raw::c_char, - ) -> *mut ::std::os::raw::c_char; -} -#[pg_guard] -extern "C" { - pub fn join_path_components( - ret_path: *mut ::std::os::raw::c_char, - head: *const ::std::os::raw::c_char, - tail: *const ::std::os::raw::c_char, - ); -} -#[pg_guard] -extern "C" { - pub fn canonicalize_path(path: *mut ::std::os::raw::c_char); -} -#[pg_guard] -extern "C" { - pub fn make_native_path(path: *mut ::std::os::raw::c_char); -} -#[pg_guard] -extern "C" { - pub fn cleanup_path(path: *mut ::std::os::raw::c_char); -} -#[pg_guard] -extern "C" { - pub fn path_contains_parent_reference(path: *const ::std::os::raw::c_char) -> bool; -} -#[pg_guard] -extern "C" { - pub fn path_is_relative_and_below_cwd(path: *const ::std::os::raw::c_char) -> bool; -} -#[pg_guard] -extern "C" { - pub fn path_is_prefix_of_path( - path1: *const ::std::os::raw::c_char, - path2: *const ::std::os::raw::c_char, - ) -> bool; -} -#[pg_guard] -extern "C" { - pub fn make_absolute_path(path: *const ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; -} -#[pg_guard] -extern "C" { - pub fn get_progname(argv0: *const ::std::os::raw::c_char) -> *const ::std::os::raw::c_char; -} -#[pg_guard] -extern "C" { - pub fn get_share_path( - my_exec_path: *const ::std::os::raw::c_char, - ret_path: *mut ::std::os::raw::c_char, - ); -} -#[pg_guard] -extern "C" { - pub fn get_etc_path( - my_exec_path: *const ::std::os::raw::c_char, - ret_path: *mut ::std::os::raw::c_char, - ); -} -#[pg_guard] -extern "C" { - pub fn get_include_path( - my_exec_path: *const ::std::os::raw::c_char, - ret_path: *mut ::std::os::raw::c_char, - ); -} -#[pg_guard] -extern "C" { - pub fn get_pkginclude_path( - my_exec_path: *const ::std::os::raw::c_char, - ret_path: *mut ::std::os::raw::c_char, - ); -} -#[pg_guard] -extern "C" { - pub fn get_includeserver_path( - my_exec_path: *const ::std::os::raw::c_char, - ret_path: *mut ::std::os::raw::c_char, - ); -} -#[pg_guard] -extern "C" { - pub fn get_lib_path( - my_exec_path: *const ::std::os::raw::c_char, - ret_path: *mut ::std::os::raw::c_char, - ); -} -#[pg_guard] -extern "C" { - pub fn get_pkglib_path( - my_exec_path: *const ::std::os::raw::c_char, - ret_path: *mut ::std::os::raw::c_char, - ); -} -#[pg_guard] -extern "C" { - pub fn get_locale_path( - my_exec_path: *const ::std::os::raw::c_char, - ret_path: *mut ::std::os::raw::c_char, - ); -} -#[pg_guard] -extern "C" { - pub fn get_doc_path( - my_exec_path: *const ::std::os::raw::c_char, - ret_path: *mut ::std::os::raw::c_char, - ); -} -#[pg_guard] -extern "C" { - pub fn get_html_path( - my_exec_path: *const ::std::os::raw::c_char, - ret_path: *mut ::std::os::raw::c_char, - ); -} -#[pg_guard] -extern "C" { - pub fn get_man_path( - my_exec_path: *const ::std::os::raw::c_char, - ret_path: *mut ::std::os::raw::c_char, - ); -} -#[pg_guard] -extern "C" { - pub fn get_home_path(ret_path: *mut ::std::os::raw::c_char) -> bool; -} -#[pg_guard] -extern "C" { - pub fn get_parent_directory(path: *mut ::std::os::raw::c_char); -} -#[pg_guard] -extern "C" { - pub fn pgfnames(path: *const ::std::os::raw::c_char) -> *mut *mut ::std::os::raw::c_char; -} -#[pg_guard] -extern "C" { - pub fn pgfnames_cleanup(filenames: *mut *mut ::std::os::raw::c_char); -} -#[pg_guard] -extern "C" { - pub fn set_pglocale_pgservice( - argv0: *const ::std::os::raw::c_char, - app: *const ::std::os::raw::c_char, - ); -} -#[pg_guard] -extern "C" { - pub fn validate_exec(path: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; -} -#[pg_guard] -extern "C" { - pub fn find_my_exec( - argv0: *const ::std::os::raw::c_char, - retpath: *mut ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; -} -#[pg_guard] -extern "C" { - pub fn find_other_exec( - argv0: *const ::std::os::raw::c_char, - target: *const ::std::os::raw::c_char, - versionstr: *const ::std::os::raw::c_char, - retpath: *mut ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; -} -#[pg_guard] -extern "C" { - pub fn pipe_read_line( - cmd: *mut ::std::os::raw::c_char, - line: *mut ::std::os::raw::c_char, - maxsize: ::std::os::raw::c_int, - ) -> *mut ::std::os::raw::c_char; -} -#[pg_guard] -extern "C" { - pub fn pg_usleep(microsec: ::std::os::raw::c_long); -} -#[pg_guard] -extern "C" { - pub fn pg_strcasecmp( - s1: *const ::std::os::raw::c_char, - s2: *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; -} -#[pg_guard] -extern "C" { - pub fn pg_strncasecmp( - s1: *const ::std::os::raw::c_char, - s2: *const ::std::os::raw::c_char, - n: usize, - ) -> ::std::os::raw::c_int; -} -#[pg_guard] -extern "C" { - pub fn pg_toupper(ch: ::std::os::raw::c_uchar) -> ::std::os::raw::c_uchar; -} -#[pg_guard] -extern "C" { - pub fn pg_tolower(ch: ::std::os::raw::c_uchar) -> ::std::os::raw::c_uchar; -} -#[pg_guard] -extern "C" { - pub fn pg_ascii_toupper(ch: ::std::os::raw::c_uchar) -> ::std::os::raw::c_uchar; -} -#[pg_guard] -extern "C" { - pub fn pg_ascii_tolower(ch: ::std::os::raw::c_uchar) -> ::std::os::raw::c_uchar; -} -#[pg_guard] -extern "C" { - pub fn pg_vsnprintf( - str_: *mut ::std::os::raw::c_char, - count: usize, - fmt: *const ::std::os::raw::c_char, - args: *mut __va_list_tag, - ) -> ::std::os::raw::c_int; -} -#[pg_guard] -extern "C" { - pub fn pg_snprintf( - str_: *mut ::std::os::raw::c_char, - count: usize, - fmt: *const ::std::os::raw::c_char, - ... - ) -> ::std::os::raw::c_int; -} -#[pg_guard] -extern "C" { - pub fn pg_vsprintf( - str_: *mut ::std::os::raw::c_char, - fmt: *const ::std::os::raw::c_char, - args: *mut __va_list_tag, - ) -> ::std::os::raw::c_int; -} -#[pg_guard] -extern "C" { - pub fn pg_sprintf( - str_: *mut ::std::os::raw::c_char, - fmt: *const ::std::os::raw::c_char, - ... - ) -> ::std::os::raw::c_int; -} -#[pg_guard] -extern "C" { - pub fn pg_vfprintf( - stream: *mut FILE, - fmt: *const ::std::os::raw::c_char, - args: *mut __va_list_tag, - ) -> ::std::os::raw::c_int; -} -#[pg_guard] -extern "C" { - pub fn pg_fprintf( - stream: *mut FILE, - fmt: *const ::std::os::raw::c_char, - ... - ) -> ::std::os::raw::c_int; -} -#[pg_guard] -extern "C" { - pub fn pg_vprintf( - fmt: *const ::std::os::raw::c_char, - args: *mut __va_list_tag, - ) -> ::std::os::raw::c_int; -} -#[pg_guard] -extern "C" { - pub fn pg_printf(fmt: *const ::std::os::raw::c_char, ...) -> ::std::os::raw::c_int; -} -#[pg_guard] -extern "C" { - pub fn pg_strfromd( - str_: *mut ::std::os::raw::c_char, - count: usize, - precision: ::std::os::raw::c_int, - value: f64, - ) -> ::std::os::raw::c_int; -} -#[pg_guard] -extern "C" { - pub fn pg_strerror(errnum: ::std::os::raw::c_int) -> *mut ::std::os::raw::c_char; -} -#[pg_guard] -extern "C" { - pub fn pg_strerror_r( - errnum: ::std::os::raw::c_int, - buf: *mut ::std::os::raw::c_char, - buflen: usize, - ) -> *mut ::std::os::raw::c_char; -} -#[pg_guard] -extern "C" { - pub fn pg_strsignal(signum: ::std::os::raw::c_int) -> *const ::std::os::raw::c_char; -} -#[pg_guard] -extern "C" { - pub fn pclose_check(stream: *mut FILE) -> ::std::os::raw::c_int; -} -#[pg_guard] -extern "C" { - pub fn rmtree(path: *const ::std::os::raw::c_char, rmtopdir: bool) -> bool; -} -#[pg_guard] -extern "C" { - pub fn pg_erand48(xseed: *mut ::std::os::raw::c_ushort) -> f64; -} -#[pg_guard] -extern "C" { - pub fn pg_lrand48() -> ::std::os::raw::c_long; -} -#[pg_guard] -extern "C" { - pub fn pg_jrand48(xseed: *mut ::std::os::raw::c_ushort) -> ::std::os::raw::c_long; -} -#[pg_guard] -extern "C" { - pub fn pg_srand48(seed: ::std::os::raw::c_long); -} -#[pg_guard] -extern "C" { - pub fn fls(mask: ::std::os::raw::c_int) -> ::std::os::raw::c_int; -} -#[pg_guard] -extern "C" { - pub fn getpeereid( - sock: ::std::os::raw::c_int, - uid: *mut uid_t, - gid: *mut gid_t, - ) -> ::std::os::raw::c_int; -} -pub type float_t = f32; -pub type double_t = f64; -#[pg_guard] -extern "C" { - pub fn __fpclassify(__value: f64) -> ::std::os::raw::c_int; -} -#[pg_guard] -extern "C" { - pub fn __signbit(__value: f64) -> ::std::os::raw::c_int; -} -#[pg_guard] -extern "C" { - pub fn __isinf(__value: f64) -> ::std::os::raw::c_int; -} -#[pg_guard] -extern "C" { - pub fn __finite(__value: f64) -> ::std::os::raw::c_int; -} -#[pg_guard] -extern "C" { - pub fn __isnan(__value: f64) -> ::std::os::raw::c_int; -} -#[pg_guard] -extern "C" { - pub fn __iseqsig(__x: f64, __y: f64) -> ::std::os::raw::c_int; -} -#[pg_guard] -extern "C" { - pub fn __issignaling(__value: f64) -> ::std::os::raw::c_int; -} -#[pg_guard] -extern "C" { - pub fn acos(__x: f64) -> f64; -} -#[pg_guard] -extern "C" { - pub fn __acos(__x: f64) -> f64; -} -#[pg_guard] -extern "C" { - pub fn asin(__x: f64) -> f64; -} -#[pg_guard] -extern "C" { - pub fn __asin(__x: f64) -> f64; -} -#[pg_guard] -extern "C" { - pub fn atan(__x: f64) -> f64; -} -#[pg_guard] -extern "C" { - pub fn __atan(__x: f64) -> f64; +#[derive(Debug, Default, Copy, Clone)] +pub struct sockaddr { + pub sa_len: __uint8_t, + pub sa_family: sa_family_t, + pub sa_data: [::std::os::raw::c_char; 14usize], } -#[pg_guard] -extern "C" { - pub fn atan2(__y: f64, __x: f64) -> f64; +#[repr(C)] +#[derive(Debug, Default, Copy, Clone)] +pub struct sockproto { + pub sp_family: __uint16_t, + pub sp_protocol: __uint16_t, } -#[pg_guard] -extern "C" { - pub fn __atan2(__y: f64, __x: f64) -> f64; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct sockaddr_storage { + pub ss_len: __uint8_t, + pub ss_family: sa_family_t, + pub __ss_pad1: [::std::os::raw::c_char; 6usize], + pub __ss_align: __int64_t, + pub __ss_pad2: [::std::os::raw::c_char; 112usize], } -#[pg_guard] -extern "C" { - pub fn cos(__x: f64) -> f64; +impl Default for sockaddr_storage { + fn default() -> Self { + let mut s = ::std::mem::MaybeUninit::::uninit(); + unsafe { + ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); + s.assume_init() + } + } } -#[pg_guard] -extern "C" { - pub fn __cos(__x: f64) -> f64; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct msghdr { + pub msg_name: *mut ::std::os::raw::c_void, + pub msg_namelen: socklen_t, + pub msg_iov: *mut iovec, + pub msg_iovlen: ::std::os::raw::c_int, + pub msg_control: *mut ::std::os::raw::c_void, + pub msg_controllen: socklen_t, + pub msg_flags: ::std::os::raw::c_int, } -#[pg_guard] -extern "C" { - pub fn sin(__x: f64) -> f64; +impl Default for msghdr { + fn default() -> Self { + let mut s = ::std::mem::MaybeUninit::::uninit(); + unsafe { + ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); + s.assume_init() + } + } } -#[pg_guard] -extern "C" { - pub fn __sin(__x: f64) -> f64; +#[repr(C)] +#[derive(Debug, Default, Copy, Clone)] +pub struct cmsghdr { + pub cmsg_len: socklen_t, + pub cmsg_level: ::std::os::raw::c_int, + pub cmsg_type: ::std::os::raw::c_int, } -#[pg_guard] -extern "C" { - pub fn tan(__x: f64) -> f64; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct sf_hdtr { + pub headers: *mut iovec, + pub hdr_cnt: ::std::os::raw::c_int, + pub trailers: *mut iovec, + pub trl_cnt: ::std::os::raw::c_int, } -#[pg_guard] -extern "C" { - pub fn __tan(__x: f64) -> f64; +impl Default for sf_hdtr { + fn default() -> Self { + let mut s = ::std::mem::MaybeUninit::::uninit(); + unsafe { + ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); + s.assume_init() + } + } } #[pg_guard] extern "C" { - pub fn cosh(__x: f64) -> f64; + pub fn accept( + arg1: ::std::os::raw::c_int, + arg2: *mut sockaddr, + arg3: *mut socklen_t, + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn __cosh(__x: f64) -> f64; + pub fn bind( + arg1: ::std::os::raw::c_int, + arg2: *const sockaddr, + arg3: socklen_t, + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn sinh(__x: f64) -> f64; + pub fn connect( + arg1: ::std::os::raw::c_int, + arg2: *const sockaddr, + arg3: socklen_t, + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn __sinh(__x: f64) -> f64; + pub fn getpeername( + arg1: ::std::os::raw::c_int, + arg2: *mut sockaddr, + arg3: *mut socklen_t, + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn tanh(__x: f64) -> f64; + pub fn getsockname( + arg1: ::std::os::raw::c_int, + arg2: *mut sockaddr, + arg3: *mut socklen_t, + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn __tanh(__x: f64) -> f64; + pub fn getsockopt( + arg1: ::std::os::raw::c_int, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_void, + arg5: *mut socklen_t, + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn acosh(__x: f64) -> f64; + pub fn listen( + arg1: ::std::os::raw::c_int, + arg2: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn __acosh(__x: f64) -> f64; + pub fn recv( + arg1: ::std::os::raw::c_int, + arg2: *mut ::std::os::raw::c_void, + arg3: usize, + arg4: ::std::os::raw::c_int, + ) -> isize; } #[pg_guard] extern "C" { - pub fn asinh(__x: f64) -> f64; + pub fn recvfrom( + arg1: ::std::os::raw::c_int, + arg2: *mut ::std::os::raw::c_void, + arg3: usize, + arg4: ::std::os::raw::c_int, + arg5: *mut sockaddr, + arg6: *mut socklen_t, + ) -> isize; } #[pg_guard] extern "C" { - pub fn __asinh(__x: f64) -> f64; + pub fn recvmsg( + arg1: ::std::os::raw::c_int, + arg2: *mut msghdr, + arg3: ::std::os::raw::c_int, + ) -> isize; } #[pg_guard] extern "C" { - pub fn atanh(__x: f64) -> f64; + pub fn send( + arg1: ::std::os::raw::c_int, + arg2: *const ::std::os::raw::c_void, + arg3: usize, + arg4: ::std::os::raw::c_int, + ) -> isize; } #[pg_guard] extern "C" { - pub fn __atanh(__x: f64) -> f64; + pub fn sendmsg( + arg1: ::std::os::raw::c_int, + arg2: *const msghdr, + arg3: ::std::os::raw::c_int, + ) -> isize; } #[pg_guard] extern "C" { - pub fn exp(__x: f64) -> f64; + pub fn sendto( + arg1: ::std::os::raw::c_int, + arg2: *const ::std::os::raw::c_void, + arg3: usize, + arg4: ::std::os::raw::c_int, + arg5: *const sockaddr, + arg6: socklen_t, + ) -> isize; } #[pg_guard] extern "C" { - pub fn __exp(__x: f64) -> f64; + pub fn setsockopt( + arg1: ::std::os::raw::c_int, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + arg4: *const ::std::os::raw::c_void, + arg5: socklen_t, + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn frexp(__x: f64, __exponent: *mut ::std::os::raw::c_int) -> f64; + pub fn shutdown( + arg1: ::std::os::raw::c_int, + arg2: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn __frexp(__x: f64, __exponent: *mut ::std::os::raw::c_int) -> f64; + pub fn sockatmark(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn ldexp(__x: f64, __exponent: ::std::os::raw::c_int) -> f64; + pub fn socket( + arg1: ::std::os::raw::c_int, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn __ldexp(__x: f64, __exponent: ::std::os::raw::c_int) -> f64; + pub fn socketpair( + arg1: ::std::os::raw::c_int, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn log(__x: f64) -> f64; + pub fn sendfile( + arg1: ::std::os::raw::c_int, + arg2: ::std::os::raw::c_int, + arg3: off_t, + arg4: *mut off_t, + arg5: *mut sf_hdtr, + arg6: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn __log(__x: f64) -> f64; + pub fn pfctlinput(arg1: ::std::os::raw::c_int, arg2: *mut sockaddr); } #[pg_guard] extern "C" { - pub fn log10(__x: f64) -> f64; + pub fn connectx( + arg1: ::std::os::raw::c_int, + arg2: *const sa_endpoints_t, + arg3: sae_associd_t, + arg4: ::std::os::raw::c_uint, + arg5: *const iovec, + arg6: ::std::os::raw::c_uint, + arg7: *mut usize, + arg8: *mut sae_connid_t, + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn __log10(__x: f64) -> f64; + pub fn disconnectx( + arg1: ::std::os::raw::c_int, + arg2: sae_associd_t, + arg3: sae_connid_t, + ) -> ::std::os::raw::c_int; } -#[pg_guard] -extern "C" { - pub fn modf(__x: f64, __iptr: *mut f64) -> f64; +#[repr(C)] +#[derive(Debug, Default, Copy, Clone)] +pub struct in_addr { + pub s_addr: in_addr_t, } -#[pg_guard] -extern "C" { - pub fn __modf(__x: f64, __iptr: *mut f64) -> f64; +#[repr(C)] +#[derive(Debug, Default, Copy, Clone)] +pub struct sockaddr_in { + pub sin_len: __uint8_t, + pub sin_family: sa_family_t, + pub sin_port: in_port_t, + pub sin_addr: in_addr, + pub sin_zero: [::std::os::raw::c_char; 8usize], } -#[pg_guard] -extern "C" { - pub fn expm1(__x: f64) -> f64; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct ip_opts { + pub ip_dst: in_addr, + pub ip_opts: [::std::os::raw::c_char; 40usize], } -#[pg_guard] -extern "C" { - pub fn __expm1(__x: f64) -> f64; +impl Default for ip_opts { + fn default() -> Self { + let mut s = ::std::mem::MaybeUninit::::uninit(); + unsafe { + ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); + s.assume_init() + } + } } -#[pg_guard] -extern "C" { - pub fn log1p(__x: f64) -> f64; +#[repr(C)] +#[derive(Debug, Default, Copy, Clone)] +pub struct ip_mreq { + pub imr_multiaddr: in_addr, + pub imr_interface: in_addr, } -#[pg_guard] -extern "C" { - pub fn __log1p(__x: f64) -> f64; +#[repr(C)] +#[derive(Debug, Default, Copy, Clone)] +pub struct ip_mreqn { + pub imr_multiaddr: in_addr, + pub imr_address: in_addr, + pub imr_ifindex: ::std::os::raw::c_int, } -#[pg_guard] -extern "C" { - pub fn logb(__x: f64) -> f64; +#[repr(C)] +#[derive(Debug, Default, Copy, Clone)] +pub struct ip_mreq_source { + pub imr_multiaddr: in_addr, + pub imr_sourceaddr: in_addr, + pub imr_interface: in_addr, } -#[pg_guard] -extern "C" { - pub fn __logb(__x: f64) -> f64; +#[repr(C, packed(4))] +#[derive(Debug, Copy, Clone)] +pub struct group_req { + pub gr_interface: u32, + pub gr_group: sockaddr_storage, } -#[pg_guard] -extern "C" { - pub fn exp2(__x: f64) -> f64; +impl Default for group_req { + fn default() -> Self { + let mut s = ::std::mem::MaybeUninit::::uninit(); + unsafe { + ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); + s.assume_init() + } + } } -#[pg_guard] -extern "C" { - pub fn __exp2(__x: f64) -> f64; +#[repr(C, packed(4))] +#[derive(Debug, Copy, Clone)] +pub struct group_source_req { + pub gsr_interface: u32, + pub gsr_group: sockaddr_storage, + pub gsr_source: sockaddr_storage, } -#[pg_guard] -extern "C" { - pub fn log2(__x: f64) -> f64; +impl Default for group_source_req { + fn default() -> Self { + let mut s = ::std::mem::MaybeUninit::::uninit(); + unsafe { + ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); + s.assume_init() + } + } } -#[pg_guard] -extern "C" { - pub fn __log2(__x: f64) -> f64; +#[repr(C, packed(4))] +#[derive(Debug, Copy, Clone)] +pub struct __msfilterreq { + pub msfr_ifindex: u32, + pub msfr_fmode: u32, + pub msfr_nsrcs: u32, + pub __msfr_align: u32, + pub msfr_group: sockaddr_storage, + pub msfr_srcs: *mut sockaddr_storage, } -#[pg_guard] -extern "C" { - pub fn pow(__x: f64, __y: f64) -> f64; +impl Default for __msfilterreq { + fn default() -> Self { + let mut s = ::std::mem::MaybeUninit::::uninit(); + unsafe { + ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); + s.assume_init() + } + } } #[pg_guard] extern "C" { - pub fn __pow(__x: f64, __y: f64) -> f64; + pub fn setipv4sourcefilter( + arg1: ::std::os::raw::c_int, + arg2: in_addr, + arg3: in_addr, + arg4: u32, + arg5: u32, + arg6: *mut in_addr, + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn sqrt(__x: f64) -> f64; + pub fn getipv4sourcefilter( + arg1: ::std::os::raw::c_int, + arg2: in_addr, + arg3: in_addr, + arg4: *mut u32, + arg5: *mut u32, + arg6: *mut in_addr, + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn __sqrt(__x: f64) -> f64; + pub fn setsourcefilter( + arg1: ::std::os::raw::c_int, + arg2: u32, + arg3: *mut sockaddr, + arg4: socklen_t, + arg5: u32, + arg6: u32, + arg7: *mut sockaddr_storage, + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn hypot(__x: f64, __y: f64) -> f64; + pub fn getsourcefilter( + arg1: ::std::os::raw::c_int, + arg2: u32, + arg3: *mut sockaddr, + arg4: socklen_t, + arg5: *mut u32, + arg6: *mut u32, + arg7: *mut sockaddr_storage, + ) -> ::std::os::raw::c_int; } -#[pg_guard] -extern "C" { - pub fn __hypot(__x: f64, __y: f64) -> f64; +#[repr(C)] +#[derive(Debug, Default, Copy, Clone)] +pub struct in_pktinfo { + pub ipi_ifindex: ::std::os::raw::c_uint, + pub ipi_spec_dst: in_addr, + pub ipi_addr: in_addr, } -#[pg_guard] -extern "C" { - pub fn cbrt(__x: f64) -> f64; +#[repr(C)] +#[derive(Copy, Clone)] +pub struct in6_addr { + pub __u6_addr: in6_addr__bindgen_ty_1, } -#[pg_guard] -extern "C" { - pub fn __cbrt(__x: f64) -> f64; +#[repr(C)] +#[derive(Copy, Clone)] +pub union in6_addr__bindgen_ty_1 { + pub __u6_addr8: [__uint8_t; 16usize], + pub __u6_addr16: [__uint16_t; 8usize], + pub __u6_addr32: [__uint32_t; 4usize], } -#[pg_guard] -extern "C" { - pub fn ceil(__x: f64) -> f64; +impl Default for in6_addr__bindgen_ty_1 { + fn default() -> Self { + let mut s = ::std::mem::MaybeUninit::::uninit(); + unsafe { + ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); + s.assume_init() + } + } } -#[pg_guard] -extern "C" { - pub fn __ceil(__x: f64) -> f64; +impl Default for in6_addr { + fn default() -> Self { + let mut s = ::std::mem::MaybeUninit::::uninit(); + unsafe { + ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); + s.assume_init() + } + } } -#[pg_guard] -extern "C" { - pub fn fabs(__x: f64) -> f64; +pub type in6_addr_t = in6_addr; +#[repr(C)] +#[derive(Copy, Clone)] +pub struct sockaddr_in6 { + pub sin6_len: __uint8_t, + pub sin6_family: sa_family_t, + pub sin6_port: in_port_t, + pub sin6_flowinfo: __uint32_t, + pub sin6_addr: in6_addr, + pub sin6_scope_id: __uint32_t, } -#[pg_guard] -extern "C" { - pub fn __fabs(__x: f64) -> f64; +impl Default for sockaddr_in6 { + fn default() -> Self { + let mut s = ::std::mem::MaybeUninit::::uninit(); + unsafe { + ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); + s.assume_init() + } + } } #[pg_guard] extern "C" { - pub fn floor(__x: f64) -> f64; + pub static in6addr_any: in6_addr; } #[pg_guard] extern "C" { - pub fn __floor(__x: f64) -> f64; + pub static in6addr_loopback: in6_addr; } #[pg_guard] extern "C" { - pub fn fmod(__x: f64, __y: f64) -> f64; + pub static in6addr_nodelocal_allnodes: in6_addr; } #[pg_guard] extern "C" { - pub fn __fmod(__x: f64, __y: f64) -> f64; + pub static in6addr_linklocal_allnodes: in6_addr; } #[pg_guard] extern "C" { - pub fn isinf(__value: f64) -> ::std::os::raw::c_int; + pub static in6addr_linklocal_allrouters: in6_addr; } #[pg_guard] extern "C" { - pub fn finite(__value: f64) -> ::std::os::raw::c_int; + pub static in6addr_linklocal_allv2routers: in6_addr; } -#[pg_guard] -extern "C" { - pub fn drem(__x: f64, __y: f64) -> f64; +#[repr(C)] +#[derive(Copy, Clone)] +pub struct ipv6_mreq { + pub ipv6mr_multiaddr: in6_addr, + pub ipv6mr_interface: ::std::os::raw::c_uint, } -#[pg_guard] -extern "C" { - pub fn __drem(__x: f64, __y: f64) -> f64; +impl Default for ipv6_mreq { + fn default() -> Self { + let mut s = ::std::mem::MaybeUninit::::uninit(); + unsafe { + ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); + s.assume_init() + } + } } -#[pg_guard] -extern "C" { - pub fn significand(__x: f64) -> f64; +#[repr(C)] +#[derive(Copy, Clone)] +pub struct in6_pktinfo { + pub ipi6_addr: in6_addr, + pub ipi6_ifindex: ::std::os::raw::c_uint, } -#[pg_guard] -extern "C" { - pub fn __significand(__x: f64) -> f64; +impl Default for in6_pktinfo { + fn default() -> Self { + let mut s = ::std::mem::MaybeUninit::::uninit(); + unsafe { + ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); + s.assume_init() + } + } } -#[pg_guard] -extern "C" { - pub fn copysign(__x: f64, __y: f64) -> f64; +#[repr(C)] +#[derive(Copy, Clone)] +pub struct ip6_mtuinfo { + pub ip6m_addr: sockaddr_in6, + pub ip6m_mtu: u32, } -#[pg_guard] -extern "C" { - pub fn __copysign(__x: f64, __y: f64) -> f64; +impl Default for ip6_mtuinfo { + fn default() -> Self { + let mut s = ::std::mem::MaybeUninit::::uninit(); + unsafe { + ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); + s.assume_init() + } + } } #[pg_guard] extern "C" { - pub fn nan(__tagb: *const ::std::os::raw::c_char) -> f64; + pub fn inet6_option_space(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn __nan(__tagb: *const ::std::os::raw::c_char) -> f64; + pub fn inet6_option_init( + arg1: *mut ::std::os::raw::c_void, + arg2: *mut *mut cmsghdr, + arg3: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn isnan(__value: f64) -> ::std::os::raw::c_int; + pub fn inet6_option_append( + arg1: *mut cmsghdr, + arg2: *const __uint8_t, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn j0(arg1: f64) -> f64; + pub fn inet6_option_alloc( + arg1: *mut cmsghdr, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> *mut __uint8_t; } #[pg_guard] extern "C" { - pub fn __j0(arg1: f64) -> f64; + pub fn inet6_option_next( + arg1: *const cmsghdr, + arg2: *mut *mut __uint8_t, + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn j1(arg1: f64) -> f64; + pub fn inet6_option_find( + arg1: *const cmsghdr, + arg2: *mut *mut __uint8_t, + arg3: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn __j1(arg1: f64) -> f64; + pub fn inet6_rthdr_space(arg1: ::std::os::raw::c_int, arg2: ::std::os::raw::c_int) -> usize; } #[pg_guard] extern "C" { - pub fn jn(arg1: ::std::os::raw::c_int, arg2: f64) -> f64; + pub fn inet6_rthdr_init( + arg1: *mut ::std::os::raw::c_void, + arg2: ::std::os::raw::c_int, + ) -> *mut cmsghdr; } #[pg_guard] extern "C" { - pub fn __jn(arg1: ::std::os::raw::c_int, arg2: f64) -> f64; + pub fn inet6_rthdr_add( + arg1: *mut cmsghdr, + arg2: *const in6_addr, + arg3: ::std::os::raw::c_uint, + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn y0(arg1: f64) -> f64; + pub fn inet6_rthdr_lasthop( + arg1: *mut cmsghdr, + arg2: ::std::os::raw::c_uint, + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn __y0(arg1: f64) -> f64; + pub fn inet6_rthdr_segments(arg1: *const cmsghdr) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn y1(arg1: f64) -> f64; + pub fn inet6_rthdr_getaddr(arg1: *mut cmsghdr, arg2: ::std::os::raw::c_int) -> *mut in6_addr; } #[pg_guard] extern "C" { - pub fn __y1(arg1: f64) -> f64; + pub fn inet6_rthdr_getflags( + arg1: *const cmsghdr, + arg2: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn yn(arg1: ::std::os::raw::c_int, arg2: f64) -> f64; + pub fn inet6_opt_init( + arg1: *mut ::std::os::raw::c_void, + arg2: socklen_t, + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn __yn(arg1: ::std::os::raw::c_int, arg2: f64) -> f64; + pub fn inet6_opt_append( + arg1: *mut ::std::os::raw::c_void, + arg2: socklen_t, + arg3: ::std::os::raw::c_int, + arg4: __uint8_t, + arg5: socklen_t, + arg6: __uint8_t, + arg7: *mut *mut ::std::os::raw::c_void, + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn erf(arg1: f64) -> f64; + pub fn inet6_opt_finish( + arg1: *mut ::std::os::raw::c_void, + arg2: socklen_t, + arg3: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn __erf(arg1: f64) -> f64; + pub fn inet6_opt_set_val( + arg1: *mut ::std::os::raw::c_void, + arg2: ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_void, + arg4: socklen_t, + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn erfc(arg1: f64) -> f64; + pub fn inet6_opt_next( + arg1: *mut ::std::os::raw::c_void, + arg2: socklen_t, + arg3: ::std::os::raw::c_int, + arg4: *mut __uint8_t, + arg5: *mut socklen_t, + arg6: *mut *mut ::std::os::raw::c_void, + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn __erfc(arg1: f64) -> f64; + pub fn inet6_opt_find( + arg1: *mut ::std::os::raw::c_void, + arg2: socklen_t, + arg3: ::std::os::raw::c_int, + arg4: __uint8_t, + arg5: *mut socklen_t, + arg6: *mut *mut ::std::os::raw::c_void, + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn lgamma(arg1: f64) -> f64; + pub fn inet6_opt_get_val( + arg1: *mut ::std::os::raw::c_void, + arg2: ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_void, + arg4: socklen_t, + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn __lgamma(arg1: f64) -> f64; + pub fn inet6_rth_space(arg1: ::std::os::raw::c_int, arg2: ::std::os::raw::c_int) -> socklen_t; } #[pg_guard] extern "C" { - pub fn tgamma(arg1: f64) -> f64; + pub fn inet6_rth_init( + arg1: *mut ::std::os::raw::c_void, + arg2: socklen_t, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> *mut ::std::os::raw::c_void; } #[pg_guard] extern "C" { - pub fn __tgamma(arg1: f64) -> f64; + pub fn inet6_rth_add( + arg1: *mut ::std::os::raw::c_void, + arg2: *const in6_addr, + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn gamma(arg1: f64) -> f64; + pub fn inet6_rth_reverse( + arg1: *const ::std::os::raw::c_void, + arg2: *mut ::std::os::raw::c_void, + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn __gamma(arg1: f64) -> f64; + pub fn inet6_rth_segments(arg1: *const ::std::os::raw::c_void) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn lgamma_r(arg1: f64, __signgamp: *mut ::std::os::raw::c_int) -> f64; + pub fn inet6_rth_getaddr( + arg1: *const ::std::os::raw::c_void, + arg2: ::std::os::raw::c_int, + ) -> *mut in6_addr; } #[pg_guard] extern "C" { - pub fn __lgamma_r(arg1: f64, __signgamp: *mut ::std::os::raw::c_int) -> f64; + pub fn bindresvport( + arg1: ::std::os::raw::c_int, + arg2: *mut sockaddr_in, + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn rint(__x: f64) -> f64; + pub fn bindresvport_sa( + arg1: ::std::os::raw::c_int, + arg2: *mut sockaddr, + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn __rint(__x: f64) -> f64; + pub static mut h_errno: ::std::os::raw::c_int; } -#[pg_guard] -extern "C" { - pub fn nextafter(__x: f64, __y: f64) -> f64; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct hostent { + pub h_name: *mut ::std::os::raw::c_char, + pub h_aliases: *mut *mut ::std::os::raw::c_char, + pub h_addrtype: ::std::os::raw::c_int, + pub h_length: ::std::os::raw::c_int, + pub h_addr_list: *mut *mut ::std::os::raw::c_char, } -#[pg_guard] -extern "C" { - pub fn __nextafter(__x: f64, __y: f64) -> f64; +impl Default for hostent { + fn default() -> Self { + let mut s = ::std::mem::MaybeUninit::::uninit(); + unsafe { + ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); + s.assume_init() + } + } } -#[pg_guard] -extern "C" { - pub fn nexttoward(__x: f64, __y: u128) -> f64; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct netent { + pub n_name: *mut ::std::os::raw::c_char, + pub n_aliases: *mut *mut ::std::os::raw::c_char, + pub n_addrtype: ::std::os::raw::c_int, + pub n_net: u32, } -#[pg_guard] -extern "C" { - pub fn __nexttoward(__x: f64, __y: u128) -> f64; +impl Default for netent { + fn default() -> Self { + let mut s = ::std::mem::MaybeUninit::::uninit(); + unsafe { + ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); + s.assume_init() + } + } } -#[pg_guard] -extern "C" { - pub fn remainder(__x: f64, __y: f64) -> f64; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct servent { + pub s_name: *mut ::std::os::raw::c_char, + pub s_aliases: *mut *mut ::std::os::raw::c_char, + pub s_port: ::std::os::raw::c_int, + pub s_proto: *mut ::std::os::raw::c_char, } -#[pg_guard] -extern "C" { - pub fn __remainder(__x: f64, __y: f64) -> f64; +impl Default for servent { + fn default() -> Self { + let mut s = ::std::mem::MaybeUninit::::uninit(); + unsafe { + ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); + s.assume_init() + } + } } -#[pg_guard] -extern "C" { - pub fn scalbn(__x: f64, __n: ::std::os::raw::c_int) -> f64; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct protoent { + pub p_name: *mut ::std::os::raw::c_char, + pub p_aliases: *mut *mut ::std::os::raw::c_char, + pub p_proto: ::std::os::raw::c_int, } -#[pg_guard] -extern "C" { - pub fn __scalbn(__x: f64, __n: ::std::os::raw::c_int) -> f64; +impl Default for protoent { + fn default() -> Self { + let mut s = ::std::mem::MaybeUninit::::uninit(); + unsafe { + ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); + s.assume_init() + } + } } -#[pg_guard] -extern "C" { - pub fn ilogb(__x: f64) -> ::std::os::raw::c_int; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct addrinfo { + pub ai_flags: ::std::os::raw::c_int, + pub ai_family: ::std::os::raw::c_int, + pub ai_socktype: ::std::os::raw::c_int, + pub ai_protocol: ::std::os::raw::c_int, + pub ai_addrlen: socklen_t, + pub ai_canonname: *mut ::std::os::raw::c_char, + pub ai_addr: *mut sockaddr, + pub ai_next: *mut addrinfo, } -#[pg_guard] -extern "C" { - pub fn __ilogb(__x: f64) -> ::std::os::raw::c_int; +impl Default for addrinfo { + fn default() -> Self { + let mut s = ::std::mem::MaybeUninit::::uninit(); + unsafe { + ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); + s.assume_init() + } + } } -#[pg_guard] -extern "C" { - pub fn scalbln(__x: f64, __n: ::std::os::raw::c_long) -> f64; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct rpcent { + pub r_name: *mut ::std::os::raw::c_char, + pub r_aliases: *mut *mut ::std::os::raw::c_char, + pub r_number: ::std::os::raw::c_int, } -#[pg_guard] -extern "C" { - pub fn __scalbln(__x: f64, __n: ::std::os::raw::c_long) -> f64; +impl Default for rpcent { + fn default() -> Self { + let mut s = ::std::mem::MaybeUninit::::uninit(); + unsafe { + ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); + s.assume_init() + } + } } #[pg_guard] extern "C" { - pub fn nearbyint(__x: f64) -> f64; + pub fn endhostent(); } #[pg_guard] extern "C" { - pub fn __nearbyint(__x: f64) -> f64; + pub fn endnetent(); } #[pg_guard] extern "C" { - pub fn round(__x: f64) -> f64; + pub fn endprotoent(); } #[pg_guard] extern "C" { - pub fn __round(__x: f64) -> f64; + pub fn endservent(); } #[pg_guard] extern "C" { - pub fn trunc(__x: f64) -> f64; + pub fn freeaddrinfo(arg1: *mut addrinfo); } #[pg_guard] extern "C" { - pub fn __trunc(__x: f64) -> f64; + pub fn gai_strerror(arg1: ::std::os::raw::c_int) -> *const ::std::os::raw::c_char; } #[pg_guard] extern "C" { - pub fn remquo(__x: f64, __y: f64, __quo: *mut ::std::os::raw::c_int) -> f64; + pub fn getaddrinfo( + arg1: *const ::std::os::raw::c_char, + arg2: *const ::std::os::raw::c_char, + arg3: *const addrinfo, + arg4: *mut *mut addrinfo, + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn __remquo(__x: f64, __y: f64, __quo: *mut ::std::os::raw::c_int) -> f64; + pub fn gethostbyaddr( + arg1: *const ::std::os::raw::c_void, + arg2: socklen_t, + arg3: ::std::os::raw::c_int, + ) -> *mut hostent; } #[pg_guard] extern "C" { - pub fn lrint(__x: f64) -> ::std::os::raw::c_long; + pub fn gethostbyname(arg1: *const ::std::os::raw::c_char) -> *mut hostent; } #[pg_guard] extern "C" { - pub fn __lrint(__x: f64) -> ::std::os::raw::c_long; + pub fn gethostent() -> *mut hostent; } #[pg_guard] extern "C" { - pub fn llrint(__x: f64) -> ::std::os::raw::c_longlong; + pub fn getnameinfo( + arg1: *const sockaddr, + arg2: socklen_t, + arg3: *mut ::std::os::raw::c_char, + arg4: socklen_t, + arg5: *mut ::std::os::raw::c_char, + arg6: socklen_t, + arg7: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn __llrint(__x: f64) -> ::std::os::raw::c_longlong; + pub fn getnetbyaddr(arg1: u32, arg2: ::std::os::raw::c_int) -> *mut netent; } #[pg_guard] extern "C" { - pub fn lround(__x: f64) -> ::std::os::raw::c_long; + pub fn getnetbyname(arg1: *const ::std::os::raw::c_char) -> *mut netent; } #[pg_guard] extern "C" { - pub fn __lround(__x: f64) -> ::std::os::raw::c_long; + pub fn getnetent() -> *mut netent; } #[pg_guard] extern "C" { - pub fn llround(__x: f64) -> ::std::os::raw::c_longlong; + pub fn getprotobyname(arg1: *const ::std::os::raw::c_char) -> *mut protoent; } #[pg_guard] extern "C" { - pub fn __llround(__x: f64) -> ::std::os::raw::c_longlong; + pub fn getprotobynumber(arg1: ::std::os::raw::c_int) -> *mut protoent; } #[pg_guard] extern "C" { - pub fn fdim(__x: f64, __y: f64) -> f64; + pub fn getprotoent() -> *mut protoent; } #[pg_guard] extern "C" { - pub fn __fdim(__x: f64, __y: f64) -> f64; + pub fn getservbyname( + arg1: *const ::std::os::raw::c_char, + arg2: *const ::std::os::raw::c_char, + ) -> *mut servent; } #[pg_guard] extern "C" { - pub fn fmax(__x: f64, __y: f64) -> f64; + pub fn getservbyport( + arg1: ::std::os::raw::c_int, + arg2: *const ::std::os::raw::c_char, + ) -> *mut servent; } #[pg_guard] extern "C" { - pub fn __fmax(__x: f64, __y: f64) -> f64; + pub fn getservent() -> *mut servent; } #[pg_guard] extern "C" { - pub fn fmin(__x: f64, __y: f64) -> f64; + pub fn sethostent(arg1: ::std::os::raw::c_int); } #[pg_guard] extern "C" { - pub fn __fmin(__x: f64, __y: f64) -> f64; + pub fn setnetent(arg1: ::std::os::raw::c_int); } #[pg_guard] extern "C" { - pub fn fma(__x: f64, __y: f64, __z: f64) -> f64; + pub fn setprotoent(arg1: ::std::os::raw::c_int); } #[pg_guard] extern "C" { - pub fn __fma(__x: f64, __y: f64, __z: f64) -> f64; + pub fn setservent(arg1: ::std::os::raw::c_int); } #[pg_guard] extern "C" { - pub fn scalb(__x: f64, __n: f64) -> f64; + pub fn freehostent(arg1: *mut hostent); } #[pg_guard] extern "C" { - pub fn __scalb(__x: f64, __n: f64) -> f64; + pub fn gethostbyname2( + arg1: *const ::std::os::raw::c_char, + arg2: ::std::os::raw::c_int, + ) -> *mut hostent; } #[pg_guard] extern "C" { - pub fn __fpclassifyf(__value: f32) -> ::std::os::raw::c_int; + pub fn getipnodebyaddr( + arg1: *const ::std::os::raw::c_void, + arg2: usize, + arg3: ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + ) -> *mut hostent; } #[pg_guard] extern "C" { - pub fn __signbitf(__value: f32) -> ::std::os::raw::c_int; + pub fn getipnodebyname( + arg1: *const ::std::os::raw::c_char, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + ) -> *mut hostent; } #[pg_guard] extern "C" { - pub fn __isinff(__value: f32) -> ::std::os::raw::c_int; + pub fn getrpcbyname(name: *const ::std::os::raw::c_char) -> *mut rpcent; } #[pg_guard] extern "C" { - pub fn __finitef(__value: f32) -> ::std::os::raw::c_int; + pub fn getrpcbynumber(number: ::std::os::raw::c_int) -> *mut rpcent; } #[pg_guard] extern "C" { - pub fn __isnanf(__value: f32) -> ::std::os::raw::c_int; + pub fn getrpcent() -> *mut rpcent; } #[pg_guard] extern "C" { - pub fn __iseqsigf(__x: f32, __y: f32) -> ::std::os::raw::c_int; + pub fn setrpcent(stayopen: ::std::os::raw::c_int); } #[pg_guard] extern "C" { - pub fn __issignalingf(__value: f32) -> ::std::os::raw::c_int; + pub fn endrpcent(); } #[pg_guard] extern "C" { - pub fn acosf(__x: f32) -> f32; + pub fn herror(arg1: *const ::std::os::raw::c_char); } #[pg_guard] extern "C" { - pub fn __acosf(__x: f32) -> f32; + pub fn hstrerror(arg1: ::std::os::raw::c_int) -> *const ::std::os::raw::c_char; } #[pg_guard] extern "C" { - pub fn asinf(__x: f32) -> f32; + pub fn innetgr( + arg1: *const ::std::os::raw::c_char, + arg2: *const ::std::os::raw::c_char, + arg3: *const ::std::os::raw::c_char, + arg4: *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn __asinf(__x: f32) -> f32; + pub fn getnetgrent( + arg1: *mut *mut ::std::os::raw::c_char, + arg2: *mut *mut ::std::os::raw::c_char, + arg3: *mut *mut ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn atanf(__x: f32) -> f32; + pub fn endnetgrent(); } #[pg_guard] extern "C" { - pub fn __atanf(__x: f32) -> f32; + pub fn setnetgrent(arg1: *const ::std::os::raw::c_char); } -#[pg_guard] -extern "C" { - pub fn atan2f(__y: f32, __x: f32) -> f32; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct passwd { + pub pw_name: *mut ::std::os::raw::c_char, + pub pw_passwd: *mut ::std::os::raw::c_char, + pub pw_uid: uid_t, + pub pw_gid: gid_t, + pub pw_change: __darwin_time_t, + pub pw_class: *mut ::std::os::raw::c_char, + pub pw_gecos: *mut ::std::os::raw::c_char, + pub pw_dir: *mut ::std::os::raw::c_char, + pub pw_shell: *mut ::std::os::raw::c_char, + pub pw_expire: __darwin_time_t, } -#[pg_guard] -extern "C" { - pub fn __atan2f(__y: f32, __x: f32) -> f32; +impl Default for passwd { + fn default() -> Self { + let mut s = ::std::mem::MaybeUninit::::uninit(); + unsafe { + ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); + s.assume_init() + } + } } #[pg_guard] extern "C" { - pub fn cosf(__x: f32) -> f32; + pub fn getpwuid(arg1: uid_t) -> *mut passwd; } #[pg_guard] extern "C" { - pub fn __cosf(__x: f32) -> f32; + pub fn getpwnam(arg1: *const ::std::os::raw::c_char) -> *mut passwd; } #[pg_guard] extern "C" { - pub fn sinf(__x: f32) -> f32; + pub fn getpwuid_r( + arg1: uid_t, + arg2: *mut passwd, + arg3: *mut ::std::os::raw::c_char, + arg4: usize, + arg5: *mut *mut passwd, + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn __sinf(__x: f32) -> f32; + pub fn getpwnam_r( + arg1: *const ::std::os::raw::c_char, + arg2: *mut passwd, + arg3: *mut ::std::os::raw::c_char, + arg4: usize, + arg5: *mut *mut passwd, + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn tanf(__x: f32) -> f32; + pub fn getpwent() -> *mut passwd; } #[pg_guard] extern "C" { - pub fn __tanf(__x: f32) -> f32; + pub fn setpwent(); } #[pg_guard] extern "C" { - pub fn coshf(__x: f32) -> f32; + pub fn endpwent(); } +pub type uuid_t = __darwin_uuid_t; +pub type uuid_string_t = __darwin_uuid_string_t; #[pg_guard] extern "C" { - pub fn __coshf(__x: f32) -> f32; + pub static UUID_NULL: uuid_t; } #[pg_guard] extern "C" { - pub fn sinhf(__x: f32) -> f32; + pub fn uuid_clear(uu: *mut ::std::os::raw::c_uchar); } #[pg_guard] extern "C" { - pub fn __sinhf(__x: f32) -> f32; + pub fn uuid_compare( + uu1: *mut ::std::os::raw::c_uchar, + uu2: *mut ::std::os::raw::c_uchar, + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn tanhf(__x: f32) -> f32; + pub fn uuid_copy(dst: *mut ::std::os::raw::c_uchar, src: *mut ::std::os::raw::c_uchar); } #[pg_guard] extern "C" { - pub fn __tanhf(__x: f32) -> f32; + pub fn uuid_generate(out: *mut ::std::os::raw::c_uchar); } #[pg_guard] extern "C" { - pub fn acoshf(__x: f32) -> f32; + pub fn uuid_generate_random(out: *mut ::std::os::raw::c_uchar); } #[pg_guard] extern "C" { - pub fn __acoshf(__x: f32) -> f32; + pub fn uuid_generate_time(out: *mut ::std::os::raw::c_uchar); } #[pg_guard] extern "C" { - pub fn asinhf(__x: f32) -> f32; + pub fn uuid_is_null(uu: *mut ::std::os::raw::c_uchar) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn __asinhf(__x: f32) -> f32; + pub fn uuid_parse( + in_: *mut ::std::os::raw::c_char, + uu: *mut ::std::os::raw::c_uchar, + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn atanhf(__x: f32) -> f32; + pub fn uuid_unparse(uu: *mut ::std::os::raw::c_uchar, out: *mut ::std::os::raw::c_char); } #[pg_guard] extern "C" { - pub fn __atanhf(__x: f32) -> f32; + pub fn uuid_unparse_lower(uu: *mut ::std::os::raw::c_uchar, out: *mut ::std::os::raw::c_char); } #[pg_guard] extern "C" { - pub fn expf(__x: f32) -> f32; + pub fn uuid_unparse_upper(uu: *mut ::std::os::raw::c_uchar, out: *mut ::std::os::raw::c_char); } #[pg_guard] extern "C" { - pub fn __expf(__x: f32) -> f32; + pub fn setpassent(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn frexpf(__x: f32, __exponent: *mut ::std::os::raw::c_int) -> f32; + pub fn user_from_uid(arg1: uid_t, arg2: ::std::os::raw::c_int) -> *mut ::std::os::raw::c_char; } #[pg_guard] extern "C" { - pub fn __frexpf(__x: f32, __exponent: *mut ::std::os::raw::c_int) -> f32; + pub fn getpwuuid(arg1: *mut ::std::os::raw::c_uchar) -> *mut passwd; } #[pg_guard] extern "C" { - pub fn ldexpf(__x: f32, __exponent: ::std::os::raw::c_int) -> f32; + pub fn getpwuuid_r( + arg1: *mut ::std::os::raw::c_uchar, + arg2: *mut passwd, + arg3: *mut ::std::os::raw::c_char, + arg4: usize, + arg5: *mut *mut passwd, + ) -> ::std::os::raw::c_int; } +pub type pgsocket = ::std::os::raw::c_int; #[pg_guard] extern "C" { - pub fn __ldexpf(__x: f32, __exponent: ::std::os::raw::c_int) -> f32; + pub fn pg_set_noblock(sock: pgsocket) -> bool; } #[pg_guard] extern "C" { - pub fn logf(__x: f32) -> f32; + pub fn pg_set_block(sock: pgsocket) -> bool; } #[pg_guard] extern "C" { - pub fn __logf(__x: f32) -> f32; + pub fn has_drive_prefix(filename: *const ::std::os::raw::c_char) -> bool; } #[pg_guard] extern "C" { - pub fn log10f(__x: f32) -> f32; + pub fn first_dir_separator( + filename: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; } #[pg_guard] extern "C" { - pub fn __log10f(__x: f32) -> f32; + pub fn last_dir_separator( + filename: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; } #[pg_guard] extern "C" { - pub fn modff(__x: f32, __iptr: *mut f32) -> f32; + pub fn first_path_var_separator( + pathlist: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; } #[pg_guard] extern "C" { - pub fn __modff(__x: f32, __iptr: *mut f32) -> f32; + pub fn join_path_components( + ret_path: *mut ::std::os::raw::c_char, + head: *const ::std::os::raw::c_char, + tail: *const ::std::os::raw::c_char, + ); } #[pg_guard] extern "C" { - pub fn expm1f(__x: f32) -> f32; + pub fn canonicalize_path(path: *mut ::std::os::raw::c_char); } #[pg_guard] extern "C" { - pub fn __expm1f(__x: f32) -> f32; + pub fn make_native_path(path: *mut ::std::os::raw::c_char); } #[pg_guard] extern "C" { - pub fn log1pf(__x: f32) -> f32; + pub fn cleanup_path(path: *mut ::std::os::raw::c_char); } #[pg_guard] extern "C" { - pub fn __log1pf(__x: f32) -> f32; + pub fn path_contains_parent_reference(path: *const ::std::os::raw::c_char) -> bool; } #[pg_guard] extern "C" { - pub fn logbf(__x: f32) -> f32; + pub fn path_is_relative_and_below_cwd(path: *const ::std::os::raw::c_char) -> bool; } #[pg_guard] extern "C" { - pub fn __logbf(__x: f32) -> f32; + pub fn path_is_prefix_of_path( + path1: *const ::std::os::raw::c_char, + path2: *const ::std::os::raw::c_char, + ) -> bool; } #[pg_guard] extern "C" { - pub fn exp2f(__x: f32) -> f32; + pub fn make_absolute_path(path: *const ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; } #[pg_guard] extern "C" { - pub fn __exp2f(__x: f32) -> f32; + pub fn get_progname(argv0: *const ::std::os::raw::c_char) -> *const ::std::os::raw::c_char; } #[pg_guard] extern "C" { - pub fn log2f(__x: f32) -> f32; + pub fn get_share_path( + my_exec_path: *const ::std::os::raw::c_char, + ret_path: *mut ::std::os::raw::c_char, + ); } #[pg_guard] extern "C" { - pub fn __log2f(__x: f32) -> f32; + pub fn get_etc_path( + my_exec_path: *const ::std::os::raw::c_char, + ret_path: *mut ::std::os::raw::c_char, + ); } #[pg_guard] extern "C" { - pub fn powf(__x: f32, __y: f32) -> f32; + pub fn get_include_path( + my_exec_path: *const ::std::os::raw::c_char, + ret_path: *mut ::std::os::raw::c_char, + ); } #[pg_guard] extern "C" { - pub fn __powf(__x: f32, __y: f32) -> f32; + pub fn get_pkginclude_path( + my_exec_path: *const ::std::os::raw::c_char, + ret_path: *mut ::std::os::raw::c_char, + ); } #[pg_guard] extern "C" { - pub fn sqrtf(__x: f32) -> f32; + pub fn get_includeserver_path( + my_exec_path: *const ::std::os::raw::c_char, + ret_path: *mut ::std::os::raw::c_char, + ); } #[pg_guard] extern "C" { - pub fn __sqrtf(__x: f32) -> f32; + pub fn get_lib_path( + my_exec_path: *const ::std::os::raw::c_char, + ret_path: *mut ::std::os::raw::c_char, + ); } #[pg_guard] extern "C" { - pub fn hypotf(__x: f32, __y: f32) -> f32; + pub fn get_pkglib_path( + my_exec_path: *const ::std::os::raw::c_char, + ret_path: *mut ::std::os::raw::c_char, + ); } #[pg_guard] extern "C" { - pub fn __hypotf(__x: f32, __y: f32) -> f32; + pub fn get_locale_path( + my_exec_path: *const ::std::os::raw::c_char, + ret_path: *mut ::std::os::raw::c_char, + ); } #[pg_guard] extern "C" { - pub fn cbrtf(__x: f32) -> f32; + pub fn get_doc_path( + my_exec_path: *const ::std::os::raw::c_char, + ret_path: *mut ::std::os::raw::c_char, + ); } #[pg_guard] extern "C" { - pub fn __cbrtf(__x: f32) -> f32; + pub fn get_html_path( + my_exec_path: *const ::std::os::raw::c_char, + ret_path: *mut ::std::os::raw::c_char, + ); } #[pg_guard] extern "C" { - pub fn ceilf(__x: f32) -> f32; + pub fn get_man_path( + my_exec_path: *const ::std::os::raw::c_char, + ret_path: *mut ::std::os::raw::c_char, + ); } #[pg_guard] extern "C" { - pub fn __ceilf(__x: f32) -> f32; + pub fn get_home_path(ret_path: *mut ::std::os::raw::c_char) -> bool; } #[pg_guard] extern "C" { - pub fn fabsf(__x: f32) -> f32; + pub fn get_parent_directory(path: *mut ::std::os::raw::c_char); } #[pg_guard] extern "C" { - pub fn __fabsf(__x: f32) -> f32; + pub fn pgfnames(path: *const ::std::os::raw::c_char) -> *mut *mut ::std::os::raw::c_char; } #[pg_guard] extern "C" { - pub fn floorf(__x: f32) -> f32; + pub fn pgfnames_cleanup(filenames: *mut *mut ::std::os::raw::c_char); } #[pg_guard] extern "C" { - pub fn __floorf(__x: f32) -> f32; + pub fn set_pglocale_pgservice( + argv0: *const ::std::os::raw::c_char, + app: *const ::std::os::raw::c_char, + ); } #[pg_guard] extern "C" { - pub fn fmodf(__x: f32, __y: f32) -> f32; + pub fn validate_exec(path: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn __fmodf(__x: f32, __y: f32) -> f32; + pub fn find_my_exec( + argv0: *const ::std::os::raw::c_char, + retpath: *mut ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn isinff(__value: f32) -> ::std::os::raw::c_int; + pub fn find_other_exec( + argv0: *const ::std::os::raw::c_char, + target: *const ::std::os::raw::c_char, + versionstr: *const ::std::os::raw::c_char, + retpath: *mut ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn finitef(__value: f32) -> ::std::os::raw::c_int; + pub fn pipe_read_line( + cmd: *mut ::std::os::raw::c_char, + line: *mut ::std::os::raw::c_char, + maxsize: ::std::os::raw::c_int, + ) -> *mut ::std::os::raw::c_char; } #[pg_guard] extern "C" { - pub fn dremf(__x: f32, __y: f32) -> f32; + pub fn pg_usleep(microsec: ::std::os::raw::c_long); } #[pg_guard] extern "C" { - pub fn __dremf(__x: f32, __y: f32) -> f32; + pub fn pg_strcasecmp( + s1: *const ::std::os::raw::c_char, + s2: *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn significandf(__x: f32) -> f32; + pub fn pg_strncasecmp( + s1: *const ::std::os::raw::c_char, + s2: *const ::std::os::raw::c_char, + n: usize, + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn __significandf(__x: f32) -> f32; + pub fn pg_toupper(ch: ::std::os::raw::c_uchar) -> ::std::os::raw::c_uchar; } #[pg_guard] extern "C" { - pub fn copysignf(__x: f32, __y: f32) -> f32; + pub fn pg_tolower(ch: ::std::os::raw::c_uchar) -> ::std::os::raw::c_uchar; } #[pg_guard] extern "C" { - pub fn __copysignf(__x: f32, __y: f32) -> f32; + pub fn pg_ascii_toupper(ch: ::std::os::raw::c_uchar) -> ::std::os::raw::c_uchar; } #[pg_guard] extern "C" { - pub fn nanf(__tagb: *const ::std::os::raw::c_char) -> f32; + pub fn pg_ascii_tolower(ch: ::std::os::raw::c_uchar) -> ::std::os::raw::c_uchar; } #[pg_guard] extern "C" { - pub fn __nanf(__tagb: *const ::std::os::raw::c_char) -> f32; + pub fn pg_vsnprintf( + str_: *mut ::std::os::raw::c_char, + count: usize, + fmt: *const ::std::os::raw::c_char, + args: va_list, + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn isnanf(__value: f32) -> ::std::os::raw::c_int; + pub fn pg_snprintf( + str_: *mut ::std::os::raw::c_char, + count: usize, + fmt: *const ::std::os::raw::c_char, + ... + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn j0f(arg1: f32) -> f32; + pub fn pg_vsprintf( + str_: *mut ::std::os::raw::c_char, + fmt: *const ::std::os::raw::c_char, + args: va_list, + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn __j0f(arg1: f32) -> f32; + pub fn pg_sprintf( + str_: *mut ::std::os::raw::c_char, + fmt: *const ::std::os::raw::c_char, + ... + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn j1f(arg1: f32) -> f32; + pub fn pg_vfprintf( + stream: *mut FILE, + fmt: *const ::std::os::raw::c_char, + args: va_list, + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn __j1f(arg1: f32) -> f32; + pub fn pg_fprintf( + stream: *mut FILE, + fmt: *const ::std::os::raw::c_char, + ... + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn jnf(arg1: ::std::os::raw::c_int, arg2: f32) -> f32; + pub fn pg_vprintf(fmt: *const ::std::os::raw::c_char, args: va_list) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn __jnf(arg1: ::std::os::raw::c_int, arg2: f32) -> f32; + pub fn pg_printf(fmt: *const ::std::os::raw::c_char, ...) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn y0f(arg1: f32) -> f32; + pub fn pg_strfromd( + str_: *mut ::std::os::raw::c_char, + count: usize, + precision: ::std::os::raw::c_int, + value: f64, + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn __y0f(arg1: f32) -> f32; + pub fn pg_strerror(errnum: ::std::os::raw::c_int) -> *mut ::std::os::raw::c_char; } #[pg_guard] extern "C" { - pub fn y1f(arg1: f32) -> f32; + pub fn pg_strerror_r( + errnum: ::std::os::raw::c_int, + buf: *mut ::std::os::raw::c_char, + buflen: usize, + ) -> *mut ::std::os::raw::c_char; } #[pg_guard] extern "C" { - pub fn __y1f(arg1: f32) -> f32; + pub fn pg_strsignal(signum: ::std::os::raw::c_int) -> *const ::std::os::raw::c_char; } #[pg_guard] extern "C" { - pub fn ynf(arg1: ::std::os::raw::c_int, arg2: f32) -> f32; + pub fn pclose_check(stream: *mut FILE) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn __ynf(arg1: ::std::os::raw::c_int, arg2: f32) -> f32; + pub fn rmtree(path: *const ::std::os::raw::c_char, rmtopdir: bool) -> bool; } #[pg_guard] extern "C" { - pub fn erff(arg1: f32) -> f32; + pub fn pg_erand48(xseed: *mut ::std::os::raw::c_ushort) -> f64; } #[pg_guard] extern "C" { - pub fn __erff(arg1: f32) -> f32; + pub fn pg_lrand48() -> ::std::os::raw::c_long; } #[pg_guard] extern "C" { - pub fn erfcf(arg1: f32) -> f32; + pub fn pg_jrand48(xseed: *mut ::std::os::raw::c_ushort) -> ::std::os::raw::c_long; } #[pg_guard] extern "C" { - pub fn __erfcf(arg1: f32) -> f32; + pub fn pg_srand48(seed: ::std::os::raw::c_long); } +pub type float_t = f32; +pub type double_t = f64; #[pg_guard] extern "C" { - pub fn lgammaf(arg1: f32) -> f32; + pub fn __math_errhandling() -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn __lgammaf(arg1: f32) -> f32; + pub fn __fpclassifyf(arg1: f32) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn tgammaf(arg1: f32) -> f32; + pub fn __fpclassifyd(arg1: f64) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn __tgammaf(arg1: f32) -> f32; + pub fn __fpclassifyl(arg1: f64) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn gammaf(arg1: f32) -> f32; + pub fn acosf(arg1: f32) -> f32; } #[pg_guard] extern "C" { - pub fn __gammaf(arg1: f32) -> f32; + pub fn acos(arg1: f64) -> f64; } #[pg_guard] extern "C" { - pub fn lgammaf_r(arg1: f32, __signgamp: *mut ::std::os::raw::c_int) -> f32; + pub fn acosl(arg1: f64) -> f64; } #[pg_guard] extern "C" { - pub fn __lgammaf_r(arg1: f32, __signgamp: *mut ::std::os::raw::c_int) -> f32; + pub fn asinf(arg1: f32) -> f32; } #[pg_guard] extern "C" { - pub fn rintf(__x: f32) -> f32; + pub fn asin(arg1: f64) -> f64; } #[pg_guard] extern "C" { - pub fn __rintf(__x: f32) -> f32; + pub fn asinl(arg1: f64) -> f64; } #[pg_guard] extern "C" { - pub fn nextafterf(__x: f32, __y: f32) -> f32; + pub fn atanf(arg1: f32) -> f32; } #[pg_guard] extern "C" { - pub fn __nextafterf(__x: f32, __y: f32) -> f32; + pub fn atan(arg1: f64) -> f64; } #[pg_guard] extern "C" { - pub fn nexttowardf(__x: f32, __y: u128) -> f32; + pub fn atanl(arg1: f64) -> f64; } #[pg_guard] extern "C" { - pub fn __nexttowardf(__x: f32, __y: u128) -> f32; + pub fn atan2f(arg1: f32, arg2: f32) -> f32; } #[pg_guard] extern "C" { - pub fn remainderf(__x: f32, __y: f32) -> f32; + pub fn atan2(arg1: f64, arg2: f64) -> f64; } #[pg_guard] extern "C" { - pub fn __remainderf(__x: f32, __y: f32) -> f32; + pub fn atan2l(arg1: f64, arg2: f64) -> f64; } #[pg_guard] extern "C" { - pub fn scalbnf(__x: f32, __n: ::std::os::raw::c_int) -> f32; + pub fn cosf(arg1: f32) -> f32; } #[pg_guard] extern "C" { - pub fn __scalbnf(__x: f32, __n: ::std::os::raw::c_int) -> f32; + pub fn cos(arg1: f64) -> f64; } #[pg_guard] extern "C" { - pub fn ilogbf(__x: f32) -> ::std::os::raw::c_int; + pub fn cosl(arg1: f64) -> f64; } #[pg_guard] extern "C" { - pub fn __ilogbf(__x: f32) -> ::std::os::raw::c_int; + pub fn sinf(arg1: f32) -> f32; } #[pg_guard] extern "C" { - pub fn scalblnf(__x: f32, __n: ::std::os::raw::c_long) -> f32; + pub fn sin(arg1: f64) -> f64; } #[pg_guard] extern "C" { - pub fn __scalblnf(__x: f32, __n: ::std::os::raw::c_long) -> f32; + pub fn sinl(arg1: f64) -> f64; } #[pg_guard] extern "C" { - pub fn nearbyintf(__x: f32) -> f32; + pub fn tanf(arg1: f32) -> f32; } #[pg_guard] extern "C" { - pub fn __nearbyintf(__x: f32) -> f32; + pub fn tan(arg1: f64) -> f64; } #[pg_guard] extern "C" { - pub fn roundf(__x: f32) -> f32; + pub fn tanl(arg1: f64) -> f64; } #[pg_guard] extern "C" { - pub fn __roundf(__x: f32) -> f32; + pub fn acoshf(arg1: f32) -> f32; } #[pg_guard] extern "C" { - pub fn truncf(__x: f32) -> f32; + pub fn acosh(arg1: f64) -> f64; } #[pg_guard] extern "C" { - pub fn __truncf(__x: f32) -> f32; + pub fn acoshl(arg1: f64) -> f64; } #[pg_guard] extern "C" { - pub fn remquof(__x: f32, __y: f32, __quo: *mut ::std::os::raw::c_int) -> f32; + pub fn asinhf(arg1: f32) -> f32; } #[pg_guard] extern "C" { - pub fn __remquof(__x: f32, __y: f32, __quo: *mut ::std::os::raw::c_int) -> f32; + pub fn asinh(arg1: f64) -> f64; } #[pg_guard] extern "C" { - pub fn lrintf(__x: f32) -> ::std::os::raw::c_long; + pub fn asinhl(arg1: f64) -> f64; } #[pg_guard] extern "C" { - pub fn __lrintf(__x: f32) -> ::std::os::raw::c_long; + pub fn atanhf(arg1: f32) -> f32; } #[pg_guard] extern "C" { - pub fn llrintf(__x: f32) -> ::std::os::raw::c_longlong; + pub fn atanh(arg1: f64) -> f64; } #[pg_guard] extern "C" { - pub fn __llrintf(__x: f32) -> ::std::os::raw::c_longlong; + pub fn atanhl(arg1: f64) -> f64; } #[pg_guard] extern "C" { - pub fn lroundf(__x: f32) -> ::std::os::raw::c_long; + pub fn coshf(arg1: f32) -> f32; } #[pg_guard] extern "C" { - pub fn __lroundf(__x: f32) -> ::std::os::raw::c_long; + pub fn cosh(arg1: f64) -> f64; } #[pg_guard] extern "C" { - pub fn llroundf(__x: f32) -> ::std::os::raw::c_longlong; + pub fn coshl(arg1: f64) -> f64; } #[pg_guard] extern "C" { - pub fn __llroundf(__x: f32) -> ::std::os::raw::c_longlong; + pub fn sinhf(arg1: f32) -> f32; } #[pg_guard] extern "C" { - pub fn fdimf(__x: f32, __y: f32) -> f32; + pub fn sinh(arg1: f64) -> f64; } #[pg_guard] extern "C" { - pub fn __fdimf(__x: f32, __y: f32) -> f32; + pub fn sinhl(arg1: f64) -> f64; } #[pg_guard] extern "C" { - pub fn fmaxf(__x: f32, __y: f32) -> f32; + pub fn tanhf(arg1: f32) -> f32; } #[pg_guard] extern "C" { - pub fn __fmaxf(__x: f32, __y: f32) -> f32; + pub fn tanh(arg1: f64) -> f64; } #[pg_guard] extern "C" { - pub fn fminf(__x: f32, __y: f32) -> f32; + pub fn tanhl(arg1: f64) -> f64; } #[pg_guard] extern "C" { - pub fn __fminf(__x: f32, __y: f32) -> f32; + pub fn expf(arg1: f32) -> f32; } #[pg_guard] extern "C" { - pub fn fmaf(__x: f32, __y: f32, __z: f32) -> f32; + pub fn exp(arg1: f64) -> f64; } #[pg_guard] extern "C" { - pub fn __fmaf(__x: f32, __y: f32, __z: f32) -> f32; + pub fn expl(arg1: f64) -> f64; } #[pg_guard] extern "C" { - pub fn scalbf(__x: f32, __n: f32) -> f32; + pub fn exp2f(arg1: f32) -> f32; } #[pg_guard] extern "C" { - pub fn __scalbf(__x: f32, __n: f32) -> f32; + pub fn exp2(arg1: f64) -> f64; } #[pg_guard] extern "C" { - pub fn __fpclassifyl(__value: u128) -> ::std::os::raw::c_int; + pub fn exp2l(arg1: f64) -> f64; } #[pg_guard] extern "C" { - pub fn __signbitl(__value: u128) -> ::std::os::raw::c_int; + pub fn expm1f(arg1: f32) -> f32; } #[pg_guard] extern "C" { - pub fn __isinfl(__value: u128) -> ::std::os::raw::c_int; + pub fn expm1(arg1: f64) -> f64; } #[pg_guard] extern "C" { - pub fn __finitel(__value: u128) -> ::std::os::raw::c_int; + pub fn expm1l(arg1: f64) -> f64; } #[pg_guard] extern "C" { - pub fn __isnanl(__value: u128) -> ::std::os::raw::c_int; + pub fn logf(arg1: f32) -> f32; } #[pg_guard] extern "C" { - pub fn __iseqsigl(__x: u128, __y: u128) -> ::std::os::raw::c_int; + pub fn log(arg1: f64) -> f64; } #[pg_guard] extern "C" { - pub fn __issignalingl(__value: u128) -> ::std::os::raw::c_int; + pub fn logl(arg1: f64) -> f64; } #[pg_guard] extern "C" { - pub fn acosl(__x: u128) -> u128; + pub fn log10f(arg1: f32) -> f32; } #[pg_guard] extern "C" { - pub fn __acosl(__x: u128) -> u128; + pub fn log10(arg1: f64) -> f64; } #[pg_guard] extern "C" { - pub fn asinl(__x: u128) -> u128; + pub fn log10l(arg1: f64) -> f64; } #[pg_guard] extern "C" { - pub fn __asinl(__x: u128) -> u128; + pub fn log2f(arg1: f32) -> f32; } #[pg_guard] extern "C" { - pub fn atanl(__x: u128) -> u128; + pub fn log2(arg1: f64) -> f64; } #[pg_guard] extern "C" { - pub fn __atanl(__x: u128) -> u128; + pub fn log2l(arg1: f64) -> f64; } #[pg_guard] extern "C" { - pub fn atan2l(__y: u128, __x: u128) -> u128; + pub fn log1pf(arg1: f32) -> f32; } #[pg_guard] extern "C" { - pub fn __atan2l(__y: u128, __x: u128) -> u128; + pub fn log1p(arg1: f64) -> f64; } #[pg_guard] extern "C" { - pub fn cosl(__x: u128) -> u128; + pub fn log1pl(arg1: f64) -> f64; } #[pg_guard] extern "C" { - pub fn __cosl(__x: u128) -> u128; + pub fn logbf(arg1: f32) -> f32; } #[pg_guard] extern "C" { - pub fn sinl(__x: u128) -> u128; + pub fn logb(arg1: f64) -> f64; } #[pg_guard] extern "C" { - pub fn __sinl(__x: u128) -> u128; + pub fn logbl(arg1: f64) -> f64; } #[pg_guard] extern "C" { - pub fn tanl(__x: u128) -> u128; + pub fn modff(arg1: f32, arg2: *mut f32) -> f32; } #[pg_guard] extern "C" { - pub fn __tanl(__x: u128) -> u128; + pub fn modf(arg1: f64, arg2: *mut f64) -> f64; } #[pg_guard] extern "C" { - pub fn coshl(__x: u128) -> u128; + pub fn modfl(arg1: f64, arg2: *mut f64) -> f64; } #[pg_guard] extern "C" { - pub fn __coshl(__x: u128) -> u128; + pub fn ldexpf(arg1: f32, arg2: ::std::os::raw::c_int) -> f32; } #[pg_guard] extern "C" { - pub fn sinhl(__x: u128) -> u128; + pub fn ldexp(arg1: f64, arg2: ::std::os::raw::c_int) -> f64; } #[pg_guard] extern "C" { - pub fn __sinhl(__x: u128) -> u128; + pub fn ldexpl(arg1: f64, arg2: ::std::os::raw::c_int) -> f64; } #[pg_guard] extern "C" { - pub fn tanhl(__x: u128) -> u128; + pub fn frexpf(arg1: f32, arg2: *mut ::std::os::raw::c_int) -> f32; } #[pg_guard] extern "C" { - pub fn __tanhl(__x: u128) -> u128; + pub fn frexp(arg1: f64, arg2: *mut ::std::os::raw::c_int) -> f64; } #[pg_guard] extern "C" { - pub fn acoshl(__x: u128) -> u128; + pub fn frexpl(arg1: f64, arg2: *mut ::std::os::raw::c_int) -> f64; } #[pg_guard] extern "C" { - pub fn __acoshl(__x: u128) -> u128; + pub fn ilogbf(arg1: f32) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn asinhl(__x: u128) -> u128; + pub fn ilogb(arg1: f64) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn __asinhl(__x: u128) -> u128; + pub fn ilogbl(arg1: f64) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn atanhl(__x: u128) -> u128; + pub fn scalbnf(arg1: f32, arg2: ::std::os::raw::c_int) -> f32; } #[pg_guard] extern "C" { - pub fn __atanhl(__x: u128) -> u128; + pub fn scalbn(arg1: f64, arg2: ::std::os::raw::c_int) -> f64; } #[pg_guard] extern "C" { - pub fn expl(__x: u128) -> u128; + pub fn scalbnl(arg1: f64, arg2: ::std::os::raw::c_int) -> f64; } #[pg_guard] extern "C" { - pub fn __expl(__x: u128) -> u128; + pub fn scalblnf(arg1: f32, arg2: ::std::os::raw::c_long) -> f32; } #[pg_guard] extern "C" { - pub fn frexpl(__x: u128, __exponent: *mut ::std::os::raw::c_int) -> u128; + pub fn scalbln(arg1: f64, arg2: ::std::os::raw::c_long) -> f64; } #[pg_guard] extern "C" { - pub fn __frexpl(__x: u128, __exponent: *mut ::std::os::raw::c_int) -> u128; + pub fn scalblnl(arg1: f64, arg2: ::std::os::raw::c_long) -> f64; } #[pg_guard] extern "C" { - pub fn ldexpl(__x: u128, __exponent: ::std::os::raw::c_int) -> u128; + pub fn fabsf(arg1: f32) -> f32; } #[pg_guard] extern "C" { - pub fn __ldexpl(__x: u128, __exponent: ::std::os::raw::c_int) -> u128; + pub fn fabs(arg1: f64) -> f64; } #[pg_guard] extern "C" { - pub fn logl(__x: u128) -> u128; + pub fn fabsl(arg1: f64) -> f64; } #[pg_guard] extern "C" { - pub fn __logl(__x: u128) -> u128; + pub fn cbrtf(arg1: f32) -> f32; } #[pg_guard] extern "C" { - pub fn log10l(__x: u128) -> u128; + pub fn cbrt(arg1: f64) -> f64; } #[pg_guard] extern "C" { - pub fn __log10l(__x: u128) -> u128; + pub fn cbrtl(arg1: f64) -> f64; } #[pg_guard] extern "C" { - pub fn modfl(__x: u128, __iptr: *mut u128) -> u128; + pub fn hypotf(arg1: f32, arg2: f32) -> f32; } #[pg_guard] extern "C" { - pub fn __modfl(__x: u128, __iptr: *mut u128) -> u128; + pub fn hypot(arg1: f64, arg2: f64) -> f64; } #[pg_guard] extern "C" { - pub fn expm1l(__x: u128) -> u128; + pub fn hypotl(arg1: f64, arg2: f64) -> f64; } #[pg_guard] extern "C" { - pub fn __expm1l(__x: u128) -> u128; + pub fn powf(arg1: f32, arg2: f32) -> f32; } #[pg_guard] extern "C" { - pub fn log1pl(__x: u128) -> u128; + pub fn pow(arg1: f64, arg2: f64) -> f64; } #[pg_guard] extern "C" { - pub fn __log1pl(__x: u128) -> u128; + pub fn powl(arg1: f64, arg2: f64) -> f64; } #[pg_guard] extern "C" { - pub fn logbl(__x: u128) -> u128; + pub fn sqrtf(arg1: f32) -> f32; } #[pg_guard] extern "C" { - pub fn __logbl(__x: u128) -> u128; + pub fn sqrt(arg1: f64) -> f64; } #[pg_guard] extern "C" { - pub fn exp2l(__x: u128) -> u128; + pub fn sqrtl(arg1: f64) -> f64; } #[pg_guard] extern "C" { - pub fn __exp2l(__x: u128) -> u128; + pub fn erff(arg1: f32) -> f32; } #[pg_guard] extern "C" { - pub fn log2l(__x: u128) -> u128; + pub fn erf(arg1: f64) -> f64; } #[pg_guard] extern "C" { - pub fn __log2l(__x: u128) -> u128; + pub fn erfl(arg1: f64) -> f64; } #[pg_guard] extern "C" { - pub fn powl(__x: u128, __y: u128) -> u128; + pub fn erfcf(arg1: f32) -> f32; } #[pg_guard] extern "C" { - pub fn __powl(__x: u128, __y: u128) -> u128; + pub fn erfc(arg1: f64) -> f64; } #[pg_guard] extern "C" { - pub fn sqrtl(__x: u128) -> u128; + pub fn erfcl(arg1: f64) -> f64; } #[pg_guard] extern "C" { - pub fn __sqrtl(__x: u128) -> u128; + pub fn lgammaf(arg1: f32) -> f32; } #[pg_guard] extern "C" { - pub fn hypotl(__x: u128, __y: u128) -> u128; + pub fn lgamma(arg1: f64) -> f64; } #[pg_guard] extern "C" { - pub fn __hypotl(__x: u128, __y: u128) -> u128; + pub fn lgammal(arg1: f64) -> f64; } #[pg_guard] extern "C" { - pub fn cbrtl(__x: u128) -> u128; + pub fn tgammaf(arg1: f32) -> f32; } #[pg_guard] extern "C" { - pub fn __cbrtl(__x: u128) -> u128; + pub fn tgamma(arg1: f64) -> f64; } #[pg_guard] extern "C" { - pub fn ceill(__x: u128) -> u128; + pub fn tgammal(arg1: f64) -> f64; } #[pg_guard] extern "C" { - pub fn __ceill(__x: u128) -> u128; + pub fn ceilf(arg1: f32) -> f32; } #[pg_guard] extern "C" { - pub fn fabsl(__x: u128) -> u128; + pub fn ceil(arg1: f64) -> f64; } #[pg_guard] extern "C" { - pub fn __fabsl(__x: u128) -> u128; + pub fn ceill(arg1: f64) -> f64; } #[pg_guard] extern "C" { - pub fn floorl(__x: u128) -> u128; + pub fn floorf(arg1: f32) -> f32; } #[pg_guard] extern "C" { - pub fn __floorl(__x: u128) -> u128; + pub fn floor(arg1: f64) -> f64; } #[pg_guard] extern "C" { - pub fn fmodl(__x: u128, __y: u128) -> u128; + pub fn floorl(arg1: f64) -> f64; } #[pg_guard] extern "C" { - pub fn __fmodl(__x: u128, __y: u128) -> u128; + pub fn nearbyintf(arg1: f32) -> f32; } #[pg_guard] extern "C" { - pub fn isinfl(__value: u128) -> ::std::os::raw::c_int; + pub fn nearbyint(arg1: f64) -> f64; } #[pg_guard] extern "C" { - pub fn finitel(__value: u128) -> ::std::os::raw::c_int; + pub fn nearbyintl(arg1: f64) -> f64; } #[pg_guard] extern "C" { - pub fn dreml(__x: u128, __y: u128) -> u128; + pub fn rintf(arg1: f32) -> f32; } #[pg_guard] extern "C" { - pub fn __dreml(__x: u128, __y: u128) -> u128; + pub fn rint(arg1: f64) -> f64; } #[pg_guard] extern "C" { - pub fn significandl(__x: u128) -> u128; + pub fn rintl(arg1: f64) -> f64; } #[pg_guard] extern "C" { - pub fn __significandl(__x: u128) -> u128; + pub fn lrintf(arg1: f32) -> ::std::os::raw::c_long; } #[pg_guard] extern "C" { - pub fn copysignl(__x: u128, __y: u128) -> u128; + pub fn lrint(arg1: f64) -> ::std::os::raw::c_long; } #[pg_guard] extern "C" { - pub fn __copysignl(__x: u128, __y: u128) -> u128; + pub fn lrintl(arg1: f64) -> ::std::os::raw::c_long; } #[pg_guard] extern "C" { - pub fn nanl(__tagb: *const ::std::os::raw::c_char) -> u128; + pub fn roundf(arg1: f32) -> f32; } #[pg_guard] extern "C" { - pub fn __nanl(__tagb: *const ::std::os::raw::c_char) -> u128; + pub fn round(arg1: f64) -> f64; } #[pg_guard] extern "C" { - pub fn isnanl(__value: u128) -> ::std::os::raw::c_int; + pub fn roundl(arg1: f64) -> f64; } #[pg_guard] extern "C" { - pub fn j0l(arg1: u128) -> u128; + pub fn lroundf(arg1: f32) -> ::std::os::raw::c_long; } #[pg_guard] extern "C" { - pub fn __j0l(arg1: u128) -> u128; + pub fn lround(arg1: f64) -> ::std::os::raw::c_long; } #[pg_guard] extern "C" { - pub fn j1l(arg1: u128) -> u128; + pub fn lroundl(arg1: f64) -> ::std::os::raw::c_long; } #[pg_guard] extern "C" { - pub fn __j1l(arg1: u128) -> u128; + pub fn llrintf(arg1: f32) -> ::std::os::raw::c_longlong; } #[pg_guard] extern "C" { - pub fn jnl(arg1: ::std::os::raw::c_int, arg2: u128) -> u128; + pub fn llrint(arg1: f64) -> ::std::os::raw::c_longlong; } #[pg_guard] extern "C" { - pub fn __jnl(arg1: ::std::os::raw::c_int, arg2: u128) -> u128; + pub fn llrintl(arg1: f64) -> ::std::os::raw::c_longlong; } #[pg_guard] extern "C" { - pub fn y0l(arg1: u128) -> u128; + pub fn llroundf(arg1: f32) -> ::std::os::raw::c_longlong; } #[pg_guard] extern "C" { - pub fn __y0l(arg1: u128) -> u128; + pub fn llround(arg1: f64) -> ::std::os::raw::c_longlong; } #[pg_guard] extern "C" { - pub fn y1l(arg1: u128) -> u128; + pub fn llroundl(arg1: f64) -> ::std::os::raw::c_longlong; } #[pg_guard] extern "C" { - pub fn __y1l(arg1: u128) -> u128; + pub fn truncf(arg1: f32) -> f32; } #[pg_guard] extern "C" { - pub fn ynl(arg1: ::std::os::raw::c_int, arg2: u128) -> u128; + pub fn trunc(arg1: f64) -> f64; } #[pg_guard] extern "C" { - pub fn __ynl(arg1: ::std::os::raw::c_int, arg2: u128) -> u128; + pub fn truncl(arg1: f64) -> f64; } #[pg_guard] extern "C" { - pub fn erfl(arg1: u128) -> u128; + pub fn fmodf(arg1: f32, arg2: f32) -> f32; } #[pg_guard] extern "C" { - pub fn __erfl(arg1: u128) -> u128; + pub fn fmod(arg1: f64, arg2: f64) -> f64; } #[pg_guard] extern "C" { - pub fn erfcl(arg1: u128) -> u128; + pub fn fmodl(arg1: f64, arg2: f64) -> f64; } #[pg_guard] extern "C" { - pub fn __erfcl(arg1: u128) -> u128; + pub fn remainderf(arg1: f32, arg2: f32) -> f32; } #[pg_guard] extern "C" { - pub fn lgammal(arg1: u128) -> u128; + pub fn remainder(arg1: f64, arg2: f64) -> f64; } #[pg_guard] extern "C" { - pub fn __lgammal(arg1: u128) -> u128; + pub fn remainderl(arg1: f64, arg2: f64) -> f64; } #[pg_guard] extern "C" { - pub fn tgammal(arg1: u128) -> u128; + pub fn remquof(arg1: f32, arg2: f32, arg3: *mut ::std::os::raw::c_int) -> f32; } #[pg_guard] extern "C" { - pub fn __tgammal(arg1: u128) -> u128; + pub fn remquo(arg1: f64, arg2: f64, arg3: *mut ::std::os::raw::c_int) -> f64; } #[pg_guard] extern "C" { - pub fn gammal(arg1: u128) -> u128; + pub fn remquol(arg1: f64, arg2: f64, arg3: *mut ::std::os::raw::c_int) -> f64; } #[pg_guard] extern "C" { - pub fn __gammal(arg1: u128) -> u128; + pub fn copysignf(arg1: f32, arg2: f32) -> f32; } #[pg_guard] extern "C" { - pub fn lgammal_r(arg1: u128, __signgamp: *mut ::std::os::raw::c_int) -> u128; + pub fn copysign(arg1: f64, arg2: f64) -> f64; } #[pg_guard] extern "C" { - pub fn __lgammal_r(arg1: u128, __signgamp: *mut ::std::os::raw::c_int) -> u128; + pub fn copysignl(arg1: f64, arg2: f64) -> f64; } #[pg_guard] extern "C" { - pub fn rintl(__x: u128) -> u128; + pub fn nanf(arg1: *const ::std::os::raw::c_char) -> f32; } #[pg_guard] extern "C" { - pub fn __rintl(__x: u128) -> u128; + pub fn nan(arg1: *const ::std::os::raw::c_char) -> f64; } #[pg_guard] extern "C" { - pub fn nextafterl(__x: u128, __y: u128) -> u128; + pub fn nanl(arg1: *const ::std::os::raw::c_char) -> f64; } #[pg_guard] extern "C" { - pub fn __nextafterl(__x: u128, __y: u128) -> u128; + pub fn nextafterf(arg1: f32, arg2: f32) -> f32; } #[pg_guard] extern "C" { - pub fn nexttowardl(__x: u128, __y: u128) -> u128; + pub fn nextafter(arg1: f64, arg2: f64) -> f64; } #[pg_guard] extern "C" { - pub fn __nexttowardl(__x: u128, __y: u128) -> u128; + pub fn nextafterl(arg1: f64, arg2: f64) -> f64; } #[pg_guard] extern "C" { - pub fn remainderl(__x: u128, __y: u128) -> u128; + pub fn nexttoward(arg1: f64, arg2: f64) -> f64; } #[pg_guard] extern "C" { - pub fn __remainderl(__x: u128, __y: u128) -> u128; + pub fn nexttowardf(arg1: f32, arg2: f64) -> f32; } #[pg_guard] extern "C" { - pub fn scalbnl(__x: u128, __n: ::std::os::raw::c_int) -> u128; + pub fn nexttowardl(arg1: f64, arg2: f64) -> f64; } #[pg_guard] extern "C" { - pub fn __scalbnl(__x: u128, __n: ::std::os::raw::c_int) -> u128; + pub fn fdimf(arg1: f32, arg2: f32) -> f32; } #[pg_guard] extern "C" { - pub fn ilogbl(__x: u128) -> ::std::os::raw::c_int; + pub fn fdim(arg1: f64, arg2: f64) -> f64; } #[pg_guard] extern "C" { - pub fn __ilogbl(__x: u128) -> ::std::os::raw::c_int; + pub fn fdiml(arg1: f64, arg2: f64) -> f64; } #[pg_guard] extern "C" { - pub fn scalblnl(__x: u128, __n: ::std::os::raw::c_long) -> u128; + pub fn fmaxf(arg1: f32, arg2: f32) -> f32; } #[pg_guard] extern "C" { - pub fn __scalblnl(__x: u128, __n: ::std::os::raw::c_long) -> u128; + pub fn fmax(arg1: f64, arg2: f64) -> f64; } #[pg_guard] extern "C" { - pub fn nearbyintl(__x: u128) -> u128; + pub fn fmaxl(arg1: f64, arg2: f64) -> f64; } #[pg_guard] extern "C" { - pub fn __nearbyintl(__x: u128) -> u128; + pub fn fminf(arg1: f32, arg2: f32) -> f32; } #[pg_guard] extern "C" { - pub fn roundl(__x: u128) -> u128; + pub fn fmin(arg1: f64, arg2: f64) -> f64; } #[pg_guard] extern "C" { - pub fn __roundl(__x: u128) -> u128; + pub fn fminl(arg1: f64, arg2: f64) -> f64; } #[pg_guard] extern "C" { - pub fn truncl(__x: u128) -> u128; + pub fn fmaf(arg1: f32, arg2: f32, arg3: f32) -> f32; } #[pg_guard] extern "C" { - pub fn __truncl(__x: u128) -> u128; + pub fn fma(arg1: f64, arg2: f64, arg3: f64) -> f64; } #[pg_guard] extern "C" { - pub fn remquol(__x: u128, __y: u128, __quo: *mut ::std::os::raw::c_int) -> u128; + pub fn fmal(arg1: f64, arg2: f64, arg3: f64) -> f64; } #[pg_guard] extern "C" { - pub fn __remquol(__x: u128, __y: u128, __quo: *mut ::std::os::raw::c_int) -> u128; + pub fn __exp10f(arg1: f32) -> f32; } #[pg_guard] extern "C" { - pub fn lrintl(__x: u128) -> ::std::os::raw::c_long; + pub fn __exp10(arg1: f64) -> f64; } #[pg_guard] extern "C" { - pub fn __lrintl(__x: u128) -> ::std::os::raw::c_long; + pub fn __cospif(arg1: f32) -> f32; } #[pg_guard] extern "C" { - pub fn llrintl(__x: u128) -> ::std::os::raw::c_longlong; + pub fn __cospi(arg1: f64) -> f64; } #[pg_guard] extern "C" { - pub fn __llrintl(__x: u128) -> ::std::os::raw::c_longlong; + pub fn __sinpif(arg1: f32) -> f32; } #[pg_guard] extern "C" { - pub fn lroundl(__x: u128) -> ::std::os::raw::c_long; + pub fn __sinpi(arg1: f64) -> f64; } #[pg_guard] extern "C" { - pub fn __lroundl(__x: u128) -> ::std::os::raw::c_long; + pub fn __tanpif(arg1: f32) -> f32; } #[pg_guard] extern "C" { - pub fn llroundl(__x: u128) -> ::std::os::raw::c_longlong; + pub fn __tanpi(arg1: f64) -> f64; +} +#[repr(C)] +#[derive(Debug, Default, Copy, Clone)] +pub struct __float2 { + pub __sinval: f32, + pub __cosval: f32, +} +#[repr(C)] +#[derive(Debug, Default, Copy, Clone)] +pub struct __double2 { + pub __sinval: f64, + pub __cosval: f64, } #[pg_guard] extern "C" { - pub fn __llroundl(__x: u128) -> ::std::os::raw::c_longlong; + pub fn __sincosf_stret(arg1: f32) -> __float2; } #[pg_guard] extern "C" { - pub fn fdiml(__x: u128, __y: u128) -> u128; + pub fn __sincos_stret(arg1: f64) -> __double2; } #[pg_guard] extern "C" { - pub fn __fdiml(__x: u128, __y: u128) -> u128; + pub fn __sincospif_stret(arg1: f32) -> __float2; } #[pg_guard] extern "C" { - pub fn fmaxl(__x: u128, __y: u128) -> u128; + pub fn __sincospi_stret(arg1: f64) -> __double2; } #[pg_guard] extern "C" { - pub fn __fmaxl(__x: u128, __y: u128) -> u128; + pub fn j0(arg1: f64) -> f64; } #[pg_guard] extern "C" { - pub fn fminl(__x: u128, __y: u128) -> u128; + pub fn j1(arg1: f64) -> f64; } #[pg_guard] extern "C" { - pub fn __fminl(__x: u128, __y: u128) -> u128; + pub fn jn(arg1: ::std::os::raw::c_int, arg2: f64) -> f64; } #[pg_guard] extern "C" { - pub fn fmal(__x: u128, __y: u128, __z: u128) -> u128; + pub fn y0(arg1: f64) -> f64; } #[pg_guard] extern "C" { - pub fn __fmal(__x: u128, __y: u128, __z: u128) -> u128; + pub fn y1(arg1: f64) -> f64; } #[pg_guard] extern "C" { - pub fn scalbl(__x: u128, __n: u128) -> u128; + pub fn yn(arg1: ::std::os::raw::c_int, arg2: f64) -> f64; } #[pg_guard] extern "C" { - pub fn __scalbl(__x: u128, __n: u128) -> u128; + pub fn scalb(arg1: f64, arg2: f64) -> f64; } #[pg_guard] extern "C" { pub static mut signgam: ::std::os::raw::c_int; } -pub const FP_NAN: ::std::os::raw::c_uint = 0; -pub const FP_INFINITE: ::std::os::raw::c_uint = 1; -pub const FP_ZERO: ::std::os::raw::c_uint = 2; -pub const FP_SUBNORMAL: ::std::os::raw::c_uint = 3; -pub const FP_NORMAL: ::std::os::raw::c_uint = 4; -pub type _bindgen_ty_8 = ::std::os::raw::c_uint; -#[pg_guard] -extern "C" { - pub fn strlcat( - dst: *mut ::std::os::raw::c_char, - src: *const ::std::os::raw::c_char, - siz: usize, - ) -> usize; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct exception { + pub type_: ::std::os::raw::c_int, + pub name: *mut ::std::os::raw::c_char, + pub arg1: f64, + pub arg2: f64, + pub retval: f64, +} +impl Default for exception { + fn default() -> Self { + let mut s = ::std::mem::MaybeUninit::::uninit(); + unsafe { + ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); + s.assume_init() + } + } } #[pg_guard] extern "C" { - pub fn strlcpy( - dst: *mut ::std::os::raw::c_char, - src: *const ::std::os::raw::c_char, - siz: usize, - ) -> usize; + pub fn explicit_bzero(buf: *mut ::std::os::raw::c_void, len: usize); } #[pg_guard] extern "C" { @@ -9085,39 +9364,28 @@ extern "C" { include_command_not_found: bool, ) -> bool; } -pub type __jmp_buf = [::std::os::raw::c_long; 8usize]; -#[repr(C)] -#[derive(Debug, Default, Copy, Clone)] -pub struct __jmp_buf_tag { - pub __jmpbuf: __jmp_buf, - pub __mask_was_saved: ::std::os::raw::c_int, - pub __saved_mask: __sigset_t, -} -pub type jmp_buf = [__jmp_buf_tag; 1usize]; +pub type jmp_buf = [::std::os::raw::c_int; 48usize]; +pub type sigjmp_buf = [::std::os::raw::c_int; 49usize]; #[pg_guard] extern "C" { - pub fn setjmp(__env: *mut __jmp_buf_tag) -> ::std::os::raw::c_int; + pub fn setjmp(arg1: *mut ::std::os::raw::c_int) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn __sigsetjmp( - __env: *mut __jmp_buf_tag, - __savemask: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; + pub fn longjmp(arg1: *mut ::std::os::raw::c_int, arg2: ::std::os::raw::c_int); } #[pg_guard] extern "C" { - pub fn _setjmp(__env: *mut __jmp_buf_tag) -> ::std::os::raw::c_int; + pub fn _setjmp(arg1: *mut ::std::os::raw::c_int) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn longjmp(__env: *mut __jmp_buf_tag, __val: ::std::os::raw::c_int); + pub fn _longjmp(arg1: *mut ::std::os::raw::c_int, arg2: ::std::os::raw::c_int); } #[pg_guard] extern "C" { - pub fn _longjmp(__env: *mut __jmp_buf_tag, __val: ::std::os::raw::c_int); + pub fn longjmperror(); } -pub type sigjmp_buf = [__jmp_buf_tag; 1usize]; #[pg_guard] extern "C" { pub fn message_level_is_interesting(elevel: ::std::os::raw::c_int) -> bool; @@ -9550,7 +9818,7 @@ extern "C" { buf: *mut ::std::os::raw::c_char, len: usize, fmt: *const ::std::os::raw::c_char, - args: *mut __va_list_tag, + args: va_list, ) -> usize; } #[repr(C)] @@ -10983,83 +11251,251 @@ extern "C" { #[repr(C)] #[derive(Debug, Default, Copy, Clone)] pub struct flock { + pub l_start: off_t, + pub l_len: off_t, + pub l_pid: pid_t, pub l_type: ::std::os::raw::c_short, pub l_whence: ::std::os::raw::c_short, - pub l_start: __off_t, - pub l_len: __off_t, - pub l_pid: __pid_t, } #[repr(C)] #[derive(Debug, Default, Copy, Clone)] -pub struct stat { - pub st_dev: __dev_t, - pub st_ino: __ino_t, - pub st_nlink: __nlink_t, - pub st_mode: __mode_t, - pub st_uid: __uid_t, - pub st_gid: __gid_t, - pub __pad0: ::std::os::raw::c_int, - pub st_rdev: __dev_t, - pub st_size: __off_t, - pub st_blksize: __blksize_t, - pub st_blocks: __blkcnt_t, - pub st_atim: timespec, - pub st_mtim: timespec, - pub st_ctim: timespec, - pub __glibc_reserved: [__syscall_slong_t; 3usize], +pub struct timespec { + pub tv_sec: __darwin_time_t, + pub tv_nsec: ::std::os::raw::c_long, +} +#[repr(C)] +#[derive(Debug, Default, Copy, Clone)] +pub struct flocktimeout { + pub fl: flock, + pub timeout: timespec, +} +#[repr(C)] +#[derive(Debug, Default, Copy, Clone)] +pub struct radvisory { + pub ra_offset: off_t, + pub ra_count: ::std::os::raw::c_int, +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct fsignatures { + pub fs_file_start: off_t, + pub fs_blob_start: *mut ::std::os::raw::c_void, + pub fs_blob_size: usize, + pub fs_fsignatures_size: usize, + pub fs_cdhash: [::std::os::raw::c_char; 20usize], + pub fs_hash_type: ::std::os::raw::c_int, +} +impl Default for fsignatures { + fn default() -> Self { + let mut s = ::std::mem::MaybeUninit::::uninit(); + unsafe { + ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); + s.assume_init() + } + } +} +pub type fsignatures_t = fsignatures; +#[repr(C)] +#[derive(Debug, Default, Copy, Clone)] +pub struct fsupplement { + pub fs_file_start: off_t, + pub fs_blob_start: off_t, + pub fs_blob_size: usize, + pub fs_orig_fd: ::std::os::raw::c_int, +} +pub type fsupplement_t = fsupplement; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct fchecklv { + pub lv_file_start: off_t, + pub lv_error_message_size: usize, + pub lv_error_message: *mut ::std::os::raw::c_void, +} +impl Default for fchecklv { + fn default() -> Self { + let mut s = ::std::mem::MaybeUninit::::uninit(); + unsafe { + ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); + s.assume_init() + } + } +} +pub type fchecklv_t = fchecklv; +#[repr(C)] +#[derive(Debug, Default, Copy, Clone)] +pub struct fgetsigsinfo { + pub fg_file_start: off_t, + pub fg_info_request: ::std::os::raw::c_int, + pub fg_sig_is_platform: ::std::os::raw::c_int, +} +pub type fgetsigsinfo_t = fgetsigsinfo; +#[repr(C)] +#[derive(Debug, Default, Copy, Clone)] +pub struct fstore { + pub fst_flags: ::std::os::raw::c_uint, + pub fst_posmode: ::std::os::raw::c_int, + pub fst_offset: off_t, + pub fst_length: off_t, + pub fst_bytesalloc: off_t, +} +pub type fstore_t = fstore; +#[repr(C)] +#[derive(Debug, Default, Copy, Clone)] +pub struct fpunchhole { + pub fp_flags: ::std::os::raw::c_uint, + pub reserved: ::std::os::raw::c_uint, + pub fp_offset: off_t, + pub fp_length: off_t, +} +pub type fpunchhole_t = fpunchhole; +#[repr(C)] +#[derive(Debug, Default, Copy, Clone)] +pub struct ftrimactivefile { + pub fta_offset: off_t, + pub fta_length: off_t, +} +pub type ftrimactivefile_t = ftrimactivefile; +#[repr(C)] +#[derive(Debug, Default, Copy, Clone)] +pub struct fspecread { + pub fsr_flags: ::std::os::raw::c_uint, + pub reserved: ::std::os::raw::c_uint, + pub fsr_offset: off_t, + pub fsr_length: off_t, +} +pub type fspecread_t = fspecread; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct fbootstraptransfer { + pub fbt_offset: off_t, + pub fbt_length: usize, + pub fbt_buffer: *mut ::std::os::raw::c_void, +} +impl Default for fbootstraptransfer { + fn default() -> Self { + let mut s = ::std::mem::MaybeUninit::::uninit(); + unsafe { + ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); + s.assume_init() + } + } +} +pub type fbootstraptransfer_t = fbootstraptransfer; +#[repr(C, packed(4))] +#[derive(Debug, Default, Copy, Clone)] +pub struct log2phys { + pub l2p_flags: ::std::os::raw::c_uint, + pub l2p_contigbytes: off_t, + pub l2p_devoffset: off_t, +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _filesec { + _unused: [u8; 0], } +pub type filesec_t = *mut _filesec; +pub const filesec_property_t_FILESEC_OWNER: filesec_property_t = 1; +pub const filesec_property_t_FILESEC_GROUP: filesec_property_t = 2; +pub const filesec_property_t_FILESEC_UUID: filesec_property_t = 3; +pub const filesec_property_t_FILESEC_MODE: filesec_property_t = 4; +pub const filesec_property_t_FILESEC_ACL: filesec_property_t = 5; +pub const filesec_property_t_FILESEC_GRPUUID: filesec_property_t = 6; +pub const filesec_property_t_FILESEC_ACL_RAW: filesec_property_t = 100; +pub const filesec_property_t_FILESEC_ACL_ALLOCSIZE: filesec_property_t = 101; +pub type filesec_property_t = ::std::os::raw::c_uint; #[pg_guard] extern "C" { - pub fn fcntl( - __fd: ::std::os::raw::c_int, - __cmd: ::std::os::raw::c_int, + pub fn open( + arg1: *const ::std::os::raw::c_char, + arg2: ::std::os::raw::c_int, ... ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn open( - __file: *const ::std::os::raw::c_char, - __oflag: ::std::os::raw::c_int, + pub fn openat( + arg1: ::std::os::raw::c_int, + arg2: *const ::std::os::raw::c_char, + arg3: ::std::os::raw::c_int, ... ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn openat( - __fd: ::std::os::raw::c_int, - __file: *const ::std::os::raw::c_char, - __oflag: ::std::os::raw::c_int, + pub fn creat(arg1: *const ::std::os::raw::c_char, arg2: mode_t) -> ::std::os::raw::c_int; +} +#[pg_guard] +extern "C" { + pub fn fcntl( + arg1: ::std::os::raw::c_int, + arg2: ::std::os::raw::c_int, ... ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn creat(__file: *const ::std::os::raw::c_char, __mode: mode_t) -> ::std::os::raw::c_int; + pub fn openx_np( + arg1: *const ::std::os::raw::c_char, + arg2: ::std::os::raw::c_int, + arg3: filesec_t, + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn lockf( - __fd: ::std::os::raw::c_int, - __cmd: ::std::os::raw::c_int, - __len: off_t, + pub fn open_dprotected_np( + arg1: *const ::std::os::raw::c_char, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ... ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn posix_fadvise( - __fd: ::std::os::raw::c_int, - __offset: off_t, - __len: off_t, - __advise: ::std::os::raw::c_int, + pub fn flock(arg1: ::std::os::raw::c_int, arg2: ::std::os::raw::c_int) + -> ::std::os::raw::c_int; +} +#[pg_guard] +extern "C" { + pub fn filesec_init() -> filesec_t; +} +#[pg_guard] +extern "C" { + pub fn filesec_dup(arg1: filesec_t) -> filesec_t; +} +#[pg_guard] +extern "C" { + pub fn filesec_free(arg1: filesec_t); +} +#[pg_guard] +extern "C" { + pub fn filesec_get_property( + arg1: filesec_t, + arg2: filesec_property_t, + arg3: *mut ::std::os::raw::c_void, ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn posix_fallocate( - __fd: ::std::os::raw::c_int, - __offset: off_t, - __len: off_t, + pub fn filesec_query_property( + arg1: filesec_t, + arg2: filesec_property_t, + arg3: *mut ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; +} +#[pg_guard] +extern "C" { + pub fn filesec_set_property( + arg1: filesec_t, + arg2: filesec_property_t, + arg3: *const ::std::os::raw::c_void, + ) -> ::std::os::raw::c_int; +} +#[pg_guard] +extern "C" { + pub fn filesec_unset_property( + arg1: filesec_t, + arg2: filesec_property_t, ) -> ::std::os::raw::c_int; } pub type XLogRecPtr = uint64; @@ -12024,7 +12460,7 @@ pub struct tm { pub tm_yday: ::std::os::raw::c_int, pub tm_isdst: ::std::os::raw::c_int, pub tm_gmtoff: ::std::os::raw::c_long, - pub tm_zone: *const ::std::os::raw::c_char, + pub tm_zone: *mut ::std::os::raw::c_char, } impl Default for tm { fn default() -> Self { @@ -12035,100 +12471,74 @@ impl Default for tm { } } } -#[repr(C)] -#[derive(Debug, Default, Copy, Clone)] -pub struct itimerspec { - pub it_interval: timespec, - pub it_value: timespec, -} #[pg_guard] extern "C" { - pub fn clock() -> clock_t; + pub static mut tzname: [*mut ::std::os::raw::c_char; 0usize]; } #[pg_guard] extern "C" { - pub fn time(__timer: *mut time_t) -> time_t; + pub static mut getdate_err: ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn difftime(__time1: time_t, __time0: time_t) -> f64; + pub static mut timezone: ::std::os::raw::c_long; } #[pg_guard] extern "C" { - pub fn mktime(__tp: *mut tm) -> time_t; + pub static mut daylight: ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn strftime( - __s: *mut ::std::os::raw::c_char, - __maxsize: usize, - __format: *const ::std::os::raw::c_char, - __tp: *const tm, - ) -> usize; + pub fn asctime(arg1: *const tm) -> *mut ::std::os::raw::c_char; } #[pg_guard] extern "C" { - pub fn strftime_l( - __s: *mut ::std::os::raw::c_char, - __maxsize: usize, - __format: *const ::std::os::raw::c_char, - __tp: *const tm, - __loc: locale_t, - ) -> usize; + pub fn clock() -> clock_t; } #[pg_guard] extern "C" { - pub fn gmtime(__timer: *const time_t) -> *mut tm; + pub fn ctime(arg1: *const time_t) -> *mut ::std::os::raw::c_char; } #[pg_guard] extern "C" { - pub fn localtime(__timer: *const time_t) -> *mut tm; + pub fn difftime(arg1: time_t, arg2: time_t) -> f64; } #[pg_guard] extern "C" { - pub fn gmtime_r(__timer: *const time_t, __tp: *mut tm) -> *mut tm; + pub fn getdate(arg1: *const ::std::os::raw::c_char) -> *mut tm; } #[pg_guard] extern "C" { - pub fn localtime_r(__timer: *const time_t, __tp: *mut tm) -> *mut tm; + pub fn gmtime(arg1: *const time_t) -> *mut tm; } #[pg_guard] extern "C" { - pub fn asctime(__tp: *const tm) -> *mut ::std::os::raw::c_char; + pub fn localtime(arg1: *const time_t) -> *mut tm; } #[pg_guard] extern "C" { - pub fn ctime(__timer: *const time_t) -> *mut ::std::os::raw::c_char; + pub fn mktime(arg1: *mut tm) -> time_t; } #[pg_guard] extern "C" { - pub fn asctime_r( - __tp: *const tm, - __buf: *mut ::std::os::raw::c_char, - ) -> *mut ::std::os::raw::c_char; + pub fn strftime( + arg1: *mut ::std::os::raw::c_char, + arg2: usize, + arg3: *const ::std::os::raw::c_char, + arg4: *const tm, + ) -> usize; } #[pg_guard] extern "C" { - pub fn ctime_r( - __timer: *const time_t, - __buf: *mut ::std::os::raw::c_char, + pub fn strptime( + arg1: *const ::std::os::raw::c_char, + arg2: *const ::std::os::raw::c_char, + arg3: *mut tm, ) -> *mut ::std::os::raw::c_char; } #[pg_guard] extern "C" { - pub static mut __tzname: [*mut ::std::os::raw::c_char; 2usize]; -} -#[pg_guard] -extern "C" { - pub static mut __daylight: ::std::os::raw::c_int; -} -#[pg_guard] -extern "C" { - pub static mut __timezone: ::std::os::raw::c_long; -} -#[pg_guard] -extern "C" { - pub static mut tzname: [*mut ::std::os::raw::c_char; 2usize]; + pub fn time(arg1: *mut time_t) -> time_t; } #[pg_guard] extern "C" { @@ -12136,91 +12546,78 @@ extern "C" { } #[pg_guard] extern "C" { - pub static mut daylight: ::std::os::raw::c_int; -} -#[pg_guard] -extern "C" { - pub static mut timezone: ::std::os::raw::c_long; -} -#[pg_guard] -extern "C" { - pub fn timegm(__tp: *mut tm) -> time_t; + pub fn asctime_r( + arg1: *const tm, + arg2: *mut ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; } #[pg_guard] extern "C" { - pub fn timelocal(__tp: *mut tm) -> time_t; + pub fn ctime_r( + arg1: *const time_t, + arg2: *mut ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; } #[pg_guard] extern "C" { - pub fn dysize(__year: ::std::os::raw::c_int) -> ::std::os::raw::c_int; + pub fn gmtime_r(arg1: *const time_t, arg2: *mut tm) -> *mut tm; } #[pg_guard] extern "C" { - pub fn nanosleep( - __requested_time: *const timespec, - __remaining: *mut timespec, - ) -> ::std::os::raw::c_int; + pub fn localtime_r(arg1: *const time_t, arg2: *mut tm) -> *mut tm; } #[pg_guard] extern "C" { - pub fn clock_getres(__clock_id: clockid_t, __res: *mut timespec) -> ::std::os::raw::c_int; + pub fn posix2time(arg1: time_t) -> time_t; } #[pg_guard] extern "C" { - pub fn clock_gettime(__clock_id: clockid_t, __tp: *mut timespec) -> ::std::os::raw::c_int; + pub fn tzsetwall(); } #[pg_guard] extern "C" { - pub fn clock_settime(__clock_id: clockid_t, __tp: *const timespec) -> ::std::os::raw::c_int; + pub fn time2posix(arg1: time_t) -> time_t; } #[pg_guard] extern "C" { - pub fn clock_nanosleep( - __clock_id: clockid_t, - __flags: ::std::os::raw::c_int, - __req: *const timespec, - __rem: *mut timespec, - ) -> ::std::os::raw::c_int; + pub fn timelocal(arg1: *mut tm) -> time_t; } #[pg_guard] extern "C" { - pub fn clock_getcpuclockid(__pid: pid_t, __clock_id: *mut clockid_t) -> ::std::os::raw::c_int; + pub fn timegm(arg1: *mut tm) -> time_t; } #[pg_guard] extern "C" { - pub fn timer_create( - __clock_id: clockid_t, - __evp: *mut sigevent, - __timerid: *mut timer_t, - ) -> ::std::os::raw::c_int; + pub fn nanosleep(__rqtp: *const timespec, __rmtp: *mut timespec) -> ::std::os::raw::c_int; } +pub const clockid_t__CLOCK_REALTIME: clockid_t = 0; +pub const clockid_t__CLOCK_MONOTONIC: clockid_t = 6; +pub const clockid_t__CLOCK_MONOTONIC_RAW: clockid_t = 4; +pub const clockid_t__CLOCK_MONOTONIC_RAW_APPROX: clockid_t = 5; +pub const clockid_t__CLOCK_UPTIME_RAW: clockid_t = 8; +pub const clockid_t__CLOCK_UPTIME_RAW_APPROX: clockid_t = 9; +pub const clockid_t__CLOCK_PROCESS_CPUTIME_ID: clockid_t = 12; +pub const clockid_t__CLOCK_THREAD_CPUTIME_ID: clockid_t = 16; +pub type clockid_t = ::std::os::raw::c_uint; #[pg_guard] extern "C" { - pub fn timer_delete(__timerid: timer_t) -> ::std::os::raw::c_int; + pub fn clock_getres(__clock_id: clockid_t, __res: *mut timespec) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn timer_settime( - __timerid: timer_t, - __flags: ::std::os::raw::c_int, - __value: *const itimerspec, - __ovalue: *mut itimerspec, - ) -> ::std::os::raw::c_int; + pub fn clock_gettime(__clock_id: clockid_t, __tp: *mut timespec) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn timer_gettime(__timerid: timer_t, __value: *mut itimerspec) -> ::std::os::raw::c_int; + pub fn clock_gettime_nsec_np(__clock_id: clockid_t) -> __uint64_t; } #[pg_guard] extern "C" { - pub fn timer_getoverrun(__timerid: timer_t) -> ::std::os::raw::c_int; + pub fn clock_settime(__clock_id: clockid_t, __tp: *const timespec) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn timespec_get( - __ts: *mut timespec, - __base: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; + pub fn timespec_get(ts: *mut timespec, base: ::std::os::raw::c_int) -> ::std::os::raw::c_int; } pub type instr_time = timespec; #[repr(C)] @@ -13137,7 +13534,7 @@ extern "C" { pub fn appendStringInfoVA( str_: StringInfo, fmt: *const ::std::os::raw::c_char, - args: *mut __va_list_tag, + args: va_list, ) -> ::std::os::raw::c_int; } #[pg_guard] @@ -14731,7 +15128,6 @@ pub struct IndexOnlyScan { pub indexorderby: *mut List, pub indextlist: *mut List, pub indexorderdir: ScanDirection, - pub recheckqual: *mut List, } impl Default for IndexOnlyScan { fn default() -> Self { @@ -15065,9 +15461,7 @@ pub struct Memoize { pub collations: *mut Oid, pub param_exprs: *mut List, pub singlerow: bool, - pub binary_mode: bool, pub est_entries: uint32, - pub keyparamids: *mut Bitmapset, } impl Default for Memoize { fn default() -> Self { @@ -15463,7 +15857,7 @@ impl Default for PlanInvalItem { #[repr(C)] #[derive(Debug, Default, Copy, Clone)] pub struct pg_atomic_flag { - pub value: ::std::os::raw::c_char, + pub value: ::std::os::raw::c_int, } #[repr(C)] #[derive(Debug, Default, Copy, Clone)] @@ -15843,7 +16237,7 @@ pub struct proclist_mutable_iter { pub cur: ::std::os::raw::c_int, pub next: ::std::os::raw::c_int, } -pub type slock_t = ::std::os::raw::c_uchar; +pub type slock_t = ::std::os::raw::c_int; #[pg_guard] extern "C" { pub static mut dummy_spinlock: slock_t; @@ -16276,11 +16670,12 @@ impl Default for TriggerDesc { #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct dirent { - pub d_ino: __ino_t, - pub d_off: __off_t, - pub d_reclen: ::std::os::raw::c_ushort, - pub d_type: ::std::os::raw::c_uchar, - pub d_name: [::std::os::raw::c_char; 256usize], + pub d_ino: __uint64_t, + pub d_seekoff: __uint64_t, + pub d_reclen: __uint16_t, + pub d_namlen: __uint16_t, + pub d_type: __uint8_t, + pub d_name: [::std::os::raw::c_char; 1024usize], } impl Default for dirent { fn default() -> Self { @@ -16291,71 +16686,87 @@ impl Default for dirent { } } } -pub const DT_UNKNOWN: ::std::os::raw::c_uint = 0; -pub const DT_FIFO: ::std::os::raw::c_uint = 1; -pub const DT_CHR: ::std::os::raw::c_uint = 2; -pub const DT_DIR: ::std::os::raw::c_uint = 4; -pub const DT_BLK: ::std::os::raw::c_uint = 6; -pub const DT_REG: ::std::os::raw::c_uint = 8; -pub const DT_LNK: ::std::os::raw::c_uint = 10; -pub const DT_SOCK: ::std::os::raw::c_uint = 12; -pub const DT_WHT: ::std::os::raw::c_uint = 14; -pub type _bindgen_ty_9 = ::std::os::raw::c_uint; #[repr(C)] #[derive(Debug, Copy, Clone)] -pub struct __dirstream { +pub struct _telldir { _unused: [u8; 0], } -pub type DIR = __dirstream; -#[pg_guard] -extern "C" { - pub fn opendir(__name: *const ::std::os::raw::c_char) -> *mut DIR; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct DIR { + pub __dd_fd: ::std::os::raw::c_int, + pub __dd_loc: ::std::os::raw::c_long, + pub __dd_size: ::std::os::raw::c_long, + pub __dd_buf: *mut ::std::os::raw::c_char, + pub __dd_len: ::std::os::raw::c_int, + pub __dd_seek: ::std::os::raw::c_long, + pub __padding: ::std::os::raw::c_long, + pub __dd_flags: ::std::os::raw::c_int, + pub __dd_lock: __darwin_pthread_mutex_t, + pub __dd_td: *mut _telldir, +} +impl Default for DIR { + fn default() -> Self { + let mut s = ::std::mem::MaybeUninit::::uninit(); + unsafe { + ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); + s.assume_init() + } + } } #[pg_guard] extern "C" { - pub fn fdopendir(__fd: ::std::os::raw::c_int) -> *mut DIR; + pub fn closedir(arg1: *mut DIR) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn closedir(__dirp: *mut DIR) -> ::std::os::raw::c_int; + pub fn opendir(arg1: *const ::std::os::raw::c_char) -> *mut DIR; } #[pg_guard] extern "C" { - pub fn readdir(__dirp: *mut DIR) -> *mut dirent; + pub fn readdir(arg1: *mut DIR) -> *mut dirent; } #[pg_guard] extern "C" { pub fn readdir_r( - __dirp: *mut DIR, - __entry: *mut dirent, - __result: *mut *mut dirent, + arg1: *mut DIR, + arg2: *mut dirent, + arg3: *mut *mut dirent, ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn rewinddir(__dirp: *mut DIR); + pub fn rewinddir(arg1: *mut DIR); } #[pg_guard] extern "C" { - pub fn seekdir(__dirp: *mut DIR, __pos: ::std::os::raw::c_long); + pub fn seekdir(arg1: *mut DIR, arg2: ::std::os::raw::c_long); } #[pg_guard] extern "C" { - pub fn telldir(__dirp: *mut DIR) -> ::std::os::raw::c_long; + pub fn telldir(arg1: *mut DIR) -> ::std::os::raw::c_long; } #[pg_guard] extern "C" { - pub fn dirfd(__dirp: *mut DIR) -> ::std::os::raw::c_int; + pub fn fdopendir(arg1: ::std::os::raw::c_int) -> *mut DIR; +} +#[pg_guard] +extern "C" { + pub fn alphasort(arg1: *mut *const dirent, arg2: *mut *const dirent) -> ::std::os::raw::c_int; +} +#[pg_guard] +extern "C" { + pub fn dirfd(dirp: *mut DIR) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { pub fn scandir( - __dir: *const ::std::os::raw::c_char, - __namelist: *mut *mut *mut dirent, - __selector: ::std::option::Option< + arg1: *const ::std::os::raw::c_char, + arg2: *mut *mut *mut dirent, + arg3: ::std::option::Option< unsafe extern "C" fn(arg1: *const dirent) -> ::std::os::raw::c_int, >, - __cmp: ::std::option::Option< + arg4: ::std::option::Option< unsafe extern "C" fn( arg1: *mut *const dirent, arg2: *mut *const dirent, @@ -16365,16 +16776,27 @@ extern "C" { } #[pg_guard] extern "C" { - pub fn alphasort(__e1: *mut *const dirent, __e2: *mut *const dirent) -> ::std::os::raw::c_int; + pub fn scandir_b( + arg1: *const ::std::os::raw::c_char, + arg2: *mut *mut *mut dirent, + arg3: *mut ::std::os::raw::c_void, + arg4: *mut ::std::os::raw::c_void, + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { + #[link_name = "\u{1}_getdirentries_is_not_available_when_64_bit_inodes_are_in_effect"] pub fn getdirentries( - __fd: ::std::os::raw::c_int, - __buf: *mut ::std::os::raw::c_char, - __nbytes: usize, - __basep: *mut __off_t, - ) -> __ssize_t; + arg1: ::std::os::raw::c_int, + arg2: *mut ::std::os::raw::c_char, + arg3: ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_long, + ) -> ::std::os::raw::c_int; +} +#[pg_guard] +extern "C" { + pub fn __opendir2(arg1: *const ::std::os::raw::c_char, arg2: ::std::os::raw::c_int) + -> *mut DIR; } pub const RecoveryInitSyncMethod_RECOVERY_INIT_SYNC_METHOD_FSYNC: RecoveryInitSyncMethod = 0; pub const RecoveryInitSyncMethod_RECOVERY_INIT_SYNC_METHOD_SYNCFS: RecoveryInitSyncMethod = 1; @@ -18626,7 +19048,7 @@ impl Default for IndexScanState { #[derive(Debug, Copy, Clone)] pub struct IndexOnlyScanState { pub ss: ScanState, - pub recheckqual: *mut ExprState, + pub indexqual: *mut ExprState, pub ioss_ScanKeys: *mut ScanKeyData, pub ioss_NumScanKeys: ::std::os::raw::c_int, pub ioss_OrderByKeys: *mut ScanKeyData, @@ -19130,10 +19552,8 @@ pub struct MemoizeState { pub last_tuple: *mut MemoizeTuple, pub entry: *mut MemoizeEntry, pub singlerow: bool, - pub binary_mode: bool, pub stats: MemoizeInstrumentation, pub shared_info: *mut SharedMemoizeInfo, - pub keyparamids: *mut Bitmapset, } impl Default for MemoizeState { fn default() -> Self { @@ -25014,736 +25434,161 @@ extern "C" { nulls: *mut *mut bool, ) -> ::std::os::raw::c_int; } -pub type sig_atomic_t = __sig_atomic_t; -#[repr(C)] -#[derive(Copy, Clone)] -pub union sigval { - pub sival_int: ::std::os::raw::c_int, - pub sival_ptr: *mut ::std::os::raw::c_void, -} -impl Default for sigval { - fn default() -> Self { - let mut s = ::std::mem::MaybeUninit::::uninit(); - unsafe { - ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); - s.assume_init() - } - } -} -pub type __sigval_t = sigval; -#[repr(C)] -#[derive(Copy, Clone)] -pub struct siginfo_t { - pub si_signo: ::std::os::raw::c_int, - pub si_errno: ::std::os::raw::c_int, - pub si_code: ::std::os::raw::c_int, - pub __pad0: ::std::os::raw::c_int, - pub _sifields: siginfo_t__bindgen_ty_1, -} -#[repr(C)] -#[derive(Copy, Clone)] -pub union siginfo_t__bindgen_ty_1 { - pub _pad: [::std::os::raw::c_int; 28usize], - pub _kill: siginfo_t__bindgen_ty_1__bindgen_ty_1, - pub _timer: siginfo_t__bindgen_ty_1__bindgen_ty_2, - pub _rt: siginfo_t__bindgen_ty_1__bindgen_ty_3, - pub _sigchld: siginfo_t__bindgen_ty_1__bindgen_ty_4, - pub _sigfault: siginfo_t__bindgen_ty_1__bindgen_ty_5, - pub _sigpoll: siginfo_t__bindgen_ty_1__bindgen_ty_6, - pub _sigsys: siginfo_t__bindgen_ty_1__bindgen_ty_7, -} -#[repr(C)] -#[derive(Debug, Default, Copy, Clone)] -pub struct siginfo_t__bindgen_ty_1__bindgen_ty_1 { - pub si_pid: __pid_t, - pub si_uid: __uid_t, -} -#[repr(C)] -#[derive(Copy, Clone)] -pub struct siginfo_t__bindgen_ty_1__bindgen_ty_2 { - pub si_tid: ::std::os::raw::c_int, - pub si_overrun: ::std::os::raw::c_int, - pub si_sigval: __sigval_t, -} -impl Default for siginfo_t__bindgen_ty_1__bindgen_ty_2 { - fn default() -> Self { - let mut s = ::std::mem::MaybeUninit::::uninit(); - unsafe { - ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); - s.assume_init() - } - } -} -#[repr(C)] -#[derive(Copy, Clone)] -pub struct siginfo_t__bindgen_ty_1__bindgen_ty_3 { - pub si_pid: __pid_t, - pub si_uid: __uid_t, - pub si_sigval: __sigval_t, -} -impl Default for siginfo_t__bindgen_ty_1__bindgen_ty_3 { - fn default() -> Self { - let mut s = ::std::mem::MaybeUninit::::uninit(); - unsafe { - ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); - s.assume_init() - } - } -} -#[repr(C)] -#[derive(Debug, Default, Copy, Clone)] -pub struct siginfo_t__bindgen_ty_1__bindgen_ty_4 { - pub si_pid: __pid_t, - pub si_uid: __uid_t, - pub si_status: ::std::os::raw::c_int, - pub si_utime: __clock_t, - pub si_stime: __clock_t, -} -#[repr(C)] -#[derive(Copy, Clone)] -pub struct siginfo_t__bindgen_ty_1__bindgen_ty_5 { - pub si_addr: *mut ::std::os::raw::c_void, - pub si_addr_lsb: ::std::os::raw::c_short, - pub _bounds: siginfo_t__bindgen_ty_1__bindgen_ty_5__bindgen_ty_1, -} -#[repr(C)] -#[derive(Copy, Clone)] -pub union siginfo_t__bindgen_ty_1__bindgen_ty_5__bindgen_ty_1 { - pub _addr_bnd: siginfo_t__bindgen_ty_1__bindgen_ty_5__bindgen_ty_1__bindgen_ty_1, - pub _pkey: __uint32_t, -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct siginfo_t__bindgen_ty_1__bindgen_ty_5__bindgen_ty_1__bindgen_ty_1 { - pub _lower: *mut ::std::os::raw::c_void, - pub _upper: *mut ::std::os::raw::c_void, -} -impl Default for siginfo_t__bindgen_ty_1__bindgen_ty_5__bindgen_ty_1__bindgen_ty_1 { - fn default() -> Self { - let mut s = ::std::mem::MaybeUninit::::uninit(); - unsafe { - ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); - s.assume_init() - } - } -} -impl Default for siginfo_t__bindgen_ty_1__bindgen_ty_5__bindgen_ty_1 { - fn default() -> Self { - let mut s = ::std::mem::MaybeUninit::::uninit(); - unsafe { - ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); - s.assume_init() - } - } -} -impl Default for siginfo_t__bindgen_ty_1__bindgen_ty_5 { - fn default() -> Self { - let mut s = ::std::mem::MaybeUninit::::uninit(); - unsafe { - ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); - s.assume_init() - } - } -} -#[repr(C)] -#[derive(Debug, Default, Copy, Clone)] -pub struct siginfo_t__bindgen_ty_1__bindgen_ty_6 { - pub si_band: ::std::os::raw::c_long, - pub si_fd: ::std::os::raw::c_int, -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct siginfo_t__bindgen_ty_1__bindgen_ty_7 { - pub _call_addr: *mut ::std::os::raw::c_void, - pub _syscall: ::std::os::raw::c_int, - pub _arch: ::std::os::raw::c_uint, -} -impl Default for siginfo_t__bindgen_ty_1__bindgen_ty_7 { - fn default() -> Self { - let mut s = ::std::mem::MaybeUninit::::uninit(); - unsafe { - ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); - s.assume_init() - } - } -} -impl Default for siginfo_t__bindgen_ty_1 { - fn default() -> Self { - let mut s = ::std::mem::MaybeUninit::::uninit(); - unsafe { - ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); - s.assume_init() - } - } -} -impl Default for siginfo_t { - fn default() -> Self { - let mut s = ::std::mem::MaybeUninit::::uninit(); - unsafe { - ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); - s.assume_init() - } - } -} -pub const SI_ASYNCNL: ::std::os::raw::c_int = -60; -pub const SI_DETHREAD: ::std::os::raw::c_int = -7; -pub const SI_TKILL: ::std::os::raw::c_int = -6; -pub const SI_SIGIO: ::std::os::raw::c_int = -5; -pub const SI_ASYNCIO: ::std::os::raw::c_int = -4; -pub const SI_MESGQ: ::std::os::raw::c_int = -3; -pub const SI_TIMER: ::std::os::raw::c_int = -2; -pub const SI_QUEUE: ::std::os::raw::c_int = -1; -pub const SI_USER: ::std::os::raw::c_int = 0; -pub const SI_KERNEL: ::std::os::raw::c_int = 128; -pub type _bindgen_ty_10 = ::std::os::raw::c_int; -pub const ILL_ILLOPC: ::std::os::raw::c_uint = 1; -pub const ILL_ILLOPN: ::std::os::raw::c_uint = 2; -pub const ILL_ILLADR: ::std::os::raw::c_uint = 3; -pub const ILL_ILLTRP: ::std::os::raw::c_uint = 4; -pub const ILL_PRVOPC: ::std::os::raw::c_uint = 5; -pub const ILL_PRVREG: ::std::os::raw::c_uint = 6; -pub const ILL_COPROC: ::std::os::raw::c_uint = 7; -pub const ILL_BADSTK: ::std::os::raw::c_uint = 8; -pub const ILL_BADIADDR: ::std::os::raw::c_uint = 9; -pub type _bindgen_ty_11 = ::std::os::raw::c_uint; -pub const FPE_INTDIV: ::std::os::raw::c_uint = 1; -pub const FPE_INTOVF: ::std::os::raw::c_uint = 2; -pub const FPE_FLTDIV: ::std::os::raw::c_uint = 3; -pub const FPE_FLTOVF: ::std::os::raw::c_uint = 4; -pub const FPE_FLTUND: ::std::os::raw::c_uint = 5; -pub const FPE_FLTRES: ::std::os::raw::c_uint = 6; -pub const FPE_FLTINV: ::std::os::raw::c_uint = 7; -pub const FPE_FLTSUB: ::std::os::raw::c_uint = 8; -pub const FPE_FLTUNK: ::std::os::raw::c_uint = 14; -pub const FPE_CONDTRAP: ::std::os::raw::c_uint = 15; -pub type _bindgen_ty_12 = ::std::os::raw::c_uint; -pub const SEGV_MAPERR: ::std::os::raw::c_uint = 1; -pub const SEGV_ACCERR: ::std::os::raw::c_uint = 2; -pub const SEGV_BNDERR: ::std::os::raw::c_uint = 3; -pub const SEGV_PKUERR: ::std::os::raw::c_uint = 4; -pub const SEGV_ACCADI: ::std::os::raw::c_uint = 5; -pub const SEGV_ADIDERR: ::std::os::raw::c_uint = 6; -pub const SEGV_ADIPERR: ::std::os::raw::c_uint = 7; -pub const SEGV_MTEAERR: ::std::os::raw::c_uint = 8; -pub const SEGV_MTESERR: ::std::os::raw::c_uint = 9; -pub type _bindgen_ty_13 = ::std::os::raw::c_uint; -pub const BUS_ADRALN: ::std::os::raw::c_uint = 1; -pub const BUS_ADRERR: ::std::os::raw::c_uint = 2; -pub const BUS_OBJERR: ::std::os::raw::c_uint = 3; -pub const BUS_MCEERR_AR: ::std::os::raw::c_uint = 4; -pub const BUS_MCEERR_AO: ::std::os::raw::c_uint = 5; -pub type _bindgen_ty_14 = ::std::os::raw::c_uint; -pub const CLD_EXITED: ::std::os::raw::c_uint = 1; -pub const CLD_KILLED: ::std::os::raw::c_uint = 2; -pub const CLD_DUMPED: ::std::os::raw::c_uint = 3; -pub const CLD_TRAPPED: ::std::os::raw::c_uint = 4; -pub const CLD_STOPPED: ::std::os::raw::c_uint = 5; -pub const CLD_CONTINUED: ::std::os::raw::c_uint = 6; -pub type _bindgen_ty_15 = ::std::os::raw::c_uint; -pub const POLL_IN: ::std::os::raw::c_uint = 1; -pub const POLL_OUT: ::std::os::raw::c_uint = 2; -pub const POLL_MSG: ::std::os::raw::c_uint = 3; -pub const POLL_ERR: ::std::os::raw::c_uint = 4; -pub const POLL_PRI: ::std::os::raw::c_uint = 5; -pub const POLL_HUP: ::std::os::raw::c_uint = 6; -pub type _bindgen_ty_16 = ::std::os::raw::c_uint; -pub type sigval_t = __sigval_t; -#[repr(C)] -#[derive(Copy, Clone)] -pub struct sigevent { - pub sigev_value: __sigval_t, - pub sigev_signo: ::std::os::raw::c_int, - pub sigev_notify: ::std::os::raw::c_int, - pub _sigev_un: sigevent__bindgen_ty_1, -} -#[repr(C)] -#[derive(Copy, Clone)] -pub union sigevent__bindgen_ty_1 { - pub _pad: [::std::os::raw::c_int; 12usize], - pub _tid: __pid_t, - pub _sigev_thread: sigevent__bindgen_ty_1__bindgen_ty_1, -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct sigevent__bindgen_ty_1__bindgen_ty_1 { - pub _function: ::std::option::Option, - pub _attribute: *mut pthread_attr_t, -} -impl Default for sigevent__bindgen_ty_1__bindgen_ty_1 { - fn default() -> Self { - let mut s = ::std::mem::MaybeUninit::::uninit(); - unsafe { - ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); - s.assume_init() - } - } -} -impl Default for sigevent__bindgen_ty_1 { - fn default() -> Self { - let mut s = ::std::mem::MaybeUninit::::uninit(); - unsafe { - ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); - s.assume_init() - } - } -} -impl Default for sigevent { - fn default() -> Self { - let mut s = ::std::mem::MaybeUninit::::uninit(); - unsafe { - ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); - s.assume_init() - } - } -} -pub type sigevent_t = sigevent; -pub const SIGEV_SIGNAL: ::std::os::raw::c_uint = 0; -pub const SIGEV_NONE: ::std::os::raw::c_uint = 1; -pub const SIGEV_THREAD: ::std::os::raw::c_uint = 2; -pub const SIGEV_THREAD_ID: ::std::os::raw::c_uint = 4; -pub type _bindgen_ty_17 = ::std::os::raw::c_uint; -pub type __sighandler_t = ::std::option::Option; #[pg_guard] extern "C" { - pub fn __sysv_signal(__sig: ::std::os::raw::c_int, __handler: __sighandler_t) - -> __sighandler_t; + pub static sys_signame: [*const ::std::os::raw::c_char; 32usize]; } #[pg_guard] extern "C" { - pub fn signal(__sig: ::std::os::raw::c_int, __handler: __sighandler_t) -> __sighandler_t; + pub static sys_siglist: [*const ::std::os::raw::c_char; 32usize]; } #[pg_guard] extern "C" { - pub fn kill(__pid: __pid_t, __sig: ::std::os::raw::c_int) -> ::std::os::raw::c_int; + pub fn raise(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn killpg(__pgrp: __pid_t, __sig: ::std::os::raw::c_int) -> ::std::os::raw::c_int; + pub fn bsd_signal( + arg1: ::std::os::raw::c_int, + arg2: ::std::option::Option, + ) -> ::std::option::Option< + unsafe extern "C" fn( + arg1: ::std::os::raw::c_int, + arg2: ::std::option::Option, + ), + >; } #[pg_guard] extern "C" { - pub fn raise(__sig: ::std::os::raw::c_int) -> ::std::os::raw::c_int; + pub fn kill(arg1: pid_t, arg2: ::std::os::raw::c_int) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn ssignal(__sig: ::std::os::raw::c_int, __handler: __sighandler_t) -> __sighandler_t; + pub fn killpg(arg1: pid_t, arg2: ::std::os::raw::c_int) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn gsignal(__sig: ::std::os::raw::c_int) -> ::std::os::raw::c_int; + pub fn pthread_kill(arg1: pthread_t, arg2: ::std::os::raw::c_int) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn psignal(__sig: ::std::os::raw::c_int, __s: *const ::std::os::raw::c_char); + pub fn pthread_sigmask( + arg1: ::std::os::raw::c_int, + arg2: *const sigset_t, + arg3: *mut sigset_t, + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn psiginfo(__pinfo: *const siginfo_t, __s: *const ::std::os::raw::c_char); + pub fn sigaction( + arg1: ::std::os::raw::c_int, + arg2: *const sigaction, + arg3: *mut sigaction, + ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn sigblock(__mask: ::std::os::raw::c_int) -> ::std::os::raw::c_int; + pub fn sigaddset(arg1: *mut sigset_t, arg2: ::std::os::raw::c_int) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn sigsetmask(__mask: ::std::os::raw::c_int) -> ::std::os::raw::c_int; + pub fn sigaltstack(arg1: *const stack_t, arg2: *mut stack_t) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn siggetmask() -> ::std::os::raw::c_int; + pub fn sigdelset(arg1: *mut sigset_t, arg2: ::std::os::raw::c_int) -> ::std::os::raw::c_int; } -pub type sig_t = __sighandler_t; #[pg_guard] extern "C" { - pub fn sigemptyset(__set: *mut sigset_t) -> ::std::os::raw::c_int; + pub fn sigemptyset(arg1: *mut sigset_t) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn sigfillset(__set: *mut sigset_t) -> ::std::os::raw::c_int; + pub fn sigfillset(arg1: *mut sigset_t) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn sigaddset(__set: *mut sigset_t, __signo: ::std::os::raw::c_int) - -> ::std::os::raw::c_int; + pub fn sighold(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn sigdelset(__set: *mut sigset_t, __signo: ::std::os::raw::c_int) - -> ::std::os::raw::c_int; + pub fn sigignore(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn sigismember( - __set: *const sigset_t, - __signo: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; -} -#[repr(C)] -#[derive(Copy, Clone)] -pub struct sigaction { - pub __sigaction_handler: sigaction__bindgen_ty_1, - pub sa_mask: __sigset_t, - pub sa_flags: ::std::os::raw::c_int, - pub sa_restorer: ::std::option::Option, -} -#[repr(C)] -#[derive(Copy, Clone)] -pub union sigaction__bindgen_ty_1 { - pub sa_handler: __sighandler_t, - pub sa_sigaction: ::std::option::Option< - unsafe extern "C" fn( - arg1: ::std::os::raw::c_int, - arg2: *mut siginfo_t, - arg3: *mut ::std::os::raw::c_void, - ), - >, -} -impl Default for sigaction__bindgen_ty_1 { - fn default() -> Self { - let mut s = ::std::mem::MaybeUninit::::uninit(); - unsafe { - ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); - s.assume_init() - } - } -} -impl Default for sigaction { - fn default() -> Self { - let mut s = ::std::mem::MaybeUninit::::uninit(); - unsafe { - ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); - s.assume_init() - } - } -} -#[pg_guard] -extern "C" { - pub fn sigprocmask( - __how: ::std::os::raw::c_int, - __set: *const sigset_t, - __oset: *mut sigset_t, + pub fn siginterrupt( + arg1: ::std::os::raw::c_int, + arg2: ::std::os::raw::c_int, ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn sigsuspend(__set: *const sigset_t) -> ::std::os::raw::c_int; + pub fn sigismember(arg1: *const sigset_t, arg2: ::std::os::raw::c_int) + -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn sigaction( - __sig: ::std::os::raw::c_int, - __act: *const sigaction, - __oact: *mut sigaction, - ) -> ::std::os::raw::c_int; + pub fn sigpause(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn sigpending(__set: *mut sigset_t) -> ::std::os::raw::c_int; + pub fn sigpending(arg1: *mut sigset_t) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn sigwait( - __set: *const sigset_t, - __sig: *mut ::std::os::raw::c_int, + pub fn sigprocmask( + arg1: ::std::os::raw::c_int, + arg2: *const sigset_t, + arg3: *mut sigset_t, ) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn sigwaitinfo(__set: *const sigset_t, __info: *mut siginfo_t) -> ::std::os::raw::c_int; + pub fn sigrelse(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn sigtimedwait( - __set: *const sigset_t, - __info: *mut siginfo_t, - __timeout: *const timespec, - ) -> ::std::os::raw::c_int; + pub fn sigset( + arg1: ::std::os::raw::c_int, + arg2: ::std::option::Option, + ) -> ::std::option::Option< + unsafe extern "C" fn( + arg1: ::std::os::raw::c_int, + arg2: ::std::option::Option, + ), + >; } #[pg_guard] extern "C" { - pub fn sigqueue( - __pid: __pid_t, - __sig: ::std::os::raw::c_int, - __val: sigval, - ) -> ::std::os::raw::c_int; -} -#[repr(C)] -#[derive(Debug, Default, Copy, Clone)] -pub struct _fpx_sw_bytes { - pub magic1: __uint32_t, - pub extended_size: __uint32_t, - pub xstate_bv: __uint64_t, - pub xstate_size: __uint32_t, - pub __glibc_reserved1: [__uint32_t; 7usize], -} -#[repr(C)] -#[derive(Debug, Default, Copy, Clone)] -pub struct _fpreg { - pub significand: [::std::os::raw::c_ushort; 4usize], - pub exponent: ::std::os::raw::c_ushort, -} -#[repr(C)] -#[derive(Debug, Default, Copy, Clone)] -pub struct _fpxreg { - pub significand: [::std::os::raw::c_ushort; 4usize], - pub exponent: ::std::os::raw::c_ushort, - pub __glibc_reserved1: [::std::os::raw::c_ushort; 3usize], -} -#[repr(C)] -#[derive(Debug, Default, Copy, Clone)] -pub struct _xmmreg { - pub element: [__uint32_t; 4usize], -} -#[repr(C)] -#[derive(Debug, Default, Copy, Clone)] -pub struct _fpstate { - pub cwd: __uint16_t, - pub swd: __uint16_t, - pub ftw: __uint16_t, - pub fop: __uint16_t, - pub rip: __uint64_t, - pub rdp: __uint64_t, - pub mxcsr: __uint32_t, - pub mxcr_mask: __uint32_t, - pub _st: [_fpxreg; 8usize], - pub _xmm: [_xmmreg; 16usize], - pub __glibc_reserved1: [__uint32_t; 24usize], -} -#[repr(C)] -#[derive(Copy, Clone)] -pub struct sigcontext { - pub r8: __uint64_t, - pub r9: __uint64_t, - pub r10: __uint64_t, - pub r11: __uint64_t, - pub r12: __uint64_t, - pub r13: __uint64_t, - pub r14: __uint64_t, - pub r15: __uint64_t, - pub rdi: __uint64_t, - pub rsi: __uint64_t, - pub rbp: __uint64_t, - pub rbx: __uint64_t, - pub rdx: __uint64_t, - pub rax: __uint64_t, - pub rcx: __uint64_t, - pub rsp: __uint64_t, - pub rip: __uint64_t, - pub eflags: __uint64_t, - pub cs: ::std::os::raw::c_ushort, - pub gs: ::std::os::raw::c_ushort, - pub fs: ::std::os::raw::c_ushort, - pub __pad0: ::std::os::raw::c_ushort, - pub err: __uint64_t, - pub trapno: __uint64_t, - pub oldmask: __uint64_t, - pub cr2: __uint64_t, - pub __bindgen_anon_1: sigcontext__bindgen_ty_1, - pub __reserved1: [__uint64_t; 8usize], -} -#[repr(C)] -#[derive(Copy, Clone)] -pub union sigcontext__bindgen_ty_1 { - pub fpstate: *mut _fpstate, - pub __fpstate_word: __uint64_t, -} -impl Default for sigcontext__bindgen_ty_1 { - fn default() -> Self { - let mut s = ::std::mem::MaybeUninit::::uninit(); - unsafe { - ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); - s.assume_init() - } - } -} -impl Default for sigcontext { - fn default() -> Self { - let mut s = ::std::mem::MaybeUninit::::uninit(); - unsafe { - ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); - s.assume_init() - } - } -} -#[repr(C)] -#[derive(Debug, Default, Copy, Clone)] -pub struct _xsave_hdr { - pub xstate_bv: __uint64_t, - pub __glibc_reserved1: [__uint64_t; 2usize], - pub __glibc_reserved2: [__uint64_t; 5usize], -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _ymmh_state { - pub ymmh_space: [__uint32_t; 64usize], -} -impl Default for _ymmh_state { - fn default() -> Self { - let mut s = ::std::mem::MaybeUninit::::uninit(); - unsafe { - ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); - s.assume_init() - } - } -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _xstate { - pub fpstate: _fpstate, - pub xstate_hdr: _xsave_hdr, - pub ymmh: _ymmh_state, -} -impl Default for _xstate { - fn default() -> Self { - let mut s = ::std::mem::MaybeUninit::::uninit(); - unsafe { - ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); - s.assume_init() - } - } + pub fn sigsuspend(arg1: *const sigset_t) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn sigreturn(__scp: *mut sigcontext) -> ::std::os::raw::c_int; -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct stack_t { - pub ss_sp: *mut ::std::os::raw::c_void, - pub ss_flags: ::std::os::raw::c_int, - pub ss_size: usize, -} -impl Default for stack_t { - fn default() -> Self { - let mut s = ::std::mem::MaybeUninit::::uninit(); - unsafe { - ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); - s.assume_init() - } - } -} -pub type greg_t = ::std::os::raw::c_longlong; -pub type gregset_t = [greg_t; 23usize]; -#[repr(C)] -#[derive(Debug, Default, Copy, Clone)] -pub struct _libc_fpxreg { - pub significand: [::std::os::raw::c_ushort; 4usize], - pub exponent: ::std::os::raw::c_ushort, - pub __glibc_reserved1: [::std::os::raw::c_ushort; 3usize], -} -#[repr(C)] -#[derive(Debug, Default, Copy, Clone)] -pub struct _libc_xmmreg { - pub element: [__uint32_t; 4usize], -} -#[repr(C)] -#[derive(Debug, Default, Copy, Clone)] -pub struct _libc_fpstate { - pub cwd: __uint16_t, - pub swd: __uint16_t, - pub ftw: __uint16_t, - pub fop: __uint16_t, - pub rip: __uint64_t, - pub rdp: __uint64_t, - pub mxcsr: __uint32_t, - pub mxcr_mask: __uint32_t, - pub _st: [_libc_fpxreg; 8usize], - pub _xmm: [_libc_xmmreg; 16usize], - pub __glibc_reserved1: [__uint32_t; 24usize], -} -pub type fpregset_t = *mut _libc_fpstate; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct mcontext_t { - pub gregs: gregset_t, - pub fpregs: fpregset_t, - pub __reserved1: [::std::os::raw::c_ulonglong; 8usize], -} -impl Default for mcontext_t { - fn default() -> Self { - let mut s = ::std::mem::MaybeUninit::::uninit(); - unsafe { - ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); - s.assume_init() - } - } -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct ucontext_t { - pub uc_flags: ::std::os::raw::c_ulong, - pub uc_link: *mut ucontext_t, - pub uc_stack: stack_t, - pub uc_mcontext: mcontext_t, - pub uc_sigmask: sigset_t, - pub __fpregs_mem: _libc_fpstate, - pub __ssp: [::std::os::raw::c_ulonglong; 4usize], -} -impl Default for ucontext_t { - fn default() -> Self { - let mut s = ::std::mem::MaybeUninit::::uninit(); - unsafe { - ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); - s.assume_init() - } - } -} -#[pg_guard] -extern "C" { - pub fn siginterrupt( - __sig: ::std::os::raw::c_int, - __interrupt: ::std::os::raw::c_int, + pub fn sigwait( + arg1: *const sigset_t, + arg2: *mut ::std::os::raw::c_int, ) -> ::std::os::raw::c_int; } -pub const SS_ONSTACK: ::std::os::raw::c_uint = 1; -pub const SS_DISABLE: ::std::os::raw::c_uint = 2; -pub type _bindgen_ty_18 = ::std::os::raw::c_uint; #[pg_guard] extern "C" { - pub fn sigaltstack(__ss: *const stack_t, __oss: *mut stack_t) -> ::std::os::raw::c_int; -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct sigstack { - pub ss_sp: *mut ::std::os::raw::c_void, - pub ss_onstack: ::std::os::raw::c_int, -} -impl Default for sigstack { - fn default() -> Self { - let mut s = ::std::mem::MaybeUninit::::uninit(); - unsafe { - ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); - s.assume_init() - } - } + pub fn psignal(arg1: ::std::os::raw::c_uint, arg2: *const ::std::os::raw::c_char); } #[pg_guard] extern "C" { - pub fn sigstack(__ss: *mut sigstack, __oss: *mut sigstack) -> ::std::os::raw::c_int; + pub fn sigblock(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn pthread_sigmask( - __how: ::std::os::raw::c_int, - __newmask: *const __sigset_t, - __oldmask: *mut __sigset_t, - ) -> ::std::os::raw::c_int; + pub fn sigsetmask(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn pthread_kill( - __threadid: pthread_t, - __signo: ::std::os::raw::c_int, + pub fn sigvec( + arg1: ::std::os::raw::c_int, + arg2: *mut sigvec, + arg3: *mut sigvec, ) -> ::std::os::raw::c_int; } -#[pg_guard] -extern "C" { - pub fn __libc_current_sigrtmin() -> ::std::os::raw::c_int; -} -#[pg_guard] -extern "C" { - pub fn __libc_current_sigrtmax() -> ::std::os::raw::c_int; -} pub type pg_time_t = int64; #[repr(C)] #[derive(Debug, Copy, Clone)] @@ -26506,8 +26351,9 @@ extern "C" { #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct sockaddr_un { + pub sun_len: ::std::os::raw::c_uchar, pub sun_family: sa_family_t, - pub sun_path: [::std::os::raw::c_char; 108usize], + pub sun_path: [::std::os::raw::c_char; 104usize], } impl Default for sockaddr_un { fn default() -> Self { @@ -28625,25 +28471,7 @@ pub type RmgrIds = ::std::os::raw::c_uint; pub type pg_crc32c = uint32; #[pg_guard] extern "C" { - pub fn pg_comp_crc32c_sb8( - crc: pg_crc32c, - data: *const ::std::os::raw::c_void, - len: usize, - ) -> pg_crc32c; -} -#[pg_guard] -extern "C" { - pub static mut pg_comp_crc32c: ::std::option::Option< - unsafe extern "C" fn( - crc: pg_crc32c, - data: *const ::std::os::raw::c_void, - len: usize, - ) -> pg_crc32c, - >; -} -#[pg_guard] -extern "C" { - pub fn pg_comp_crc32c_sse42( + pub fn pg_comp_crc32c_armv8( crc: pg_crc32c, data: *const ::std::os::raw::c_void, len: usize, @@ -35577,6 +35405,63 @@ extern "C" { pub fn AtEOXact_Enum(); } #[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct FormData_pg_operator { + pub oid: Oid, + pub oprname: NameData, + pub oprnamespace: Oid, + pub oprowner: Oid, + pub oprkind: ::std::os::raw::c_char, + pub oprcanmerge: bool, + pub oprcanhash: bool, + pub oprleft: Oid, + pub oprright: Oid, + pub oprresult: Oid, + pub oprcom: Oid, + pub oprnegate: Oid, + pub oprcode: regproc, + pub oprrest: regproc, + pub oprjoin: regproc, +} +impl Default for FormData_pg_operator { + fn default() -> Self { + let mut s = ::std::mem::MaybeUninit::::uninit(); + unsafe { + ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); + s.assume_init() + } + } +} +pub type Form_pg_operator = *mut FormData_pg_operator; +#[pg_guard] +extern "C" { + pub fn OperatorCreate( + operatorName: *const ::std::os::raw::c_char, + operatorNamespace: Oid, + leftTypeId: Oid, + rightTypeId: Oid, + procedureId: Oid, + commutatorName: *mut List, + negatorName: *mut List, + restrictionId: Oid, + joinId: Oid, + canMerge: bool, + canHash: bool, + ) -> ObjectAddress; +} +#[pg_guard] +extern "C" { + pub fn makeOperatorDependencies( + tuple: HeapTuple, + makeExtensionDep: bool, + isUpdate: bool, + ) -> ObjectAddress; +} +#[pg_guard] +extern "C" { + pub fn OperatorUpd(baseId: Oid, commId: Oid, negId: Oid, isDelete: bool); +} +#[repr(C)] #[derive(Debug)] pub struct FormData_pg_proc { pub oid: Oid, @@ -40410,7 +40295,6 @@ pub struct MemoizePath { pub hash_operators: *mut List, pub param_exprs: *mut List, pub singlerow: bool, - pub binary_mode: bool, pub calls: f64, pub est_entries: uint32, } @@ -43274,10 +43158,6 @@ extern "C" { rte: *mut RangeTblEntry, ) -> *mut Query; } -#[pg_guard] -extern "C" { - pub fn pull_paramids(expr: *mut Expr) -> *mut Bitmapset; -} pub const ConstraintExclusionType_CONSTRAINT_EXCLUSION_OFF: ConstraintExclusionType = 0; pub const ConstraintExclusionType_CONSTRAINT_EXCLUSION_ON: ConstraintExclusionType = 1; pub const ConstraintExclusionType_CONSTRAINT_EXCLUSION_PARTITION: ConstraintExclusionType = 2; @@ -44266,7 +44146,6 @@ extern "C" { param_exprs: *mut List, hash_operators: *mut List, singlerow: bool, - binary_mode: bool, calls: f64, ) -> *mut MemoizePath; } @@ -60268,13 +60147,6 @@ extern "C" { ) -> ::std::os::raw::c_int; } #[pg_guard] -extern "C" { - pub fn xidLogicalComparator( - arg1: *const ::std::os::raw::c_void, - arg2: *const ::std::os::raw::c_void, - ) -> ::std::os::raw::c_int; -} -#[pg_guard] extern "C" { pub fn pg_inet_cidr_ntop( af: ::std::os::raw::c_int, @@ -62526,29 +62398,8 @@ extern "C" { extern "C" { pub fn SharedRecordTypmodRegistryAttach(arg1: *mut SharedRecordTypmodRegistry); } -pub type __builtin_va_list = [__va_list_tag; 1usize]; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct __va_list_tag { - pub gp_offset: ::std::os::raw::c_uint, - pub fp_offset: ::std::os::raw::c_uint, - pub overflow_arg_area: *mut ::std::os::raw::c_void, - pub reg_save_area: *mut ::std::os::raw::c_void, -} -impl Default for __va_list_tag { - fn default() -> Self { - let mut s = ::std::mem::MaybeUninit::::uninit(); - unsafe { - ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); - s.assume_init() - } - } -} -#[repr(C)] -#[derive(Debug, Default, Copy, Clone)] -pub struct __locale_data { - pub _address: u8, -} +pub type __builtin_va_list = *mut ::std::os::raw::c_char; +pub type __uint128_t = u128; #[repr(C)] #[derive(Debug, Default, Copy, Clone)] pub struct AttrMissing { diff --git a/pgx-pg-sys/src/submodules/guard.rs b/pgx-pg-sys/src/submodules/guard.rs index d5d309dfa..fe384b36f 100644 --- a/pgx-pg-sys/src/submodules/guard.rs +++ b/pgx-pg-sys/src/submodules/guard.rs @@ -1,5 +1,11 @@ -// Copyright 2020 ZomboDB, LLC . All rights reserved. Use of this source code is -// governed by the MIT license that can be found in the LICENSE file. +/* +Portions Copyright 2019-2021 ZomboDB, LLC. +Portions Copyright 2021-2022 Technology Concepts & Design, Inc. + +All rights reserved. + +Use of this source code is governed by the MIT license that can be found in the LICENSE file. +*/ #![allow(non_snake_case)] diff --git a/pgx-pg-sys/src/submodules/mod.rs b/pgx-pg-sys/src/submodules/mod.rs index 4f9671bda..78d7d7602 100644 --- a/pgx-pg-sys/src/submodules/mod.rs +++ b/pgx-pg-sys/src/submodules/mod.rs @@ -1,5 +1,11 @@ -// Copyright 2020 ZomboDB, LLC . All rights reserved. Use of this source code is -// governed by the MIT license that can be found in the LICENSE file. +/* +Portions Copyright 2019-2021 ZomboDB, LLC. +Portions Copyright 2021-2022 Technology Concepts & Design, Inc. + +All rights reserved. + +Use of this source code is governed by the MIT license that can be found in the LICENSE file. +*/ pub mod guard; mod oids; diff --git a/pgx-pg-sys/src/submodules/oids.rs b/pgx-pg-sys/src/submodules/oids.rs index ff85c23ef..1e163f687 100644 --- a/pgx-pg-sys/src/submodules/oids.rs +++ b/pgx-pg-sys/src/submodules/oids.rs @@ -1,5 +1,11 @@ -// Copyright 2020 ZomboDB, LLC . All rights reserved. Use of this source code is -// governed by the MIT license that can be found in the LICENSE file. +/* +Portions Copyright 2019-2021 ZomboDB, LLC. +Portions Copyright 2021-2022 Technology Concepts & Design, Inc. + +All rights reserved. + +Use of this source code is governed by the MIT license that can be found in the LICENSE file. +*/ #![allow(non_camel_case_types)] use crate as pg_sys; diff --git a/pgx-pg-sys/src/submodules/tupdesc.rs b/pgx-pg-sys/src/submodules/tupdesc.rs index ee42403cb..7d123066b 100644 --- a/pgx-pg-sys/src/submodules/tupdesc.rs +++ b/pgx-pg-sys/src/submodules/tupdesc.rs @@ -1,5 +1,11 @@ -// Copyright 2020 ZomboDB, LLC . All rights reserved. Use of this source code is -// governed by the MIT license that can be found in the LICENSE file. +/* +Portions Copyright 2019-2021 ZomboDB, LLC. +Portions Copyright 2021-2022 Technology Concepts & Design, Inc. + +All rights reserved. + +Use of this source code is governed by the MIT license that can be found in the LICENSE file. +*/ //! Provides helper implementations for various `TupleDesc`-related structs use crate::{name_data_to_str, PgOid}; diff --git a/pgx-pg-sys/src/submodules/utils.rs b/pgx-pg-sys/src/submodules/utils.rs index 6f2ffb8de..4a9eb8607 100644 --- a/pgx-pg-sys/src/submodules/utils.rs +++ b/pgx-pg-sys/src/submodules/utils.rs @@ -1,5 +1,11 @@ -// Copyright 2020 ZomboDB, LLC . All rights reserved. Use of this source code is -// governed by the MIT license that can be found in the LICENSE file. +/* +Portions Copyright 2019-2021 ZomboDB, LLC. +Portions Copyright 2021-2022 Technology Concepts & Design, Inc. + +All rights reserved. + +Use of this source code is governed by the MIT license that can be found in the LICENSE file. +*/ //! General utility functions use crate as pg_sys; diff --git a/pgx-tests/Cargo.toml b/pgx-tests/Cargo.toml index f682143f9..fea154e9b 100644 --- a/pgx-tests/Cargo.toml +++ b/pgx-tests/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "pgx-tests" -version = "0.4.1" +version = "0.4.2" authors = ["ZomboDB, LLC "] license = "MIT" description = "Test framework for 'pgx'-based Postgres extensions" @@ -31,16 +31,16 @@ rustc-args = ["--cfg", "docsrs"] rustdoc-args = ["--cfg", "docsrs"] [dependencies] -owo-colors = "3.2.0" -once_cell = "1.9.0" -libc = "0.2.119" -pgx = { path = "../pgx", default-features = false, version= "0.4.1" } -pgx-macros = { path = "../pgx-macros", version= "0.4.1" } -pgx-utils = { path = "../pgx-utils", version= "0.4.1" } +owo-colors = "3.3.0" +once_cell = "1.10.0" +libc = "0.2.121" +pgx = { path = "../pgx", default-features = false, version= "0.4.2" } +pgx-macros = { path = "../pgx-macros", version= "0.4.2" } +pgx-utils = { path = "../pgx-utils", version= "0.4.2" } postgres = "0.19.2" -regex = "1.5.4" +regex = "1.5.5" serde = "1.0.136" serde_json = "1.0.79" shutdown_hooks = "0.1.0" -time = "0.3.7" +time = "0.3.9" eyre = "0.6.7" diff --git a/pgx-tests/src/framework.rs b/pgx-tests/src/framework.rs index eff1289bc..4c2b35633 100644 --- a/pgx-tests/src/framework.rs +++ b/pgx-tests/src/framework.rs @@ -1,5 +1,11 @@ -// Copyright 2020 ZomboDB, LLC . All rights reserved. Use of this source code is -// governed by the MIT license that can be found in the LICENSE file. +/* +Portions Copyright 2019-2021 ZomboDB, LLC. +Portions Copyright 2021-2022 Technology Concepts & Design, Inc. + +All rights reserved. + +Use of this source code is governed by the MIT license that can be found in the LICENSE file. +*/ use std::process::{Command, Stdio}; @@ -258,7 +264,7 @@ fn install_extension() -> eyre::Result<()> { .stdout(Stdio::inherit()) .stderr(Stdio::inherit()) .env("CARGO_TARGET_DIR", get_target_dir()?); - + if let Ok(manifest_path) = std::env::var("PGX_MANIFEST_PATH") { command.arg("--manifest-path"); command.arg(manifest_path); diff --git a/pgx-tests/src/lib.rs b/pgx-tests/src/lib.rs index a9974ef7d..c2cdc0dd5 100644 --- a/pgx-tests/src/lib.rs +++ b/pgx-tests/src/lib.rs @@ -1,5 +1,11 @@ -// Copyright 2020 ZomboDB, LLC . All rights reserved. Use of this source code is -// governed by the MIT license that can be found in the LICENSE file. +/* +Portions Copyright 2019-2021 ZomboDB, LLC. +Portions Copyright 2021-2022 Technology Concepts & Design, Inc. + +All rights reserved. + +Use of this source code is governed by the MIT license that can be found in the LICENSE file. +*/ mod framework; #[cfg(any(test, feature = "pg_test"))] diff --git a/pgx-tests/src/tests/aggregate_tests.rs b/pgx-tests/src/tests/aggregate_tests.rs index aca78b168..195173b60 100644 --- a/pgx-tests/src/tests/aggregate_tests.rs +++ b/pgx-tests/src/tests/aggregate_tests.rs @@ -1,3 +1,11 @@ +/* +Portions Copyright 2019-2021 ZomboDB, LLC. +Portions Copyright 2021-2022 Technology Concepts & Design, Inc. + +All rights reserved. + +Use of this source code is governed by the MIT license that can be found in the LICENSE file. +*/ use pgx::*; use serde::{Deserialize, Serialize}; use std::collections::HashSet; diff --git a/pgx-tests/src/tests/anyarray_tests.rs b/pgx-tests/src/tests/anyarray_tests.rs index df9e43924..2ac528e8e 100644 --- a/pgx-tests/src/tests/anyarray_tests.rs +++ b/pgx-tests/src/tests/anyarray_tests.rs @@ -1,5 +1,11 @@ -// Copyright 2020 ZomboDB, LLC . All rights reserved. Use of this source code is -// governed by the MIT license that can be found in the LICENSE file. +/* +Portions Copyright 2019-2021 ZomboDB, LLC. +Portions Copyright 2021-2022 Technology Concepts & Design, Inc. + +All rights reserved. + +Use of this source code is governed by the MIT license that can be found in the LICENSE file. +*/ use pgx::*; diff --git a/pgx-tests/src/tests/array_tests.rs b/pgx-tests/src/tests/array_tests.rs index ed5a6cd9d..317f3182a 100644 --- a/pgx-tests/src/tests/array_tests.rs +++ b/pgx-tests/src/tests/array_tests.rs @@ -1,5 +1,11 @@ -// Copyright 2020 ZomboDB, LLC . All rights reserved. Use of this source code is -// governed by the MIT license that can be found in the LICENSE file. +/* +Portions Copyright 2019-2021 ZomboDB, LLC. +Portions Copyright 2021-2022 Technology Concepts & Design, Inc. + +All rights reserved. + +Use of this source code is governed by the MIT license that can be found in the LICENSE file. +*/ use pgx::*; use serde_json::*; diff --git a/pgx-tests/src/tests/bytea_tests.rs b/pgx-tests/src/tests/bytea_tests.rs index c70a003c0..8195c120b 100644 --- a/pgx-tests/src/tests/bytea_tests.rs +++ b/pgx-tests/src/tests/bytea_tests.rs @@ -1,5 +1,11 @@ -// Copyright 2020 ZomboDB, LLC . All rights reserved. Use of this source code is -// governed by the MIT license that can be found in the LICENSE file. +/* +Portions Copyright 2019-2021 ZomboDB, LLC. +Portions Copyright 2021-2022 Technology Concepts & Design, Inc. + +All rights reserved. + +Use of this source code is governed by the MIT license that can be found in the LICENSE file. +*/ #[cfg(any(test, feature = "pg_test"))] #[pgx::pg_schema] diff --git a/pgx-tests/src/tests/cfg_tests.rs b/pgx-tests/src/tests/cfg_tests.rs index 430645604..f9e9c8eb3 100644 --- a/pgx-tests/src/tests/cfg_tests.rs +++ b/pgx-tests/src/tests/cfg_tests.rs @@ -1,5 +1,11 @@ -// Copyright 2020 ZomboDB, LLC . All rights reserved. Use of this source code is -// governed by the MIT license that can be found in the LICENSE file. +/* +Portions Copyright 2019-2021 ZomboDB, LLC. +Portions Copyright 2021-2022 Technology Concepts & Design, Inc. + +All rights reserved. + +Use of this source code is governed by the MIT license that can be found in the LICENSE file. +*/ use pgx::*; #[cfg(any(test, feature = "pg_test"))] diff --git a/pgx-tests/src/tests/datetime_tests.rs b/pgx-tests/src/tests/datetime_tests.rs index 4a744ad70..5ab3b9e62 100644 --- a/pgx-tests/src/tests/datetime_tests.rs +++ b/pgx-tests/src/tests/datetime_tests.rs @@ -1,5 +1,11 @@ -// Copyright 2020 ZomboDB, LLC . All rights reserved. Use of this source code is -// governed by the MIT license that can be found in the LICENSE file. +/* +Portions Copyright 2019-2021 ZomboDB, LLC. +Portions Copyright 2021-2022 Technology Concepts & Design, Inc. + +All rights reserved. + +Use of this source code is governed by the MIT license that can be found in the LICENSE file. +*/ use pgx::*; use std::convert::TryFrom; diff --git a/pgx-tests/src/tests/default_arg_value_tests.rs b/pgx-tests/src/tests/default_arg_value_tests.rs index 690cf3204..e6ee15705 100644 --- a/pgx-tests/src/tests/default_arg_value_tests.rs +++ b/pgx-tests/src/tests/default_arg_value_tests.rs @@ -1,5 +1,11 @@ -// Copyright 2020 ZomboDB, LLC . All rights reserved. Use of this source code is -// governed by the MIT license that can be found in the LICENSE file. +/* +Portions Copyright 2019-2021 ZomboDB, LLC. +Portions Copyright 2021-2022 Technology Concepts & Design, Inc. + +All rights reserved. + +Use of this source code is governed by the MIT license that can be found in the LICENSE file. +*/ use pgx::*; diff --git a/pgx-tests/src/tests/derive_pgtype_lifetimes.rs b/pgx-tests/src/tests/derive_pgtype_lifetimes.rs index b57691233..2155cd6a8 100644 --- a/pgx-tests/src/tests/derive_pgtype_lifetimes.rs +++ b/pgx-tests/src/tests/derive_pgtype_lifetimes.rs @@ -1,5 +1,11 @@ -// Copyright 2020 ZomboDB, LLC . All rights reserved. Use of this source code is -// governed by the MIT license that can be found in the LICENSE file. +/* +Portions Copyright 2019-2021 ZomboDB, LLC. +Portions Copyright 2021-2022 Technology Concepts & Design, Inc. + +All rights reserved. + +Use of this source code is governed by the MIT license that can be found in the LICENSE file. +*/ #![allow(dead_code)] /// the purpose of this test is to just make sure this code compiles! diff --git a/pgx-tests/src/tests/enum_type_tests.rs b/pgx-tests/src/tests/enum_type_tests.rs index 9b2d92a48..f125520fa 100644 --- a/pgx-tests/src/tests/enum_type_tests.rs +++ b/pgx-tests/src/tests/enum_type_tests.rs @@ -1,5 +1,11 @@ -// Copyright 2020 ZomboDB, LLC . All rights reserved. Use of this source code is -// governed by the MIT license that can be found in the LICENSE file. +/* +Portions Copyright 2019-2021 ZomboDB, LLC. +Portions Copyright 2021-2022 Technology Concepts & Design, Inc. + +All rights reserved. + +Use of this source code is governed by the MIT license that can be found in the LICENSE file. +*/ use pgx::*; diff --git a/pgx-tests/src/tests/fcinfo_tests.rs b/pgx-tests/src/tests/fcinfo_tests.rs index e909042b9..e1944e1bd 100644 --- a/pgx-tests/src/tests/fcinfo_tests.rs +++ b/pgx-tests/src/tests/fcinfo_tests.rs @@ -1,5 +1,11 @@ -// Copyright 2020 ZomboDB, LLC . All rights reserved. Use of this source code is -// governed by the MIT license that can be found in the LICENSE file. +/* +Portions Copyright 2019-2021 ZomboDB, LLC. +Portions Copyright 2021-2022 Technology Concepts & Design, Inc. + +All rights reserved. + +Use of this source code is governed by the MIT license that can be found in the LICENSE file. +*/ use pgx::*; diff --git a/pgx-tests/src/tests/guc_tests.rs b/pgx-tests/src/tests/guc_tests.rs index 66bd87203..e67a21166 100644 --- a/pgx-tests/src/tests/guc_tests.rs +++ b/pgx-tests/src/tests/guc_tests.rs @@ -1,5 +1,11 @@ -// Copyright 2020 ZomboDB, LLC . All rights reserved. Use of this source code is -// governed by the MIT license that can be found in the LICENSE file. +/* +Portions Copyright 2019-2021 ZomboDB, LLC. +Portions Copyright 2021-2022 Technology Concepts & Design, Inc. + +All rights reserved. + +Use of this source code is governed by the MIT license that can be found in the LICENSE file. +*/ #[cfg(any(test, feature = "pg_test"))] #[pgx::pg_schema] diff --git a/pgx-tests/src/tests/hooks_tests.rs b/pgx-tests/src/tests/hooks_tests.rs index d3240ac66..76af18175 100644 --- a/pgx-tests/src/tests/hooks_tests.rs +++ b/pgx-tests/src/tests/hooks_tests.rs @@ -1,5 +1,11 @@ -// Copyright 2020 ZomboDB, LLC . All rights reserved. Use of this source code is -// governed by the MIT license that can be found in the LICENSE file. +/* +Portions Copyright 2019-2021 ZomboDB, LLC. +Portions Copyright 2021-2022 Technology Concepts & Design, Inc. + +All rights reserved. + +Use of this source code is governed by the MIT license that can be found in the LICENSE file. +*/ #[cfg(any(test, feature = "pg_test"))] #[pgx::pg_schema] diff --git a/pgx-tests/src/tests/inet_tests.rs b/pgx-tests/src/tests/inet_tests.rs index d68a09342..ec2cbddb7 100644 --- a/pgx-tests/src/tests/inet_tests.rs +++ b/pgx-tests/src/tests/inet_tests.rs @@ -1,5 +1,11 @@ -// Copyright 2020 ZomboDB, LLC . All rights reserved. Use of this source code is -// governed by the MIT license that can be found in the LICENSE file. +/* +Portions Copyright 2019-2021 ZomboDB, LLC. +Portions Copyright 2021-2022 Technology Concepts & Design, Inc. + +All rights reserved. + +Use of this source code is governed by the MIT license that can be found in the LICENSE file. +*/ #[cfg(any(test, feature = "pg_test"))] #[pgx::pg_schema] diff --git a/pgx-tests/src/tests/internal_tests.rs b/pgx-tests/src/tests/internal_tests.rs index ab8c77a77..aac5dede8 100644 --- a/pgx-tests/src/tests/internal_tests.rs +++ b/pgx-tests/src/tests/internal_tests.rs @@ -1,3 +1,11 @@ +/* +Portions Copyright 2019-2021 ZomboDB, LLC. +Portions Copyright 2021-2022 Technology Concepts & Design, Inc. + +All rights reserved. + +Use of this source code is governed by the MIT license that can be found in the LICENSE file. +*/ #[cfg(any(test, feature = "pg_test"))] #[pgx::pg_schema] mod tests { diff --git a/pgx-tests/src/tests/json_tests.rs b/pgx-tests/src/tests/json_tests.rs index 28d94d6c3..784b04650 100644 --- a/pgx-tests/src/tests/json_tests.rs +++ b/pgx-tests/src/tests/json_tests.rs @@ -1,5 +1,11 @@ -// Copyright 2020 ZomboDB, LLC . All rights reserved. Use of this source code is -// governed by the MIT license that can be found in the LICENSE file. +/* +Portions Copyright 2019-2021 ZomboDB, LLC. +Portions Copyright 2021-2022 Technology Concepts & Design, Inc. + +All rights reserved. + +Use of this source code is governed by the MIT license that can be found in the LICENSE file. +*/ #[cfg(any(test, feature = "pg_test"))] #[pgx::pg_schema] diff --git a/pgx-tests/src/tests/lifetime_tests.rs b/pgx-tests/src/tests/lifetime_tests.rs index 7fb28d3aa..9668a43c2 100644 --- a/pgx-tests/src/tests/lifetime_tests.rs +++ b/pgx-tests/src/tests/lifetime_tests.rs @@ -1,3 +1,11 @@ +/* +Portions Copyright 2019-2021 ZomboDB, LLC. +Portions Copyright 2021-2022 Technology Concepts & Design, Inc. + +All rights reserved. + +Use of this source code is governed by the MIT license that can be found in the LICENSE file. +*/ //! This file exists just to ensure the code within compiles use pgx::*; use serde::{Deserialize, Serialize}; diff --git a/pgx-tests/src/tests/log_tests.rs b/pgx-tests/src/tests/log_tests.rs index bbc9d8836..afadcc5ce 100644 --- a/pgx-tests/src/tests/log_tests.rs +++ b/pgx-tests/src/tests/log_tests.rs @@ -1,5 +1,11 @@ -// Copyright 2020 ZomboDB, LLC . All rights reserved. Use of this source code is -// governed by the MIT license that can be found in the LICENSE file. +/* +Portions Copyright 2019-2021 ZomboDB, LLC. +Portions Copyright 2021-2022 Technology Concepts & Design, Inc. + +All rights reserved. + +Use of this source code is governed by the MIT license that can be found in the LICENSE file. +*/ #[cfg(any(test, feature = "pg_test"))] #[pgx::pg_schema] diff --git a/pgx-tests/src/tests/memcxt_tests.rs b/pgx-tests/src/tests/memcxt_tests.rs index 7748ea0f0..fbd2fd4ab 100644 --- a/pgx-tests/src/tests/memcxt_tests.rs +++ b/pgx-tests/src/tests/memcxt_tests.rs @@ -1,5 +1,11 @@ -// Copyright 2020 ZomboDB, LLC . All rights reserved. Use of this source code is -// governed by the MIT license that can be found in the LICENSE file. +/* +Portions Copyright 2019-2021 ZomboDB, LLC. +Portions Copyright 2021-2022 Technology Concepts & Design, Inc. + +All rights reserved. + +Use of this source code is governed by the MIT license that can be found in the LICENSE file. +*/ #[cfg(any(test, feature = "pg_test"))] #[pgx::pg_schema] diff --git a/pgx-tests/src/tests/mod.rs b/pgx-tests/src/tests/mod.rs index 56b0f71f4..efcdf86b2 100644 --- a/pgx-tests/src/tests/mod.rs +++ b/pgx-tests/src/tests/mod.rs @@ -1,5 +1,11 @@ -// Copyright 2020 ZomboDB, LLC . All rights reserved. Use of this source code is -// governed by the MIT license that can be found in the LICENSE file. +/* +Portions Copyright 2019-2021 ZomboDB, LLC. +Portions Copyright 2021-2022 Technology Concepts & Design, Inc. + +All rights reserved. + +Use of this source code is governed by the MIT license that can be found in the LICENSE file. +*/ mod aggregate_tests; mod anyarray_tests; diff --git a/pgx-tests/src/tests/name_tests.rs b/pgx-tests/src/tests/name_tests.rs index 41f600a19..25072cffd 100644 --- a/pgx-tests/src/tests/name_tests.rs +++ b/pgx-tests/src/tests/name_tests.rs @@ -1,3 +1,11 @@ +/* +Portions Copyright 2019-2021 ZomboDB, LLC. +Portions Copyright 2021-2022 Technology Concepts & Design, Inc. + +All rights reserved. + +Use of this source code is governed by the MIT license that can be found in the LICENSE file. +*/ use pgx::*; #[pg_extern(name = "renamed_func")] diff --git a/pgx-tests/src/tests/numeric_tests.rs b/pgx-tests/src/tests/numeric_tests.rs index 0c20fecc4..117244d63 100644 --- a/pgx-tests/src/tests/numeric_tests.rs +++ b/pgx-tests/src/tests/numeric_tests.rs @@ -1,5 +1,11 @@ -// Copyright 2020 ZomboDB, LLC . All rights reserved. Use of this source code is -// governed by the MIT license that can be found in the LICENSE file. +/* +Portions Copyright 2019-2021 ZomboDB, LLC. +Portions Copyright 2021-2022 Technology Concepts & Design, Inc. + +All rights reserved. + +Use of this source code is governed by the MIT license that can be found in the LICENSE file. +*/ #[cfg(any(test, feature = "pg_test"))] #[pgx::pg_schema] diff --git a/pgx-tests/src/tests/pg_extern_tests.rs b/pgx-tests/src/tests/pg_extern_tests.rs index cddcde9ea..d1ed30305 100644 --- a/pgx-tests/src/tests/pg_extern_tests.rs +++ b/pgx-tests/src/tests/pg_extern_tests.rs @@ -1,5 +1,11 @@ -// Copyright 2020 ZomboDB, LLC . All rights reserved. Use of this source code is -// governed by the MIT license that can be found in the LICENSE file. +/* +Portions Copyright 2019-2021 ZomboDB, LLC. +Portions Copyright 2021-2022 Technology Concepts & Design, Inc. + +All rights reserved. + +Use of this source code is governed by the MIT license that can be found in the LICENSE file. +*/ use pgx::*; diff --git a/pgx-tests/src/tests/pg_try_tests.rs b/pgx-tests/src/tests/pg_try_tests.rs index efff8d34f..7e4bf877e 100644 --- a/pgx-tests/src/tests/pg_try_tests.rs +++ b/pgx-tests/src/tests/pg_try_tests.rs @@ -1,5 +1,11 @@ -// Copyright 2020 ZomboDB, LLC . All rights reserved. Use of this source code is -// governed by the MIT license that can be found in the LICENSE file. +/* +Portions Copyright 2019-2021 ZomboDB, LLC. +Portions Copyright 2021-2022 Technology Concepts & Design, Inc. + +All rights reserved. + +Use of this source code is governed by the MIT license that can be found in the LICENSE file. +*/ use pgx::*; diff --git a/pgx-tests/src/tests/pgbox_tests.rs b/pgx-tests/src/tests/pgbox_tests.rs index d4909b9f0..8f03b594f 100644 --- a/pgx-tests/src/tests/pgbox_tests.rs +++ b/pgx-tests/src/tests/pgbox_tests.rs @@ -1,3 +1,11 @@ +/* +Portions Copyright 2019-2021 ZomboDB, LLC. +Portions Copyright 2021-2022 Technology Concepts & Design, Inc. + +All rights reserved. + +Use of this source code is governed by the MIT license that can be found in the LICENSE file. +*/ #[cfg(any(test, feature = "pg_test"))] #[pgx::pg_schema] mod tests { diff --git a/pgx-tests/src/tests/postgres_type_tests.rs b/pgx-tests/src/tests/postgres_type_tests.rs index c5cc3e07b..13bea5019 100644 --- a/pgx-tests/src/tests/postgres_type_tests.rs +++ b/pgx-tests/src/tests/postgres_type_tests.rs @@ -1,3 +1,11 @@ +/* +Portions Copyright 2019-2021 ZomboDB, LLC. +Portions Copyright 2021-2022 Technology Concepts & Design, Inc. + +All rights reserved. + +Use of this source code is governed by the MIT license that can be found in the LICENSE file. +*/ use pgx::cstr_core::CStr; use pgx::*; use serde::{Deserialize, Serialize}; diff --git a/pgx-tests/src/tests/schema_tests.rs b/pgx-tests/src/tests/schema_tests.rs index ade407b1b..258f6cb0f 100644 --- a/pgx-tests/src/tests/schema_tests.rs +++ b/pgx-tests/src/tests/schema_tests.rs @@ -1,5 +1,11 @@ -// Copyright 2020 ZomboDB, LLC . All rights reserved. Use of this source code is -// governed by the MIT license that can be found in the LICENSE file. +/* +Portions Copyright 2019-2021 ZomboDB, LLC. +Portions Copyright 2021-2022 Technology Concepts & Design, Inc. + +All rights reserved. + +Use of this source code is governed by the MIT license that can be found in the LICENSE file. +*/ use pgx::*; #[pgx::pg_schema] diff --git a/pgx-tests/src/tests/spi_tests.rs b/pgx-tests/src/tests/spi_tests.rs index de5af85f8..ee0219eb2 100644 --- a/pgx-tests/src/tests/spi_tests.rs +++ b/pgx-tests/src/tests/spi_tests.rs @@ -1,5 +1,11 @@ -// Copyright 2020 ZomboDB, LLC . All rights reserved. Use of this source code is -// governed by the MIT license that can be found in the LICENSE file. +/* +Portions Copyright 2019-2021 ZomboDB, LLC. +Portions Copyright 2021-2022 Technology Concepts & Design, Inc. + +All rights reserved. + +Use of this source code is governed by the MIT license that can be found in the LICENSE file. +*/ #[cfg(any(test, feature = "pg_test"))] #[pgx::pg_schema] diff --git a/pgx-tests/src/tests/srf_tests.rs b/pgx-tests/src/tests/srf_tests.rs index e589e0584..d7edc6b5b 100644 --- a/pgx-tests/src/tests/srf_tests.rs +++ b/pgx-tests/src/tests/srf_tests.rs @@ -1,5 +1,11 @@ -// Copyright 2020 ZomboDB, LLC . All rights reserved. Use of this source code is -// governed by the MIT license that can be found in the LICENSE file. +/* +Portions Copyright 2019-2021 ZomboDB, LLC. +Portions Copyright 2021-2022 Technology Concepts & Design, Inc. + +All rights reserved. + +Use of this source code is governed by the MIT license that can be found in the LICENSE file. +*/ use pgx::*; diff --git a/pgx-tests/src/tests/struct_type_tests.rs b/pgx-tests/src/tests/struct_type_tests.rs index f6a992ecd..ee8e4ffee 100644 --- a/pgx-tests/src/tests/struct_type_tests.rs +++ b/pgx-tests/src/tests/struct_type_tests.rs @@ -1,5 +1,11 @@ -// Copyright 2020 ZomboDB, LLC . All rights reserved. Use of this source code is -// governed by the MIT license that can be found in the LICENSE file. +/* +Portions Copyright 2019-2021 ZomboDB, LLC. +Portions Copyright 2021-2022 Technology Concepts & Design, Inc. + +All rights reserved. + +Use of this source code is governed by the MIT license that can be found in the LICENSE file. +*/ use pgx::stringinfo::StringInfo; use pgx::*; diff --git a/pgx-tests/src/tests/uuid_tests.rs b/pgx-tests/src/tests/uuid_tests.rs index b37bd4c63..9b7506798 100644 --- a/pgx-tests/src/tests/uuid_tests.rs +++ b/pgx-tests/src/tests/uuid_tests.rs @@ -1,3 +1,11 @@ +/* +Portions Copyright 2019-2021 ZomboDB, LLC. +Portions Copyright 2021-2022 Technology Concepts & Design, Inc. + +All rights reserved. + +Use of this source code is governed by the MIT license that can be found in the LICENSE file. +*/ use pgx::*; pub const TEST_UUID_V4: UuidBytes = [ diff --git a/pgx-tests/src/tests/variadic_tests.rs b/pgx-tests/src/tests/variadic_tests.rs index da8774bd8..4ddbfd5d5 100644 --- a/pgx-tests/src/tests/variadic_tests.rs +++ b/pgx-tests/src/tests/variadic_tests.rs @@ -1,5 +1,11 @@ -// Copyright 2020 ZomboDB, LLC . All rights reserved. Use of this source code is -// governed by the MIT license that can be found in the LICENSE file. +/* +Portions Copyright 2019-2021 ZomboDB, LLC. +Portions Copyright 2021-2022 Technology Concepts & Design, Inc. + +All rights reserved. + +Use of this source code is governed by the MIT license that can be found in the LICENSE file. +*/ #[pgx::pg_schema] mod test { diff --git a/pgx-tests/src/tests/xact_callback_tests.rs b/pgx-tests/src/tests/xact_callback_tests.rs index e988d555e..e7d2da753 100644 --- a/pgx-tests/src/tests/xact_callback_tests.rs +++ b/pgx-tests/src/tests/xact_callback_tests.rs @@ -1,5 +1,11 @@ -// Copyright 2020 ZomboDB, LLC . All rights reserved. Use of this source code is -// governed by the MIT license that can be found in the LICENSE file. +/* +Portions Copyright 2019-2021 ZomboDB, LLC. +Portions Copyright 2021-2022 Technology Concepts & Design, Inc. + +All rights reserved. + +Use of this source code is governed by the MIT license that can be found in the LICENSE file. +*/ #[cfg(any(test, feature = "pg_test"))] #[pgx::pg_schema] diff --git a/pgx-tests/src/tests/xid64_tests.rs b/pgx-tests/src/tests/xid64_tests.rs index d56b6d065..eee8ff9fe 100644 --- a/pgx-tests/src/tests/xid64_tests.rs +++ b/pgx-tests/src/tests/xid64_tests.rs @@ -1,5 +1,11 @@ -// Copyright 2020 ZomboDB, LLC . All rights reserved. Use of this source code is -// governed by the MIT license that can be found in the LICENSE file. +/* +Portions Copyright 2019-2021 ZomboDB, LLC. +Portions Copyright 2021-2022 Technology Concepts & Design, Inc. + +All rights reserved. + +Use of this source code is governed by the MIT license that can be found in the LICENSE file. +*/ #[cfg(any(test, feature = "pg_test"))] #[pgx::pg_schema] diff --git a/pgx-utils/Cargo.toml b/pgx-utils/Cargo.toml index 767321c28..0b57b607f 100644 --- a/pgx-utils/Cargo.toml +++ b/pgx-utils/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "pgx-utils" -version = "0.4.1" +version = "0.4.2" authors = ["ZomboDB, LLC "] license = "MIT" description = "Utility functions for 'pgx'" @@ -11,27 +11,27 @@ readme = "README.md" edition = "2021" [dependencies] -atty = "0.2" -owo-colors = "3.2.0" +atty = "0.2.14" +owo-colors = "3.3.0" convert_case = "0.5.0" dirs = "4.0.0" env_proxy = "0.4.1" proc-macro2 = { version = "1.0.36", features = [ "span-locations" ] } -quote = "1.0.15" -regex = "1.5.4" +quote = "1.0.17" +regex = "1.5.5" rttp_client = "0.1.0" serde = { version = "1.0.136", features = [ "derive" ] } serde_derive = "1.0.136" serde-xml-rs = "0.5.1" serde_json = "1.0.79" -syn = { version = "1.0.86", features = [ "extra-traits", "full", "fold", "parsing" ] } -syntect = { version = "4.6", default-features = false, features = ["default-fancy"]} +syn = { version = "1.0.90", features = [ "extra-traits", "full", "fold", "parsing" ] } +syntect = { version = "4.6.0", default-features = false, features = ["default-fancy"] } toml = "0.5.8" unescape = "0.1.0" url = "2.2.2" eyre = "0.6.7" -tracing = "0.1.31" +tracing = "0.1.32" tracing-error = "0.2.0" tracing-subscriber = { version = "0.3.9", features = [ "env-filter" ] } petgraph = "0.6.0" -prettyplease = "0.1.7" +prettyplease = "0.1.9" diff --git a/pgx-utils/src/lib.rs b/pgx-utils/src/lib.rs index 7070c7217..14705dda0 100644 --- a/pgx-utils/src/lib.rs +++ b/pgx-utils/src/lib.rs @@ -1,5 +1,11 @@ -// Copyright 2020 ZomboDB, LLC . All rights reserved. Use of this source code is -// governed by the MIT license that can be found in the LICENSE file. +/* +Portions Copyright 2019-2021 ZomboDB, LLC. +Portions Copyright 2021-2022 Technology Concepts & Design, Inc. + +All rights reserved. + +Use of this source code is governed by the MIT license that can be found in the LICENSE file. +*/ use crate::{pg_config::PgConfig, sql_entity_graph::PositioningRef}; use eyre::{eyre, WrapErr}; diff --git a/pgx-utils/src/operator_common.rs b/pgx-utils/src/operator_common.rs index 663093c97..49878e32c 100644 --- a/pgx-utils/src/operator_common.rs +++ b/pgx-utils/src/operator_common.rs @@ -1,3 +1,11 @@ +/* +Portions Copyright 2019-2021 ZomboDB, LLC. +Portions Copyright 2021-2022 Technology Concepts & Design, Inc. + +All rights reserved. + +Use of this source code is governed by the MIT license that can be found in the LICENSE file. +*/ use proc_macro2::Ident; use quote::quote; diff --git a/pgx-utils/src/pg_config.rs b/pgx-utils/src/pg_config.rs index 8c7ae82c1..3d5456a0e 100644 --- a/pgx-utils/src/pg_config.rs +++ b/pgx-utils/src/pg_config.rs @@ -1,3 +1,11 @@ +/* +Portions Copyright 2019-2021 ZomboDB, LLC. +Portions Copyright 2021-2022 Technology Concepts & Design, Inc. + +All rights reserved. + +Use of this source code is governed by the MIT license that can be found in the LICENSE file. +*/ //! Wrapper around Postgres' `pg_config` command-line tool use eyre::{eyre, WrapErr}; use owo_colors::OwoColorize; diff --git a/pgx-utils/src/pgx_pg_sys_stub/mod.rs b/pgx-utils/src/pgx_pg_sys_stub/mod.rs index d94060de6..3fc0ca25b 100644 --- a/pgx-utils/src/pgx_pg_sys_stub/mod.rs +++ b/pgx-utils/src/pgx_pg_sys_stub/mod.rs @@ -1,3 +1,11 @@ +/* +Portions Copyright 2019-2021 ZomboDB, LLC. +Portions Copyright 2021-2022 Technology Concepts & Design, Inc. + +All rights reserved. + +Use of this source code is governed by the MIT license that can be found in the LICENSE file. +*/ use std::{collections::HashSet, fs::File, io::Write, path::Path}; use syn::{parse_quote, Ident, Item}; diff --git a/pgx-utils/src/sql_entity_graph/aggregate/aggregate_type.rs b/pgx-utils/src/sql_entity_graph/aggregate/aggregate_type.rs index b26eed6e4..eb20779ca 100644 --- a/pgx-utils/src/sql_entity_graph/aggregate/aggregate_type.rs +++ b/pgx-utils/src/sql_entity_graph/aggregate/aggregate_type.rs @@ -1,3 +1,11 @@ +/* +Portions Copyright 2019-2021 ZomboDB, LLC. +Portions Copyright 2021-2022 Technology Concepts & Design, Inc. + +All rights reserved. + +Use of this source code is governed by the MIT license that can be found in the LICENSE file. +*/ use super::get_pgx_attr_macro; use crate::sql_entity_graph::NameMacro; diff --git a/pgx-utils/src/sql_entity_graph/aggregate/entity.rs b/pgx-utils/src/sql_entity_graph/aggregate/entity.rs index 098d28480..64cd1f5a7 100644 --- a/pgx-utils/src/sql_entity_graph/aggregate/entity.rs +++ b/pgx-utils/src/sql_entity_graph/aggregate/entity.rs @@ -1,3 +1,11 @@ +/* +Portions Copyright 2019-2021 ZomboDB, LLC. +Portions Copyright 2021-2022 Technology Concepts & Design, Inc. + +All rights reserved. + +Use of this source code is governed by the MIT license that can be found in the LICENSE file. +*/ use crate::sql_entity_graph::{ aggregate::options::{FinalizeModify, ParallelOption}, pgx_sql::PgxSql, diff --git a/pgx-utils/src/sql_entity_graph/aggregate/maybe_variadic_type.rs b/pgx-utils/src/sql_entity_graph/aggregate/maybe_variadic_type.rs index 711913648..22847686c 100644 --- a/pgx-utils/src/sql_entity_graph/aggregate/maybe_variadic_type.rs +++ b/pgx-utils/src/sql_entity_graph/aggregate/maybe_variadic_type.rs @@ -1,3 +1,11 @@ +/* +Portions Copyright 2019-2021 ZomboDB, LLC. +Portions Copyright 2021-2022 Technology Concepts & Design, Inc. + +All rights reserved. + +Use of this source code is governed by the MIT license that can be found in the LICENSE file. +*/ use super::get_pgx_attr_macro; use crate::sql_entity_graph::pg_extern::NameMacro; diff --git a/pgx-utils/src/sql_entity_graph/aggregate/mod.rs b/pgx-utils/src/sql_entity_graph/aggregate/mod.rs index b9b633ce8..49b4f7fb9 100644 --- a/pgx-utils/src/sql_entity_graph/aggregate/mod.rs +++ b/pgx-utils/src/sql_entity_graph/aggregate/mod.rs @@ -1,3 +1,11 @@ +/* +Portions Copyright 2019-2021 ZomboDB, LLC. +Portions Copyright 2021-2022 Technology Concepts & Design, Inc. + +All rights reserved. + +Use of this source code is governed by the MIT license that can be found in the LICENSE file. +*/ mod aggregate_type; pub(crate) mod entity; mod maybe_variadic_type; diff --git a/pgx-utils/src/sql_entity_graph/aggregate/options.rs b/pgx-utils/src/sql_entity_graph/aggregate/options.rs index 67a3e13c8..c77208bf8 100644 --- a/pgx-utils/src/sql_entity_graph/aggregate/options.rs +++ b/pgx-utils/src/sql_entity_graph/aggregate/options.rs @@ -1,3 +1,11 @@ +/* +Portions Copyright 2019-2021 ZomboDB, LLC. +Portions Copyright 2021-2022 Technology Concepts & Design, Inc. + +All rights reserved. + +Use of this source code is governed by the MIT license that can be found in the LICENSE file. +*/ use crate::sql_entity_graph::{PgxSql, ToSql}; /// Corresponds to the `PARALLEL` and `MFINALFUNC_MODIFY` in [`CREATE AGGREGATE`](https://www.postgresql.org/docs/current/sql-createaggregate.html). diff --git a/pgx-utils/src/sql_entity_graph/control_file.rs b/pgx-utils/src/sql_entity_graph/control_file.rs index 0410b539c..c854e89a1 100644 --- a/pgx-utils/src/sql_entity_graph/control_file.rs +++ b/pgx-utils/src/sql_entity_graph/control_file.rs @@ -1,3 +1,11 @@ +/* +Portions Copyright 2019-2021 ZomboDB, LLC. +Portions Copyright 2021-2022 Technology Concepts & Design, Inc. + +All rights reserved. + +Use of this source code is governed by the MIT license that can be found in the LICENSE file. +*/ use super::{SqlGraphEntity, SqlGraphIdentifier, ToSql}; use core::convert::TryFrom; use std::collections::HashMap; diff --git a/pgx-utils/src/sql_entity_graph/extension_sql/entity.rs b/pgx-utils/src/sql_entity_graph/extension_sql/entity.rs index cc751d5d1..ca89022dc 100644 --- a/pgx-utils/src/sql_entity_graph/extension_sql/entity.rs +++ b/pgx-utils/src/sql_entity_graph/extension_sql/entity.rs @@ -1,3 +1,11 @@ +/* +Portions Copyright 2019-2021 ZomboDB, LLC. +Portions Copyright 2021-2022 Technology Concepts & Design, Inc. + +All rights reserved. + +Use of this source code is governed by the MIT license that can be found in the LICENSE file. +*/ use crate::sql_entity_graph::{ extension_sql::SqlDeclared, pgx_sql::PgxSql, positioning_ref::PositioningRef, to_sql::ToSql, SqlGraphEntity, SqlGraphIdentifier, diff --git a/pgx-utils/src/sql_entity_graph/extension_sql/mod.rs b/pgx-utils/src/sql_entity_graph/extension_sql/mod.rs index e3933ede2..f2d704972 100644 --- a/pgx-utils/src/sql_entity_graph/extension_sql/mod.rs +++ b/pgx-utils/src/sql_entity_graph/extension_sql/mod.rs @@ -1,3 +1,11 @@ +/* +Portions Copyright 2019-2021 ZomboDB, LLC. +Portions Copyright 2021-2022 Technology Concepts & Design, Inc. + +All rights reserved. + +Use of this source code is governed by the MIT license that can be found in the LICENSE file. +*/ pub mod entity; use crate::sql_entity_graph::positioning_ref::PositioningRef; diff --git a/pgx-utils/src/sql_entity_graph/mapping.rs b/pgx-utils/src/sql_entity_graph/mapping.rs index 4a177a9fa..d44f15c9c 100644 --- a/pgx-utils/src/sql_entity_graph/mapping.rs +++ b/pgx-utils/src/sql_entity_graph/mapping.rs @@ -1,3 +1,11 @@ +/* +Portions Copyright 2019-2021 ZomboDB, LLC. +Portions Copyright 2021-2022 Technology Concepts & Design, Inc. + +All rights reserved. + +Use of this source code is governed by the MIT license that can be found in the LICENSE file. +*/ use core::any::TypeId; /// A mapping from a Rust type to a SQL type, with a `TypeId`. diff --git a/pgx-utils/src/sql_entity_graph/mod.rs b/pgx-utils/src/sql_entity_graph/mod.rs index c693a75fd..107f3b71b 100644 --- a/pgx-utils/src/sql_entity_graph/mod.rs +++ b/pgx-utils/src/sql_entity_graph/mod.rs @@ -1,3 +1,11 @@ +/* +Portions Copyright 2019-2021 ZomboDB, LLC. +Portions Copyright 2021-2022 Technology Concepts & Design, Inc. + +All rights reserved. + +Use of this source code is governed by the MIT license that can be found in the LICENSE file. +*/ pub(crate) mod aggregate; pub(crate) mod control_file; pub(crate) mod extension_sql; diff --git a/pgx-utils/src/sql_entity_graph/pg_extern/argument.rs b/pgx-utils/src/sql_entity_graph/pg_extern/argument.rs index 8c7a4f751..7a6017b04 100644 --- a/pgx-utils/src/sql_entity_graph/pg_extern/argument.rs +++ b/pgx-utils/src/sql_entity_graph/pg_extern/argument.rs @@ -1,3 +1,11 @@ +/* +Portions Copyright 2019-2021 ZomboDB, LLC. +Portions Copyright 2021-2022 Technology Concepts & Design, Inc. + +All rights reserved. + +Use of this source code is governed by the MIT license that can be found in the LICENSE file. +*/ use std::ops::Deref; use crate::anonymonize_lifetimes; diff --git a/pgx-utils/src/sql_entity_graph/pg_extern/attribute.rs b/pgx-utils/src/sql_entity_graph/pg_extern/attribute.rs index 10d8b9e43..120546f86 100644 --- a/pgx-utils/src/sql_entity_graph/pg_extern/attribute.rs +++ b/pgx-utils/src/sql_entity_graph/pg_extern/attribute.rs @@ -1,3 +1,11 @@ +/* +Portions Copyright 2019-2021 ZomboDB, LLC. +Portions Copyright 2021-2022 Technology Concepts & Design, Inc. + +All rights reserved. + +Use of this source code is governed by the MIT license that can be found in the LICENSE file. +*/ use crate::sql_entity_graph::{positioning_ref::PositioningRef, to_sql::ToSqlConfig}; use proc_macro2::{Span, TokenStream as TokenStream2}; use quote::{quote, ToTokens, TokenStreamExt}; diff --git a/pgx-utils/src/sql_entity_graph/pg_extern/entity/argument.rs b/pgx-utils/src/sql_entity_graph/pg_extern/entity/argument.rs index cdef27ccc..b3ee6e0f6 100644 --- a/pgx-utils/src/sql_entity_graph/pg_extern/entity/argument.rs +++ b/pgx-utils/src/sql_entity_graph/pg_extern/entity/argument.rs @@ -1,3 +1,11 @@ +/* +Portions Copyright 2019-2021 ZomboDB, LLC. +Portions Copyright 2021-2022 Technology Concepts & Design, Inc. + +All rights reserved. + +Use of this source code is governed by the MIT license that can be found in the LICENSE file. +*/ use crate::sql_entity_graph::SqlGraphIdentifier; /// The output of a [`PgExternArgument`](crate::sql_entity_graph::PgExternArgument) from `quote::ToTokens::to_tokens`. diff --git a/pgx-utils/src/sql_entity_graph/pg_extern/entity/mod.rs b/pgx-utils/src/sql_entity_graph/pg_extern/entity/mod.rs index e4f0d315b..854c0fc2d 100644 --- a/pgx-utils/src/sql_entity_graph/pg_extern/entity/mod.rs +++ b/pgx-utils/src/sql_entity_graph/pg_extern/entity/mod.rs @@ -1,3 +1,11 @@ +/* +Portions Copyright 2019-2021 ZomboDB, LLC. +Portions Copyright 2021-2022 Technology Concepts & Design, Inc. + +All rights reserved. + +Use of this source code is governed by the MIT license that can be found in the LICENSE file. +*/ mod argument; mod operator; mod returning; diff --git a/pgx-utils/src/sql_entity_graph/pg_extern/entity/operator.rs b/pgx-utils/src/sql_entity_graph/pg_extern/entity/operator.rs index 9e68c9360..09e6a7912 100644 --- a/pgx-utils/src/sql_entity_graph/pg_extern/entity/operator.rs +++ b/pgx-utils/src/sql_entity_graph/pg_extern/entity/operator.rs @@ -1,3 +1,11 @@ +/* +Portions Copyright 2019-2021 ZomboDB, LLC. +Portions Copyright 2021-2022 Technology Concepts & Design, Inc. + +All rights reserved. + +Use of this source code is governed by the MIT license that can be found in the LICENSE file. +*/ use serde::{Deserialize, Serialize}; /// The output of a [`PgOperator`](crate::sql_entity_graph::PgOperator) from `quote::ToTokens::to_tokens`. diff --git a/pgx-utils/src/sql_entity_graph/pg_extern/entity/returning.rs b/pgx-utils/src/sql_entity_graph/pg_extern/entity/returning.rs index adc1395c2..db1c67c32 100644 --- a/pgx-utils/src/sql_entity_graph/pg_extern/entity/returning.rs +++ b/pgx-utils/src/sql_entity_graph/pg_extern/entity/returning.rs @@ -1,3 +1,11 @@ +/* +Portions Copyright 2019-2021 ZomboDB, LLC. +Portions Copyright 2021-2022 Technology Concepts & Design, Inc. + +All rights reserved. + +Use of this source code is governed by the MIT license that can be found in the LICENSE file. +*/ use core::any::TypeId; #[derive(Debug, Clone, Hash, PartialEq, Eq, PartialOrd, Ord)] diff --git a/pgx-utils/src/sql_entity_graph/pg_extern/mod.rs b/pgx-utils/src/sql_entity_graph/pg_extern/mod.rs index 65c8a115e..2b8836506 100644 --- a/pgx-utils/src/sql_entity_graph/pg_extern/mod.rs +++ b/pgx-utils/src/sql_entity_graph/pg_extern/mod.rs @@ -1,3 +1,11 @@ +/* +Portions Copyright 2019-2021 ZomboDB, LLC. +Portions Copyright 2021-2022 Technology Concepts & Design, Inc. + +All rights reserved. + +Use of this source code is governed by the MIT license that can be found in the LICENSE file. +*/ mod argument; mod attribute; pub mod entity; diff --git a/pgx-utils/src/sql_entity_graph/pg_extern/operator.rs b/pgx-utils/src/sql_entity_graph/pg_extern/operator.rs index a4e71f6ad..63975f172 100644 --- a/pgx-utils/src/sql_entity_graph/pg_extern/operator.rs +++ b/pgx-utils/src/sql_entity_graph/pg_extern/operator.rs @@ -1,3 +1,11 @@ +/* +Portions Copyright 2019-2021 ZomboDB, LLC. +Portions Copyright 2021-2022 Technology Concepts & Design, Inc. + +All rights reserved. + +Use of this source code is governed by the MIT license that can be found in the LICENSE file. +*/ use proc_macro2::TokenStream as TokenStream2; use quote::{quote, ToTokens, TokenStreamExt}; use syn::parse::{Parse, ParseBuffer}; diff --git a/pgx-utils/src/sql_entity_graph/pg_extern/returning.rs b/pgx-utils/src/sql_entity_graph/pg_extern/returning.rs index 8587fdde9..ed6b1dfc1 100644 --- a/pgx-utils/src/sql_entity_graph/pg_extern/returning.rs +++ b/pgx-utils/src/sql_entity_graph/pg_extern/returning.rs @@ -1,3 +1,11 @@ +/* +Portions Copyright 2019-2021 ZomboDB, LLC. +Portions Copyright 2021-2022 Technology Concepts & Design, Inc. + +All rights reserved. + +Use of this source code is governed by the MIT license that can be found in the LICENSE file. +*/ use crate::{anonymonize_lifetimes, anonymonize_lifetimes_in_type_path}; use eyre::eyre; use proc_macro2::{Ident, Span, TokenStream as TokenStream2}; diff --git a/pgx-utils/src/sql_entity_graph/pg_extern/search_path.rs b/pgx-utils/src/sql_entity_graph/pg_extern/search_path.rs index b087e1afb..6c2c5a449 100644 --- a/pgx-utils/src/sql_entity_graph/pg_extern/search_path.rs +++ b/pgx-utils/src/sql_entity_graph/pg_extern/search_path.rs @@ -1,3 +1,11 @@ +/* +Portions Copyright 2019-2021 ZomboDB, LLC. +Portions Copyright 2021-2022 Technology Concepts & Design, Inc. + +All rights reserved. + +Use of this source code is governed by the MIT license that can be found in the LICENSE file. +*/ use proc_macro2::TokenStream as TokenStream2; use quote::{quote, ToTokens}; use syn::{ diff --git a/pgx-utils/src/sql_entity_graph/pgx_attribute.rs b/pgx-utils/src/sql_entity_graph/pgx_attribute.rs index 3fcf3faee..1ae8be0a3 100644 --- a/pgx-utils/src/sql_entity_graph/pgx_attribute.rs +++ b/pgx-utils/src/sql_entity_graph/pgx_attribute.rs @@ -1,3 +1,11 @@ +/* +Portions Copyright 2019-2021 ZomboDB, LLC. +Portions Copyright 2021-2022 Technology Concepts & Design, Inc. + +All rights reserved. + +Use of this source code is governed by the MIT license that can be found in the LICENSE file. +*/ use syn::parse::{Parse, ParseStream}; use syn::{parenthesized, punctuated::Punctuated}; use syn::{token, Token}; diff --git a/pgx-utils/src/sql_entity_graph/pgx_sql.rs b/pgx-utils/src/sql_entity_graph/pgx_sql.rs index 163de5dfe..94302ea01 100644 --- a/pgx-utils/src/sql_entity_graph/pgx_sql.rs +++ b/pgx-utils/src/sql_entity_graph/pgx_sql.rs @@ -1,9 +1,17 @@ +/* +Portions Copyright 2019-2021 ZomboDB, LLC. +Portions Copyright 2021-2022 Technology Concepts & Design, Inc. + +All rights reserved. + +Use of this source code is governed by the MIT license that can be found in the LICENSE file. +*/ use eyre::{eyre, WrapErr}; use std::{any::TypeId, collections::HashMap, fmt::Debug, path::Path}; +use owo_colors::{OwoColorize, XtermColors}; use petgraph::{dot::Dot, graph::NodeIndex, stable_graph::StableGraph}; use tracing::instrument; -use owo_colors::{OwoColorize, XtermColors}; use crate::sql_entity_graph::{ aggregate::entity::PgAggregateEntity, @@ -271,7 +279,11 @@ impl PgxSql { if style.foreground.a == 0x01 { write!(*out, "{}", content)?; } else { - write!(*out, "{}", content.color(XtermColors::from(style.foreground.r)))?; + write!( + *out, + "{}", + content.color(XtermColors::from(style.foreground.r)) + )?; } } write!(*out, "\x1b[0m")?; diff --git a/pgx-utils/src/sql_entity_graph/positioning_ref.rs b/pgx-utils/src/sql_entity_graph/positioning_ref.rs index 662023e27..ff292db2d 100644 --- a/pgx-utils/src/sql_entity_graph/positioning_ref.rs +++ b/pgx-utils/src/sql_entity_graph/positioning_ref.rs @@ -1,3 +1,11 @@ +/* +Portions Copyright 2019-2021 ZomboDB, LLC. +Portions Copyright 2021-2022 Technology Concepts & Design, Inc. + +All rights reserved. + +Use of this source code is governed by the MIT license that can be found in the LICENSE file. +*/ use quote::{quote, ToTokens}; use std::fmt::Display; use syn::parse::{Parse, ParseStream}; diff --git a/pgx-utils/src/sql_entity_graph/postgres_enum/entity.rs b/pgx-utils/src/sql_entity_graph/postgres_enum/entity.rs index cfe99f012..a43fd4bf8 100644 --- a/pgx-utils/src/sql_entity_graph/postgres_enum/entity.rs +++ b/pgx-utils/src/sql_entity_graph/postgres_enum/entity.rs @@ -1,3 +1,11 @@ +/* +Portions Copyright 2019-2021 ZomboDB, LLC. +Portions Copyright 2021-2022 Technology Concepts & Design, Inc. + +All rights reserved. + +Use of this source code is governed by the MIT license that can be found in the LICENSE file. +*/ use crate::sql_entity_graph::{ mapping::RustSqlMapping, pgx_sql::PgxSql, diff --git a/pgx-utils/src/sql_entity_graph/postgres_enum/mod.rs b/pgx-utils/src/sql_entity_graph/postgres_enum/mod.rs index 2b6fbd560..e16599bc3 100644 --- a/pgx-utils/src/sql_entity_graph/postgres_enum/mod.rs +++ b/pgx-utils/src/sql_entity_graph/postgres_enum/mod.rs @@ -1,3 +1,11 @@ +/* +Portions Copyright 2019-2021 ZomboDB, LLC. +Portions Copyright 2021-2022 Technology Concepts & Design, Inc. + +All rights reserved. + +Use of this source code is governed by the MIT license that can be found in the LICENSE file. +*/ pub mod entity; use crate::sql_entity_graph::ToSqlConfig; diff --git a/pgx-utils/src/sql_entity_graph/postgres_hash/entity.rs b/pgx-utils/src/sql_entity_graph/postgres_hash/entity.rs index 405dcef99..50ee16d39 100644 --- a/pgx-utils/src/sql_entity_graph/postgres_hash/entity.rs +++ b/pgx-utils/src/sql_entity_graph/postgres_hash/entity.rs @@ -1,3 +1,11 @@ +/* +Portions Copyright 2019-2021 ZomboDB, LLC. +Portions Copyright 2021-2022 Technology Concepts & Design, Inc. + +All rights reserved. + +Use of this source code is governed by the MIT license that can be found in the LICENSE file. +*/ use crate::sql_entity_graph::{ pgx_sql::PgxSql, to_sql::{entity::ToSqlConfigEntity, ToSql}, diff --git a/pgx-utils/src/sql_entity_graph/postgres_hash/mod.rs b/pgx-utils/src/sql_entity_graph/postgres_hash/mod.rs index bc02cfbea..a41943e1f 100644 --- a/pgx-utils/src/sql_entity_graph/postgres_hash/mod.rs +++ b/pgx-utils/src/sql_entity_graph/postgres_hash/mod.rs @@ -1,3 +1,11 @@ +/* +Portions Copyright 2019-2021 ZomboDB, LLC. +Portions Copyright 2021-2022 Technology Concepts & Design, Inc. + +All rights reserved. + +Use of this source code is governed by the MIT license that can be found in the LICENSE file. +*/ pub mod entity; use proc_macro2::{Span, TokenStream as TokenStream2}; diff --git a/pgx-utils/src/sql_entity_graph/postgres_ord/entity.rs b/pgx-utils/src/sql_entity_graph/postgres_ord/entity.rs index d81310736..857e8bf2e 100644 --- a/pgx-utils/src/sql_entity_graph/postgres_ord/entity.rs +++ b/pgx-utils/src/sql_entity_graph/postgres_ord/entity.rs @@ -1,3 +1,11 @@ +/* +Portions Copyright 2019-2021 ZomboDB, LLC. +Portions Copyright 2021-2022 Technology Concepts & Design, Inc. + +All rights reserved. + +Use of this source code is governed by the MIT license that can be found in the LICENSE file. +*/ use crate::sql_entity_graph::{ pgx_sql::PgxSql, to_sql::{entity::ToSqlConfigEntity, ToSql}, diff --git a/pgx-utils/src/sql_entity_graph/postgres_ord/mod.rs b/pgx-utils/src/sql_entity_graph/postgres_ord/mod.rs index e5b00ad95..1dc21292a 100644 --- a/pgx-utils/src/sql_entity_graph/postgres_ord/mod.rs +++ b/pgx-utils/src/sql_entity_graph/postgres_ord/mod.rs @@ -1,3 +1,11 @@ +/* +Portions Copyright 2019-2021 ZomboDB, LLC. +Portions Copyright 2021-2022 Technology Concepts & Design, Inc. + +All rights reserved. + +Use of this source code is governed by the MIT license that can be found in the LICENSE file. +*/ pub mod entity; use proc_macro2::{Span, TokenStream as TokenStream2}; diff --git a/pgx-utils/src/sql_entity_graph/postgres_type/entity.rs b/pgx-utils/src/sql_entity_graph/postgres_type/entity.rs index 2ff831305..a05218518 100644 --- a/pgx-utils/src/sql_entity_graph/postgres_type/entity.rs +++ b/pgx-utils/src/sql_entity_graph/postgres_type/entity.rs @@ -1,3 +1,11 @@ +/* +Portions Copyright 2019-2021 ZomboDB, LLC. +Portions Copyright 2021-2022 Technology Concepts & Design, Inc. + +All rights reserved. + +Use of this source code is governed by the MIT license that can be found in the LICENSE file. +*/ use crate::sql_entity_graph::{ mapping::RustSqlMapping, pgx_sql::PgxSql, diff --git a/pgx-utils/src/sql_entity_graph/postgres_type/mod.rs b/pgx-utils/src/sql_entity_graph/postgres_type/mod.rs index 9d7be6c08..07a99fdb6 100644 --- a/pgx-utils/src/sql_entity_graph/postgres_type/mod.rs +++ b/pgx-utils/src/sql_entity_graph/postgres_type/mod.rs @@ -1,3 +1,11 @@ +/* +Portions Copyright 2019-2021 ZomboDB, LLC. +Portions Copyright 2021-2022 Technology Concepts & Design, Inc. + +All rights reserved. + +Use of this source code is governed by the MIT license that can be found in the LICENSE file. +*/ pub mod entity; use proc_macro2::{Ident, Span, TokenStream as TokenStream2}; diff --git a/pgx-utils/src/sql_entity_graph/schema/entity.rs b/pgx-utils/src/sql_entity_graph/schema/entity.rs index 890ba3ef7..0488ef0a3 100644 --- a/pgx-utils/src/sql_entity_graph/schema/entity.rs +++ b/pgx-utils/src/sql_entity_graph/schema/entity.rs @@ -1,3 +1,11 @@ +/* +Portions Copyright 2019-2021 ZomboDB, LLC. +Portions Copyright 2021-2022 Technology Concepts & Design, Inc. + +All rights reserved. + +Use of this source code is governed by the MIT license that can be found in the LICENSE file. +*/ use crate::sql_entity_graph::{pgx_sql::PgxSql, to_sql::ToSql, SqlGraphEntity, SqlGraphIdentifier}; use std::cmp::Ordering; diff --git a/pgx-utils/src/sql_entity_graph/schema/mod.rs b/pgx-utils/src/sql_entity_graph/schema/mod.rs index a982ecd05..d48fcdc43 100644 --- a/pgx-utils/src/sql_entity_graph/schema/mod.rs +++ b/pgx-utils/src/sql_entity_graph/schema/mod.rs @@ -1,3 +1,11 @@ +/* +Portions Copyright 2019-2021 ZomboDB, LLC. +Portions Copyright 2021-2022 Technology Concepts & Design, Inc. + +All rights reserved. + +Use of this source code is governed by the MIT license that can be found in the LICENSE file. +*/ pub mod entity; use proc_macro2::{Span, TokenStream as TokenStream2}; diff --git a/pgx-utils/src/sql_entity_graph/to_sql/entity.rs b/pgx-utils/src/sql_entity_graph/to_sql/entity.rs index 9fbe6e66d..385a7f2b3 100644 --- a/pgx-utils/src/sql_entity_graph/to_sql/entity.rs +++ b/pgx-utils/src/sql_entity_graph/to_sql/entity.rs @@ -1,3 +1,11 @@ +/* +Portions Copyright 2019-2021 ZomboDB, LLC. +Portions Copyright 2021-2022 Technology Concepts & Design, Inc. + +All rights reserved. + +Use of this source code is governed by the MIT license that can be found in the LICENSE file. +*/ use crate::sql_entity_graph::{pgx_sql::PgxSql, to_sql::ToSqlFn, SqlGraphEntity}; /// Represents configuration options for tuning the SQL generator. diff --git a/pgx-utils/src/sql_entity_graph/to_sql/mod.rs b/pgx-utils/src/sql_entity_graph/to_sql/mod.rs index d49b27aca..97e994d54 100644 --- a/pgx-utils/src/sql_entity_graph/to_sql/mod.rs +++ b/pgx-utils/src/sql_entity_graph/to_sql/mod.rs @@ -1,3 +1,11 @@ +/* +Portions Copyright 2019-2021 ZomboDB, LLC. +Portions Copyright 2021-2022 Technology Concepts & Design, Inc. + +All rights reserved. + +Use of this source code is governed by the MIT license that can be found in the LICENSE file. +*/ pub mod entity; use std::hash::Hash; diff --git a/pgx/Cargo.toml b/pgx/Cargo.toml index a1a2f2a25..71e3afbdd 100644 --- a/pgx/Cargo.toml +++ b/pgx/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "pgx" -version = "0.4.1" +version = "0.4.2" authors = ["ZomboDB, LLC "] license = "MIT" description = "pgx: A Rust framework for creating Postgres extensions" @@ -34,20 +34,20 @@ cstr_core = "0.2.5" enum-primitive-derive = "0.2.2" num-traits = "0.2.14" seahash = "4.1.0" -pgx-macros = { path = "../pgx-macros/", version = "0.4.1" } -pgx-pg-sys = { path = "../pgx-pg-sys", version = "0.4.1" } -pgx-utils = { path = "../pgx-utils/", version = "0.4.1" } +pgx-macros = { path = "../pgx-macros/", version = "0.4.2" } +pgx-pg-sys = { path = "../pgx-pg-sys", version = "0.4.2" } +pgx-utils = { path = "../pgx-utils/", version = "0.4.2" } serde = { version = "1.0.136", features = [ "derive" ] } serde_cbor = "0.11.2" serde_json = "1.0.79" -time = { version = "0.3.7", features = ["formatting", "parsing", "alloc", "macros"] } +time = { version = "0.3.9", features = ["formatting", "parsing", "alloc", "macros"] } atomic-traits = "0.3.0" heapless = "0.7.10" hash32 = "0.2.1" uuid = { version = "0.8.2", features = [ "v4" ] } -once_cell = "1.9.0" +once_cell = "1.10.0" bitflags = "1.3.2" eyre = "0.6.7" -tracing = "0.1.31" +tracing = "0.1.32" tracing-error = "0.2.0" -quote = "1.0.15" +quote = "1.0.17" diff --git a/pgx/src/aggregate.rs b/pgx/src/aggregate.rs index ae35fc305..e63111b2e 100644 --- a/pgx/src/aggregate.rs +++ b/pgx/src/aggregate.rs @@ -1,3 +1,11 @@ +/* +Portions Copyright 2019-2021 ZomboDB, LLC. +Portions Copyright 2021-2022 Technology Concepts & Design, Inc. + +All rights reserved. + +Use of this source code is governed by the MIT license that can be found in the LICENSE file. +*/ /*! [Aggregate](https://www.postgresql.org/docs/current/xaggr.html) support. diff --git a/pgx/src/atomics.rs b/pgx/src/atomics.rs index d8213ef57..d2cc0c0b9 100644 --- a/pgx/src/atomics.rs +++ b/pgx/src/atomics.rs @@ -1,3 +1,11 @@ +/* +Portions Copyright 2019-2021 ZomboDB, LLC. +Portions Copyright 2021-2022 Technology Concepts & Design, Inc. + +All rights reserved. + +Use of this source code is governed by the MIT license that can be found in the LICENSE file. +*/ use once_cell::sync::OnceCell; pub struct PgAtomic { diff --git a/pgx/src/bgworkers.rs b/pgx/src/bgworkers.rs index 121b13455..b4ca78710 100644 --- a/pgx/src/bgworkers.rs +++ b/pgx/src/bgworkers.rs @@ -1,5 +1,11 @@ -// Copyright 2020 ZomboDB, LLC . All rights reserved. Use of this source code is -// governed by the MIT license that can be found in the LICENSE file. +/* +Portions Copyright 2019-2021 ZomboDB, LLC. +Portions Copyright 2021-2022 Technology Concepts & Design, Inc. + +All rights reserved. + +Use of this source code is governed by the MIT license that can be found in the LICENSE file. +*/ //! Safely create Postgres Background Workers, including with full SPI support //! diff --git a/pgx/src/callbacks.rs b/pgx/src/callbacks.rs index 453582e62..64866ff53 100644 --- a/pgx/src/callbacks.rs +++ b/pgx/src/callbacks.rs @@ -1,5 +1,11 @@ -// Copyright 2020 ZomboDB, LLC . All rights reserved. Use of this source code is -// governed by the MIT license that can be found in the LICENSE file. +/* +Portions Copyright 2019-2021 ZomboDB, LLC. +Portions Copyright 2021-2022 Technology Concepts & Design, Inc. + +All rights reserved. + +Use of this source code is governed by the MIT license that can be found in the LICENSE file. +*/ //! Provides safe wrappers around Postgres' "Transaction" and "Sub Transaction" hook system diff --git a/pgx/src/datum/anyarray.rs b/pgx/src/datum/anyarray.rs index 8abe5d1cf..12806bb1d 100644 --- a/pgx/src/datum/anyarray.rs +++ b/pgx/src/datum/anyarray.rs @@ -1,5 +1,11 @@ -// Copyright 2020 ZomboDB, LLC . All rights reserved. Use of this source code is -// governed by the MIT license that can be found in the LICENSE file. +/* +Portions Copyright 2019-2021 ZomboDB, LLC. +Portions Copyright 2021-2022 Technology Concepts & Design, Inc. + +All rights reserved. + +Use of this source code is governed by the MIT license that can be found in the LICENSE file. +*/ use crate::{pg_sys, FromDatum, IntoDatum}; diff --git a/pgx/src/datum/anyelement.rs b/pgx/src/datum/anyelement.rs index 48b91f52a..3e3cc4fc7 100644 --- a/pgx/src/datum/anyelement.rs +++ b/pgx/src/datum/anyelement.rs @@ -1,5 +1,11 @@ -// Copyright 2020 ZomboDB, LLC . All rights reserved. Use of this source code is -// governed by the MIT license that can be found in the LICENSE file. +/* +Portions Copyright 2019-2021 ZomboDB, LLC. +Portions Copyright 2021-2022 Technology Concepts & Design, Inc. + +All rights reserved. + +Use of this source code is governed by the MIT license that can be found in the LICENSE file. +*/ use crate::{pg_sys, FromDatum, IntoDatum}; diff --git a/pgx/src/datum/array.rs b/pgx/src/datum/array.rs index 5316292a7..16525f9a9 100644 --- a/pgx/src/datum/array.rs +++ b/pgx/src/datum/array.rs @@ -1,5 +1,11 @@ -// Copyright 2020 ZomboDB, LLC . All rights reserved. Use of this source code is -// governed by the MIT license that can be found in the LICENSE file. +/* +Portions Copyright 2019-2021 ZomboDB, LLC. +Portions Copyright 2021-2022 Technology Concepts & Design, Inc. + +All rights reserved. + +Use of this source code is governed by the MIT license that can be found in the LICENSE file. +*/ use crate::{pg_sys, void_mut_ptr, FromDatum, IntoDatum, PgMemoryContexts}; use serde::Serializer; diff --git a/pgx/src/datum/date.rs b/pgx/src/datum/date.rs index c3b3a489f..08983acef 100644 --- a/pgx/src/datum/date.rs +++ b/pgx/src/datum/date.rs @@ -1,5 +1,11 @@ -// Copyright 2020 ZomboDB, LLC . All rights reserved. Use of this source code is -// governed by the MIT license that can be found in the LICENSE file. +/* +Portions Copyright 2019-2021 ZomboDB, LLC. +Portions Copyright 2021-2022 Technology Concepts & Design, Inc. + +All rights reserved. + +Use of this source code is governed by the MIT license that can be found in the LICENSE file. +*/ use crate::{pg_sys, FromDatum, IntoDatum}; use std::ops::{Deref, DerefMut}; diff --git a/pgx/src/datum/from.rs b/pgx/src/datum/from.rs index 678fefa88..6b6f02e4f 100644 --- a/pgx/src/datum/from.rs +++ b/pgx/src/datum/from.rs @@ -1,5 +1,11 @@ -// Copyright 2020 ZomboDB, LLC . All rights reserved. Use of this source code is -// governed by the MIT license that can be found in the LICENSE file. +/* +Portions Copyright 2019-2021 ZomboDB, LLC. +Portions Copyright 2021-2022 Technology Concepts & Design, Inc. + +All rights reserved. + +Use of this source code is governed by the MIT license that can be found in the LICENSE file. +*/ //! for converting a pg_sys::Datum and a corresponding "is_null" bool into a typed Option diff --git a/pgx/src/datum/geo.rs b/pgx/src/datum/geo.rs index 11068a480..f17842056 100644 --- a/pgx/src/datum/geo.rs +++ b/pgx/src/datum/geo.rs @@ -1,5 +1,11 @@ -// Copyright 2020 ZomboDB, LLC . All rights reserved. Use of this source code is -// governed by the MIT license that can be found in the LICENSE file. +/* +Portions Copyright 2019-2021 ZomboDB, LLC. +Portions Copyright 2021-2022 Technology Concepts & Design, Inc. + +All rights reserved. + +Use of this source code is governed by the MIT license that can be found in the LICENSE file. +*/ use crate::{direct_function_call_as_datum, pg_sys, FromDatum, IntoDatum}; diff --git a/pgx/src/datum/inet.rs b/pgx/src/datum/inet.rs index 9c00f959f..7247c5012 100644 --- a/pgx/src/datum/inet.rs +++ b/pgx/src/datum/inet.rs @@ -1,5 +1,11 @@ -// Copyright 2020 ZomboDB, LLC . All rights reserved. Use of this source code is -// governed by the MIT license that can be found in the LICENSE file. +/* +Portions Copyright 2019-2021 ZomboDB, LLC. +Portions Copyright 2021-2022 Technology Concepts & Design, Inc. + +All rights reserved. + +Use of this source code is governed by the MIT license that can be found in the LICENSE file. +*/ use crate::{ direct_function_call, direct_function_call_as_datum, pg_sys, pg_try, void_mut_ptr, FromDatum, diff --git a/pgx/src/datum/internal.rs b/pgx/src/datum/internal.rs index d3962dbc9..4eacfe860 100644 --- a/pgx/src/datum/internal.rs +++ b/pgx/src/datum/internal.rs @@ -1,5 +1,11 @@ -// Copyright 2020 ZomboDB, LLC . All rights reserved. Use of this source code is -// governed by the MIT license that can be found in the LICENSE file. +/* +Portions Copyright 2019-2021 ZomboDB, LLC. +Portions Copyright 2021-2022 Technology Concepts & Design, Inc. + +All rights reserved. + +Use of this source code is governed by the MIT license that can be found in the LICENSE file. +*/ use crate::{pg_sys, FromDatum, IntoDatum, PgMemoryContexts}; diff --git a/pgx/src/datum/into.rs b/pgx/src/datum/into.rs index 5de216861..bc5c3d21d 100644 --- a/pgx/src/datum/into.rs +++ b/pgx/src/datum/into.rs @@ -1,5 +1,11 @@ -// Copyright 2020 ZomboDB, LLC . All rights reserved. Use of this source code is -// governed by the MIT license that can be found in the LICENSE file. +/* +Portions Copyright 2019-2021 ZomboDB, LLC. +Portions Copyright 2021-2022 Technology Concepts & Design, Inc. + +All rights reserved. + +Use of this source code is governed by the MIT license that can be found in the LICENSE file. +*/ //! for converting primitive types into Datums //! diff --git a/pgx/src/datum/item_pointer_data.rs b/pgx/src/datum/item_pointer_data.rs index 3f70cd13f..e902f48ae 100644 --- a/pgx/src/datum/item_pointer_data.rs +++ b/pgx/src/datum/item_pointer_data.rs @@ -1,5 +1,11 @@ -// Copyright 2020 ZomboDB, LLC . All rights reserved. Use of this source code is -// governed by the MIT license that can be found in the LICENSE file. +/* +Portions Copyright 2019-2021 ZomboDB, LLC. +Portions Copyright 2021-2022 Technology Concepts & Design, Inc. + +All rights reserved. + +Use of this source code is governed by the MIT license that can be found in the LICENSE file. +*/ use crate::{ item_pointer_get_both, item_pointer_set_all, pg_sys, FromDatum, IntoDatum, PgMemoryContexts, diff --git a/pgx/src/datum/json.rs b/pgx/src/datum/json.rs index d2ca2ec94..70cae4d1c 100644 --- a/pgx/src/datum/json.rs +++ b/pgx/src/datum/json.rs @@ -1,5 +1,11 @@ -// Copyright 2020 ZomboDB, LLC . All rights reserved. Use of this source code is -// governed by the MIT license that can be found in the LICENSE file. +/* +Portions Copyright 2019-2021 ZomboDB, LLC. +Portions Copyright 2021-2022 Technology Concepts & Design, Inc. + +All rights reserved. + +Use of this source code is governed by the MIT license that can be found in the LICENSE file. +*/ use crate::{ direct_function_call, direct_function_call_as_datum, pg_sys, vardata_any, varsize_any_exhdr, diff --git a/pgx/src/datum/mod.rs b/pgx/src/datum/mod.rs index ee529b107..16170398f 100644 --- a/pgx/src/datum/mod.rs +++ b/pgx/src/datum/mod.rs @@ -1,5 +1,11 @@ -// Copyright 2020 ZomboDB, LLC . All rights reserved. Use of this source code is -// governed by the MIT license that can be found in the LICENSE file. +/* +Portions Copyright 2019-2021 ZomboDB, LLC. +Portions Copyright 2021-2022 Technology Concepts & Design, Inc. + +All rights reserved. + +Use of this source code is governed by the MIT license that can be found in the LICENSE file. +*/ //! Handing for easily converting Postgres Datum types into their corresponding Rust types //! and converting Rust types into their corresponding Postgres types diff --git a/pgx/src/datum/numeric.rs b/pgx/src/datum/numeric.rs index cd3eda936..4ecec5ae9 100644 --- a/pgx/src/datum/numeric.rs +++ b/pgx/src/datum/numeric.rs @@ -1,5 +1,11 @@ -// Copyright 2020 ZomboDB, LLC . All rights reserved. Use of this source code is -// governed by the MIT license that can be found in the LICENSE file. +/* +Portions Copyright 2019-2021 ZomboDB, LLC. +Portions Copyright 2021-2022 Technology Concepts & Design, Inc. + +All rights reserved. + +Use of this source code is governed by the MIT license that can be found in the LICENSE file. +*/ use crate::{ direct_function_call, direct_function_call_as_datum, pg_sys, void_mut_ptr, FromDatum, IntoDatum, diff --git a/pgx/src/datum/time.rs b/pgx/src/datum/time.rs index d0c7f7ead..72e37af99 100644 --- a/pgx/src/datum/time.rs +++ b/pgx/src/datum/time.rs @@ -1,5 +1,11 @@ -// Copyright 2020 ZomboDB, LLC . All rights reserved. Use of this source code is -// governed by the MIT license that can be found in the LICENSE file. +/* +Portions Copyright 2019-2021 ZomboDB, LLC. +Portions Copyright 2021-2022 Technology Concepts & Design, Inc. + +All rights reserved. + +Use of this source code is governed by the MIT license that can be found in the LICENSE file. +*/ use crate::{pg_sys, FromDatum, IntoDatum}; use std::ops::{Deref, DerefMut}; diff --git a/pgx/src/datum/time_stamp.rs b/pgx/src/datum/time_stamp.rs index a21a33ac1..18b966acd 100644 --- a/pgx/src/datum/time_stamp.rs +++ b/pgx/src/datum/time_stamp.rs @@ -1,13 +1,26 @@ -// Copyright 2020 ZomboDB, LLC . All rights reserved. Use of this source code is -// governed by the MIT license that can be found in the LICENSE file. +/* +Portions Copyright 2019-2021 ZomboDB, LLC. +Portions Copyright 2021-2022 Technology Concepts & Design, Inc. + +All rights reserved. + +Use of this source code is governed by the MIT license that can be found in the LICENSE file. +*/ use crate::datum::time::USECS_PER_SEC; use crate::{direct_function_call_as_datum, pg_sys, FromDatum, IntoDatum, TimestampWithTimeZone}; use std::ops::{Deref, DerefMut}; use time::{format_description::FormatItem, PrimitiveDateTime}; -#[derive(Debug)] +#[derive(Debug, Copy, Clone)] pub struct Timestamp(time::PrimitiveDateTime); + +impl From for Timestamp { + fn from(item: pg_sys::Timestamp) -> Self { + unsafe { Timestamp::from_datum(item as usize, false, pg_sys::TIMESTAMPOID).unwrap() } + } +} + impl FromDatum for Timestamp { #[inline] unsafe fn from_datum(datum: pg_sys::Datum, is_null: bool, typoid: u32) -> Option { diff --git a/pgx/src/datum/time_stamp_with_timezone.rs b/pgx/src/datum/time_stamp_with_timezone.rs index 551724a47..04d016c7b 100644 --- a/pgx/src/datum/time_stamp_with_timezone.rs +++ b/pgx/src/datum/time_stamp_with_timezone.rs @@ -1,5 +1,11 @@ -// Copyright 2020 ZomboDB, LLC . All rights reserved. Use of this source code is -// governed by the MIT license that can be found in the LICENSE file. +/* +Portions Copyright 2019-2021 ZomboDB, LLC. +Portions Copyright 2021-2022 Technology Concepts & Design, Inc. + +All rights reserved. + +Use of this source code is governed by the MIT license that can be found in the LICENSE file. +*/ use crate::datum::time::USECS_PER_SEC; use crate::{direct_function_call_as_datum, pg_sys, FromDatum, IntoDatum}; @@ -9,9 +15,16 @@ use std::{ }; use time::{format_description::FormatItem, UtcOffset}; -#[derive(Debug)] +#[derive(Debug, Copy, Clone)] pub struct TimestampWithTimeZone(time::OffsetDateTime); +impl From for TimestampWithTimeZone { + fn from(item: pg_sys::TimestampTz) -> Self { + unsafe { TimestampWithTimeZone::from_datum(item as usize, false, pg_sys::TIMESTAMPTZOID).unwrap() } + } +} + + impl FromDatum for TimestampWithTimeZone { #[inline] unsafe fn from_datum( diff --git a/pgx/src/datum/time_with_timezone.rs b/pgx/src/datum/time_with_timezone.rs index f2d20f123..012b76661 100644 --- a/pgx/src/datum/time_with_timezone.rs +++ b/pgx/src/datum/time_with_timezone.rs @@ -1,5 +1,11 @@ -// Copyright 2020 ZomboDB, LLC . All rights reserved. Use of this source code is -// governed by the MIT license that can be found in the LICENSE file. +/* +Portions Copyright 2019-2021 ZomboDB, LLC. +Portions Copyright 2021-2022 Technology Concepts & Design, Inc. + +All rights reserved. + +Use of this source code is governed by the MIT license that can be found in the LICENSE file. +*/ use crate::datum::time::Time; use crate::{pg_sys, FromDatum, IntoDatum, PgBox}; diff --git a/pgx/src/datum/tuples.rs b/pgx/src/datum/tuples.rs index 45b69c952..d0a719f33 100644 --- a/pgx/src/datum/tuples.rs +++ b/pgx/src/datum/tuples.rs @@ -1,5 +1,11 @@ -// Copyright 2020 ZomboDB, LLC . All rights reserved. Use of this source code is -// governed by the MIT license that can be found in the LICENSE file. +/* +Portions Copyright 2019-2021 ZomboDB, LLC. +Portions Copyright 2021-2022 Technology Concepts & Design, Inc. + +All rights reserved. + +Use of this source code is governed by the MIT license that can be found in the LICENSE file. +*/ use crate::{pg_sys, FromDatum, IntoDatum}; diff --git a/pgx/src/datum/uuid.rs b/pgx/src/datum/uuid.rs index 553de290c..a0569213f 100644 --- a/pgx/src/datum/uuid.rs +++ b/pgx/src/datum/uuid.rs @@ -1,3 +1,11 @@ +/* +Portions Copyright 2019-2021 ZomboDB, LLC. +Portions Copyright 2021-2022 Technology Concepts & Design, Inc. + +All rights reserved. + +Use of this source code is governed by the MIT license that can be found in the LICENSE file. +*/ use crate::{pg_sys, FromDatum, IntoDatum, PgMemoryContexts}; use core::fmt::Write; use std::ops::{Deref, DerefMut}; diff --git a/pgx/src/datum/varlena.rs b/pgx/src/datum/varlena.rs index 1ffba265c..df3a6a2c2 100644 --- a/pgx/src/datum/varlena.rs +++ b/pgx/src/datum/varlena.rs @@ -1,3 +1,11 @@ +/* +Portions Copyright 2019-2021 ZomboDB, LLC. +Portions Copyright 2021-2022 Technology Concepts & Design, Inc. + +All rights reserved. + +Use of this source code is governed by the MIT license that can be found in the LICENSE file. +*/ //! Wrapper for Postgres 'varlena' type, over Rust types of a fixed size (ie, `impl Copy`) use crate::pg_sys::{VARATT_SHORT_MAX, VARHDRSZ_SHORT}; use crate::{ diff --git a/pgx/src/enum_helper.rs b/pgx/src/enum_helper.rs index 6337af552..fb509e010 100644 --- a/pgx/src/enum_helper.rs +++ b/pgx/src/enum_helper.rs @@ -1,5 +1,11 @@ -// Copyright 2020 ZomboDB, LLC . All rights reserved. Use of this source code is -// governed by the MIT license that can be found in the LICENSE file. +/* +Portions Copyright 2019-2021 ZomboDB, LLC. +Portions Copyright 2021-2022 Technology Concepts & Design, Inc. + +All rights reserved. + +Use of this source code is governed by the MIT license that can be found in the LICENSE file. +*/ //! Helper functions for working with Postgres `enum` types diff --git a/pgx/src/fcinfo.rs b/pgx/src/fcinfo.rs index 6a71d5834..1f693b101 100644 --- a/pgx/src/fcinfo.rs +++ b/pgx/src/fcinfo.rs @@ -1,5 +1,11 @@ -// Copyright 2020 ZomboDB, LLC . All rights reserved. Use of this source code is -// governed by the MIT license that can be found in the LICENSE file. +/* +Portions Copyright 2019-2021 ZomboDB, LLC. +Portions Copyright 2021-2022 Technology Concepts & Design, Inc. + +All rights reserved. + +Use of this source code is governed by the MIT license that can be found in the LICENSE file. +*/ //! Helper macros and functions for creating Postgres UDFs. //! diff --git a/pgx/src/guc.rs b/pgx/src/guc.rs index 9dbbc5d93..6902c1117 100644 --- a/pgx/src/guc.rs +++ b/pgx/src/guc.rs @@ -1,5 +1,11 @@ -// Copyright 2020 ZomboDB, LLC . All rights reserved. Use of this source code is -// governed by the MIT license that can be found in the LICENSE file. +/* +Portions Copyright 2019-2021 ZomboDB, LLC. +Portions Copyright 2021-2022 Technology Concepts & Design, Inc. + +All rights reserved. + +Use of this source code is governed by the MIT license that can be found in the LICENSE file. +*/ //! Provides a safe interface into Postgres' Configuration System (GUC) use crate::{pg_sys, PgMemoryContexts}; diff --git a/pgx/src/hooks.rs b/pgx/src/hooks.rs index 4bfa43913..5d735e6ad 100644 --- a/pgx/src/hooks.rs +++ b/pgx/src/hooks.rs @@ -1,5 +1,11 @@ -// Copyright 2020 ZomboDB, LLC . All rights reserved. Use of this source code is -// governed by the MIT license that can be found in the LICENSE file. +/* +Portions Copyright 2019-2021 ZomboDB, LLC. +Portions Copyright 2021-2022 Technology Concepts & Design, Inc. + +All rights reserved. + +Use of this source code is governed by the MIT license that can be found in the LICENSE file. +*/ //! A trait and registration system for hooking Postgres internal operations such as its planner and executor use crate::{pg_guard, pg_sys, void_mut_ptr, PgBox, PgList}; diff --git a/pgx/src/htup.rs b/pgx/src/htup.rs index 83182a0a7..c6648c9d4 100644 --- a/pgx/src/htup.rs +++ b/pgx/src/htup.rs @@ -1,5 +1,11 @@ -// Copyright 2020 ZomboDB, LLC . All rights reserved. Use of this source code is -// governed by the MIT license that can be found in the LICENSE file. +/* +Portions Copyright 2019-2021 ZomboDB, LLC. +Portions Copyright 2021-2022 Technology Concepts & Design, Inc. + +All rights reserved. + +Use of this source code is governed by the MIT license that can be found in the LICENSE file. +*/ //! Utility functions for working with `pg_sys::HeapTuple` and `pg_sys::HeapTupleHeader` structs use crate::*; diff --git a/pgx/src/inoutfuncs.rs b/pgx/src/inoutfuncs.rs index ea050c63d..28cb3fb8a 100644 --- a/pgx/src/inoutfuncs.rs +++ b/pgx/src/inoutfuncs.rs @@ -1,5 +1,11 @@ -// Copyright 2020 ZomboDB, LLC . All rights reserved. Use of this source code is -// governed by the MIT license that can be found in the LICENSE file. +/* +Portions Copyright 2019-2021 ZomboDB, LLC. +Portions Copyright 2021-2022 Technology Concepts & Design, Inc. + +All rights reserved. + +Use of this source code is governed by the MIT license that can be found in the LICENSE file. +*/ //! Helper trait for the `#[derive(PostgresType)]` proc macro for overriding custom Postgres type //! input/output functions. diff --git a/pgx/src/itemptr.rs b/pgx/src/itemptr.rs index 93c4829a0..3de1e5dc1 100644 --- a/pgx/src/itemptr.rs +++ b/pgx/src/itemptr.rs @@ -1,5 +1,11 @@ -// Copyright 2020 ZomboDB, LLC . All rights reserved. Use of this source code is -// governed by the MIT license that can be found in the LICENSE file. +/* +Portions Copyright 2019-2021 ZomboDB, LLC. +Portions Copyright 2021-2022 Technology Concepts & Design, Inc. + +All rights reserved. + +Use of this source code is governed by the MIT license that can be found in the LICENSE file. +*/ //! Helper functions for working with Postgres `ItemPointerData` (`tid`) type diff --git a/pgx/src/lib.rs b/pgx/src/lib.rs index b8991cc3e..5894dd338 100644 --- a/pgx/src/lib.rs +++ b/pgx/src/lib.rs @@ -1,5 +1,11 @@ -// Copyright 2020 ZomboDB, LLC . All rights reserved. Use of this source code is -// governed by the MIT license that can be found in the LICENSE file. +/* +Portions Copyright 2019-2021 ZomboDB, LLC. +Portions Copyright 2021-2022 Technology Concepts & Design, Inc. + +All rights reserved. + +Use of this source code is governed by the MIT license that can be found in the LICENSE file. +*/ //! `pgx` is a framework for creating Postgres extensions in 100% Rust //! diff --git a/pgx/src/list.rs b/pgx/src/list.rs index 55dc59b6a..973c8405c 100644 --- a/pgx/src/list.rs +++ b/pgx/src/list.rs @@ -1,5 +1,11 @@ -// Copyright 2020 ZomboDB, LLC . All rights reserved. Use of this source code is -// governed by the MIT license that can be found in the LICENSE file. +/* +Portions Copyright 2019-2021 ZomboDB, LLC. +Portions Copyright 2021-2022 Technology Concepts & Design, Inc. + +All rights reserved. + +Use of this source code is governed by the MIT license that can be found in the LICENSE file. +*/ //! A safe wrapper around Postgres' internal `List` structure. //! diff --git a/pgx/src/log.rs b/pgx/src/log.rs index 3ce36b32f..49a8b87b3 100644 --- a/pgx/src/log.rs +++ b/pgx/src/log.rs @@ -1,5 +1,11 @@ -// Copyright 2020 ZomboDB, LLC . All rights reserved. Use of this source code is -// governed by the MIT license that can be found in the LICENSE file. +/* +Portions Copyright 2019-2021 ZomboDB, LLC. +Portions Copyright 2021-2022 Technology Concepts & Design, Inc. + +All rights reserved. + +Use of this source code is governed by the MIT license that can be found in the LICENSE file. +*/ //! Access to Postgres' logging system diff --git a/pgx/src/lwlock.rs b/pgx/src/lwlock.rs index 1368650af..8fe622967 100644 --- a/pgx/src/lwlock.rs +++ b/pgx/src/lwlock.rs @@ -1,3 +1,11 @@ +/* +Portions Copyright 2019-2021 ZomboDB, LLC. +Portions Copyright 2021-2022 Technology Concepts & Design, Inc. + +All rights reserved. + +Use of this source code is governed by the MIT license that can be found in the LICENSE file. +*/ use crate::pg_sys; use core::ops::{Deref, DerefMut}; use once_cell::sync::OnceCell; diff --git a/pgx/src/memcxt.rs b/pgx/src/memcxt.rs index 047921987..0c5daea66 100644 --- a/pgx/src/memcxt.rs +++ b/pgx/src/memcxt.rs @@ -1,5 +1,11 @@ -// Copyright 2020 ZomboDB, LLC . All rights reserved. Use of this source code is -// governed by the MIT license that can be found in the LICENSE file. +/* +Portions Copyright 2019-2021 ZomboDB, LLC. +Portions Copyright 2021-2022 Technology Concepts & Design, Inc. + +All rights reserved. + +Use of this source code is governed by the MIT license that can be found in the LICENSE file. +*/ //! //! Provides interfacing into Postgres' `MemoryContext` system. diff --git a/pgx/src/misc.rs b/pgx/src/misc.rs index e88de5846..dd42f5d92 100644 --- a/pgx/src/misc.rs +++ b/pgx/src/misc.rs @@ -1,3 +1,11 @@ +/* +Portions Copyright 2019-2021 ZomboDB, LLC. +Portions Copyright 2021-2022 Technology Concepts & Design, Inc. + +All rights reserved. + +Use of this source code is governed by the MIT license that can be found in the LICENSE file. +*/ use std::hash::{Hash, Hasher}; /// wrapper around `SeaHasher` from [Seahash](https://crates.io/crates/seahash) diff --git a/pgx/src/namespace.rs b/pgx/src/namespace.rs index f1ca6e142..c1f609f09 100644 --- a/pgx/src/namespace.rs +++ b/pgx/src/namespace.rs @@ -1,5 +1,11 @@ -// Copyright 2020 ZomboDB, LLC . All rights reserved. Use of this source code is -// governed by the MIT license that can be found in the LICENSE file. +/* +Portions Copyright 2019-2021 ZomboDB, LLC. +Portions Copyright 2021-2022 Technology Concepts & Design, Inc. + +All rights reserved. + +Use of this source code is governed by the MIT license that can be found in the LICENSE file. +*/ //! A helper struct for creating a Postgres `List` of `String`s to qualify an object name diff --git a/pgx/src/nodes.rs b/pgx/src/nodes.rs index 92faeaefc..4b63b0e93 100644 --- a/pgx/src/nodes.rs +++ b/pgx/src/nodes.rs @@ -1,5 +1,11 @@ -// Copyright 2020 ZomboDB, LLC . All rights reserved. Use of this source code is -// governed by the MIT license that can be found in the LICENSE file. +/* +Portions Copyright 2019-2021 ZomboDB, LLC. +Portions Copyright 2021-2022 Technology Concepts & Design, Inc. + +All rights reserved. + +Use of this source code is governed by the MIT license that can be found in the LICENSE file. +*/ //! Helper functions and such for Postgres' various query tree `Node`s diff --git a/pgx/src/pgbox.rs b/pgx/src/pgbox.rs index 1efb8b3b4..e11bcbe8e 100644 --- a/pgx/src/pgbox.rs +++ b/pgx/src/pgbox.rs @@ -1,5 +1,11 @@ -// Copyright 2020 ZomboDB, LLC . All rights reserved. Use of this source code is -// governed by the MIT license that can be found in the LICENSE file. +/* +Portions Copyright 2019-2021 ZomboDB, LLC. +Portions Copyright 2021-2022 Technology Concepts & Design, Inc. + +All rights reserved. + +Use of this source code is governed by the MIT license that can be found in the LICENSE file. +*/ /// Similar to Rust's `Box` type, `PgBox` also represents heap-allocated memory. use crate::{pg_sys, PgMemoryContexts}; diff --git a/pgx/src/rel.rs b/pgx/src/rel.rs index 36ab22bd8..c376e1e3b 100644 --- a/pgx/src/rel.rs +++ b/pgx/src/rel.rs @@ -1,5 +1,11 @@ -// Copyright 2020 ZomboDB, LLC . All rights reserved. Use of this source code is -// governed by the MIT license that can be found in the LICENSE file. +/* +Portions Copyright 2019-2021 ZomboDB, LLC. +Portions Copyright 2021-2022 Technology Concepts & Design, Inc. + +All rights reserved. + +Use of this source code is governed by the MIT license that can be found in the LICENSE file. +*/ //! Provides a safe wrapper around Postgres' `pg_sys::RelationData` struct use crate::{ diff --git a/pgx/src/shmem.rs b/pgx/src/shmem.rs index 47822fc58..3c0847f96 100644 --- a/pgx/src/shmem.rs +++ b/pgx/src/shmem.rs @@ -1,3 +1,11 @@ +/* +Portions Copyright 2019-2021 ZomboDB, LLC. +Portions Copyright 2021-2022 Technology Concepts & Design, Inc. + +All rights reserved. + +Use of this source code is governed by the MIT license that can be found in the LICENSE file. +*/ use crate::lwlock::*; use crate::{pg_sys, PgAtomic}; use uuid::Uuid; diff --git a/pgx/src/spi.rs b/pgx/src/spi.rs index c0cfee1cb..ce286d3d1 100644 --- a/pgx/src/spi.rs +++ b/pgx/src/spi.rs @@ -1,5 +1,11 @@ -// Copyright 2020 ZomboDB, LLC . All rights reserved. Use of this source code is -// governed by the MIT license that can be found in the LICENSE file. +/* +Portions Copyright 2019-2021 ZomboDB, LLC. +Portions Copyright 2021-2022 Technology Concepts & Design, Inc. + +All rights reserved. + +Use of this source code is governed by the MIT license that can be found in the LICENSE file. +*/ //! Safe access to Postgres' *Server Programming Interface* (SPI). diff --git a/pgx/src/stringinfo.rs b/pgx/src/stringinfo.rs index 96b2d72bf..ed42c3ce6 100644 --- a/pgx/src/stringinfo.rs +++ b/pgx/src/stringinfo.rs @@ -1,5 +1,11 @@ -// Copyright 2020 ZomboDB, LLC . All rights reserved. Use of this source code is -// governed by the MIT license that can be found in the LICENSE file. +/* +Portions Copyright 2019-2021 ZomboDB, LLC. +Portions Copyright 2021-2022 Technology Concepts & Design, Inc. + +All rights reserved. + +Use of this source code is governed by the MIT license that can be found in the LICENSE file. +*/ //! A safe wrapper around Postgres `StringInfo` structure #![allow(dead_code, non_snake_case)] diff --git a/pgx/src/trigger_support.rs b/pgx/src/trigger_support.rs index 32f0bc8a5..9885c911d 100644 --- a/pgx/src/trigger_support.rs +++ b/pgx/src/trigger_support.rs @@ -1,5 +1,11 @@ -// Copyright 2020 ZomboDB, LLC . All rights reserved. Use of this source code is -// governed by the MIT license that can be found in the LICENSE file. +/* +Portions Copyright 2019-2021 ZomboDB, LLC. +Portions Copyright 2021-2022 Technology Concepts & Design, Inc. + +All rights reserved. + +Use of this source code is governed by the MIT license that can be found in the LICENSE file. +*/ //! Helper functions for working with custom Rust trigger functions diff --git a/pgx/src/tupdesc.rs b/pgx/src/tupdesc.rs index 47c00868a..23cad51a1 100644 --- a/pgx/src/tupdesc.rs +++ b/pgx/src/tupdesc.rs @@ -1,5 +1,11 @@ -// Copyright 2020 ZomboDB, LLC . All rights reserved. Use of this source code is -// governed by the MIT license that can be found in the LICENSE file. +/* +Portions Copyright 2019-2021 ZomboDB, LLC. +Portions Copyright 2021-2022 Technology Concepts & Design, Inc. + +All rights reserved. + +Use of this source code is governed by the MIT license that can be found in the LICENSE file. +*/ //! Provides a safe wrapper around Postgres' `pg_sys::TupleDescData` struct use crate::{pg_sys, void_mut_ptr, AllocatedByRust, FromDatum, PgBox, PgRelation}; diff --git a/pgx/src/varlena.rs b/pgx/src/varlena.rs index 573de94af..56aae6543 100644 --- a/pgx/src/varlena.rs +++ b/pgx/src/varlena.rs @@ -1,5 +1,11 @@ -// Copyright 2020 ZomboDB, LLC . All rights reserved. Use of this source code is -// governed by the MIT license that can be found in the LICENSE file. +/* +Portions Copyright 2019-2021 ZomboDB, LLC. +Portions Copyright 2021-2022 Technology Concepts & Design, Inc. + +All rights reserved. + +Use of this source code is governed by the MIT license that can be found in the LICENSE file. +*/ //! Helper functions to work with Postgres `varlena *` structures diff --git a/pgx/src/wrappers.rs b/pgx/src/wrappers.rs index 3da7dd2ba..ec45a751c 100644 --- a/pgx/src/wrappers.rs +++ b/pgx/src/wrappers.rs @@ -1,3 +1,11 @@ +/* +Portions Copyright 2019-2021 ZomboDB, LLC. +Portions Copyright 2021-2022 Technology Concepts & Design, Inc. + +All rights reserved. + +Use of this source code is governed by the MIT license that can be found in the LICENSE file. +*/ //! Provides safe wrapper functions around some of Postgres' useful functions. use crate::{direct_function_call, pg_sys, IntoDatum}; diff --git a/pgx/src/xid.rs b/pgx/src/xid.rs index 9396d46a4..2298f71f3 100644 --- a/pgx/src/xid.rs +++ b/pgx/src/xid.rs @@ -1,5 +1,11 @@ -// Copyright 2020 ZomboDB, LLC . All rights reserved. Use of this source code is -// governed by the MIT license that can be found in the LICENSE file. +/* +Portions Copyright 2019-2021 ZomboDB, LLC. +Portions Copyright 2021-2022 Technology Concepts & Design, Inc. + +All rights reserved. + +Use of this source code is governed by the MIT license that can be found in the LICENSE file. +*/ use crate::pg_sys; diff --git a/publish.sh b/publish.sh index 5fa75fde5..b86afeb71 100755 --- a/publish.sh +++ b/publish.sh @@ -1,4 +1,12 @@ #! /bin/sh +# Portions Copyright 2019-2021 ZomboDB, LLC. +# Portions Copyright 2021-2022 Technology Concepts & Design, Inc. +# +# +# All rights reserved. +# +# Use of this source code is governed by the MIT license that can be found in +# the LICENSE file. DIR=`pwd` set -x diff --git a/update-versions.sh b/update-versions.sh index 4b2f42b96..526a88cf6 100755 --- a/update-versions.sh +++ b/update-versions.sh @@ -1,4 +1,12 @@ #! /usr/bin/env bash +# Portions Copyright 2019-2021 ZomboDB, LLC. +# Portions Copyright 2021-2022 Technology Concepts & Design, Inc. +# +# +# All rights reserved. +# +# Use of this source code is governed by the MIT license that can be found in +# the LICENSE file. # requires: # * ripgrep diff --git a/upgrade-deps.sh b/upgrade-deps.sh index 1e6e42810..b80e298f2 100755 --- a/upgrade-deps.sh +++ b/upgrade-deps.sh @@ -1,4 +1,12 @@ #! /usr/bin/env bash +# Portions Copyright 2019-2021 ZomboDB, LLC. +# Portions Copyright 2021-2022 Technology Concepts & Design, Inc. +# +# +# All rights reserved. +# +# Use of this source code is governed by the MIT license that can be found in +# the LICENSE file. # requires: "cargo install cargo-edit" from https://github.com/killercup/cargo-edit cargo update