Commit 0b064473d5cd77b4df350a73abd3653720f3fef3
Exists in
master
Merge branch 'master' of http://softwarepublico.gov.br/gitlab/pw3270/pw3270-sharp
Showing
2 changed files
with
9 additions
and
0 deletions
Show diff stats
rpm/pw3270-sharp.spec
@@ -19,6 +19,7 @@ BuildRequires: m4 | @@ -19,6 +19,7 @@ BuildRequires: m4 | ||
19 | BuildRequires: pkgconfig | 19 | BuildRequires: pkgconfig |
20 | BuildRequires: fdupes | 20 | BuildRequires: fdupes |
21 | BuildRequires: pw3270-devel >= 5.1 | 21 | BuildRequires: pw3270-devel >= 5.1 |
22 | +BuildRequires: gettext-devel | ||
22 | 23 | ||
23 | Requires: lib3270 >= 5.1 | 24 | Requires: lib3270 >= 5.1 |
24 | 25 |
src/native/network.cc
@@ -48,3 +48,11 @@ int tn3270_is_ready(h3270::session *ses) { | @@ -48,3 +48,11 @@ int tn3270_is_ready(h3270::session *ses) { | ||
48 | return (int) ses->is_ready(); | 48 | return (int) ses->is_ready(); |
49 | } | 49 | } |
50 | 50 | ||
51 | +int tn3270_wait_for_ready(h3270::session *ses, int seconds) { | ||
52 | + return (int) ses->wait_for_ready(seconds); | ||
53 | +} | ||
54 | + | ||
55 | +int tn3270_wait(h3270::session *ses, int seconds) { | ||
56 | + return (int) ses->wait(seconds); | ||
57 | +} | ||
58 | + |