Commit adecf1e06e96653ccb1236b108c3bc0224fa50b4

Authored by perry.werneck@gmail.com
1 parent 88514987

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
@@ -773,23 +773,9 @@ LIB3270_EXPORT int lib3270_register_handlers(const struct lib3270_callbacks *cbk @@ -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 LIB3270_EXPORT void lib3270_main_iterate(H3270 *hSession, int block) 780 LIB3270_EXPORT void lib3270_main_iterate(H3270 *hSession, int block)
795 { 781 {