From e073bb4b4802675bae576066f200fec58226b545 Mon Sep 17 00:00:00 2001 From: perry.werneck@gmail.com Date: Fri, 14 Sep 2012 22:50:37 +0000 Subject: [PATCH] Testando interface HLLAPI, corrigindo pequenos problemas --- po/pt_BR.po | 2 +- pw3270.cbp | 1 + src/plugins/remotectl/Makefile.in | 2 +- src/plugins/remotectl/remotectl.c | 5 +++-- 4 files changed, 6 insertions(+), 4 deletions(-) diff --git a/po/pt_BR.po b/po/pt_BR.po index c5da4f9..3758b70 100644 --- a/po/pt_BR.po +++ b/po/pt_BR.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: pw3270 5.0\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2012-09-14 14:03-0300\n" +"POT-Creation-Date: 2012-09-14 19:47-0300\n" "PO-Revision-Date: 2012-09-14 14:32-0300\n" "Last-Translator: Perry Werneck \n" "Language-Team: Português \n" diff --git a/pw3270.cbp b/pw3270.cbp index 9271c1d..c094006 100644 --- a/pw3270.cbp +++ b/pw3270.cbp @@ -53,6 +53,7 @@ + diff --git a/src/plugins/remotectl/Makefile.in b/src/plugins/remotectl/Makefile.in index 055a5ca..443c003 100644 --- a/src/plugins/remotectl/Makefile.in +++ b/src/plugins/remotectl/Makefile.in @@ -107,7 +107,7 @@ $(BINDBG)/libhllapi.dll: $(foreach SRC, $(basename $(HLLAPI_SRC)), $(OBJDBG)/$(S testprogram@EXEEXT@: testprogram.c @echo " CCLD `basename $@`" @$(MKDIR) `dirname $@` - @$(CC) $(CFLAGS) -I../../../src/include -L../../../$(BINDIR)/Debug $(DEBUG_CFLAGS) -lhllapi -o $@ -c $< + @$(CC) $(CFLAGS) -I../../../src/include -L../../../$(BINDIR)/Debug $(DEBUG_CFLAGS) -lhllapi -o $@ $< test: testprogram@EXEEXT@ @PATH="../../../$(BINDIR)/Debug:$(PATH)" ./testprogram@EXEEXT@ diff --git a/src/plugins/remotectl/remotectl.c b/src/plugins/remotectl/remotectl.c index 83ff38b..e586722 100644 --- a/src/plugins/remotectl/remotectl.c +++ b/src/plugins/remotectl/remotectl.c @@ -150,14 +150,15 @@ return 0; } - static int cmd_sendstring(unsigned short rc, char *string, unsigned short length) + static int cmd_sendstring(unsigned short rc, char *text, unsigned short length) { H3270 *hSession = lib3270_get_default_session_handle(); if(!lib3270_connected(hSession)) return ENOTCONN; - #warning Converter formato da string e incluir no buffer + #warning Converter formato da string + lib3270_emulate_input(hSession,text,strlen(text),0); return 0; } -- libgit2 0.21.2