Commit fd5506b1c2edbf84332d4f1d0c4e303fa8955634
1 parent
b00a3690
Exists in
master
and in
5 other branches
Incluindo mais chamadas para o método input_string da hllapi.
Showing
3 changed files
with
50 additions
and
5 deletions
Show diff stats
pw3270.cbp
@@ -231,7 +231,6 @@ | @@ -231,7 +231,6 @@ | ||
231 | <Unit filename="src/lib3270/ft_dft_ds.h" /> | 231 | <Unit filename="src/lib3270/ft_dft_ds.h" /> |
232 | <Unit filename="src/lib3270/ft_dftc.h" /> | 232 | <Unit filename="src/lib3270/ft_dftc.h" /> |
233 | <Unit filename="src/lib3270/ftc.h" /> | 233 | <Unit filename="src/lib3270/ftc.h" /> |
234 | - <Unit filename="src/lib3270/globals.h" /> | ||
235 | <Unit filename="src/lib3270/glue.c"> | 234 | <Unit filename="src/lib3270/glue.c"> |
236 | <Option compilerVar="CC" /> | 235 | <Option compilerVar="CC" /> |
237 | </Unit> | 236 | </Unit> |
@@ -267,6 +266,7 @@ | @@ -267,6 +266,7 @@ | ||
267 | <Option compilerVar="CC" /> | 266 | <Option compilerVar="CC" /> |
268 | </Unit> | 267 | </Unit> |
269 | <Unit filename="src/lib3270/popupsc.h" /> | 268 | <Unit filename="src/lib3270/popupsc.h" /> |
269 | + <Unit filename="src/lib3270/private.h" /> | ||
270 | <Unit filename="src/lib3270/proxy.c"> | 270 | <Unit filename="src/lib3270/proxy.c"> |
271 | <Option compilerVar="CC" /> | 271 | <Option compilerVar="CC" /> |
272 | </Unit> | 272 | </Unit> |
src/lib3270/iocalls.c
@@ -588,10 +588,7 @@ retry: | @@ -588,10 +588,7 @@ retry: | ||
588 | 588 | ||
589 | static int internal_wait(H3270 *hSession, int seconds) | 589 | static int internal_wait(H3270 *hSession, int seconds) |
590 | { | 590 | { |
591 | - time_t end; | ||
592 | - | ||
593 | - // Alternative wait call | ||
594 | - end = time(0) + seconds; | 591 | + time_t end = time(0) + seconds; |
595 | 592 | ||
596 | while(time(0) < end) | 593 | while(time(0) < end) |
597 | { | 594 | { |
src/plugins/hllapi/hllapi.c
@@ -297,6 +297,54 @@ static int input_string(char *input, unsigned short *length, unsigned short *rc) | @@ -297,6 +297,54 @@ static int input_string(char *input, unsigned short *length, unsigned short *rc) | ||
297 | case 'c': // PF12 | 297 | case 'c': // PF12 |
298 | hllapi_pfkey(12); | 298 | hllapi_pfkey(12); |
299 | break; | 299 | break; |
300 | + | ||
301 | + case 'd': // PF13 | ||
302 | + hllapi_pfkey(13); | ||
303 | + break; | ||
304 | + | ||
305 | + case 'e': // PF14 | ||
306 | + hllapi_pfkey(14); | ||
307 | + break; | ||
308 | + | ||
309 | + case 'f': // PF15 | ||
310 | + hllapi_pfkey(15); | ||
311 | + break; | ||
312 | + | ||
313 | + case 'g': // PF16 | ||
314 | + hllapi_pfkey(16); | ||
315 | + break; | ||
316 | + | ||
317 | + case 'h': // PF17 | ||
318 | + hllapi_pfkey(17); | ||
319 | + break; | ||
320 | + | ||
321 | + case 'i': // PF18 | ||
322 | + hllapi_pfkey(18); | ||
323 | + break; | ||
324 | + | ||
325 | + case 'j': // PF19 | ||
326 | + hllapi_pfkey(19); | ||
327 | + break; | ||
328 | + | ||
329 | + case 'k': // PF20 | ||
330 | + hllapi_pfkey(20); | ||
331 | + break; | ||
332 | + | ||
333 | + case 'l': // PF21 | ||
334 | + hllapi_pfkey(21); | ||
335 | + break; | ||
336 | + | ||
337 | + case 'm': // PF22 | ||
338 | + hllapi_pfkey(22); | ||
339 | + break; | ||
340 | + | ||
341 | + case 'n': // PF23 | ||
342 | + hllapi_pfkey(23); | ||
343 | + break; | ||
344 | + | ||
345 | + case 'o': // PF24 | ||
346 | + hllapi_pfkey(24); | ||
347 | + break; | ||
300 | } | 348 | } |
301 | 349 | ||
302 | buffer = ptr; | 350 | buffer = ptr; |