├── .gitignore ├── .gitmodules ├── Cargo.toml ├── LICENSE.md ├── README.md ├── appveyor.yml ├── build.rs └── src └── lib.rs /.gitignore: -------------------------------------------------------------------------------- 1 | target 2 | Cargo.lock 3 | .project 4 | 5 | \.vscode/ 6 | -------------------------------------------------------------------------------- /.gitmodules: -------------------------------------------------------------------------------- 1 | [submodule "src/PDCurses"] 2 | path = src/PDCurses 3 | url = https://github.com/Bill-Gray/PDCurses.git 4 | -------------------------------------------------------------------------------- /Cargo.toml: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "pdcurses-sys" 3 | description = "FFI bindings for PDCurses, specifically the win32a implementation." 4 | homepage = "https://github.com/ihalila/pdcurses-sys" 5 | repository = "https://github.com/ihalila/pdcurses-sys" 6 | readme = "README.md" 7 | license = "MIT" 8 | keywords = ["pdcurses", "curses"] 9 | version = "0.7.1" 10 | authors = ["Ilkka Halila "] 11 | links = "pdcurses" 12 | build = "build.rs" 13 | 14 | [lib] 15 | name = "pdcurses" 16 | 17 | [features] 18 | win32a = [] 19 | win32 = [] 20 | 21 | [build-dependencies] 22 | cc = "1.0" 23 | 24 | [dependencies] 25 | libc = "0.2" 26 | -------------------------------------------------------------------------------- /LICENSE.md: -------------------------------------------------------------------------------- 1 | The MIT License (MIT) 2 | 3 | Copyright (c) Ilkka Halila 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # pdcurses-sys [![Build status](https://ci.appveyor.com/api/projects/status/7quldtl11lsitu2v?svg=true)](https://ci.appveyor.com/project/ihalila/pdcurses-sys) [![Crates.io](https://img.shields.io/crates/v/pdcurses-sys.svg)](https://crates.io/crates/pdcurses-sys) 2 | 3 | pdcurses-sys provides Rust FFI bindings for [PDCurses](https://pdcurses.org/), 4 | specifically the fork by [Bill-Gray](https://github.com/Bill-Gray/PDCurses). 5 | 6 | ## Requirements 7 | 8 | A native C compiler that [cc-rs](https://github.com/alexcrichton/cc-rs) 9 | can use to compile PDCurses. 10 | 11 | On Windows this means that you need the Visual C++ Build Tools. Check the [rustup docs](https://github.com/rust-lang-nursery/rustup.rs/blob/master/README.md#working-with-rust-on-windows) 12 | for more Rust <-> Windows information. 13 | 14 | ## Usage 15 | 16 | Cargo.toml 17 | ```toml 18 | [dependencies] 19 | pdcurses-sys = "0.7" 20 | ``` 21 | 22 | ## Picking a flavor 23 | 24 | pdcurses-sys supports both the win32 and win32a flavors of PDCurses. It defaults to win32a if none 25 | is specified. You can use Cargo features to choose which one to use: 26 | 27 | Cargo.toml 28 | ```toml 29 | [dependencies.pdcurses-sys] 30 | version = "0.7" 31 | features = ["win32"] 32 | ``` 33 | 34 | ## License 35 | 36 | Licensed under the MIT license, see [LICENSE.md](LICENSE.md) 37 | -------------------------------------------------------------------------------- /appveyor.yml: -------------------------------------------------------------------------------- 1 | # Appveyor configuration template for Rust using rustup for Rust installation 2 | # https://github.com/starkat99/appveyor-rust 3 | 4 | ## Operating System (VM environment) ## 5 | 6 | # Rust needs at least Visual Studio 2013 Appveyor OS for MSVC targets. 7 | os: Visual Studio 2015 8 | 9 | ## Build Matrix ## 10 | 11 | # This configuration will setup a build for each channel & target combination (12 windows 12 | # combinations in all). 13 | # 14 | # There are 3 channels: stable, beta, and nightly. 15 | # 16 | # Alternatively, the full version may be specified for the channel to build using that specific 17 | # version (e.g. channel: 1.5.0) 18 | # 19 | # The values for target are the set of windows Rust build targets. Each value is of the form 20 | # 21 | # ARCH-pc-windows-TOOLCHAIN 22 | # 23 | # Where ARCH is the target architecture, either x86_64 or i686, and TOOLCHAIN is the linker 24 | # toolchain to use, either msvc or gnu. See https://www.rust-lang.org/downloads.html#win-foot for 25 | # a description of the toolchain differences. 26 | # See https://github.com/rust-lang-nursery/rustup.rs/#toolchain-specification for description of 27 | # toolchains and host triples. 28 | # 29 | # Comment out channel/target combos you do not wish to build in CI. 30 | # 31 | # You may use the `cargoflags` and `RUSTFLAGS` variables to set additional flags for cargo commands 32 | # and rustc, respectively. For instance, you can uncomment the cargoflags lines in the nightly 33 | # channels to enable unstable features when building for nightly. Or you could add additional 34 | # matrix entries to test different combinations of features. 35 | environment: 36 | matrix: 37 | 38 | ### MSVC Toolchains ### 39 | 40 | # Stable 64-bit MSVC 41 | - channel: stable 42 | target: x86_64-pc-windows-msvc 43 | # Stable 32-bit MSVC 44 | - channel: stable 45 | target: i686-pc-windows-msvc 46 | # Beta 64-bit MSVC 47 | - channel: beta 48 | target: x86_64-pc-windows-msvc 49 | # Beta 32-bit MSVC 50 | - channel: beta 51 | target: i686-pc-windows-msvc 52 | # Nightly 64-bit MSVC 53 | - channel: nightly 54 | target: x86_64-pc-windows-msvc 55 | #cargoflags: --features "unstable" 56 | # Nightly 32-bit MSVC 57 | - channel: nightly 58 | target: i686-pc-windows-msvc 59 | #cargoflags: --features "unstable" 60 | 61 | ### GNU Toolchains ### 62 | 63 | # # Stable 64-bit GNU 64 | # - channel: stable 65 | # target: x86_64-pc-windows-gnu 66 | # MSYS_BITS: 64 67 | # # Stable 32-bit GNU 68 | # - channel: stable 69 | # target: i686-pc-windows-gnu 70 | # MSYS_BITS: 32 71 | # # Beta 64-bit GNU 72 | # - channel: beta 73 | # target: x86_64-pc-windows-gnu 74 | # MSYS_BITS: 64 75 | # # Beta 32-bit GNU 76 | # - channel: beta 77 | # target: i686-pc-windows-gnu 78 | # MSYS_BITS: 32 79 | # # Nightly 64-bit GNU 80 | # - channel: nightly 81 | # target: x86_64-pc-windows-gnu 82 | # MSYS_BITS: 64 83 | # #cargoflags: --features "unstable" 84 | # # Nightly 32-bit GNU 85 | # - channel: nightly 86 | # target: i686-pc-windows-gnu 87 | # MSYS_BITS: 32 88 | # #cargoflags: --features "unstable" 89 | 90 | ### Allowed failures ### 91 | 92 | # See Appveyor documentation for specific details. In short, place any channel or targets you wish 93 | # to allow build failures on (usually nightly at least is a wise choice). This will prevent a build 94 | # or test failure in the matching channels/targets from failing the entire build. 95 | matrix: 96 | allow_failures: 97 | - channel: nightly 98 | 99 | # If you only care about stable channel build failures, uncomment the following line: 100 | #- channel: beta 101 | 102 | ## Install Script ## 103 | 104 | # This is the most important part of the Appveyor configuration. This installs the version of Rust 105 | # specified by the 'channel' and 'target' environment variables from the build matrix. This uses 106 | # rustup to install Rust. 107 | # 108 | # For simple configurations, instead of using the build matrix, you can simply set the 109 | # default-toolchain and default-host manually here. 110 | install: 111 | - appveyor DownloadFile https://win.rustup.rs/ -FileName rustup-init.exe 112 | - rustup-init -yv --default-toolchain %channel% --default-host %target% 113 | - set PATH=%PATH%;%USERPROFILE%\.cargo\bin 114 | - if defined MSYS_BITS set PATH=%PATH%;C:\msys64\mingw%MSYS_BITS%\bin;C:\msys64\usr\bin 115 | - git submodule update --init 116 | - rustc -vV 117 | - cargo -vV 118 | 119 | ## Build Script ## 120 | 121 | # 'cargo test' takes care of building for us, so disable Appveyor's build stage. This prevents 122 | # the "directory does not contain a project or solution file" error. 123 | build: false 124 | 125 | # Uses 'cargo test' to run tests and build. Alternatively, the project may call compiled programs 126 | #directly or perform other testing commands. Rust will automatically be placed in the PATH 127 | # environment variable. 128 | test_script: 129 | - cargo test --verbose %cargoflags% 130 | -------------------------------------------------------------------------------- /build.rs: -------------------------------------------------------------------------------- 1 | extern crate cc; 2 | 3 | fn main() { 4 | let mut build = cc::Build::new(); 5 | build 6 | .file("src/PDCurses/pdcurses/addch.c") //Common PDCurses files 7 | .file("src/PDCurses/pdcurses/addchstr.c") 8 | .file("src/PDCurses/pdcurses/addstr.c") 9 | .file("src/PDCurses/pdcurses/attr.c") 10 | .file("src/PDCurses/pdcurses/beep.c") 11 | .file("src/PDCurses/pdcurses/bkgd.c") 12 | .file("src/PDCurses/pdcurses/border.c") 13 | .file("src/PDCurses/pdcurses/clear.c") 14 | .file("src/PDCurses/pdcurses/color.c") 15 | .file("src/PDCurses/pdcurses/debug.c") 16 | .file("src/PDCurses/pdcurses/delch.c") 17 | .file("src/PDCurses/pdcurses/deleteln.c") 18 | .file("src/PDCurses/pdcurses/deprec.c") 19 | .file("src/PDCurses/pdcurses/getch.c") 20 | .file("src/PDCurses/pdcurses/getstr.c") 21 | .file("src/PDCurses/pdcurses/getyx.c") 22 | .file("src/PDCurses/pdcurses/inch.c") 23 | .file("src/PDCurses/pdcurses/inchstr.c") 24 | .file("src/PDCurses/pdcurses/initscr.c") 25 | .file("src/PDCurses/pdcurses/inopts.c") 26 | .file("src/PDCurses/pdcurses/insch.c") 27 | .file("src/PDCurses/pdcurses/insstr.c") 28 | .file("src/PDCurses/pdcurses/instr.c") 29 | .file("src/PDCurses/pdcurses/kernel.c") 30 | .file("src/PDCurses/pdcurses/keyname.c") 31 | .file("src/PDCurses/pdcurses/mouse.c") 32 | .file("src/PDCurses/pdcurses/move.c") 33 | .file("src/PDCurses/pdcurses/outopts.c") 34 | .file("src/PDCurses/pdcurses/overlay.c") 35 | .file("src/PDCurses/pdcurses/pad.c") 36 | .file("src/PDCurses/pdcurses/panel.c") 37 | .file("src/PDCurses/pdcurses/printw.c") 38 | .file("src/PDCurses/pdcurses/refresh.c") 39 | .file("src/PDCurses/pdcurses/scanw.c") 40 | .file("src/PDCurses/pdcurses/scr_dump.c") 41 | .file("src/PDCurses/pdcurses/scroll.c") 42 | .file("src/PDCurses/pdcurses/slk.c") 43 | .file("src/PDCurses/pdcurses/termattr.c") 44 | .file("src/PDCurses/pdcurses/terminfo.c") 45 | .file("src/PDCurses/pdcurses/touch.c") 46 | .file("src/PDCurses/pdcurses/util.c") 47 | .file("src/PDCurses/pdcurses/window.c") 48 | .include("src/PDCurses") 49 | .define("PDC_WIDE", Some("Y")) // Build with wide-character (Unicode) support 50 | .define("PDC_FORCE_UTF8", Some("Y")) // Makes PDCurses ignore the system locale, and treat all narrow-character strings as UTF-8 51 | .define("PDC_RGB", Some("Y")); // Use RGB colors, it's what most people expect them to be 52 | 53 | flavor_specifics(&mut build); 54 | 55 | build.compile("libpdcurses.a"); 56 | } 57 | 58 | // Use win32a if it's chosen, or if no flavor is chosen. 59 | #[cfg(any(feature = "win32a", all(not(feature="win32"), not(feature="win32a"))))] 60 | fn flavor_specifics(build: &mut cc::Build) { 61 | println!("cargo:rustc-link-lib=dylib=user32"); 62 | println!("cargo:rustc-link-lib=dylib=gdi32"); 63 | println!("cargo:rustc-link-lib=dylib=comdlg32"); 64 | println!("cargo:rustc-link-lib=dylib=shell32"); 65 | 66 | build 67 | .file("src/PDCurses/win32a/pdcclip.c") 68 | .file("src/PDCurses/win32a/pdcdisp.c") 69 | .file("src/PDCurses/win32a/pdcgetsc.c") 70 | .file("src/PDCurses/win32a/pdckbd.c") 71 | .file("src/PDCurses/win32a/pdcscrn.c") 72 | .file("src/PDCurses/win32a/pdcsetsc.c") 73 | .file("src/PDCurses/win32a/pdcutil.c"); 74 | } 75 | 76 | #[cfg(feature = "win32")] 77 | fn flavor_specifics(build: &mut cc::Build) { 78 | println!("cargo:rustc-link-lib=dylib=user32"); 79 | 80 | build 81 | .file("src/PDCurses/win32/pdcclip.c") 82 | .file("src/PDCurses/win32/pdcdisp.c") 83 | .file("src/PDCurses/win32/pdcgetsc.c") 84 | .file("src/PDCurses/win32/pdckbd.c") 85 | .file("src/PDCurses/win32/pdcscrn.c") 86 | .file("src/PDCurses/win32/pdcsetsc.c") 87 | .file("src/PDCurses/win32/pdcutil.c"); 88 | } -------------------------------------------------------------------------------- /src/lib.rs: -------------------------------------------------------------------------------- 1 | #![allow(non_camel_case_types, non_snake_case)] 2 | // automatically generated by rust-bindgen 3 | 4 | pub type uintptr_t = ::std::os::raw::c_ulonglong; 5 | pub type va_list = *mut ::std::os::raw::c_char; 6 | pub type size_t = ::std::os::raw::c_ulonglong; 7 | pub type ptrdiff_t = ::std::os::raw::c_longlong; 8 | pub type intptr_t = ::std::os::raw::c_longlong; 9 | pub type wchar_t = ::std::os::raw::c_ushort; 10 | pub type int8_t = ::std::os::raw::c_char; 11 | pub type int16_t = ::std::os::raw::c_short; 12 | pub type int32_t = ::std::os::raw::c_int; 13 | pub type int64_t = ::std::os::raw::c_longlong; 14 | pub type uint8_t = ::std::os::raw::c_uchar; 15 | pub type uint16_t = ::std::os::raw::c_ushort; 16 | pub type uint32_t = ::std::os::raw::c_uint; 17 | pub type uint64_t = ::std::os::raw::c_ulonglong; 18 | pub type int_least8_t = ::std::os::raw::c_char; 19 | pub type int_least16_t = ::std::os::raw::c_short; 20 | pub type int_least32_t = ::std::os::raw::c_int; 21 | pub type int_least64_t = ::std::os::raw::c_longlong; 22 | pub type uint_least8_t = ::std::os::raw::c_uchar; 23 | pub type uint_least16_t = ::std::os::raw::c_ushort; 24 | pub type uint_least32_t = ::std::os::raw::c_uint; 25 | pub type uint_least64_t = ::std::os::raw::c_ulonglong; 26 | pub type int_fast8_t = ::std::os::raw::c_char; 27 | pub type int_fast16_t = ::std::os::raw::c_int; 28 | pub type int_fast32_t = ::std::os::raw::c_int; 29 | pub type int_fast64_t = ::std::os::raw::c_longlong; 30 | pub type uint_fast8_t = ::std::os::raw::c_uchar; 31 | pub type uint_fast16_t = ::std::os::raw::c_uint; 32 | pub type uint_fast32_t = ::std::os::raw::c_uint; 33 | pub type uint_fast64_t = ::std::os::raw::c_ulonglong; 34 | pub type intmax_t = ::std::os::raw::c_longlong; 35 | pub type uintmax_t = ::std::os::raw::c_ulonglong; 36 | pub type __crt_bool = u8; 37 | pub type errno_t = ::std::os::raw::c_int; 38 | pub type wint_t = ::std::os::raw::c_ushort; 39 | pub type wctype_t = ::std::os::raw::c_ushort; 40 | pub type __time32_t = ::std::os::raw::c_long; 41 | pub type __time64_t = ::std::os::raw::c_longlong; 42 | #[repr(C)] 43 | #[derive(Copy)] 44 | pub struct Struct___crt_locale_data_public { 45 | pub _locale_pctype: *const ::std::os::raw::c_ushort, 46 | pub _locale_mb_cur_max: ::std::os::raw::c_int, 47 | pub _locale_lc_codepage: ::std::os::raw::c_uint, 48 | } 49 | impl ::std::clone::Clone for Struct___crt_locale_data_public { 50 | fn clone(&self) -> Self { 51 | *self 52 | } 53 | } 54 | impl ::std::default::Default for Struct___crt_locale_data_public { 55 | fn default() -> Self { 56 | unsafe { ::std::mem::zeroed() } 57 | } 58 | } 59 | pub type __crt_locale_data_public = Struct___crt_locale_data_public; 60 | pub enum Struct___crt_locale_data { } 61 | pub enum Struct___crt_multibyte_data { } 62 | #[repr(C)] 63 | #[derive(Copy)] 64 | pub struct Struct___crt_locale_pointers { 65 | pub locinfo: *mut Struct___crt_locale_data, 66 | pub mbcinfo: *mut Struct___crt_multibyte_data, 67 | } 68 | impl ::std::clone::Clone for Struct___crt_locale_pointers { 69 | fn clone(&self) -> Self { 70 | *self 71 | } 72 | } 73 | impl ::std::default::Default for Struct___crt_locale_pointers { 74 | fn default() -> Self { 75 | unsafe { ::std::mem::zeroed() } 76 | } 77 | } 78 | pub type __crt_locale_pointers = Struct___crt_locale_pointers; 79 | pub type _locale_t = *mut __crt_locale_pointers; 80 | #[repr(C)] 81 | #[derive(Copy)] 82 | pub struct Struct__Mbstatet { 83 | pub _Wchar: ::std::os::raw::c_ulong, 84 | pub _Byte: ::std::os::raw::c_ushort, 85 | pub _State: ::std::os::raw::c_ushort, 86 | } 87 | impl ::std::clone::Clone for Struct__Mbstatet { 88 | fn clone(&self) -> Self { 89 | *self 90 | } 91 | } 92 | impl ::std::default::Default for Struct__Mbstatet { 93 | fn default() -> Self { 94 | unsafe { ::std::mem::zeroed() } 95 | } 96 | } 97 | pub type _Mbstatet = Struct__Mbstatet; 98 | pub type mbstate_t = _Mbstatet; 99 | pub type time_t = __time64_t; 100 | pub type rsize_t = size_t; 101 | #[repr(C)] 102 | #[derive(Copy)] 103 | pub struct Struct__iobuf { 104 | pub _Placeholder: *mut ::std::os::raw::c_void, 105 | } 106 | impl ::std::clone::Clone for Struct__iobuf { 107 | fn clone(&self) -> Self { 108 | *self 109 | } 110 | } 111 | impl ::std::default::Default for Struct__iobuf { 112 | fn default() -> Self { 113 | unsafe { ::std::mem::zeroed() } 114 | } 115 | } 116 | pub type FILE = Struct__iobuf; 117 | pub type fpos_t = ::std::os::raw::c_longlong; 118 | pub type _bool = ::std::os::raw::c_uchar; 119 | pub type chtype = uint64_t; 120 | pub type attr_t = chtype; 121 | #[repr(C)] 122 | #[derive(Copy)] 123 | pub struct Struct_Unnamed1 { 124 | pub x: ::std::os::raw::c_int, 125 | pub y: ::std::os::raw::c_int, 126 | pub button: [::std::os::raw::c_short; 3usize], 127 | pub changes: ::std::os::raw::c_int, 128 | pub xbutton: [::std::os::raw::c_short; 6usize], 129 | } 130 | impl ::std::clone::Clone for Struct_Unnamed1 { 131 | fn clone(&self) -> Self { 132 | *self 133 | } 134 | } 135 | impl ::std::default::Default for Struct_Unnamed1 { 136 | fn default() -> Self { 137 | unsafe { ::std::mem::zeroed() } 138 | } 139 | } 140 | pub type MOUSE_STATUS = Struct_Unnamed1; 141 | pub type mmask_t = ::std::os::raw::c_ulong; 142 | #[repr(C)] 143 | #[derive(Copy)] 144 | pub struct Struct_Unnamed2 { 145 | pub id: ::std::os::raw::c_short, 146 | pub x: ::std::os::raw::c_int, 147 | pub y: ::std::os::raw::c_int, 148 | pub z: ::std::os::raw::c_int, 149 | pub bstate: mmask_t, 150 | } 151 | impl ::std::clone::Clone for Struct_Unnamed2 { 152 | fn clone(&self) -> Self { 153 | *self 154 | } 155 | } 156 | impl ::std::default::Default for Struct_Unnamed2 { 157 | fn default() -> Self { 158 | unsafe { ::std::mem::zeroed() } 159 | } 160 | } 161 | pub type MEVENT = Struct_Unnamed2; 162 | #[repr(C)] 163 | #[derive(Copy)] 164 | pub struct Struct__win { 165 | pub _cury: ::std::os::raw::c_int, 166 | pub _curx: ::std::os::raw::c_int, 167 | pub _maxy: ::std::os::raw::c_int, 168 | pub _maxx: ::std::os::raw::c_int, 169 | pub _begy: ::std::os::raw::c_int, 170 | pub _begx: ::std::os::raw::c_int, 171 | pub _flags: ::std::os::raw::c_int, 172 | pub _attrs: chtype, 173 | pub _bkgd: chtype, 174 | pub _clear: _bool, 175 | pub _leaveit: _bool, 176 | pub _scroll: _bool, 177 | pub _nodelay: _bool, 178 | pub _immed: _bool, 179 | pub _sync: _bool, 180 | pub _use_keypad: _bool, 181 | pub _y: *mut *mut chtype, 182 | pub _firstch: *mut ::std::os::raw::c_int, 183 | pub _lastch: *mut ::std::os::raw::c_int, 184 | pub _tmarg: ::std::os::raw::c_int, 185 | pub _bmarg: ::std::os::raw::c_int, 186 | pub _delayms: ::std::os::raw::c_int, 187 | pub _parx: ::std::os::raw::c_int, 188 | pub _pary: ::std::os::raw::c_int, 189 | pub _parent: *mut Struct__win, 190 | } 191 | impl ::std::clone::Clone for Struct__win { 192 | fn clone(&self) -> Self { 193 | *self 194 | } 195 | } 196 | impl ::std::default::Default for Struct__win { 197 | fn default() -> Self { 198 | unsafe { ::std::mem::zeroed() } 199 | } 200 | } 201 | pub type WINDOW = Struct__win; 202 | #[repr(C)] 203 | #[derive(Copy)] 204 | pub struct Struct_Unnamed3 { 205 | pub alive: _bool, 206 | pub autocr: _bool, 207 | pub cbreak: _bool, 208 | pub echo: _bool, 209 | pub raw_inp: _bool, 210 | pub raw_out: _bool, 211 | pub audible: _bool, 212 | pub mono: _bool, 213 | pub resized: _bool, 214 | pub orig_attr: _bool, 215 | pub orig_fore: ::std::os::raw::c_short, 216 | pub orig_back: ::std::os::raw::c_short, 217 | pub cursrow: ::std::os::raw::c_int, 218 | pub curscol: ::std::os::raw::c_int, 219 | pub visibility: ::std::os::raw::c_int, 220 | pub orig_cursor: ::std::os::raw::c_int, 221 | pub lines: ::std::os::raw::c_int, 222 | pub cols: ::std::os::raw::c_int, 223 | pub _trap_mbe: ::std::os::raw::c_ulong, 224 | pub _map_mbe_to_key: ::std::os::raw::c_ulong, 225 | pub mouse_wait: ::std::os::raw::c_int, 226 | pub slklines: ::std::os::raw::c_int, 227 | pub slk_winptr: *mut WINDOW, 228 | pub linesrippedoff: ::std::os::raw::c_int, 229 | pub linesrippedoffontop: ::std::os::raw::c_int, 230 | pub delaytenths: ::std::os::raw::c_int, 231 | pub _preserve: _bool, 232 | pub _restore: ::std::os::raw::c_int, 233 | pub save_key_modifiers: _bool, 234 | pub return_key_modifiers: _bool, 235 | pub key_code: _bool, 236 | pub line_color: ::std::os::raw::c_short, 237 | } 238 | impl ::std::clone::Clone for Struct_Unnamed3 { 239 | fn clone(&self) -> Self { 240 | *self 241 | } 242 | } 243 | impl ::std::default::Default for Struct_Unnamed3 { 244 | fn default() -> Self { 245 | unsafe { ::std::mem::zeroed() } 246 | } 247 | } 248 | pub type SCREEN = Struct_Unnamed3; 249 | 250 | extern "C" { 251 | pub static mut __security_cookie: uintptr_t; 252 | pub static mut LINES: ::std::os::raw::c_int; 253 | pub static mut COLS: ::std::os::raw::c_int; 254 | pub static mut stdscr: *mut WINDOW; 255 | pub static mut curscr: *mut WINDOW; 256 | pub static mut SP: *mut SCREEN; 257 | pub static mut Mouse_status: MOUSE_STATUS; 258 | pub static mut COLORS: ::std::os::raw::c_int; 259 | pub static mut COLOR_PAIRS: ::std::os::raw::c_int; 260 | pub static mut TABSIZE: ::std::os::raw::c_int; 261 | pub static mut acs_map: *mut chtype; 262 | pub static mut ttytype: *mut ::std::os::raw::c_char; 263 | } 264 | 265 | extern "C" { 266 | pub fn __va_start(arg1: *mut va_list, ...); 267 | pub fn __security_init_cookie(); 268 | pub fn __security_check_cookie(_StackCookie: uintptr_t); 269 | pub fn __report_gsfailure(_StackCookie: uintptr_t); 270 | pub fn _invalid_parameter_noinfo(); 271 | pub fn _invalid_parameter_noinfo_noreturn(); 272 | pub fn _invoke_watson(arg1: *const wchar_t, 273 | arg2: *const wchar_t, 274 | arg3: *const wchar_t, 275 | arg4: ::std::os::raw::c_uint, 276 | arg5: uintptr_t); 277 | pub fn _errno() -> *mut ::std::os::raw::c_int; 278 | pub fn _set_errno(_Value: ::std::os::raw::c_int) -> errno_t; 279 | pub fn _get_errno(_Value: *mut ::std::os::raw::c_int) -> errno_t; 280 | pub fn __threadid() -> ::std::os::raw::c_ulong; 281 | pub fn __threadhandle() -> uintptr_t; 282 | pub fn __local_stdio_printf_options() -> *mut ::std::os::raw::c_ulonglong; 283 | pub fn __local_stdio_scanf_options() -> *mut ::std::os::raw::c_ulonglong; 284 | pub fn __acrt_iob_func(arg1: ::std::os::raw::c_uint) -> *mut FILE; 285 | pub fn fgetwc(_Stream: *mut FILE) -> wint_t; 286 | pub fn _fgetwchar() -> wint_t; 287 | pub fn fputwc(_Character: wchar_t, _Stream: *mut FILE) -> wint_t; 288 | pub fn _fputwchar(_Character: wchar_t) -> wint_t; 289 | pub fn getwc(_Stream: *mut FILE) -> wint_t; 290 | pub fn getwchar() -> wint_t; 291 | pub fn fgetws(_Buffer: *mut wchar_t, 292 | _BufferCount: ::std::os::raw::c_int, 293 | _Stream: *mut FILE) 294 | -> *mut wchar_t; 295 | pub fn fputws(_Buffer: *const wchar_t, _Stream: *mut FILE) -> ::std::os::raw::c_int; 296 | pub fn _getws_s(_Buffer: *mut wchar_t, _BufferCount: size_t) -> *mut wchar_t; 297 | pub fn putwc(_Character: wchar_t, _Stream: *mut FILE) -> wint_t; 298 | pub fn putwchar(_Character: wchar_t) -> wint_t; 299 | pub fn _putws(_Buffer: *const wchar_t) -> ::std::os::raw::c_int; 300 | pub fn ungetwc(_Character: wint_t, _Stream: *mut FILE) -> wint_t; 301 | pub fn _wfdopen(_FileHandle: ::std::os::raw::c_int, _Mode: *const wchar_t) -> *mut FILE; 302 | pub fn _wfopen(_FileName: *const wchar_t, _Mode: *const wchar_t) -> *mut FILE; 303 | pub fn _wfopen_s(_Stream: *mut *mut FILE, 304 | _FileName: *const wchar_t, 305 | _Mode: *const wchar_t) 306 | -> errno_t; 307 | pub fn _wfreopen(_FileName: *const wchar_t, 308 | _Mode: *const wchar_t, 309 | _OldStream: *mut FILE) 310 | -> *mut FILE; 311 | pub fn _wfreopen_s(_Stream: *mut *mut FILE, 312 | _FileName: *const wchar_t, 313 | _Mode: *const wchar_t, 314 | _OldStream: *mut FILE) 315 | -> errno_t; 316 | pub fn _wfsopen(_FileName: *const wchar_t, 317 | _Mode: *const wchar_t, 318 | _ShFlag: ::std::os::raw::c_int) 319 | -> *mut FILE; 320 | pub fn _wperror(_ErrorMessage: *const wchar_t); 321 | pub fn _wpopen(_Command: *const wchar_t, _Mode: *const wchar_t) -> *mut FILE; 322 | pub fn _wremove(_FileName: *const wchar_t) -> ::std::os::raw::c_int; 323 | pub fn _wtempnam(_Directory: *const wchar_t, _FilePrefix: *const wchar_t) -> *mut wchar_t; 324 | pub fn _wtmpnam_s(_Buffer: *mut wchar_t, _BufferCount: size_t) -> errno_t; 325 | pub fn _wtmpnam(_Buffer: *mut wchar_t) -> *mut wchar_t; 326 | pub fn _fgetwc_nolock(_Stream: *mut FILE) -> wint_t; 327 | pub fn _fputwc_nolock(_Character: wchar_t, _Stream: *mut FILE) -> wint_t; 328 | pub fn _getwc_nolock(_Stream: *mut FILE) -> wint_t; 329 | pub fn _putwc_nolock(_Character: wchar_t, _Stream: *mut FILE) -> wint_t; 330 | pub fn _ungetwc_nolock(_Character: wint_t, _Stream: *mut FILE) -> wint_t; 331 | pub fn __stdio_common_vfwprintf(_Options: ::std::os::raw::c_ulonglong, 332 | _Stream: *mut FILE, 333 | _Format: *const wchar_t, 334 | _Locale: _locale_t, 335 | _ArgList: va_list) 336 | -> ::std::os::raw::c_int; 337 | pub fn __stdio_common_vfwprintf_s(_Options: ::std::os::raw::c_ulonglong, 338 | _Stream: *mut FILE, 339 | _Format: *const wchar_t, 340 | _Locale: _locale_t, 341 | _ArgList: va_list) 342 | -> ::std::os::raw::c_int; 343 | pub fn __stdio_common_vfwprintf_p(_Options: ::std::os::raw::c_ulonglong, 344 | _Stream: *mut FILE, 345 | _Format: *const wchar_t, 346 | _Locale: _locale_t, 347 | _ArgList: va_list) 348 | -> ::std::os::raw::c_int; 349 | pub fn _vfwprintf_l(_Stream: *mut FILE, 350 | _Format: *const wchar_t, 351 | _Locale: _locale_t, 352 | _ArgList: va_list) 353 | -> ::std::os::raw::c_int; 354 | pub fn vfwprintf(_Stream: *mut FILE, 355 | _Format: *const wchar_t, 356 | _ArgList: va_list) 357 | -> ::std::os::raw::c_int; 358 | pub fn _vfwprintf_s_l(_Stream: *mut FILE, 359 | _Format: *const wchar_t, 360 | _Locale: _locale_t, 361 | _ArgList: va_list) 362 | -> ::std::os::raw::c_int; 363 | pub fn vfwprintf_s(_Stream: *mut FILE, 364 | _Format: *const wchar_t, 365 | _ArgList: va_list) 366 | -> ::std::os::raw::c_int; 367 | pub fn _vfwprintf_p_l(_Stream: *mut FILE, 368 | _Format: *const wchar_t, 369 | _Locale: _locale_t, 370 | _ArgList: va_list) 371 | -> ::std::os::raw::c_int; 372 | pub fn _vfwprintf_p(_Stream: *mut FILE, 373 | _Format: *const wchar_t, 374 | _ArgList: va_list) 375 | -> ::std::os::raw::c_int; 376 | pub fn _vwprintf_l(_Format: *const wchar_t, 377 | _Locale: _locale_t, 378 | _ArgList: va_list) 379 | -> ::std::os::raw::c_int; 380 | pub fn vwprintf(_Format: *const wchar_t, _ArgList: va_list) -> ::std::os::raw::c_int; 381 | pub fn _vwprintf_s_l(_Format: *const wchar_t, 382 | _Locale: _locale_t, 383 | _ArgList: va_list) 384 | -> ::std::os::raw::c_int; 385 | pub fn vwprintf_s(_Format: *const wchar_t, _ArgList: va_list) -> ::std::os::raw::c_int; 386 | pub fn _vwprintf_p_l(_Format: *const wchar_t, 387 | _Locale: _locale_t, 388 | _ArgList: va_list) 389 | -> ::std::os::raw::c_int; 390 | pub fn _vwprintf_p(_Format: *const wchar_t, _ArgList: va_list) -> ::std::os::raw::c_int; 391 | pub fn _fwprintf_l(_Stream: *mut FILE, 392 | _Format: *const wchar_t, 393 | _Locale: _locale_t, 394 | ...) 395 | -> ::std::os::raw::c_int; 396 | pub fn fwprintf(_Stream: *mut FILE, _Format: *const wchar_t, ...) -> ::std::os::raw::c_int; 397 | pub fn _fwprintf_s_l(_Stream: *mut FILE, 398 | _Format: *const wchar_t, 399 | _Locale: _locale_t, 400 | ...) 401 | -> ::std::os::raw::c_int; 402 | pub fn fwprintf_s(_Stream: *mut FILE, _Format: *const wchar_t, ...) -> ::std::os::raw::c_int; 403 | pub fn _fwprintf_p_l(_Stream: *mut FILE, 404 | _Format: *const wchar_t, 405 | _Locale: _locale_t, 406 | ...) 407 | -> ::std::os::raw::c_int; 408 | pub fn _fwprintf_p(_Stream: *mut FILE, _Format: *const wchar_t, ...) -> ::std::os::raw::c_int; 409 | pub fn _wprintf_l(_Format: *const wchar_t, _Locale: _locale_t, ...) -> ::std::os::raw::c_int; 410 | pub fn wprintf(_Format: *const wchar_t, ...) -> ::std::os::raw::c_int; 411 | pub fn _wprintf_s_l(_Format: *const wchar_t, _Locale: _locale_t, ...) -> ::std::os::raw::c_int; 412 | pub fn wprintf_s(_Format: *const wchar_t, ...) -> ::std::os::raw::c_int; 413 | pub fn _wprintf_p_l(_Format: *const wchar_t, _Locale: _locale_t, ...) -> ::std::os::raw::c_int; 414 | pub fn _wprintf_p(_Format: *const wchar_t, ...) -> ::std::os::raw::c_int; 415 | pub fn __stdio_common_vfwscanf(_Options: ::std::os::raw::c_ulonglong, 416 | _Stream: *mut FILE, 417 | _Format: *const wchar_t, 418 | _Locale: _locale_t, 419 | _ArgList: va_list) 420 | -> ::std::os::raw::c_int; 421 | pub fn _vfwscanf_l(_Stream: *mut FILE, 422 | _Format: *const wchar_t, 423 | _Locale: _locale_t, 424 | _ArgList: va_list) 425 | -> ::std::os::raw::c_int; 426 | pub fn vfwscanf(_Stream: *mut FILE, 427 | _Format: *const wchar_t, 428 | _ArgList: va_list) 429 | -> ::std::os::raw::c_int; 430 | pub fn _vfwscanf_s_l(_Stream: *mut FILE, 431 | _Format: *const wchar_t, 432 | _Locale: _locale_t, 433 | _ArgList: va_list) 434 | -> ::std::os::raw::c_int; 435 | pub fn vfwscanf_s(_Stream: *mut FILE, 436 | _Format: *const wchar_t, 437 | _ArgList: va_list) 438 | -> ::std::os::raw::c_int; 439 | pub fn _vwscanf_l(_Format: *const wchar_t, 440 | _Locale: _locale_t, 441 | _ArgList: va_list) 442 | -> ::std::os::raw::c_int; 443 | pub fn vwscanf(_Format: *const wchar_t, _ArgList: va_list) -> ::std::os::raw::c_int; 444 | pub fn _vwscanf_s_l(_Format: *const wchar_t, 445 | _Locale: _locale_t, 446 | _ArgList: va_list) 447 | -> ::std::os::raw::c_int; 448 | pub fn vwscanf_s(_Format: *const wchar_t, _ArgList: va_list) -> ::std::os::raw::c_int; 449 | pub fn _fwscanf_l(_Stream: *mut FILE, 450 | _Format: *const wchar_t, 451 | _Locale: _locale_t, 452 | ...) 453 | -> ::std::os::raw::c_int; 454 | pub fn fwscanf(_Stream: *mut FILE, _Format: *const wchar_t, ...) -> ::std::os::raw::c_int; 455 | pub fn _fwscanf_s_l(_Stream: *mut FILE, 456 | _Format: *const wchar_t, 457 | _Locale: _locale_t, 458 | ...) 459 | -> ::std::os::raw::c_int; 460 | pub fn fwscanf_s(_Stream: *mut FILE, _Format: *const wchar_t, ...) -> ::std::os::raw::c_int; 461 | pub fn _wscanf_l(_Format: *const wchar_t, _Locale: _locale_t, ...) -> ::std::os::raw::c_int; 462 | pub fn wscanf(_Format: *const wchar_t, ...) -> ::std::os::raw::c_int; 463 | pub fn _wscanf_s_l(_Format: *const wchar_t, _Locale: _locale_t, ...) -> ::std::os::raw::c_int; 464 | pub fn wscanf_s(_Format: *const wchar_t, ...) -> ::std::os::raw::c_int; 465 | pub fn __stdio_common_vswprintf(_Options: ::std::os::raw::c_ulonglong, 466 | _Buffer: *mut wchar_t, 467 | _BufferCount: size_t, 468 | _Format: *const wchar_t, 469 | _Locale: _locale_t, 470 | _ArgList: va_list) 471 | -> ::std::os::raw::c_int; 472 | pub fn __stdio_common_vswprintf_s(_Options: ::std::os::raw::c_ulonglong, 473 | _Buffer: *mut wchar_t, 474 | _BufferCount: size_t, 475 | _Format: *const wchar_t, 476 | _Locale: _locale_t, 477 | _ArgList: va_list) 478 | -> ::std::os::raw::c_int; 479 | pub fn __stdio_common_vsnwprintf_s(_Options: ::std::os::raw::c_ulonglong, 480 | _Buffer: *mut wchar_t, 481 | _BufferCount: size_t, 482 | _MaxCount: size_t, 483 | _Format: *const wchar_t, 484 | _Locale: _locale_t, 485 | _ArgList: va_list) 486 | -> ::std::os::raw::c_int; 487 | pub fn __stdio_common_vswprintf_p(_Options: ::std::os::raw::c_ulonglong, 488 | _Buffer: *mut wchar_t, 489 | _BufferCount: size_t, 490 | _Format: *const wchar_t, 491 | _Locale: _locale_t, 492 | _ArgList: va_list) 493 | -> ::std::os::raw::c_int; 494 | pub fn _vsnwprintf_l(_Buffer: *mut wchar_t, 495 | _BufferCount: size_t, 496 | _Format: *const wchar_t, 497 | _Locale: _locale_t, 498 | _ArgList: va_list) 499 | -> ::std::os::raw::c_int; 500 | pub fn _vsnwprintf_s_l(_Buffer: *mut wchar_t, 501 | _BufferCount: size_t, 502 | _MaxCount: size_t, 503 | _Format: *const wchar_t, 504 | _Locale: _locale_t, 505 | _ArgList: va_list) 506 | -> ::std::os::raw::c_int; 507 | pub fn _vsnwprintf_s(_Buffer: *mut wchar_t, 508 | _BufferCount: size_t, 509 | _MaxCount: size_t, 510 | _Format: *const wchar_t, 511 | _ArgList: va_list) 512 | -> ::std::os::raw::c_int; 513 | pub fn _snwprintf(_Buffer: *mut wchar_t, 514 | _BufferCount: size_t, 515 | _Format: *const wchar_t, 516 | ...) 517 | -> ::std::os::raw::c_int; 518 | pub fn _vsnwprintf(_Buffer: *mut wchar_t, 519 | _BufferCount: size_t, 520 | _Format: *const wchar_t, 521 | _ArgList: va_list) 522 | -> ::std::os::raw::c_int; 523 | pub fn _vswprintf_c_l(_Buffer: *mut wchar_t, 524 | _BufferCount: size_t, 525 | _Format: *const wchar_t, 526 | _Locale: _locale_t, 527 | _ArgList: va_list) 528 | -> ::std::os::raw::c_int; 529 | pub fn _vswprintf_c(_Buffer: *mut wchar_t, 530 | _BufferCount: size_t, 531 | _Format: *const wchar_t, 532 | _ArgList: va_list) 533 | -> ::std::os::raw::c_int; 534 | pub fn _vswprintf_l(_Buffer: *mut wchar_t, 535 | _BufferCount: size_t, 536 | _Format: *const wchar_t, 537 | _Locale: _locale_t, 538 | _ArgList: va_list) 539 | -> ::std::os::raw::c_int; 540 | pub fn __vswprintf_l(_Buffer: *mut wchar_t, 541 | _Format: *const wchar_t, 542 | _Locale: _locale_t, 543 | _Args: va_list) 544 | -> ::std::os::raw::c_int; 545 | pub fn _vswprintf(_Buffer: *mut wchar_t, 546 | _Format: *const wchar_t, 547 | _Args: va_list) 548 | -> ::std::os::raw::c_int; 549 | pub fn vswprintf(_Buffer: *mut wchar_t, 550 | _BufferCount: size_t, 551 | _Format: *const wchar_t, 552 | _ArgList: va_list) 553 | -> ::std::os::raw::c_int; 554 | pub fn _vswprintf_s_l(_Buffer: *mut wchar_t, 555 | _BufferCount: size_t, 556 | _Format: *const wchar_t, 557 | _Locale: _locale_t, 558 | _ArgList: va_list) 559 | -> ::std::os::raw::c_int; 560 | pub fn vswprintf_s(_Buffer: *mut wchar_t, 561 | _BufferCount: size_t, 562 | _Format: *const wchar_t, 563 | _ArgList: va_list) 564 | -> ::std::os::raw::c_int; 565 | pub fn _vswprintf_p_l(_Buffer: *mut wchar_t, 566 | _BufferCount: size_t, 567 | _Format: *const wchar_t, 568 | _Locale: _locale_t, 569 | _ArgList: va_list) 570 | -> ::std::os::raw::c_int; 571 | pub fn _vswprintf_p(_Buffer: *mut wchar_t, 572 | _BufferCount: size_t, 573 | _Format: *const wchar_t, 574 | _ArgList: va_list) 575 | -> ::std::os::raw::c_int; 576 | pub fn _vscwprintf_l(_Format: *const wchar_t, 577 | _Locale: _locale_t, 578 | _ArgList: va_list) 579 | -> ::std::os::raw::c_int; 580 | pub fn _vscwprintf(_Format: *const wchar_t, _ArgList: va_list) -> ::std::os::raw::c_int; 581 | pub fn _vscwprintf_p_l(_Format: *const wchar_t, 582 | _Locale: _locale_t, 583 | _ArgList: va_list) 584 | -> ::std::os::raw::c_int; 585 | pub fn _vscwprintf_p(_Format: *const wchar_t, _ArgList: va_list) -> ::std::os::raw::c_int; 586 | pub fn __swprintf_l(_Buffer: *mut wchar_t, 587 | _Format: *const wchar_t, 588 | _Locale: _locale_t, 589 | ...) 590 | -> ::std::os::raw::c_int; 591 | pub fn _swprintf_l(_Buffer: *mut wchar_t, 592 | _BufferCount: size_t, 593 | _Format: *const wchar_t, 594 | _Locale: _locale_t, 595 | ...) 596 | -> ::std::os::raw::c_int; 597 | pub fn _swprintf(_Buffer: *mut wchar_t, _Format: *const wchar_t, ...) -> ::std::os::raw::c_int; 598 | pub fn swprintf(_Buffer: *mut wchar_t, 599 | _BufferCount: size_t, 600 | _Format: *const wchar_t, 601 | ...) 602 | -> ::std::os::raw::c_int; 603 | pub fn _swprintf_s_l(_Buffer: *mut wchar_t, 604 | _BufferCount: size_t, 605 | _Format: *const wchar_t, 606 | _Locale: _locale_t, 607 | ...) 608 | -> ::std::os::raw::c_int; 609 | pub fn swprintf_s(_Buffer: *mut wchar_t, 610 | _BufferCount: size_t, 611 | _Format: *const wchar_t, 612 | ...) 613 | -> ::std::os::raw::c_int; 614 | pub fn _swprintf_p_l(_Buffer: *mut wchar_t, 615 | _BufferCount: size_t, 616 | _Format: *const wchar_t, 617 | _Locale: _locale_t, 618 | ...) 619 | -> ::std::os::raw::c_int; 620 | pub fn _swprintf_p(_Buffer: *mut wchar_t, 621 | _BufferCount: size_t, 622 | _Format: *const wchar_t, 623 | ...) 624 | -> ::std::os::raw::c_int; 625 | pub fn _swprintf_c_l(_Buffer: *mut wchar_t, 626 | _BufferCount: size_t, 627 | _Format: *const wchar_t, 628 | _Locale: _locale_t, 629 | ...) 630 | -> ::std::os::raw::c_int; 631 | pub fn _swprintf_c(_Buffer: *mut wchar_t, 632 | _BufferCount: size_t, 633 | _Format: *const wchar_t, 634 | ...) 635 | -> ::std::os::raw::c_int; 636 | pub fn _snwprintf_l(_Buffer: *mut wchar_t, 637 | _BufferCount: size_t, 638 | _Format: *const wchar_t, 639 | _Locale: _locale_t, 640 | ...) 641 | -> ::std::os::raw::c_int; 642 | pub fn _snwprintf_s_l(_Buffer: *mut wchar_t, 643 | _BufferCount: size_t, 644 | _MaxCount: size_t, 645 | _Format: *const wchar_t, 646 | _Locale: _locale_t, 647 | ...) 648 | -> ::std::os::raw::c_int; 649 | pub fn _snwprintf_s(_Buffer: *mut wchar_t, 650 | _BufferCount: size_t, 651 | _MaxCount: size_t, 652 | _Format: *const wchar_t, 653 | ...) 654 | -> ::std::os::raw::c_int; 655 | pub fn _scwprintf_l(_Format: *const wchar_t, _Locale: _locale_t, ...) -> ::std::os::raw::c_int; 656 | pub fn _scwprintf(_Format: *const wchar_t, ...) -> ::std::os::raw::c_int; 657 | pub fn _scwprintf_p_l(_Format: *const wchar_t, 658 | _Locale: _locale_t, 659 | ...) 660 | -> ::std::os::raw::c_int; 661 | pub fn _scwprintf_p(_Format: *const wchar_t, ...) -> ::std::os::raw::c_int; 662 | pub fn __stdio_common_vswscanf(_Options: ::std::os::raw::c_ulonglong, 663 | _Buffer: *const wchar_t, 664 | _BufferCount: size_t, 665 | _Format: *const wchar_t, 666 | _Locale: _locale_t, 667 | _ArgList: va_list) 668 | -> ::std::os::raw::c_int; 669 | pub fn _vswscanf_l(_Buffer: *const wchar_t, 670 | _Format: *const wchar_t, 671 | _Locale: _locale_t, 672 | _ArgList: va_list) 673 | -> ::std::os::raw::c_int; 674 | pub fn vswscanf(_Buffer: *const wchar_t, 675 | _Format: *const wchar_t, 676 | _ArgList: va_list) 677 | -> ::std::os::raw::c_int; 678 | pub fn _vswscanf_s_l(_Buffer: *const wchar_t, 679 | _Format: *const wchar_t, 680 | _Locale: _locale_t, 681 | _ArgList: va_list) 682 | -> ::std::os::raw::c_int; 683 | pub fn vswscanf_s(_Buffer: *const wchar_t, 684 | _Format: *const wchar_t, 685 | _ArgList: va_list) 686 | -> ::std::os::raw::c_int; 687 | pub fn _vsnwscanf_l(_Buffer: *const wchar_t, 688 | _BufferCount: size_t, 689 | _Format: *const wchar_t, 690 | _Locale: _locale_t, 691 | _ArgList: va_list) 692 | -> ::std::os::raw::c_int; 693 | pub fn _vsnwscanf_s_l(_Buffer: *const wchar_t, 694 | _BufferCount: size_t, 695 | _Format: *const wchar_t, 696 | _Locale: _locale_t, 697 | _ArgList: va_list) 698 | -> ::std::os::raw::c_int; 699 | pub fn _swscanf_l(_Buffer: *const wchar_t, 700 | _Format: *const wchar_t, 701 | _Locale: _locale_t, 702 | ...) 703 | -> ::std::os::raw::c_int; 704 | pub fn swscanf(_Buffer: *const wchar_t, _Format: *const wchar_t, ...) -> ::std::os::raw::c_int; 705 | pub fn _swscanf_s_l(_Buffer: *const wchar_t, 706 | _Format: *const wchar_t, 707 | _Locale: _locale_t, 708 | ...) 709 | -> ::std::os::raw::c_int; 710 | pub fn swscanf_s(_Buffer: *const wchar_t, 711 | _Format: *const wchar_t, 712 | ...) 713 | -> ::std::os::raw::c_int; 714 | pub fn _snwscanf_l(_Buffer: *const wchar_t, 715 | _BufferCount: size_t, 716 | _Format: *const wchar_t, 717 | _Locale: _locale_t, 718 | ...) 719 | -> ::std::os::raw::c_int; 720 | pub fn _snwscanf(_Buffer: *const wchar_t, 721 | _BufferCount: size_t, 722 | _Format: *const wchar_t, 723 | ...) 724 | -> ::std::os::raw::c_int; 725 | pub fn _snwscanf_s_l(_Buffer: *const wchar_t, 726 | _BufferCount: size_t, 727 | _Format: *const wchar_t, 728 | _Locale: _locale_t, 729 | ...) 730 | -> ::std::os::raw::c_int; 731 | pub fn _snwscanf_s(_Buffer: *const wchar_t, 732 | _BufferCount: size_t, 733 | _Format: *const wchar_t, 734 | ...) 735 | -> ::std::os::raw::c_int; 736 | pub fn _get_stream_buffer_pointers(_Stream: *mut FILE, 737 | _Base: *mut *mut *mut ::std::os::raw::c_char, 738 | _Pointer: *mut *mut *mut ::std::os::raw::c_char, 739 | _Count: *mut *mut ::std::os::raw::c_int) 740 | -> errno_t; 741 | pub fn clearerr_s(_Stream: *mut FILE) -> errno_t; 742 | pub fn fopen_s(_Stream: *mut *mut FILE, 743 | _FileName: *const ::std::os::raw::c_char, 744 | _Mode: *const ::std::os::raw::c_char) 745 | -> errno_t; 746 | pub fn fread_s(_Buffer: *mut ::std::os::raw::c_void, 747 | _BufferSize: size_t, 748 | _ElementSize: size_t, 749 | _ElementCount: size_t, 750 | _Stream: *mut FILE) 751 | -> size_t; 752 | pub fn freopen_s(_Stream: *mut *mut FILE, 753 | _FileName: *const ::std::os::raw::c_char, 754 | _Mode: *const ::std::os::raw::c_char, 755 | _OldStream: *mut FILE) 756 | -> errno_t; 757 | pub fn gets_s(_Buffer: *mut ::std::os::raw::c_char, 758 | _Size: rsize_t) 759 | -> *mut ::std::os::raw::c_char; 760 | pub fn tmpfile_s(_Stream: *mut *mut FILE) -> errno_t; 761 | pub fn tmpnam_s(_Buffer: *mut ::std::os::raw::c_char, _Size: rsize_t) -> errno_t; 762 | pub fn clearerr(_Stream: *mut FILE); 763 | pub fn fclose(_Stream: *mut FILE) -> ::std::os::raw::c_int; 764 | pub fn _fcloseall() -> ::std::os::raw::c_int; 765 | pub fn _fdopen(_FileHandle: ::std::os::raw::c_int, 766 | _Mode: *const ::std::os::raw::c_char) 767 | -> *mut FILE; 768 | pub fn feof(_Stream: *mut FILE) -> ::std::os::raw::c_int; 769 | pub fn ferror(_Stream: *mut FILE) -> ::std::os::raw::c_int; 770 | pub fn fflush(_Stream: *mut FILE) -> ::std::os::raw::c_int; 771 | pub fn fgetc(_Stream: *mut FILE) -> ::std::os::raw::c_int; 772 | pub fn _fgetchar() -> ::std::os::raw::c_int; 773 | pub fn fgetpos(_Stream: *mut FILE, _Position: *mut fpos_t) -> ::std::os::raw::c_int; 774 | pub fn fgets(_Buffer: *mut ::std::os::raw::c_char, 775 | _MaxCount: ::std::os::raw::c_int, 776 | _Stream: *mut FILE) 777 | -> *mut ::std::os::raw::c_char; 778 | pub fn _fileno(_Stream: *mut FILE) -> ::std::os::raw::c_int; 779 | pub fn _flushall() -> ::std::os::raw::c_int; 780 | pub fn fopen(_FileName: *const ::std::os::raw::c_char, 781 | _Mode: *const ::std::os::raw::c_char) 782 | -> *mut FILE; 783 | pub fn fputc(_Character: ::std::os::raw::c_int, _Stream: *mut FILE) -> ::std::os::raw::c_int; 784 | pub fn _fputchar(_Character: ::std::os::raw::c_int) -> ::std::os::raw::c_int; 785 | pub fn fputs(_Buffer: *const ::std::os::raw::c_char, 786 | _Stream: *mut FILE) 787 | -> ::std::os::raw::c_int; 788 | pub fn fread(_Buffer: *mut ::std::os::raw::c_void, 789 | _ElementSize: size_t, 790 | _ElementCount: size_t, 791 | _Stream: *mut FILE) 792 | -> size_t; 793 | pub fn freopen(_FileName: *const ::std::os::raw::c_char, 794 | _Mode: *const ::std::os::raw::c_char, 795 | _Stream: *mut FILE) 796 | -> *mut FILE; 797 | pub fn _fsopen(_FileName: *const ::std::os::raw::c_char, 798 | _Mode: *const ::std::os::raw::c_char, 799 | _ShFlag: ::std::os::raw::c_int) 800 | -> *mut FILE; 801 | pub fn fsetpos(_Stream: *mut FILE, _Position: *const fpos_t) -> ::std::os::raw::c_int; 802 | pub fn fseek(_Stream: *mut FILE, 803 | _Offset: ::std::os::raw::c_long, 804 | _Origin: ::std::os::raw::c_int) 805 | -> ::std::os::raw::c_int; 806 | pub fn _fseeki64(_Stream: *mut FILE, 807 | _Offset: ::std::os::raw::c_longlong, 808 | _Origin: ::std::os::raw::c_int) 809 | -> ::std::os::raw::c_int; 810 | pub fn ftell(_Stream: *mut FILE) -> ::std::os::raw::c_long; 811 | pub fn _ftelli64(_Stream: *mut FILE) -> ::std::os::raw::c_longlong; 812 | pub fn fwrite(_Buffer: *const ::std::os::raw::c_void, 813 | _ElementSize: size_t, 814 | _ElementCount: size_t, 815 | _Stream: *mut FILE) 816 | -> size_t; 817 | pub fn getc(_Stream: *mut FILE) -> ::std::os::raw::c_int; 818 | pub fn getchar() -> ::std::os::raw::c_int; 819 | pub fn _getmaxstdio() -> ::std::os::raw::c_int; 820 | pub fn _getw(_Stream: *mut FILE) -> ::std::os::raw::c_int; 821 | pub fn perror(_ErrorMessage: *const ::std::os::raw::c_char); 822 | pub fn _pclose(_Stream: *mut FILE) -> ::std::os::raw::c_int; 823 | pub fn _popen(_Command: *const ::std::os::raw::c_char, 824 | _Mode: *const ::std::os::raw::c_char) 825 | -> *mut FILE; 826 | pub fn putc(_Character: ::std::os::raw::c_int, _Stream: *mut FILE) -> ::std::os::raw::c_int; 827 | pub fn putchar(_Character: ::std::os::raw::c_int) -> ::std::os::raw::c_int; 828 | pub fn puts(_Buffer: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; 829 | pub fn _putw(_Word: ::std::os::raw::c_int, _Stream: *mut FILE) -> ::std::os::raw::c_int; 830 | pub fn remove(_FileName: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; 831 | pub fn rename(_OldFileName: *const ::std::os::raw::c_char, 832 | _NewFileName: *const ::std::os::raw::c_char) 833 | -> ::std::os::raw::c_int; 834 | pub fn _unlink(_FileName: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; 835 | pub fn unlink(_FileName: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; 836 | pub fn rewind(_Stream: *mut FILE); 837 | pub fn _rmtmp() -> ::std::os::raw::c_int; 838 | pub fn setbuf(_Stream: *mut FILE, _Buffer: *mut ::std::os::raw::c_char); 839 | pub fn _setmaxstdio(_Maximum: ::std::os::raw::c_int) -> ::std::os::raw::c_int; 840 | pub fn setvbuf(_Stream: *mut FILE, 841 | _Buffer: *mut ::std::os::raw::c_char, 842 | _Mode: ::std::os::raw::c_int, 843 | _Size: size_t) 844 | -> ::std::os::raw::c_int; 845 | pub fn _tempnam(_DirectoryName: *const ::std::os::raw::c_char, 846 | _FilePrefix: *const ::std::os::raw::c_char) 847 | -> *mut ::std::os::raw::c_char; 848 | pub fn tmpfile() -> *mut FILE; 849 | pub fn tmpnam(_Buffer: *mut ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; 850 | pub fn ungetc(_Character: ::std::os::raw::c_int, _Stream: *mut FILE) -> ::std::os::raw::c_int; 851 | pub fn _lock_file(_Stream: *mut FILE); 852 | pub fn _unlock_file(_Stream: *mut FILE); 853 | pub fn _fclose_nolock(_Stream: *mut FILE) -> ::std::os::raw::c_int; 854 | pub fn _fflush_nolock(_Stream: *mut FILE) -> ::std::os::raw::c_int; 855 | pub fn _fgetc_nolock(_Stream: *mut FILE) -> ::std::os::raw::c_int; 856 | pub fn _fputc_nolock(_Character: ::std::os::raw::c_int, 857 | _Stream: *mut FILE) 858 | -> ::std::os::raw::c_int; 859 | pub fn _fread_nolock(_Buffer: *mut ::std::os::raw::c_void, 860 | _ElementSize: size_t, 861 | _ElementCount: size_t, 862 | _Stream: *mut FILE) 863 | -> size_t; 864 | pub fn _fread_nolock_s(_Buffer: *mut ::std::os::raw::c_void, 865 | _BufferSize: size_t, 866 | _ElementSize: size_t, 867 | _ElementCount: size_t, 868 | _Stream: *mut FILE) 869 | -> size_t; 870 | pub fn _fseek_nolock(_Stream: *mut FILE, 871 | _Offset: ::std::os::raw::c_long, 872 | _Origin: ::std::os::raw::c_int) 873 | -> ::std::os::raw::c_int; 874 | pub fn _fseeki64_nolock(_Stream: *mut FILE, 875 | _Offset: ::std::os::raw::c_longlong, 876 | _Origin: ::std::os::raw::c_int) 877 | -> ::std::os::raw::c_int; 878 | pub fn _ftell_nolock(_Stream: *mut FILE) -> ::std::os::raw::c_long; 879 | pub fn _ftelli64_nolock(_Stream: *mut FILE) -> ::std::os::raw::c_longlong; 880 | pub fn _fwrite_nolock(_Buffer: *const ::std::os::raw::c_void, 881 | _ElementSize: size_t, 882 | _ElementCount: size_t, 883 | _Stream: *mut FILE) 884 | -> size_t; 885 | pub fn _getc_nolock(_Stream: *mut FILE) -> ::std::os::raw::c_int; 886 | pub fn _putc_nolock(_Character: ::std::os::raw::c_int, 887 | _Stream: *mut FILE) 888 | -> ::std::os::raw::c_int; 889 | pub fn _ungetc_nolock(_Character: ::std::os::raw::c_int, 890 | _Stream: *mut FILE) 891 | -> ::std::os::raw::c_int; 892 | pub fn __p__commode() -> *mut ::std::os::raw::c_int; 893 | pub fn __stdio_common_vfprintf(_Options: ::std::os::raw::c_ulonglong, 894 | _Stream: *mut FILE, 895 | _Format: *const ::std::os::raw::c_char, 896 | _Locale: _locale_t, 897 | _ArgList: va_list) 898 | -> ::std::os::raw::c_int; 899 | pub fn __stdio_common_vfprintf_s(_Options: ::std::os::raw::c_ulonglong, 900 | _Stream: *mut FILE, 901 | _Format: *const ::std::os::raw::c_char, 902 | _Locale: _locale_t, 903 | _ArgList: va_list) 904 | -> ::std::os::raw::c_int; 905 | pub fn __stdio_common_vfprintf_p(_Options: ::std::os::raw::c_ulonglong, 906 | _Stream: *mut FILE, 907 | _Format: *const ::std::os::raw::c_char, 908 | _Locale: _locale_t, 909 | _ArgList: va_list) 910 | -> ::std::os::raw::c_int; 911 | pub fn _vfprintf_l(_Stream: *mut FILE, 912 | _Format: *const ::std::os::raw::c_char, 913 | _Locale: _locale_t, 914 | _ArgList: va_list) 915 | -> ::std::os::raw::c_int; 916 | pub fn vfprintf(_Stream: *mut FILE, 917 | _Format: *const ::std::os::raw::c_char, 918 | _ArgList: va_list) 919 | -> ::std::os::raw::c_int; 920 | pub fn _vfprintf_s_l(_Stream: *mut FILE, 921 | _Format: *const ::std::os::raw::c_char, 922 | _Locale: _locale_t, 923 | _ArgList: va_list) 924 | -> ::std::os::raw::c_int; 925 | pub fn vfprintf_s(_Stream: *mut FILE, 926 | _Format: *const ::std::os::raw::c_char, 927 | _ArgList: va_list) 928 | -> ::std::os::raw::c_int; 929 | pub fn _vfprintf_p_l(_Stream: *mut FILE, 930 | _Format: *const ::std::os::raw::c_char, 931 | _Locale: _locale_t, 932 | _ArgList: va_list) 933 | -> ::std::os::raw::c_int; 934 | pub fn _vfprintf_p(_Stream: *mut FILE, 935 | _Format: *const ::std::os::raw::c_char, 936 | _ArgList: va_list) 937 | -> ::std::os::raw::c_int; 938 | pub fn _vprintf_l(_Format: *const ::std::os::raw::c_char, 939 | _Locale: _locale_t, 940 | _ArgList: va_list) 941 | -> ::std::os::raw::c_int; 942 | pub fn vprintf(_Format: *const ::std::os::raw::c_char, 943 | _ArgList: va_list) 944 | -> ::std::os::raw::c_int; 945 | pub fn _vprintf_s_l(_Format: *const ::std::os::raw::c_char, 946 | _Locale: _locale_t, 947 | _ArgList: va_list) 948 | -> ::std::os::raw::c_int; 949 | pub fn vprintf_s(_Format: *const ::std::os::raw::c_char, 950 | _ArgList: va_list) 951 | -> ::std::os::raw::c_int; 952 | pub fn _vprintf_p_l(_Format: *const ::std::os::raw::c_char, 953 | _Locale: _locale_t, 954 | _ArgList: va_list) 955 | -> ::std::os::raw::c_int; 956 | pub fn _vprintf_p(_Format: *const ::std::os::raw::c_char, 957 | _ArgList: va_list) 958 | -> ::std::os::raw::c_int; 959 | pub fn _fprintf_l(_Stream: *mut FILE, 960 | _Format: *const ::std::os::raw::c_char, 961 | _Locale: _locale_t, 962 | ...) 963 | -> ::std::os::raw::c_int; 964 | pub fn fprintf(_Stream: *mut FILE, 965 | _Format: *const ::std::os::raw::c_char, 966 | ...) 967 | -> ::std::os::raw::c_int; 968 | pub fn _set_printf_count_output(_Value: ::std::os::raw::c_int) -> ::std::os::raw::c_int; 969 | pub fn _get_printf_count_output() -> ::std::os::raw::c_int; 970 | pub fn _fprintf_s_l(_Stream: *mut FILE, 971 | _Format: *const ::std::os::raw::c_char, 972 | _Locale: _locale_t, 973 | ...) 974 | -> ::std::os::raw::c_int; 975 | pub fn fprintf_s(_Stream: *mut FILE, 976 | _Format: *const ::std::os::raw::c_char, 977 | ...) 978 | -> ::std::os::raw::c_int; 979 | pub fn _fprintf_p_l(_Stream: *mut FILE, 980 | _Format: *const ::std::os::raw::c_char, 981 | _Locale: _locale_t, 982 | ...) 983 | -> ::std::os::raw::c_int; 984 | pub fn _fprintf_p(_Stream: *mut FILE, 985 | _Format: *const ::std::os::raw::c_char, 986 | ...) 987 | -> ::std::os::raw::c_int; 988 | pub fn _printf_l(_Format: *const ::std::os::raw::c_char, 989 | _Locale: _locale_t, 990 | ...) 991 | -> ::std::os::raw::c_int; 992 | pub fn printf(_Format: *const ::std::os::raw::c_char, ...) -> ::std::os::raw::c_int; 993 | pub fn _printf_s_l(_Format: *const ::std::os::raw::c_char, 994 | _Locale: _locale_t, 995 | ...) 996 | -> ::std::os::raw::c_int; 997 | pub fn printf_s(_Format: *const ::std::os::raw::c_char, ...) -> ::std::os::raw::c_int; 998 | pub fn _printf_p_l(_Format: *const ::std::os::raw::c_char, 999 | _Locale: _locale_t, 1000 | ...) 1001 | -> ::std::os::raw::c_int; 1002 | pub fn _printf_p(_Format: *const ::std::os::raw::c_char, ...) -> ::std::os::raw::c_int; 1003 | pub fn __stdio_common_vfscanf(_Options: ::std::os::raw::c_ulonglong, 1004 | _Stream: *mut FILE, 1005 | _Format: *const ::std::os::raw::c_char, 1006 | _Locale: _locale_t, 1007 | _Arglist: va_list) 1008 | -> ::std::os::raw::c_int; 1009 | pub fn _vfscanf_l(_Stream: *mut FILE, 1010 | _Format: *const ::std::os::raw::c_char, 1011 | _Locale: _locale_t, 1012 | _ArgList: va_list) 1013 | -> ::std::os::raw::c_int; 1014 | pub fn vfscanf(_Stream: *mut FILE, 1015 | _Format: *const ::std::os::raw::c_char, 1016 | _ArgList: va_list) 1017 | -> ::std::os::raw::c_int; 1018 | pub fn _vfscanf_s_l(_Stream: *mut FILE, 1019 | _Format: *const ::std::os::raw::c_char, 1020 | _Locale: _locale_t, 1021 | _ArgList: va_list) 1022 | -> ::std::os::raw::c_int; 1023 | pub fn vfscanf_s(_Stream: *mut FILE, 1024 | _Format: *const ::std::os::raw::c_char, 1025 | _ArgList: va_list) 1026 | -> ::std::os::raw::c_int; 1027 | pub fn _vscanf_l(_Format: *const ::std::os::raw::c_char, 1028 | _Locale: _locale_t, 1029 | _ArgList: va_list) 1030 | -> ::std::os::raw::c_int; 1031 | pub fn vscanf(_Format: *const ::std::os::raw::c_char, 1032 | _ArgList: va_list) 1033 | -> ::std::os::raw::c_int; 1034 | pub fn _vscanf_s_l(_Format: *const ::std::os::raw::c_char, 1035 | _Locale: _locale_t, 1036 | _ArgList: va_list) 1037 | -> ::std::os::raw::c_int; 1038 | pub fn vscanf_s(_Format: *const ::std::os::raw::c_char, 1039 | _ArgList: va_list) 1040 | -> ::std::os::raw::c_int; 1041 | pub fn _fscanf_l(_Stream: *mut FILE, 1042 | _Format: *const ::std::os::raw::c_char, 1043 | _Locale: _locale_t, 1044 | ...) 1045 | -> ::std::os::raw::c_int; 1046 | pub fn fscanf(_Stream: *mut FILE, 1047 | _Format: *const ::std::os::raw::c_char, 1048 | ...) 1049 | -> ::std::os::raw::c_int; 1050 | pub fn _fscanf_s_l(_Stream: *mut FILE, 1051 | _Format: *const ::std::os::raw::c_char, 1052 | _Locale: _locale_t, 1053 | ...) 1054 | -> ::std::os::raw::c_int; 1055 | pub fn fscanf_s(_Stream: *mut FILE, 1056 | _Format: *const ::std::os::raw::c_char, 1057 | ...) 1058 | -> ::std::os::raw::c_int; 1059 | pub fn _scanf_l(_Format: *const ::std::os::raw::c_char, 1060 | _Locale: _locale_t, 1061 | ...) 1062 | -> ::std::os::raw::c_int; 1063 | pub fn scanf(_Format: *const ::std::os::raw::c_char, ...) -> ::std::os::raw::c_int; 1064 | pub fn _scanf_s_l(_Format: *const ::std::os::raw::c_char, 1065 | _Locale: _locale_t, 1066 | ...) 1067 | -> ::std::os::raw::c_int; 1068 | pub fn scanf_s(_Format: *const ::std::os::raw::c_char, ...) -> ::std::os::raw::c_int; 1069 | pub fn __stdio_common_vsprintf(_Options: ::std::os::raw::c_ulonglong, 1070 | _Buffer: *mut ::std::os::raw::c_char, 1071 | _BufferCount: size_t, 1072 | _Format: *const ::std::os::raw::c_char, 1073 | _Locale: _locale_t, 1074 | _ArgList: va_list) 1075 | -> ::std::os::raw::c_int; 1076 | pub fn __stdio_common_vsprintf_s(_Options: ::std::os::raw::c_ulonglong, 1077 | _Buffer: *mut ::std::os::raw::c_char, 1078 | _BufferCount: size_t, 1079 | _Format: *const ::std::os::raw::c_char, 1080 | _Locale: _locale_t, 1081 | _ArgList: va_list) 1082 | -> ::std::os::raw::c_int; 1083 | pub fn __stdio_common_vsnprintf_s(_Options: ::std::os::raw::c_ulonglong, 1084 | _Buffer: *mut ::std::os::raw::c_char, 1085 | _BufferCount: size_t, 1086 | _MaxCount: size_t, 1087 | _Format: *const ::std::os::raw::c_char, 1088 | _Locale: _locale_t, 1089 | _ArgList: va_list) 1090 | -> ::std::os::raw::c_int; 1091 | pub fn __stdio_common_vsprintf_p(_Options: ::std::os::raw::c_ulonglong, 1092 | _Buffer: *mut ::std::os::raw::c_char, 1093 | _BufferCount: size_t, 1094 | _Format: *const ::std::os::raw::c_char, 1095 | _Locale: _locale_t, 1096 | _ArgList: va_list) 1097 | -> ::std::os::raw::c_int; 1098 | pub fn _vsnprintf_l(_Buffer: *mut ::std::os::raw::c_char, 1099 | _BufferCount: size_t, 1100 | _Format: *const ::std::os::raw::c_char, 1101 | _Locale: _locale_t, 1102 | _ArgList: va_list) 1103 | -> ::std::os::raw::c_int; 1104 | pub fn _vsnprintf(_Buffer: *mut ::std::os::raw::c_char, 1105 | _BufferCount: size_t, 1106 | _Format: *const ::std::os::raw::c_char, 1107 | _Args: va_list) 1108 | -> ::std::os::raw::c_int; 1109 | pub fn vsnprintf(_Buffer: *mut ::std::os::raw::c_char, 1110 | _BufferCount: size_t, 1111 | _Format: *const ::std::os::raw::c_char, 1112 | _ArgList: va_list) 1113 | -> ::std::os::raw::c_int; 1114 | pub fn _vsprintf_l(_Buffer: *mut ::std::os::raw::c_char, 1115 | _Format: *const ::std::os::raw::c_char, 1116 | _Locale: _locale_t, 1117 | _ArgList: va_list) 1118 | -> ::std::os::raw::c_int; 1119 | pub fn vsprintf(_Buffer: *mut ::std::os::raw::c_char, 1120 | _Format: *const ::std::os::raw::c_char, 1121 | _Args: va_list) 1122 | -> ::std::os::raw::c_int; 1123 | pub fn _vsprintf_s_l(_Buffer: *mut ::std::os::raw::c_char, 1124 | _BufferCount: size_t, 1125 | _Format: *const ::std::os::raw::c_char, 1126 | _Locale: _locale_t, 1127 | _ArgList: va_list) 1128 | -> ::std::os::raw::c_int; 1129 | pub fn vsprintf_s(_Buffer: *mut ::std::os::raw::c_char, 1130 | _BufferCount: size_t, 1131 | _Format: *const ::std::os::raw::c_char, 1132 | _ArgList: va_list) 1133 | -> ::std::os::raw::c_int; 1134 | pub fn _vsprintf_p_l(_Buffer: *mut ::std::os::raw::c_char, 1135 | _BufferCount: size_t, 1136 | _Format: *const ::std::os::raw::c_char, 1137 | _Locale: _locale_t, 1138 | _ArgList: va_list) 1139 | -> ::std::os::raw::c_int; 1140 | pub fn _vsprintf_p(_Buffer: *mut ::std::os::raw::c_char, 1141 | _BufferCount: size_t, 1142 | _Format: *const ::std::os::raw::c_char, 1143 | _ArgList: va_list) 1144 | -> ::std::os::raw::c_int; 1145 | pub fn _vsnprintf_s_l(_Buffer: *mut ::std::os::raw::c_char, 1146 | _BufferCount: size_t, 1147 | _MaxCount: size_t, 1148 | _Format: *const ::std::os::raw::c_char, 1149 | _Locale: _locale_t, 1150 | _ArgList: va_list) 1151 | -> ::std::os::raw::c_int; 1152 | pub fn _vsnprintf_s(_Buffer: *mut ::std::os::raw::c_char, 1153 | _BufferCount: size_t, 1154 | _MaxCount: size_t, 1155 | _Format: *const ::std::os::raw::c_char, 1156 | _ArgList: va_list) 1157 | -> ::std::os::raw::c_int; 1158 | pub fn vsnprintf_s(_Buffer: *mut ::std::os::raw::c_char, 1159 | _BufferCount: size_t, 1160 | _MaxCount: size_t, 1161 | _Format: *const ::std::os::raw::c_char, 1162 | _ArgList: va_list) 1163 | -> ::std::os::raw::c_int; 1164 | pub fn _vscprintf_l(_Format: *const ::std::os::raw::c_char, 1165 | _Locale: _locale_t, 1166 | _ArgList: va_list) 1167 | -> ::std::os::raw::c_int; 1168 | pub fn _vscprintf(_Format: *const ::std::os::raw::c_char, 1169 | _ArgList: va_list) 1170 | -> ::std::os::raw::c_int; 1171 | pub fn _vscprintf_p_l(_Format: *const ::std::os::raw::c_char, 1172 | _Locale: _locale_t, 1173 | _ArgList: va_list) 1174 | -> ::std::os::raw::c_int; 1175 | pub fn _vscprintf_p(_Format: *const ::std::os::raw::c_char, 1176 | _ArgList: va_list) 1177 | -> ::std::os::raw::c_int; 1178 | pub fn _vsnprintf_c_l(_Buffer: *mut ::std::os::raw::c_char, 1179 | _BufferCount: size_t, 1180 | _Format: *const ::std::os::raw::c_char, 1181 | _Locale: _locale_t, 1182 | _ArgList: va_list) 1183 | -> ::std::os::raw::c_int; 1184 | pub fn _vsnprintf_c(_Buffer: *mut ::std::os::raw::c_char, 1185 | _BufferCount: size_t, 1186 | _Format: *const ::std::os::raw::c_char, 1187 | _ArgList: va_list) 1188 | -> ::std::os::raw::c_int; 1189 | pub fn _sprintf_l(_Buffer: *mut ::std::os::raw::c_char, 1190 | _Format: *const ::std::os::raw::c_char, 1191 | _Locale: _locale_t, 1192 | ...) 1193 | -> ::std::os::raw::c_int; 1194 | pub fn sprintf(_Buffer: *mut ::std::os::raw::c_char, 1195 | _Format: *const ::std::os::raw::c_char, 1196 | ...) 1197 | -> ::std::os::raw::c_int; 1198 | pub fn _sprintf_s_l(_Buffer: *mut ::std::os::raw::c_char, 1199 | _BufferCount: size_t, 1200 | _Format: *const ::std::os::raw::c_char, 1201 | _Locale: _locale_t, 1202 | ...) 1203 | -> ::std::os::raw::c_int; 1204 | pub fn sprintf_s(_Buffer: *mut ::std::os::raw::c_char, 1205 | _BufferCount: size_t, 1206 | _Format: *const ::std::os::raw::c_char, 1207 | ...) 1208 | -> ::std::os::raw::c_int; 1209 | pub fn _sprintf_p_l(_Buffer: *mut ::std::os::raw::c_char, 1210 | _BufferCount: size_t, 1211 | _Format: *const ::std::os::raw::c_char, 1212 | _Locale: _locale_t, 1213 | ...) 1214 | -> ::std::os::raw::c_int; 1215 | pub fn _sprintf_p(_Buffer: *mut ::std::os::raw::c_char, 1216 | _BufferCount: size_t, 1217 | _Format: *const ::std::os::raw::c_char, 1218 | ...) 1219 | -> ::std::os::raw::c_int; 1220 | pub fn _snprintf_l(_Buffer: *mut ::std::os::raw::c_char, 1221 | _BufferCount: size_t, 1222 | _Format: *const ::std::os::raw::c_char, 1223 | _Locale: _locale_t, 1224 | ...) 1225 | -> ::std::os::raw::c_int; 1226 | pub fn snprintf(_Buffer: *mut ::std::os::raw::c_char, 1227 | _BufferCount: size_t, 1228 | _Format: *const ::std::os::raw::c_char, 1229 | ...) 1230 | -> ::std::os::raw::c_int; 1231 | pub fn _snprintf(_Buffer: *mut ::std::os::raw::c_char, 1232 | _BufferCount: size_t, 1233 | _Format: *const ::std::os::raw::c_char, 1234 | ...) 1235 | -> ::std::os::raw::c_int; 1236 | pub fn _snprintf_c_l(_Buffer: *mut ::std::os::raw::c_char, 1237 | _BufferCount: size_t, 1238 | _Format: *const ::std::os::raw::c_char, 1239 | _Locale: _locale_t, 1240 | ...) 1241 | -> ::std::os::raw::c_int; 1242 | pub fn _snprintf_c(_Buffer: *mut ::std::os::raw::c_char, 1243 | _BufferCount: size_t, 1244 | _Format: *const ::std::os::raw::c_char, 1245 | ...) 1246 | -> ::std::os::raw::c_int; 1247 | pub fn _snprintf_s_l(_Buffer: *mut ::std::os::raw::c_char, 1248 | _BufferCount: size_t, 1249 | _MaxCount: size_t, 1250 | _Format: *const ::std::os::raw::c_char, 1251 | _Locale: _locale_t, 1252 | ...) 1253 | -> ::std::os::raw::c_int; 1254 | pub fn _snprintf_s(_Buffer: *mut ::std::os::raw::c_char, 1255 | _BufferCount: size_t, 1256 | _MaxCount: size_t, 1257 | _Format: *const ::std::os::raw::c_char, 1258 | ...) 1259 | -> ::std::os::raw::c_int; 1260 | pub fn _scprintf_l(_Format: *const ::std::os::raw::c_char, 1261 | _Locale: _locale_t, 1262 | ...) 1263 | -> ::std::os::raw::c_int; 1264 | pub fn _scprintf(_Format: *const ::std::os::raw::c_char, ...) -> ::std::os::raw::c_int; 1265 | pub fn _scprintf_p_l(_Format: *const ::std::os::raw::c_char, 1266 | _Locale: _locale_t, 1267 | ...) 1268 | -> ::std::os::raw::c_int; 1269 | pub fn _scprintf_p(_Format: *const ::std::os::raw::c_char, ...) -> ::std::os::raw::c_int; 1270 | pub fn __stdio_common_vsscanf(_Options: ::std::os::raw::c_ulonglong, 1271 | _Buffer: *const ::std::os::raw::c_char, 1272 | _BufferCount: size_t, 1273 | _Format: *const ::std::os::raw::c_char, 1274 | _Locale: _locale_t, 1275 | _ArgList: va_list) 1276 | -> ::std::os::raw::c_int; 1277 | pub fn _vsscanf_l(_Buffer: *const ::std::os::raw::c_char, 1278 | _Format: *const ::std::os::raw::c_char, 1279 | _Locale: _locale_t, 1280 | _ArgList: va_list) 1281 | -> ::std::os::raw::c_int; 1282 | pub fn vsscanf(_Buffer: *const ::std::os::raw::c_char, 1283 | _Format: *const ::std::os::raw::c_char, 1284 | _ArgList: va_list) 1285 | -> ::std::os::raw::c_int; 1286 | pub fn _vsscanf_s_l(_Buffer: *const ::std::os::raw::c_char, 1287 | _Format: *const ::std::os::raw::c_char, 1288 | _Locale: _locale_t, 1289 | _ArgList: va_list) 1290 | -> ::std::os::raw::c_int; 1291 | pub fn vsscanf_s(_Buffer: *const ::std::os::raw::c_char, 1292 | _Format: *const ::std::os::raw::c_char, 1293 | _ArgList: va_list) 1294 | -> ::std::os::raw::c_int; 1295 | pub fn _sscanf_l(_Buffer: *const ::std::os::raw::c_char, 1296 | _Format: *const ::std::os::raw::c_char, 1297 | _Locale: _locale_t, 1298 | ...) 1299 | -> ::std::os::raw::c_int; 1300 | pub fn sscanf(_Buffer: *const ::std::os::raw::c_char, 1301 | _Format: *const ::std::os::raw::c_char, 1302 | ...) 1303 | -> ::std::os::raw::c_int; 1304 | pub fn _sscanf_s_l(_Buffer: *const ::std::os::raw::c_char, 1305 | _Format: *const ::std::os::raw::c_char, 1306 | _Locale: _locale_t, 1307 | ...) 1308 | -> ::std::os::raw::c_int; 1309 | pub fn sscanf_s(_Buffer: *const ::std::os::raw::c_char, 1310 | _Format: *const ::std::os::raw::c_char, 1311 | ...) 1312 | -> ::std::os::raw::c_int; 1313 | pub fn _snscanf_l(_Buffer: *const ::std::os::raw::c_char, 1314 | _BufferCount: size_t, 1315 | _Format: *const ::std::os::raw::c_char, 1316 | _Locale: _locale_t, 1317 | ...) 1318 | -> ::std::os::raw::c_int; 1319 | pub fn _snscanf(_Buffer: *const ::std::os::raw::c_char, 1320 | _BufferCount: size_t, 1321 | _Format: *const ::std::os::raw::c_char, 1322 | ...) 1323 | -> ::std::os::raw::c_int; 1324 | pub fn _snscanf_s_l(_Buffer: *const ::std::os::raw::c_char, 1325 | _BufferCount: size_t, 1326 | _Format: *const ::std::os::raw::c_char, 1327 | _Locale: _locale_t, 1328 | ...) 1329 | -> ::std::os::raw::c_int; 1330 | pub fn _snscanf_s(_Buffer: *const ::std::os::raw::c_char, 1331 | _BufferCount: size_t, 1332 | _Format: *const ::std::os::raw::c_char, 1333 | ...) 1334 | -> ::std::os::raw::c_int; 1335 | pub fn tempnam(_Directory: *const ::std::os::raw::c_char, 1336 | _FilePrefix: *const ::std::os::raw::c_char) 1337 | -> *mut ::std::os::raw::c_char; 1338 | pub fn fcloseall() -> ::std::os::raw::c_int; 1339 | pub fn fdopen(_FileHandle: ::std::os::raw::c_int, 1340 | _Format: *const ::std::os::raw::c_char) 1341 | -> *mut FILE; 1342 | pub fn fgetchar() -> ::std::os::raw::c_int; 1343 | pub fn fileno(_Stream: *mut FILE) -> ::std::os::raw::c_int; 1344 | pub fn flushall() -> ::std::os::raw::c_int; 1345 | pub fn fputchar(_Ch: ::std::os::raw::c_int) -> ::std::os::raw::c_int; 1346 | pub fn getw(_Stream: *mut FILE) -> ::std::os::raw::c_int; 1347 | pub fn putw(_Ch: ::std::os::raw::c_int, _Stream: *mut FILE) -> ::std::os::raw::c_int; 1348 | pub fn rmtmp() -> ::std::os::raw::c_int; 1349 | pub fn addch(arg1: chtype) -> ::std::os::raw::c_int; 1350 | pub fn addchnstr(arg1: *const chtype, arg2: ::std::os::raw::c_int) -> ::std::os::raw::c_int; 1351 | pub fn addchstr(arg1: *const chtype) -> ::std::os::raw::c_int; 1352 | pub fn addnstr(arg1: *const ::std::os::raw::c_char, 1353 | arg2: ::std::os::raw::c_int) 1354 | -> ::std::os::raw::c_int; 1355 | pub fn addstr(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; 1356 | pub fn attroff(arg1: chtype) -> ::std::os::raw::c_int; 1357 | pub fn attron(arg1: chtype) -> ::std::os::raw::c_int; 1358 | pub fn attrset(arg1: chtype) -> ::std::os::raw::c_int; 1359 | pub fn attr_get(arg1: *mut attr_t, 1360 | arg2: *mut ::std::os::raw::c_short, 1361 | arg3: *mut ::std::os::raw::c_void) 1362 | -> ::std::os::raw::c_int; 1363 | pub fn attr_off(arg1: attr_t, arg2: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int; 1364 | pub fn attr_on(arg1: attr_t, arg2: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int; 1365 | pub fn attr_set(arg1: attr_t, 1366 | arg2: ::std::os::raw::c_short, 1367 | arg3: *mut ::std::os::raw::c_void) 1368 | -> ::std::os::raw::c_int; 1369 | pub fn baudrate() -> ::std::os::raw::c_int; 1370 | pub fn beep() -> ::std::os::raw::c_int; 1371 | pub fn bkgd(arg1: chtype) -> ::std::os::raw::c_int; 1372 | pub fn bkgdset(arg1: chtype); 1373 | pub fn border(arg1: chtype, 1374 | arg2: chtype, 1375 | arg3: chtype, 1376 | arg4: chtype, 1377 | arg5: chtype, 1378 | arg6: chtype, 1379 | arg7: chtype, 1380 | arg8: chtype) 1381 | -> ::std::os::raw::c_int; 1382 | #[link_name = "box"] 1383 | pub fn _box(arg1: *mut WINDOW, arg2: chtype, arg3: chtype) -> ::std::os::raw::c_int; 1384 | pub fn can_change_color() -> _bool; 1385 | pub fn cbreak() -> ::std::os::raw::c_int; 1386 | pub fn chgat(arg1: ::std::os::raw::c_int, 1387 | arg2: attr_t, 1388 | arg3: ::std::os::raw::c_short, 1389 | arg4: *const ::std::os::raw::c_void) 1390 | -> ::std::os::raw::c_int; 1391 | pub fn clearok(arg1: *mut WINDOW, arg2: _bool) -> ::std::os::raw::c_int; 1392 | pub fn clear() -> ::std::os::raw::c_int; 1393 | pub fn clrtobot() -> ::std::os::raw::c_int; 1394 | pub fn clrtoeol() -> ::std::os::raw::c_int; 1395 | pub fn color_content(arg1: ::std::os::raw::c_short, 1396 | arg2: *mut ::std::os::raw::c_short, 1397 | arg3: *mut ::std::os::raw::c_short, 1398 | arg4: *mut ::std::os::raw::c_short) 1399 | -> ::std::os::raw::c_int; 1400 | pub fn color_set(arg1: ::std::os::raw::c_short, 1401 | arg2: *mut ::std::os::raw::c_void) 1402 | -> ::std::os::raw::c_int; 1403 | pub fn copywin(arg1: *const WINDOW, 1404 | arg2: *mut WINDOW, 1405 | arg3: ::std::os::raw::c_int, 1406 | arg4: ::std::os::raw::c_int, 1407 | arg5: ::std::os::raw::c_int, 1408 | arg6: ::std::os::raw::c_int, 1409 | arg7: ::std::os::raw::c_int, 1410 | arg8: ::std::os::raw::c_int, 1411 | arg9: ::std::os::raw::c_int) 1412 | -> ::std::os::raw::c_int; 1413 | pub fn curs_set(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; 1414 | pub fn def_prog_mode() -> ::std::os::raw::c_int; 1415 | pub fn def_shell_mode() -> ::std::os::raw::c_int; 1416 | pub fn delay_output(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; 1417 | pub fn delch() -> ::std::os::raw::c_int; 1418 | pub fn deleteln() -> ::std::os::raw::c_int; 1419 | pub fn delscreen(arg1: *mut SCREEN); 1420 | pub fn delwin(arg1: *mut WINDOW) -> ::std::os::raw::c_int; 1421 | pub fn derwin(arg1: *mut WINDOW, 1422 | arg2: ::std::os::raw::c_int, 1423 | arg3: ::std::os::raw::c_int, 1424 | arg4: ::std::os::raw::c_int, 1425 | arg5: ::std::os::raw::c_int) 1426 | -> *mut WINDOW; 1427 | pub fn doupdate() -> ::std::os::raw::c_int; 1428 | pub fn dupwin(arg1: *mut WINDOW) -> *mut WINDOW; 1429 | pub fn echochar(arg1: chtype) -> ::std::os::raw::c_int; 1430 | pub fn echo() -> ::std::os::raw::c_int; 1431 | pub fn endwin() -> ::std::os::raw::c_int; 1432 | pub fn erasechar() -> ::std::os::raw::c_char; 1433 | pub fn erase() -> ::std::os::raw::c_int; 1434 | pub fn filter(); 1435 | pub fn flash() -> ::std::os::raw::c_int; 1436 | pub fn flushinp() -> ::std::os::raw::c_int; 1437 | pub fn getbkgd(arg1: *mut WINDOW) -> chtype; 1438 | pub fn getnstr(arg1: *mut ::std::os::raw::c_char, 1439 | arg2: ::std::os::raw::c_int) 1440 | -> ::std::os::raw::c_int; 1441 | pub fn getstr(arg1: *mut ::std::os::raw::c_char) -> ::std::os::raw::c_int; 1442 | pub fn getwin(arg1: *mut FILE) -> *mut WINDOW; 1443 | pub fn halfdelay(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; 1444 | pub fn has_colors() -> _bool; 1445 | pub fn has_ic() -> _bool; 1446 | pub fn has_il() -> _bool; 1447 | pub fn hline(arg1: chtype, arg2: ::std::os::raw::c_int) -> ::std::os::raw::c_int; 1448 | pub fn idcok(arg1: *mut WINDOW, arg2: _bool); 1449 | pub fn idlok(arg1: *mut WINDOW, arg2: _bool) -> ::std::os::raw::c_int; 1450 | pub fn immedok(arg1: *mut WINDOW, arg2: _bool); 1451 | pub fn inchnstr(arg1: *mut chtype, arg2: ::std::os::raw::c_int) -> ::std::os::raw::c_int; 1452 | pub fn inchstr(arg1: *mut chtype) -> ::std::os::raw::c_int; 1453 | pub fn inch() -> chtype; 1454 | pub fn init_color(arg1: ::std::os::raw::c_short, 1455 | arg2: ::std::os::raw::c_short, 1456 | arg3: ::std::os::raw::c_short, 1457 | arg4: ::std::os::raw::c_short) 1458 | -> ::std::os::raw::c_int; 1459 | pub fn init_pair(arg1: ::std::os::raw::c_short, 1460 | arg2: ::std::os::raw::c_short, 1461 | arg3: ::std::os::raw::c_short) 1462 | -> ::std::os::raw::c_int; 1463 | pub fn initscr() -> *mut WINDOW; 1464 | pub fn innstr(arg1: *mut ::std::os::raw::c_char, 1465 | arg2: ::std::os::raw::c_int) 1466 | -> ::std::os::raw::c_int; 1467 | pub fn insch(arg1: chtype) -> ::std::os::raw::c_int; 1468 | pub fn insdelln(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; 1469 | pub fn insertln() -> ::std::os::raw::c_int; 1470 | pub fn insnstr(arg1: *const ::std::os::raw::c_char, 1471 | arg2: ::std::os::raw::c_int) 1472 | -> ::std::os::raw::c_int; 1473 | pub fn insstr(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; 1474 | pub fn instr(arg1: *mut ::std::os::raw::c_char) -> ::std::os::raw::c_int; 1475 | pub fn intrflush(arg1: *mut WINDOW, arg2: _bool) -> ::std::os::raw::c_int; 1476 | pub fn isendwin() -> _bool; 1477 | pub fn is_linetouched(arg1: *mut WINDOW, arg2: ::std::os::raw::c_int) -> _bool; 1478 | pub fn is_wintouched(arg1: *mut WINDOW) -> _bool; 1479 | pub fn keyname(arg1: ::std::os::raw::c_int) -> *mut ::std::os::raw::c_char; 1480 | pub fn keypad(arg1: *mut WINDOW, arg2: _bool) -> ::std::os::raw::c_int; 1481 | pub fn killchar() -> ::std::os::raw::c_char; 1482 | pub fn leaveok(arg1: *mut WINDOW, arg2: _bool) -> ::std::os::raw::c_int; 1483 | pub fn longname() -> *mut ::std::os::raw::c_char; 1484 | pub fn meta(arg1: *mut WINDOW, arg2: _bool) -> ::std::os::raw::c_int; 1485 | #[link_name = "move"] 1486 | pub fn _move(arg1: ::std::os::raw::c_int, 1487 | arg2: ::std::os::raw::c_int) 1488 | -> ::std::os::raw::c_int; 1489 | pub fn mvaddch(arg1: ::std::os::raw::c_int, 1490 | arg2: ::std::os::raw::c_int, 1491 | arg3: chtype) 1492 | -> ::std::os::raw::c_int; 1493 | pub fn mvaddchnstr(arg1: ::std::os::raw::c_int, 1494 | arg2: ::std::os::raw::c_int, 1495 | arg3: *const chtype, 1496 | arg4: ::std::os::raw::c_int) 1497 | -> ::std::os::raw::c_int; 1498 | pub fn mvaddchstr(arg1: ::std::os::raw::c_int, 1499 | arg2: ::std::os::raw::c_int, 1500 | arg3: *const chtype) 1501 | -> ::std::os::raw::c_int; 1502 | pub fn mvaddnstr(arg1: ::std::os::raw::c_int, 1503 | arg2: ::std::os::raw::c_int, 1504 | arg3: *const ::std::os::raw::c_char, 1505 | arg4: ::std::os::raw::c_int) 1506 | -> ::std::os::raw::c_int; 1507 | pub fn mvaddstr(arg1: ::std::os::raw::c_int, 1508 | arg2: ::std::os::raw::c_int, 1509 | arg3: *const ::std::os::raw::c_char) 1510 | -> ::std::os::raw::c_int; 1511 | pub fn mvchgat(arg1: ::std::os::raw::c_int, 1512 | arg2: ::std::os::raw::c_int, 1513 | arg3: ::std::os::raw::c_int, 1514 | arg4: attr_t, 1515 | arg5: ::std::os::raw::c_short, 1516 | arg6: *const ::std::os::raw::c_void) 1517 | -> ::std::os::raw::c_int; 1518 | pub fn mvcur(arg1: ::std::os::raw::c_int, 1519 | arg2: ::std::os::raw::c_int, 1520 | arg3: ::std::os::raw::c_int, 1521 | arg4: ::std::os::raw::c_int) 1522 | -> ::std::os::raw::c_int; 1523 | pub fn mvdelch(arg1: ::std::os::raw::c_int, 1524 | arg2: ::std::os::raw::c_int) 1525 | -> ::std::os::raw::c_int; 1526 | pub fn mvderwin(arg1: *mut WINDOW, 1527 | arg2: ::std::os::raw::c_int, 1528 | arg3: ::std::os::raw::c_int) 1529 | -> ::std::os::raw::c_int; 1530 | pub fn mvgetch(arg1: ::std::os::raw::c_int, 1531 | arg2: ::std::os::raw::c_int) 1532 | -> ::std::os::raw::c_int; 1533 | pub fn mvgetnstr(arg1: ::std::os::raw::c_int, 1534 | arg2: ::std::os::raw::c_int, 1535 | arg3: *mut ::std::os::raw::c_char, 1536 | arg4: ::std::os::raw::c_int) 1537 | -> ::std::os::raw::c_int; 1538 | pub fn mvgetstr(arg1: ::std::os::raw::c_int, 1539 | arg2: ::std::os::raw::c_int, 1540 | arg3: *mut ::std::os::raw::c_char) 1541 | -> ::std::os::raw::c_int; 1542 | pub fn mvhline(arg1: ::std::os::raw::c_int, 1543 | arg2: ::std::os::raw::c_int, 1544 | arg3: chtype, 1545 | arg4: ::std::os::raw::c_int) 1546 | -> ::std::os::raw::c_int; 1547 | pub fn mvinch(arg1: ::std::os::raw::c_int, arg2: ::std::os::raw::c_int) -> chtype; 1548 | pub fn mvinchnstr(arg1: ::std::os::raw::c_int, 1549 | arg2: ::std::os::raw::c_int, 1550 | arg3: *mut chtype, 1551 | arg4: ::std::os::raw::c_int) 1552 | -> ::std::os::raw::c_int; 1553 | pub fn mvinchstr(arg1: ::std::os::raw::c_int, 1554 | arg2: ::std::os::raw::c_int, 1555 | arg3: *mut chtype) 1556 | -> ::std::os::raw::c_int; 1557 | pub fn mvinnstr(arg1: ::std::os::raw::c_int, 1558 | arg2: ::std::os::raw::c_int, 1559 | arg3: *mut ::std::os::raw::c_char, 1560 | arg4: ::std::os::raw::c_int) 1561 | -> ::std::os::raw::c_int; 1562 | pub fn mvinsch(arg1: ::std::os::raw::c_int, 1563 | arg2: ::std::os::raw::c_int, 1564 | arg3: chtype) 1565 | -> ::std::os::raw::c_int; 1566 | pub fn mvinsnstr(arg1: ::std::os::raw::c_int, 1567 | arg2: ::std::os::raw::c_int, 1568 | arg3: *const ::std::os::raw::c_char, 1569 | arg4: ::std::os::raw::c_int) 1570 | -> ::std::os::raw::c_int; 1571 | pub fn mvinsstr(arg1: ::std::os::raw::c_int, 1572 | arg2: ::std::os::raw::c_int, 1573 | arg3: *const ::std::os::raw::c_char) 1574 | -> ::std::os::raw::c_int; 1575 | pub fn mvinstr(arg1: ::std::os::raw::c_int, 1576 | arg2: ::std::os::raw::c_int, 1577 | arg3: *mut ::std::os::raw::c_char) 1578 | -> ::std::os::raw::c_int; 1579 | pub fn mvprintw(arg1: ::std::os::raw::c_int, 1580 | arg2: ::std::os::raw::c_int, 1581 | arg3: *const ::std::os::raw::c_char, 1582 | ...) 1583 | -> ::std::os::raw::c_int; 1584 | pub fn mvscanw(arg1: ::std::os::raw::c_int, 1585 | arg2: ::std::os::raw::c_int, 1586 | arg3: *const ::std::os::raw::c_char, 1587 | ...) 1588 | -> ::std::os::raw::c_int; 1589 | pub fn mvvline(arg1: ::std::os::raw::c_int, 1590 | arg2: ::std::os::raw::c_int, 1591 | arg3: chtype, 1592 | arg4: ::std::os::raw::c_int) 1593 | -> ::std::os::raw::c_int; 1594 | pub fn mvwaddchnstr(arg1: *mut WINDOW, 1595 | arg2: ::std::os::raw::c_int, 1596 | arg3: ::std::os::raw::c_int, 1597 | arg4: *const chtype, 1598 | arg5: ::std::os::raw::c_int) 1599 | -> ::std::os::raw::c_int; 1600 | pub fn mvwaddchstr(arg1: *mut WINDOW, 1601 | arg2: ::std::os::raw::c_int, 1602 | arg3: ::std::os::raw::c_int, 1603 | arg4: *const chtype) 1604 | -> ::std::os::raw::c_int; 1605 | pub fn mvwaddch(arg1: *mut WINDOW, 1606 | arg2: ::std::os::raw::c_int, 1607 | arg3: ::std::os::raw::c_int, 1608 | arg4: chtype) 1609 | -> ::std::os::raw::c_int; 1610 | pub fn mvwaddnstr(arg1: *mut WINDOW, 1611 | arg2: ::std::os::raw::c_int, 1612 | arg3: ::std::os::raw::c_int, 1613 | arg4: *const ::std::os::raw::c_char, 1614 | arg5: ::std::os::raw::c_int) 1615 | -> ::std::os::raw::c_int; 1616 | pub fn mvwaddstr(arg1: *mut WINDOW, 1617 | arg2: ::std::os::raw::c_int, 1618 | arg3: ::std::os::raw::c_int, 1619 | arg4: *const ::std::os::raw::c_char) 1620 | -> ::std::os::raw::c_int; 1621 | pub fn mvwchgat(arg1: *mut WINDOW, 1622 | arg2: ::std::os::raw::c_int, 1623 | arg3: ::std::os::raw::c_int, 1624 | arg4: ::std::os::raw::c_int, 1625 | arg5: attr_t, 1626 | arg6: ::std::os::raw::c_short, 1627 | arg7: *const ::std::os::raw::c_void) 1628 | -> ::std::os::raw::c_int; 1629 | pub fn mvwdelch(arg1: *mut WINDOW, 1630 | arg2: ::std::os::raw::c_int, 1631 | arg3: ::std::os::raw::c_int) 1632 | -> ::std::os::raw::c_int; 1633 | pub fn mvwgetch(arg1: *mut WINDOW, 1634 | arg2: ::std::os::raw::c_int, 1635 | arg3: ::std::os::raw::c_int) 1636 | -> ::std::os::raw::c_int; 1637 | pub fn mvwgetnstr(arg1: *mut WINDOW, 1638 | arg2: ::std::os::raw::c_int, 1639 | arg3: ::std::os::raw::c_int, 1640 | arg4: *mut ::std::os::raw::c_char, 1641 | arg5: ::std::os::raw::c_int) 1642 | -> ::std::os::raw::c_int; 1643 | pub fn mvwgetstr(arg1: *mut WINDOW, 1644 | arg2: ::std::os::raw::c_int, 1645 | arg3: ::std::os::raw::c_int, 1646 | arg4: *mut ::std::os::raw::c_char) 1647 | -> ::std::os::raw::c_int; 1648 | pub fn mvwhline(arg1: *mut WINDOW, 1649 | arg2: ::std::os::raw::c_int, 1650 | arg3: ::std::os::raw::c_int, 1651 | arg4: chtype, 1652 | arg5: ::std::os::raw::c_int) 1653 | -> ::std::os::raw::c_int; 1654 | pub fn mvwinchnstr(arg1: *mut WINDOW, 1655 | arg2: ::std::os::raw::c_int, 1656 | arg3: ::std::os::raw::c_int, 1657 | arg4: *mut chtype, 1658 | arg5: ::std::os::raw::c_int) 1659 | -> ::std::os::raw::c_int; 1660 | pub fn mvwinchstr(arg1: *mut WINDOW, 1661 | arg2: ::std::os::raw::c_int, 1662 | arg3: ::std::os::raw::c_int, 1663 | arg4: *mut chtype) 1664 | -> ::std::os::raw::c_int; 1665 | pub fn mvwinch(arg1: *mut WINDOW, 1666 | arg2: ::std::os::raw::c_int, 1667 | arg3: ::std::os::raw::c_int) 1668 | -> chtype; 1669 | pub fn mvwinnstr(arg1: *mut WINDOW, 1670 | arg2: ::std::os::raw::c_int, 1671 | arg3: ::std::os::raw::c_int, 1672 | arg4: *mut ::std::os::raw::c_char, 1673 | arg5: ::std::os::raw::c_int) 1674 | -> ::std::os::raw::c_int; 1675 | pub fn mvwinsch(arg1: *mut WINDOW, 1676 | arg2: ::std::os::raw::c_int, 1677 | arg3: ::std::os::raw::c_int, 1678 | arg4: chtype) 1679 | -> ::std::os::raw::c_int; 1680 | pub fn mvwinsnstr(arg1: *mut WINDOW, 1681 | arg2: ::std::os::raw::c_int, 1682 | arg3: ::std::os::raw::c_int, 1683 | arg4: *const ::std::os::raw::c_char, 1684 | arg5: ::std::os::raw::c_int) 1685 | -> ::std::os::raw::c_int; 1686 | pub fn mvwinsstr(arg1: *mut WINDOW, 1687 | arg2: ::std::os::raw::c_int, 1688 | arg3: ::std::os::raw::c_int, 1689 | arg4: *const ::std::os::raw::c_char) 1690 | -> ::std::os::raw::c_int; 1691 | pub fn mvwinstr(arg1: *mut WINDOW, 1692 | arg2: ::std::os::raw::c_int, 1693 | arg3: ::std::os::raw::c_int, 1694 | arg4: *mut ::std::os::raw::c_char) 1695 | -> ::std::os::raw::c_int; 1696 | pub fn mvwin(arg1: *mut WINDOW, 1697 | arg2: ::std::os::raw::c_int, 1698 | arg3: ::std::os::raw::c_int) 1699 | -> ::std::os::raw::c_int; 1700 | pub fn mvwprintw(arg1: *mut WINDOW, 1701 | arg2: ::std::os::raw::c_int, 1702 | arg3: ::std::os::raw::c_int, 1703 | arg4: *const ::std::os::raw::c_char, 1704 | ...) 1705 | -> ::std::os::raw::c_int; 1706 | pub fn mvwscanw(arg1: *mut WINDOW, 1707 | arg2: ::std::os::raw::c_int, 1708 | arg3: ::std::os::raw::c_int, 1709 | arg4: *const ::std::os::raw::c_char, 1710 | ...) 1711 | -> ::std::os::raw::c_int; 1712 | pub fn mvwvline(arg1: *mut WINDOW, 1713 | arg2: ::std::os::raw::c_int, 1714 | arg3: ::std::os::raw::c_int, 1715 | arg4: chtype, 1716 | arg5: ::std::os::raw::c_int) 1717 | -> ::std::os::raw::c_int; 1718 | pub fn napms(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; 1719 | pub fn newpad(arg1: ::std::os::raw::c_int, arg2: ::std::os::raw::c_int) -> *mut WINDOW; 1720 | pub fn newterm(arg1: *const ::std::os::raw::c_char, 1721 | arg2: *mut FILE, 1722 | arg3: *mut FILE) 1723 | -> *mut SCREEN; 1724 | pub fn newwin(arg1: ::std::os::raw::c_int, 1725 | arg2: ::std::os::raw::c_int, 1726 | arg3: ::std::os::raw::c_int, 1727 | arg4: ::std::os::raw::c_int) 1728 | -> *mut WINDOW; 1729 | pub fn nl() -> ::std::os::raw::c_int; 1730 | pub fn nocbreak() -> ::std::os::raw::c_int; 1731 | pub fn nodelay(arg1: *mut WINDOW, arg2: _bool) -> ::std::os::raw::c_int; 1732 | pub fn noecho() -> ::std::os::raw::c_int; 1733 | pub fn nonl() -> ::std::os::raw::c_int; 1734 | pub fn noqiflush(); 1735 | pub fn noraw() -> ::std::os::raw::c_int; 1736 | pub fn notimeout(arg1: *mut WINDOW, arg2: _bool) -> ::std::os::raw::c_int; 1737 | pub fn overlay(arg1: *const WINDOW, arg2: *mut WINDOW) -> ::std::os::raw::c_int; 1738 | pub fn overwrite(arg1: *const WINDOW, arg2: *mut WINDOW) -> ::std::os::raw::c_int; 1739 | pub fn pair_content(arg1: ::std::os::raw::c_short, 1740 | arg2: *mut ::std::os::raw::c_short, 1741 | arg3: *mut ::std::os::raw::c_short) 1742 | -> ::std::os::raw::c_int; 1743 | pub fn pechochar(arg1: *mut WINDOW, arg2: chtype) -> ::std::os::raw::c_int; 1744 | pub fn pnoutrefresh(arg1: *mut WINDOW, 1745 | arg2: ::std::os::raw::c_int, 1746 | arg3: ::std::os::raw::c_int, 1747 | arg4: ::std::os::raw::c_int, 1748 | arg5: ::std::os::raw::c_int, 1749 | arg6: ::std::os::raw::c_int, 1750 | arg7: ::std::os::raw::c_int) 1751 | -> ::std::os::raw::c_int; 1752 | pub fn prefresh(arg1: *mut WINDOW, 1753 | arg2: ::std::os::raw::c_int, 1754 | arg3: ::std::os::raw::c_int, 1755 | arg4: ::std::os::raw::c_int, 1756 | arg5: ::std::os::raw::c_int, 1757 | arg6: ::std::os::raw::c_int, 1758 | arg7: ::std::os::raw::c_int) 1759 | -> ::std::os::raw::c_int; 1760 | pub fn printw(arg1: *const ::std::os::raw::c_char, ...) -> ::std::os::raw::c_int; 1761 | pub fn putwin(arg1: *mut WINDOW, arg2: *mut FILE) -> ::std::os::raw::c_int; 1762 | pub fn qiflush(); 1763 | pub fn raw() -> ::std::os::raw::c_int; 1764 | pub fn redrawwin(arg1: *mut WINDOW) -> ::std::os::raw::c_int; 1765 | pub fn refresh() -> ::std::os::raw::c_int; 1766 | pub fn reset_prog_mode() -> ::std::os::raw::c_int; 1767 | pub fn reset_shell_mode() -> ::std::os::raw::c_int; 1768 | pub fn resetty() -> ::std::os::raw::c_int; 1769 | pub fn ripoffline(arg1: ::std::os::raw::c_int, 1770 | arg2: 1771 | ::std::option::Option ::std::os::raw::c_int>) 1776 | -> ::std::os::raw::c_int; 1777 | pub fn savetty() -> ::std::os::raw::c_int; 1778 | pub fn scanw(arg1: *const ::std::os::raw::c_char, ...) -> ::std::os::raw::c_int; 1779 | pub fn scr_dump(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; 1780 | pub fn scr_init(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; 1781 | pub fn scr_restore(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; 1782 | pub fn scr_set(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; 1783 | pub fn scrl(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; 1784 | pub fn scroll(arg1: *mut WINDOW) -> ::std::os::raw::c_int; 1785 | pub fn scrollok(arg1: *mut WINDOW, arg2: _bool) -> ::std::os::raw::c_int; 1786 | pub fn set_term(arg1: *mut SCREEN) -> *mut SCREEN; 1787 | pub fn setscrreg(arg1: ::std::os::raw::c_int, 1788 | arg2: ::std::os::raw::c_int) 1789 | -> ::std::os::raw::c_int; 1790 | pub fn slk_attroff(arg1: chtype) -> ::std::os::raw::c_int; 1791 | pub fn slk_attr_off(arg1: attr_t, arg2: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int; 1792 | pub fn slk_attron(arg1: chtype) -> ::std::os::raw::c_int; 1793 | pub fn slk_attr_on(arg1: attr_t, arg2: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int; 1794 | pub fn slk_attrset(arg1: chtype) -> ::std::os::raw::c_int; 1795 | pub fn slk_attr_set(arg1: attr_t, 1796 | arg2: ::std::os::raw::c_short, 1797 | arg3: *mut ::std::os::raw::c_void) 1798 | -> ::std::os::raw::c_int; 1799 | pub fn slk_clear() -> ::std::os::raw::c_int; 1800 | pub fn slk_color(arg1: ::std::os::raw::c_short) -> ::std::os::raw::c_int; 1801 | pub fn slk_init(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; 1802 | pub fn slk_label(arg1: ::std::os::raw::c_int) -> *mut ::std::os::raw::c_char; 1803 | pub fn slk_noutrefresh() -> ::std::os::raw::c_int; 1804 | pub fn slk_refresh() -> ::std::os::raw::c_int; 1805 | pub fn slk_restore() -> ::std::os::raw::c_int; 1806 | pub fn slk_set(arg1: ::std::os::raw::c_int, 1807 | arg2: *const ::std::os::raw::c_char, 1808 | arg3: ::std::os::raw::c_int) 1809 | -> ::std::os::raw::c_int; 1810 | pub fn slk_touch() -> ::std::os::raw::c_int; 1811 | pub fn standend() -> ::std::os::raw::c_int; 1812 | pub fn standout() -> ::std::os::raw::c_int; 1813 | pub fn start_color() -> ::std::os::raw::c_int; 1814 | pub fn subpad(arg1: *mut WINDOW, 1815 | arg2: ::std::os::raw::c_int, 1816 | arg3: ::std::os::raw::c_int, 1817 | arg4: ::std::os::raw::c_int, 1818 | arg5: ::std::os::raw::c_int) 1819 | -> *mut WINDOW; 1820 | pub fn subwin(arg1: *mut WINDOW, 1821 | arg2: ::std::os::raw::c_int, 1822 | arg3: ::std::os::raw::c_int, 1823 | arg4: ::std::os::raw::c_int, 1824 | arg5: ::std::os::raw::c_int) 1825 | -> *mut WINDOW; 1826 | pub fn syncok(arg1: *mut WINDOW, arg2: _bool) -> ::std::os::raw::c_int; 1827 | pub fn termattrs() -> chtype; 1828 | pub fn term_attrs() -> attr_t; 1829 | pub fn termname() -> *mut ::std::os::raw::c_char; 1830 | pub fn timeout(arg1: ::std::os::raw::c_int); 1831 | pub fn touchline(arg1: *mut WINDOW, 1832 | arg2: ::std::os::raw::c_int, 1833 | arg3: ::std::os::raw::c_int) 1834 | -> ::std::os::raw::c_int; 1835 | pub fn touchwin(arg1: *mut WINDOW) -> ::std::os::raw::c_int; 1836 | pub fn typeahead(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; 1837 | pub fn untouchwin(arg1: *mut WINDOW) -> ::std::os::raw::c_int; 1838 | pub fn use_env(arg1: _bool); 1839 | pub fn vidattr(arg1: chtype) -> ::std::os::raw::c_int; 1840 | pub fn vid_attr(arg1: attr_t, 1841 | arg2: ::std::os::raw::c_short, 1842 | arg3: *mut ::std::os::raw::c_void) 1843 | -> ::std::os::raw::c_int; 1844 | pub fn vidputs(arg1: chtype, 1845 | arg2: ::std::option::Option ::std::os::raw::c_int>) 1847 | -> ::std::os::raw::c_int; 1848 | pub fn vid_puts(arg1: attr_t, 1849 | arg2: ::std::os::raw::c_short, 1850 | arg3: *mut ::std::os::raw::c_void, 1851 | arg4: ::std::option::Option ::std::os::raw::c_int>) 1853 | -> ::std::os::raw::c_int; 1854 | pub fn vline(arg1: chtype, arg2: ::std::os::raw::c_int) -> ::std::os::raw::c_int; 1855 | pub fn vw_printw(arg1: *mut WINDOW, 1856 | arg2: *const ::std::os::raw::c_char, 1857 | arg3: va_list) 1858 | -> ::std::os::raw::c_int; 1859 | pub fn vwprintw(arg1: *mut WINDOW, 1860 | arg2: *const ::std::os::raw::c_char, 1861 | arg3: va_list) 1862 | -> ::std::os::raw::c_int; 1863 | pub fn vw_scanw(arg1: *mut WINDOW, 1864 | arg2: *const ::std::os::raw::c_char, 1865 | arg3: va_list) 1866 | -> ::std::os::raw::c_int; 1867 | pub fn vwscanw(arg1: *mut WINDOW, 1868 | arg2: *const ::std::os::raw::c_char, 1869 | arg3: va_list) 1870 | -> ::std::os::raw::c_int; 1871 | pub fn waddchnstr(arg1: *mut WINDOW, 1872 | arg2: *const chtype, 1873 | arg3: ::std::os::raw::c_int) 1874 | -> ::std::os::raw::c_int; 1875 | pub fn waddchstr(arg1: *mut WINDOW, arg2: *const chtype) -> ::std::os::raw::c_int; 1876 | pub fn waddch(arg1: *mut WINDOW, arg2: chtype) -> ::std::os::raw::c_int; 1877 | pub fn waddnstr(arg1: *mut WINDOW, 1878 | arg2: *const ::std::os::raw::c_char, 1879 | arg3: ::std::os::raw::c_int) 1880 | -> ::std::os::raw::c_int; 1881 | pub fn waddstr(arg1: *mut WINDOW, 1882 | arg2: *const ::std::os::raw::c_char) 1883 | -> ::std::os::raw::c_int; 1884 | pub fn wattroff(arg1: *mut WINDOW, arg2: chtype) -> ::std::os::raw::c_int; 1885 | pub fn wattron(arg1: *mut WINDOW, arg2: chtype) -> ::std::os::raw::c_int; 1886 | pub fn wattrset(arg1: *mut WINDOW, arg2: chtype) -> ::std::os::raw::c_int; 1887 | pub fn wattr_get(arg1: *mut WINDOW, 1888 | arg2: *mut attr_t, 1889 | arg3: *mut ::std::os::raw::c_short, 1890 | arg4: *mut ::std::os::raw::c_void) 1891 | -> ::std::os::raw::c_int; 1892 | pub fn wattr_off(arg1: *mut WINDOW, 1893 | arg2: attr_t, 1894 | arg3: *mut ::std::os::raw::c_void) 1895 | -> ::std::os::raw::c_int; 1896 | pub fn wattr_on(arg1: *mut WINDOW, 1897 | arg2: attr_t, 1898 | arg3: *mut ::std::os::raw::c_void) 1899 | -> ::std::os::raw::c_int; 1900 | pub fn wattr_set(arg1: *mut WINDOW, 1901 | arg2: attr_t, 1902 | arg3: ::std::os::raw::c_short, 1903 | arg4: *mut ::std::os::raw::c_void) 1904 | -> ::std::os::raw::c_int; 1905 | pub fn wbkgdset(arg1: *mut WINDOW, arg2: chtype); 1906 | pub fn wbkgd(arg1: *mut WINDOW, arg2: chtype) -> ::std::os::raw::c_int; 1907 | pub fn wborder(arg1: *mut WINDOW, 1908 | arg2: chtype, 1909 | arg3: chtype, 1910 | arg4: chtype, 1911 | arg5: chtype, 1912 | arg6: chtype, 1913 | arg7: chtype, 1914 | arg8: chtype, 1915 | arg9: chtype) 1916 | -> ::std::os::raw::c_int; 1917 | pub fn wchgat(arg1: *mut WINDOW, 1918 | arg2: ::std::os::raw::c_int, 1919 | arg3: attr_t, 1920 | arg4: ::std::os::raw::c_short, 1921 | arg5: *const ::std::os::raw::c_void) 1922 | -> ::std::os::raw::c_int; 1923 | pub fn wclear(arg1: *mut WINDOW) -> ::std::os::raw::c_int; 1924 | pub fn wclrtobot(arg1: *mut WINDOW) -> ::std::os::raw::c_int; 1925 | pub fn wclrtoeol(arg1: *mut WINDOW) -> ::std::os::raw::c_int; 1926 | pub fn wcolor_set(arg1: *mut WINDOW, 1927 | arg2: ::std::os::raw::c_short, 1928 | arg3: *mut ::std::os::raw::c_void) 1929 | -> ::std::os::raw::c_int; 1930 | pub fn wcursyncup(arg1: *mut WINDOW); 1931 | pub fn wdelch(arg1: *mut WINDOW) -> ::std::os::raw::c_int; 1932 | pub fn wdeleteln(arg1: *mut WINDOW) -> ::std::os::raw::c_int; 1933 | pub fn wechochar(arg1: *mut WINDOW, arg2: chtype) -> ::std::os::raw::c_int; 1934 | pub fn werase(arg1: *mut WINDOW) -> ::std::os::raw::c_int; 1935 | pub fn wgetch(arg1: *mut WINDOW) -> ::std::os::raw::c_int; 1936 | pub fn wgetnstr(arg1: *mut WINDOW, 1937 | arg2: *mut ::std::os::raw::c_char, 1938 | arg3: ::std::os::raw::c_int) 1939 | -> ::std::os::raw::c_int; 1940 | pub fn wgetstr(arg1: *mut WINDOW, arg2: *mut ::std::os::raw::c_char) -> ::std::os::raw::c_int; 1941 | pub fn whline(arg1: *mut WINDOW, 1942 | arg2: chtype, 1943 | arg3: ::std::os::raw::c_int) 1944 | -> ::std::os::raw::c_int; 1945 | pub fn winchnstr(arg1: *mut WINDOW, 1946 | arg2: *mut chtype, 1947 | arg3: ::std::os::raw::c_int) 1948 | -> ::std::os::raw::c_int; 1949 | pub fn winchstr(arg1: *mut WINDOW, arg2: *mut chtype) -> ::std::os::raw::c_int; 1950 | pub fn winch(arg1: *mut WINDOW) -> chtype; 1951 | pub fn winnstr(arg1: *mut WINDOW, 1952 | arg2: *mut ::std::os::raw::c_char, 1953 | arg3: ::std::os::raw::c_int) 1954 | -> ::std::os::raw::c_int; 1955 | pub fn winsch(arg1: *mut WINDOW, arg2: chtype) -> ::std::os::raw::c_int; 1956 | pub fn winsdelln(arg1: *mut WINDOW, arg2: ::std::os::raw::c_int) -> ::std::os::raw::c_int; 1957 | pub fn winsertln(arg1: *mut WINDOW) -> ::std::os::raw::c_int; 1958 | pub fn winsnstr(arg1: *mut WINDOW, 1959 | arg2: *const ::std::os::raw::c_char, 1960 | arg3: ::std::os::raw::c_int) 1961 | -> ::std::os::raw::c_int; 1962 | pub fn winsstr(arg1: *mut WINDOW, 1963 | arg2: *const ::std::os::raw::c_char) 1964 | -> ::std::os::raw::c_int; 1965 | pub fn winstr(arg1: *mut WINDOW, arg2: *mut ::std::os::raw::c_char) -> ::std::os::raw::c_int; 1966 | pub fn wmove(arg1: *mut WINDOW, 1967 | arg2: ::std::os::raw::c_int, 1968 | arg3: ::std::os::raw::c_int) 1969 | -> ::std::os::raw::c_int; 1970 | pub fn wnoutrefresh(arg1: *mut WINDOW) -> ::std::os::raw::c_int; 1971 | pub fn wprintw(arg1: *mut WINDOW, 1972 | arg2: *const ::std::os::raw::c_char, 1973 | ...) 1974 | -> ::std::os::raw::c_int; 1975 | pub fn wredrawln(arg1: *mut WINDOW, 1976 | arg2: ::std::os::raw::c_int, 1977 | arg3: ::std::os::raw::c_int) 1978 | -> ::std::os::raw::c_int; 1979 | pub fn wrefresh(arg1: *mut WINDOW) -> ::std::os::raw::c_int; 1980 | pub fn wscanw(arg1: *mut WINDOW, 1981 | arg2: *const ::std::os::raw::c_char, 1982 | ...) 1983 | -> ::std::os::raw::c_int; 1984 | pub fn wscrl(arg1: *mut WINDOW, arg2: ::std::os::raw::c_int) -> ::std::os::raw::c_int; 1985 | pub fn wsetscrreg(arg1: *mut WINDOW, 1986 | arg2: ::std::os::raw::c_int, 1987 | arg3: ::std::os::raw::c_int) 1988 | -> ::std::os::raw::c_int; 1989 | pub fn wstandend(arg1: *mut WINDOW) -> ::std::os::raw::c_int; 1990 | pub fn wstandout(arg1: *mut WINDOW) -> ::std::os::raw::c_int; 1991 | pub fn wsyncdown(arg1: *mut WINDOW); 1992 | pub fn wsyncup(arg1: *mut WINDOW); 1993 | pub fn wtimeout(arg1: *mut WINDOW, arg2: ::std::os::raw::c_int); 1994 | pub fn wtouchln(arg1: *mut WINDOW, 1995 | arg2: ::std::os::raw::c_int, 1996 | arg3: ::std::os::raw::c_int, 1997 | arg4: ::std::os::raw::c_int) 1998 | -> ::std::os::raw::c_int; 1999 | pub fn wvline(arg1: *mut WINDOW, 2000 | arg2: chtype, 2001 | arg3: ::std::os::raw::c_int) 2002 | -> ::std::os::raw::c_int; 2003 | pub fn getattrs(arg1: *mut WINDOW) -> chtype; 2004 | pub fn getbegx(arg1: *mut WINDOW) -> ::std::os::raw::c_int; 2005 | pub fn getbegy(arg1: *mut WINDOW) -> ::std::os::raw::c_int; 2006 | pub fn getmaxx(arg1: *mut WINDOW) -> ::std::os::raw::c_int; 2007 | pub fn getmaxy(arg1: *mut WINDOW) -> ::std::os::raw::c_int; 2008 | pub fn getparx(arg1: *mut WINDOW) -> ::std::os::raw::c_int; 2009 | pub fn getpary(arg1: *mut WINDOW) -> ::std::os::raw::c_int; 2010 | pub fn getcurx(arg1: *mut WINDOW) -> ::std::os::raw::c_int; 2011 | pub fn getcury(arg1: *mut WINDOW) -> ::std::os::raw::c_int; 2012 | pub fn traceoff(); 2013 | pub fn traceon(); 2014 | pub fn unctrl(arg1: chtype) -> *mut ::std::os::raw::c_char; 2015 | pub fn crmode() -> ::std::os::raw::c_int; 2016 | pub fn nocrmode() -> ::std::os::raw::c_int; 2017 | pub fn draino(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; 2018 | pub fn resetterm() -> ::std::os::raw::c_int; 2019 | pub fn fixterm() -> ::std::os::raw::c_int; 2020 | pub fn saveterm() -> ::std::os::raw::c_int; 2021 | pub fn setsyx(arg1: ::std::os::raw::c_int, 2022 | arg2: ::std::os::raw::c_int) 2023 | -> ::std::os::raw::c_int; 2024 | pub fn mouse_set(arg1: ::std::os::raw::c_ulong) -> ::std::os::raw::c_int; 2025 | pub fn mouse_on(arg1: ::std::os::raw::c_ulong) -> ::std::os::raw::c_int; 2026 | pub fn mouse_off(arg1: ::std::os::raw::c_ulong) -> ::std::os::raw::c_int; 2027 | pub fn request_mouse_pos() -> ::std::os::raw::c_int; 2028 | pub fn map_button(arg1: ::std::os::raw::c_ulong) -> ::std::os::raw::c_int; 2029 | pub fn wmouse_position(arg1: *mut WINDOW, 2030 | arg2: *mut ::std::os::raw::c_int, 2031 | arg3: *mut ::std::os::raw::c_int); 2032 | pub fn getmouse() -> ::std::os::raw::c_ulong; 2033 | pub fn getbmap() -> ::std::os::raw::c_ulong; 2034 | pub fn assume_default_colors(arg1: ::std::os::raw::c_int, 2035 | arg2: ::std::os::raw::c_int) 2036 | -> ::std::os::raw::c_int; 2037 | pub fn curses_version() -> *const ::std::os::raw::c_char; 2038 | pub fn has_key(arg1: ::std::os::raw::c_int) -> _bool; 2039 | pub fn use_default_colors() -> ::std::os::raw::c_int; 2040 | pub fn wresize(arg1: *mut WINDOW, 2041 | arg2: ::std::os::raw::c_int, 2042 | arg3: ::std::os::raw::c_int) 2043 | -> ::std::os::raw::c_int; 2044 | pub fn mouseinterval(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; 2045 | pub fn mousemask(arg1: mmask_t, arg2: *mut mmask_t) -> mmask_t; 2046 | pub fn mouse_trafo(arg1: *mut ::std::os::raw::c_int, 2047 | arg2: *mut ::std::os::raw::c_int, 2048 | arg3: _bool) 2049 | -> _bool; 2050 | pub fn nc_getmouse(arg1: *mut MEVENT) -> ::std::os::raw::c_int; 2051 | pub fn ungetmouse(arg1: *mut MEVENT) -> ::std::os::raw::c_int; 2052 | pub fn wenclose(arg1: *const WINDOW, 2053 | arg2: ::std::os::raw::c_int, 2054 | arg3: ::std::os::raw::c_int) 2055 | -> _bool; 2056 | pub fn wmouse_trafo(arg1: *const WINDOW, 2057 | arg2: *mut ::std::os::raw::c_int, 2058 | arg3: *mut ::std::os::raw::c_int, 2059 | arg4: _bool) 2060 | -> _bool; 2061 | pub fn addrawch(arg1: chtype) -> ::std::os::raw::c_int; 2062 | pub fn insrawch(arg1: chtype) -> ::std::os::raw::c_int; 2063 | pub fn is_termresized() -> _bool; 2064 | pub fn mvaddrawch(arg1: ::std::os::raw::c_int, 2065 | arg2: ::std::os::raw::c_int, 2066 | arg3: chtype) 2067 | -> ::std::os::raw::c_int; 2068 | pub fn mvdeleteln(arg1: ::std::os::raw::c_int, 2069 | arg2: ::std::os::raw::c_int) 2070 | -> ::std::os::raw::c_int; 2071 | pub fn mvinsertln(arg1: ::std::os::raw::c_int, 2072 | arg2: ::std::os::raw::c_int) 2073 | -> ::std::os::raw::c_int; 2074 | pub fn mvinsrawch(arg1: ::std::os::raw::c_int, 2075 | arg2: ::std::os::raw::c_int, 2076 | arg3: chtype) 2077 | -> ::std::os::raw::c_int; 2078 | pub fn mvwaddrawch(arg1: *mut WINDOW, 2079 | arg2: ::std::os::raw::c_int, 2080 | arg3: ::std::os::raw::c_int, 2081 | arg4: chtype) 2082 | -> ::std::os::raw::c_int; 2083 | pub fn mvwdeleteln(arg1: *mut WINDOW, 2084 | arg2: ::std::os::raw::c_int, 2085 | arg3: ::std::os::raw::c_int) 2086 | -> ::std::os::raw::c_int; 2087 | pub fn mvwinsertln(arg1: *mut WINDOW, 2088 | arg2: ::std::os::raw::c_int, 2089 | arg3: ::std::os::raw::c_int) 2090 | -> ::std::os::raw::c_int; 2091 | pub fn mvwinsrawch(arg1: *mut WINDOW, 2092 | arg2: ::std::os::raw::c_int, 2093 | arg3: ::std::os::raw::c_int, 2094 | arg4: chtype) 2095 | -> ::std::os::raw::c_int; 2096 | pub fn raw_output(arg1: _bool) -> ::std::os::raw::c_int; 2097 | pub fn resize_term(arg1: ::std::os::raw::c_int, 2098 | arg2: ::std::os::raw::c_int) 2099 | -> ::std::os::raw::c_int; 2100 | pub fn resize_window(arg1: *mut WINDOW, 2101 | arg2: ::std::os::raw::c_int, 2102 | arg3: ::std::os::raw::c_int) 2103 | -> *mut WINDOW; 2104 | pub fn waddrawch(arg1: *mut WINDOW, arg2: chtype) -> ::std::os::raw::c_int; 2105 | pub fn winsrawch(arg1: *mut WINDOW, arg2: chtype) -> ::std::os::raw::c_int; 2106 | pub fn wordchar() -> ::std::os::raw::c_char; 2107 | pub fn PDC_debug(arg1: *const ::std::os::raw::c_char, ...); 2108 | pub fn PDC_ungetch(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; 2109 | pub fn PDC_set_blink(arg1: _bool) -> ::std::os::raw::c_int; 2110 | pub fn PDC_set_line_color(arg1: ::std::os::raw::c_short) -> ::std::os::raw::c_int; 2111 | pub fn PDC_set_title(arg1: *const ::std::os::raw::c_char); 2112 | pub fn PDC_clearclipboard() -> ::std::os::raw::c_int; 2113 | pub fn PDC_freeclipboard(arg1: *mut ::std::os::raw::c_char) -> ::std::os::raw::c_int; 2114 | pub fn PDC_getclipboard(arg1: *mut *mut ::std::os::raw::c_char, 2115 | arg2: *mut ::std::os::raw::c_long) 2116 | -> ::std::os::raw::c_int; 2117 | pub fn PDC_setclipboard(arg1: *const ::std::os::raw::c_char, 2118 | arg2: ::std::os::raw::c_long) 2119 | -> ::std::os::raw::c_int; 2120 | pub fn PDC_get_input_fd() -> ::std::os::raw::c_ulong; 2121 | pub fn PDC_get_key_modifiers() -> ::std::os::raw::c_ulong; 2122 | pub fn PDC_return_key_modifiers(arg1: _bool) -> ::std::os::raw::c_int; 2123 | pub fn PDC_save_key_modifiers(arg1: _bool) -> ::std::os::raw::c_int; 2124 | pub fn PDC_set_resize_limits(new_min_lines: ::std::os::raw::c_int, 2125 | new_max_lines: ::std::os::raw::c_int, 2126 | new_min_cols: ::std::os::raw::c_int, 2127 | new_max_cols: ::std::os::raw::c_int); 2128 | pub fn PDC_set_function_key(function: ::std::os::raw::c_uint, 2129 | new_key: ::std::os::raw::c_int) 2130 | -> ::std::os::raw::c_int; 2131 | pub fn Xinitscr(arg1: ::std::os::raw::c_int, 2132 | arg2: *mut *mut ::std::os::raw::c_char) 2133 | -> *mut WINDOW; 2134 | } 2135 | --------------------------------------------------------------------------------