Commit 332726ebfba0f82e0d12001b26be6a62fe12adfa
1 parent
08e1c4dd
Exists in
master
and in
5 other branches
Acertando modulo hllapi para o novo formato
Showing
1 changed file
with
5 additions
and
0 deletions
Show diff stats
src/plugins/hllapi/pluginmain.c
@@ -200,6 +200,11 @@ | @@ -200,6 +200,11 @@ | ||
200 | ((struct hllapi_packet_connect *) source->buffer)->wait)); | 200 | ((struct hllapi_packet_connect *) source->buffer)->wait)); |
201 | break; | 201 | break; |
202 | 202 | ||
203 | + case HLLAPI_PACKET_SET_HOST: | ||
204 | + send_result(source,lib3270_set_host( lib3270_get_default_session_handle(), | ||
205 | + ((struct hllapi_packet_text *) source->buffer)->text) != NULL); | ||
206 | + break; | ||
207 | + | ||
203 | case HLLAPI_PACKET_DISCONNECT: | 208 | case HLLAPI_PACKET_DISCONNECT: |
204 | send_result(source,lib3270_disconnect(lib3270_get_default_session_handle())); | 209 | send_result(source,lib3270_disconnect(lib3270_get_default_session_handle())); |
205 | break; | 210 | break; |