Skip to content

Commit 6a34b60

Browse files
committed
add methods to get default UI
1 parent b151859 commit 6a34b60

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

openssl-sys/src/engine.rs

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,14 @@ extern "C" {
4646
ui_method: *mut UI_METHOD,
4747
callback_data: *mut c_void,
4848
) -> c_int;
49+
50+
pub fn UI_set_default_method(const UI_METHOD *meth);
51+
pub fn UI_get_default_method() -> *const UI_METHOD;
52+
pub fn UI_get_method(ui: *mut UI) -> *const UI_METHOD;
53+
pub fn UI_set_method(ui: *mut UI, meth: *const UI_METHOD) -> *const UI_METHOD;
54+
55+
pub fn UI_OpenSSL() -> *mut UI_METHOD;
56+
pub fn UI_null(void) -> *const UI_METHOD;
4957
}
5058

5159
type UI = c_int;

0 commit comments

Comments
 (0)