Commit 7b330fffbe203fb9c27a918284afd6c93eb73d89
1 parent
3b66e205
Exists in
master
and in
3 other branches
Melhorando plugin e servico HLLAPI
Showing
2 changed files
with
7 additions
and
4 deletions
Show diff stats
host.c
| ... | ... | @@ -494,9 +494,10 @@ static void try_reconnect(H3270 *session) |
| 494 | 494 | lib3270_reconnect(session,0); |
| 495 | 495 | } |
| 496 | 496 | |
| 497 | -LIB3270_EXPORT void lib3270_disconnect(H3270 *h) | |
| 497 | +LIB3270_EXPORT int lib3270_disconnect(H3270 *h) | |
| 498 | 498 | { |
| 499 | - host_disconnect(h,0); | |
| 499 | + host_disconnect(h,0); | |
| 500 | + return 0; | |
| 500 | 501 | } |
| 501 | 502 | |
| 502 | 503 | void host_disconnect(H3270 *hSession, int failed) | ... | ... |
kybd.c
| ... | ... | @@ -998,7 +998,7 @@ static Boolean key_Character(H3270 *hSession, int code, Boolean with_ge, Boolean |
| 998 | 998 | } |
| 999 | 999 | |
| 1000 | 1000 | |
| 1001 | -LIB3270_EXPORT void lib3270_input_string(H3270 *hSession, const unsigned char *str) | |
| 1001 | +LIB3270_EXPORT int lib3270_input_string(H3270 *hSession, const unsigned char *str) | |
| 1002 | 1002 | { |
| 1003 | 1003 | while(*str) |
| 1004 | 1004 | { |
| ... | ... | @@ -1006,7 +1006,9 @@ LIB3270_EXPORT void lib3270_input_string(H3270 *hSession, const unsigned char *s |
| 1006 | 1006 | str++; |
| 1007 | 1007 | } |
| 1008 | 1008 | |
| 1009 | - screen_update(hSession,0,hSession->rows*hSession->cols); | |
| 1009 | + screen_update(hSession,0,hSession->rows*hSession->cols); | |
| 1010 | + | |
| 1011 | + return 0; | |
| 1010 | 1012 | } |
| 1011 | 1013 | |
| 1012 | 1014 | /** | ... | ... |