Skip to content

Commit b151859

Browse files
committed
remove non public structs from UI
1 parent 2ad0c2c commit b151859

File tree

1 file changed

+3
-17
lines changed

1 file changed

+3
-17
lines changed

openssl-sys/src/engine.rs

Lines changed: 3 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,9 @@ extern "C" {
4848
) -> c_int;
4949
}
5050

51+
type UI = c_int;
52+
type UI_STRING = c_int;
53+
5154
#[repr(C)]
5255
pub struct UI_METHOD {
5356
name: *const c_char,
@@ -66,23 +69,6 @@ pub struct UI_METHOD {
6669
const UI_FLAG_REDOABLE: c_int = 0x0001;
6770
const UI_FLAG_PRINT_ERRORS: c_int = 0x0100;
6871

69-
#[repr(C)]
70-
pub struct UI {
71-
meth: *const UI_METHOD,
72-
strings: *mut c_void,
73-
user_data: *mut c_void,
74-
ex_data: CRYPTO_EX_DATA,
75-
flags: c_int,
76-
}
77-
78-
#[repr(C)]
79-
pub struct UI_STRING {
80-
string_type: UI_string_types,
81-
out_string: *const c_char,
82-
input_flags: c_int,
83-
result_buf: *mut c_char,
84-
}
85-
8672
#[repr(C)]
8773
pub enum UI_string_types {
8874
UIT_NONE = 0,

0 commit comments

Comments
 (0)