diff --git a/lib3270.cbp b/lib3270.cbp index f13bf9f..0d72480 100644 --- a/lib3270.cbp +++ b/lib3270.cbp @@ -294,8 +294,6 @@ - - diff --git a/src/core/options.c b/src/core/options.c index b470ec2..bc39b5c 100644 --- a/src/core/options.c +++ b/src/core/options.c @@ -37,35 +37,35 @@ static const LIB3270_HOST_TYPE_ENTRY host_type[] = { { - LIB3270_HOST_S390, - "S390", - N_( "IBM S/390" ), - NULL + .type = LIB3270_HOST_S390, + .name = "S390", + .description = N_( "IBM S/390" ), + .tooltip = NULL }, { - LIB3270_HOST_AS400, - "AS400", - N_( "IBM AS/400" ), - NULL + .type = LIB3270_HOST_AS400, + .name = "AS400", + .description = N_( "IBM AS/400" ), + .tooltip = NULL }, { - LIB3270_HOST_TSO, - "TSO", - N_( "Other (TSO)" ), - NULL + .type = LIB3270_HOST_TSO, + .name = "TSO", + .description = N_( "Other (TSO)" ), + .tooltip = NULL }, { - 0, - "VM/CMS", - N_( "Other (VM/CMS)" ), - NULL + .type = LIB3270_HOST_OTHER, + .name = "VM/CMS", + .description = N_( "Other (VM/CMS)" ), + .tooltip = NULL }, { - 0, - NULL, - NULL, - NULL + .type = LIB3270_HOST_OTHER, + .name = NULL, + .description = NULL, + .tooltip = NULL } }; diff --git a/src/include/lib3270.h b/src/include/lib3270.h index 17100dd..b88a817 100644 --- a/src/include/lib3270.h +++ b/src/include/lib3270.h @@ -279,10 +279,10 @@ typedef enum lib3270_field_attribute { * */ typedef enum lib3270_host_type { + LIB3270_HOST_OTHER = 0x0000, ///< @brief Other. LIB3270_HOST_AS400 = 0x0001, ///< @brief AS400 host - Prefix every PF with PA1 LIB3270_HOST_TSO = 0x0002, ///< @brief Host is TSO LIB3270_HOST_S390 = 0x0006, ///< @brief Host is S390 (TSO included) - } LIB3270_HOST_TYPE; #define LIB3270_HOSTTYPE_DEFAULT LIB3270_HOST_S390 -- libgit2 0.21.2