Commit adecf1e06e96653ccb1236b108c3bc0224fa50b4
1 parent
88514987
Exists in
master
and in
3 other branches
Incluindo função de interação para facilitar o a interação ocm a libwebsockets
Showing
1 changed file
with
2 additions
and
16 deletions
Show diff stats
iocalls.c
| ... | ... | @@ -773,23 +773,9 @@ LIB3270_EXPORT int lib3270_register_handlers(const struct lib3270_callbacks *cbk |
| 773 | 773 | |
| 774 | 774 | } |
| 775 | 775 | |
| 776 | -/* | |
| 777 | -LIB3270_EXPORT int lib3270_call_thread(int(*callback)(H3270 *h, void *), H3270 *h, void *parm) | |
| 778 | -{ | |
| 779 | - int rc; | |
| 780 | - CHECK_SESSION_HANDLE(h); | |
| 781 | - | |
| 782 | - h->set_timer(h,1); | |
| 783 | - | |
| 784 | - lib3270_main_iterate(h,0); | |
| 785 | - rc = callthread(callback,h,parm); | |
| 786 | - lib3270_main_iterate(h,0); | |
| 787 | - | |
| 788 | - h->set_timer(h,0); | |
| 789 | - | |
| 790 | - return rc; | |
| 776 | +LIB3270_EXPORT void lib3270_iterate(int block) { | |
| 777 | + event_dispatcher(NULL,block); | |
| 791 | 778 | } |
| 792 | -*/ | |
| 793 | 779 | |
| 794 | 780 | LIB3270_EXPORT void lib3270_main_iterate(H3270 *hSession, int block) |
| 795 | 781 | { | ... | ... |