Commit f11411e676c8a604793567a374da18bae834c7d0

Authored by Perry Werneck
1 parent e53ba724
Exists in master and in 2 other branches develop, macos

Reverting latest changes.

src/core/properties/boolean.c
@@ -55,10 +55,6 @@ LIB3270_EXPORT int lib3270_ssl_get_crl_download(const H3270 *hSession) { @@ -55,10 +55,6 @@ LIB3270_EXPORT int lib3270_ssl_get_crl_download(const H3270 *hSession) {
55 return hSession->ssl.download_crl; 55 return hSession->ssl.download_crl;
56 } 56 }
57 57
58 -LIB3270_EXPORT int lib3270_is_editable(const H3270 *hSession) {  
59 - return (hSession->pointer & 0x03) == LIB3270_POINTER_UNLOCKED;  
60 -}  
61 -  
62 const LIB3270_INT_PROPERTY * lib3270_get_boolean_properties_list(void) { 58 const LIB3270_INT_PROPERTY * lib3270_get_boolean_properties_list(void) {
63 59
64 static const LIB3270_INT_PROPERTY properties[] = { 60 static const LIB3270_INT_PROPERTY properties[] = {
@@ -198,13 +194,6 @@ const LIB3270_INT_PROPERTY * lib3270_get_boolean_properties_list(void) { @@ -198,13 +194,6 @@ const LIB3270_INT_PROPERTY * lib3270_get_boolean_properties_list(void) {
198 }, 194 },
199 195
200 { 196 {
201 - .name = "editable", // Property name.  
202 - .description = N_( "Non zero if the terminal is editable" ), // Property description.  
203 - .get = lib3270_is_editable, // Get value.  
204 - .set = NULL // Set value.  
205 - },  
206 -  
207 - {  
208 .name = "crl_download", // Property name. 197 .name = "crl_download", // Property name.
209 .description = N_( "Non zero if the download of CRL is enabled" ), // Property description. 198 .description = N_( "Non zero if the download of CRL is enabled" ), // Property description.
210 .get = lib3270_ssl_get_crl_download, // Get value. 199 .get = lib3270_ssl_get_crl_download, // Get value.
src/include/lib3270.h
@@ -994,7 +994,6 @@ LIB3270_EXPORT int lib3270_in_e(const H3270 *h); @@ -994,7 +994,6 @@ LIB3270_EXPORT int lib3270_in_e(const H3270 *h);
994 994
995 LIB3270_EXPORT int lib3270_is_ready(const H3270 *h); 995 LIB3270_EXPORT int lib3270_is_ready(const H3270 *h);
996 LIB3270_EXPORT int lib3270_is_secure(const H3270 *h); 996 LIB3270_EXPORT int lib3270_is_secure(const H3270 *h);
997 -LIB3270_EXPORT int lib3270_is_editable(const H3270 *h);  
998 997
999 LIB3270_EXPORT LIB3270_MESSAGE lib3270_get_lock_status(const H3270 *h); 998 LIB3270_EXPORT LIB3270_MESSAGE lib3270_get_lock_status(const H3270 *h);
1000 999