From 0c40faba03253d029518ea78acff3a233ec5764f Mon Sep 17 00:00:00 2001 From: Perry Werneck Date: Wed, 14 Aug 2019 10:08:44 -0300 Subject: [PATCH] Adding ssl state property. --- src/core/properties.c | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/src/core/properties.c b/src/core/properties.c index f90db77..617a855 100644 --- a/src/core/properties.c +++ b/src/core/properties.c @@ -259,6 +259,11 @@ return properties; } + static int lib3270_get_ssl_state_as_int(H3270 * hSession) + { + return (int) lib3270_get_ssl_state(hSession); + } + const LIB3270_INT_PROPERTY * lib3270_get_int_properties_list(void) { @@ -292,10 +297,17 @@ NULL // Set value. }, + { + "ssl_state", // Property name. + N_( "ID of the session security state" ), // Property description. + lib3270_get_ssl_state_as_int, // Get value. + NULL // Set value. + }, + /* { "", // Property name. - "", // Property description. + "", // Property description. NULL, // Get value. NULL // Set value. }, -- libgit2 0.21.2