Commit d9bb469a771530fcba4c2a5dc849fa1abe11b384
1 parent
b794a1e0
Exists in
master
and in
3 other branches
Dialogo de seleção de host não estava lendo a configuração corretamente
Showing
1 changed file
with
12 additions
and
0 deletions
Show diff stats
host.c
... | ... | @@ -582,6 +582,18 @@ LIB3270_EXPORT const char * lib3270_get_hostname(H3270 *h) |
582 | 582 | return h->host.current; |
583 | 583 | } |
584 | 584 | |
585 | +LIB3270_EXPORT const char * lib3270_get_srvcname(H3270 *h) | |
586 | +{ | |
587 | + CHECK_SESSION_HANDLE(h); | |
588 | + return h->host.srvc; | |
589 | +} | |
590 | + | |
591 | +LIB3270_EXPORT LIB3270_CONNECT_OPTION lib3270_get_connect_options(H3270 *h) | |
592 | +{ | |
593 | + CHECK_SESSION_HANDLE(h); | |
594 | + return h->host.opt; | |
595 | +} | |
596 | + | |
585 | 597 | LIB3270_EXPORT const char * lib3270_get_host(H3270 *h) |
586 | 598 | { |
587 | 599 | CHECK_SESSION_HANDLE(h); | ... | ... |