From d9bb469a771530fcba4c2a5dc849fa1abe11b384 Mon Sep 17 00:00:00 2001 From: perry.werneck@gmail.com Date: Mon, 9 Dec 2013 13:40:04 +0000 Subject: [PATCH] Dialogo de seleção de host não estava lendo a configuração corretamente --- host.c | 12 ++++++++++++ 1 file changed, 12 insertions(+), 0 deletions(-) diff --git a/host.c b/host.c index f4eabee..92b9bd6 100644 --- a/host.c +++ b/host.c @@ -582,6 +582,18 @@ LIB3270_EXPORT const char * lib3270_get_hostname(H3270 *h) return h->host.current; } +LIB3270_EXPORT const char * lib3270_get_srvcname(H3270 *h) +{ + CHECK_SESSION_HANDLE(h); + return h->host.srvc; +} + +LIB3270_EXPORT LIB3270_CONNECT_OPTION lib3270_get_connect_options(H3270 *h) +{ + CHECK_SESSION_HANDLE(h); + return h->host.opt; +} + LIB3270_EXPORT const char * lib3270_get_host(H3270 *h) { CHECK_SESSION_HANDLE(h); -- libgit2 0.21.2